@aphro/schema-api
Advanced tools
Comparing version 0.2.0 to 0.2.1
# @aphro/schema-api | ||
## 0.2.1 | ||
### Patch Changes | ||
- generate bootstrapping utilities | ||
## 0.2.0 | ||
@@ -4,0 +10,0 @@ |
@@ -59,3 +59,9 @@ export declare type ValidationError = { | ||
}; | ||
readonly fields: FieldsSpec; | ||
}; | ||
export declare type FieldsSpec = { | ||
[key: string]: { | ||
readonly encoding: 'json' | 'none'; | ||
}; | ||
}; | ||
declare type EdgeSpecBase = { | ||
@@ -79,2 +85,3 @@ readonly source: NodeSpec; | ||
readonly destField: string; | ||
readonly fields: FieldsSpec; | ||
} & EdgeSpecBase; | ||
@@ -129,2 +136,3 @@ export declare type EdgeType = EdgeSpec['type']; | ||
export declare type FieldDeclaration = { | ||
num?: number; | ||
name: string; | ||
@@ -131,0 +139,0 @@ type: TypeAtom[]; |
{ | ||
"name": "@aphro/schema-api", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -73,4 +73,12 @@ export type ValidationError = { | ||
readonly outboundEdges: { [key: string]: EdgeSpec }; | ||
readonly fields: FieldsSpec; | ||
}; | ||
export type FieldsSpec = { | ||
[key: string]: { | ||
readonly encoding: 'json' | 'none'; | ||
}; | ||
}; | ||
type EdgeSpecBase = { | ||
@@ -99,2 +107,4 @@ readonly source: NodeSpec; | ||
readonly destField: string; | ||
readonly fields: FieldsSpec; | ||
} & EdgeSpecBase; | ||
@@ -162,2 +172,3 @@ | ||
export type FieldDeclaration = { | ||
num?: number; | ||
name: string; | ||
@@ -170,3 +181,3 @@ type: TypeAtom[]; | ||
type: 'node'; | ||
as: 'Node' | 'UnmanagedNode' | ||
as: 'Node' | 'UnmanagedNode'; | ||
} & NodeAstCommon; | ||
@@ -338,3 +349,4 @@ | ||
export type TypeAtom = | ||
| RemoveNameField<Field> | string | ||
| RemoveNameField<Field> | ||
| string | ||
| { | ||
@@ -341,0 +353,0 @@ type: 'intersection'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29635
601