@codama/spec 1.6.0-rc.3 → 1.6.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.browser.cjs +76 -26
- package/dist/api.browser.cjs.map +1 -1
- package/dist/api.browser.mjs +74 -26
- package/dist/api.browser.mjs.map +1 -1
- package/dist/api.node.cjs +76 -26
- package/dist/api.node.cjs.map +1 -1
- package/dist/api.node.mjs +74 -26
- package/dist/api.node.mjs.map +1 -1
- package/dist/api.react-native.mjs +74 -26
- package/dist/api.react-native.mjs.map +1 -1
- package/dist/index.browser.cjs +644 -437
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +644 -437
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.cjs +644 -437
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +644 -437
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.react-native.mjs +644 -437
- package/dist/index.react-native.mjs.map +1 -1
- package/dist/types/api/attribute.d.ts +2 -2
- package/dist/types/api/attribute.d.ts.map +1 -1
- package/dist/types/api/defineCategory.d.ts +19 -0
- package/dist/types/api/defineCategory.d.ts.map +1 -0
- package/dist/types/api/defineEnumeration.d.ts +2 -2
- package/dist/types/api/defineEnumeration.d.ts.map +1 -1
- package/dist/types/api/defineNestedUnion.d.ts +29 -0
- package/dist/types/api/defineNestedUnion.d.ts.map +1 -0
- package/dist/types/api/defineNode.d.ts +2 -2
- package/dist/types/api/defineNode.d.ts.map +1 -1
- package/dist/types/api/defineUnion.d.ts +1 -1
- package/dist/types/api/defineUnion.d.ts.map +1 -1
- package/dist/types/api/index.d.ts +6 -4
- package/dist/types/api/index.d.ts.map +1 -1
- package/dist/types/api/primitives.d.ts +8 -4
- package/dist/types/api/primitives.d.ts.map +1 -1
- package/dist/types/api/public.d.ts +1 -1
- package/dist/types/api/public.d.ts.map +1 -1
- package/dist/types/api/types.d.ts +67 -22
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/api/validate.d.ts +4 -5
- package/dist/types/api/validate.d.ts.map +1 -1
- package/dist/types/v1/enumerations.d.ts.map +1 -1
- package/dist/types/v1/index.d.ts.map +1 -1
- package/dist/types/v1/nestedUnions.d.ts +9 -0
- package/dist/types/v1/nestedUnions.d.ts.map +1 -0
- package/dist/types/v1/nodes/AccountNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/EventNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/InstructionAccountNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/InstructionByteDeltaNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/InstructionNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/InstructionRemainingAccountsNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/InstructionStatusNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/PdaNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/ProgramNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/RootNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/contextualValueNodes/ConditionalValueNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/contextualValueNodes/ContextualValueNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/contextualValueNodes/ResolverValueNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/linkNodes/InstructionAccountLinkNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/linkNodes/InstructionArgumentLinkNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/linkNodes/InstructionLinkNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/AmountTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/ArrayTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/BytesTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/DateTimeTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/EnumEmptyVariantTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/EnumStructVariantTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/EnumTupleVariantTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/HiddenPrefixTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/HiddenSuffixTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/MapTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/OptionTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/PostOffsetTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/PreOffsetTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/RemainderOptionTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/SentinelTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/SetTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/StringTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/StructTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/typeNodes/ZeroableOptionTypeNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/valueNodes/EnumValueNode.d.ts.map +1 -1
- package/dist/types/v1/nodes/valueNodes/NumberValueNode.d.ts.map +1 -1
- package/dist/v1.browser.cjs +644 -437
- package/dist/v1.browser.cjs.map +1 -1
- package/dist/v1.browser.mjs +644 -437
- package/dist/v1.browser.mjs.map +1 -1
- package/dist/v1.node.cjs +644 -437
- package/dist/v1.node.cjs.map +1 -1
- package/dist/v1.node.mjs +644 -437
- package/dist/v1.node.mjs.map +1 -1
- package/dist/v1.react-native.mjs +644 -437
- package/dist/v1.react-native.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/types/v1/nestedTypeNodeWrappers.d.ts +0 -10
- package/dist/types/v1/nestedTypeNodeWrappers.d.ts.map +0 -1
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import type { AttributeSpec, TypeExpr } from './types';
|
|
8
8
|
export interface AttributeOptions {
|
|
9
|
-
/** Free-form prose
|
|
10
|
-
readonly docs?: string;
|
|
9
|
+
/** Free-form prose paragraphs describing this attribute. */
|
|
10
|
+
readonly docs?: readonly string[];
|
|
11
11
|
/** When `true`, the attribute may be absent in encoded values. */
|
|
12
12
|
readonly optional?: boolean;
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"attribute.d.ts","sourceRoot":"","sources":["../../../src/api/attribute.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC7B,
|
|
1
|
+
{"version":3,"file":"attribute.d.ts","sourceRoot":"","sources":["../../../src/api/attribute.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,gBAAgB;IAC7B,4DAA4D;IAC5D,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,kEAAkE;IAClE,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,GAAE,gBAAqB,GAAG,aAAa,CAOrG;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAC7B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,QAAQ,EACd,OAAO,GAAE,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAM,GACjD,aAAa,CAEf"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `defineCategory(name, options)` — group a coherent set of nodes,
|
|
3
|
+
* unions, enumerations, and nested unions under a single name.
|
|
4
|
+
*
|
|
5
|
+
* Categories double as a filing hint for codegen targets that organise
|
|
6
|
+
* output by category (e.g. the TypeScript node-types generator emits
|
|
7
|
+
* each category into its own subdirectory). Category names are arbitrary
|
|
8
|
+
* strings; the spec doesn't constrain them.
|
|
9
|
+
*/
|
|
10
|
+
import type { CategorySpec, EnumerationSpec, NestedUnionSpec, NodeSpec, UnionSpec } from './types';
|
|
11
|
+
export interface DefineCategoryOptions {
|
|
12
|
+
readonly docs?: readonly string[];
|
|
13
|
+
readonly nodes?: readonly NodeSpec[];
|
|
14
|
+
readonly unions?: readonly UnionSpec[];
|
|
15
|
+
readonly enumerations?: readonly EnumerationSpec[];
|
|
16
|
+
readonly nestedUnions?: readonly NestedUnionSpec[];
|
|
17
|
+
}
|
|
18
|
+
export declare function defineCategory(name: string, options?: DefineCategoryOptions): CategorySpec;
|
|
19
|
+
//# sourceMappingURL=defineCategory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defineCategory.d.ts","sourceRoot":"","sources":["../../../src/api/defineCategory.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEnG,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,CAAC,EAAE,SAAS,QAAQ,EAAE,CAAC;IACrC,QAAQ,CAAC,MAAM,CAAC,EAAE,SAAS,SAAS,EAAE,CAAC;IACvC,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;IACnD,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;CACtD;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,qBAA0B,GAAG,YAAY,CAS9F"}
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import type { EnumerationSpec, EnumerationVariantSpec } from './types';
|
|
9
9
|
export interface VariantOptions {
|
|
10
|
-
readonly docs?: string;
|
|
10
|
+
readonly docs?: readonly string[];
|
|
11
11
|
}
|
|
12
12
|
/** Construct a single enumeration variant. */
|
|
13
13
|
export declare function variant(name: string, options?: VariantOptions): EnumerationVariantSpec;
|
|
14
14
|
export interface DefineEnumerationOptions {
|
|
15
|
-
readonly docs?: string;
|
|
15
|
+
readonly docs?: readonly string[];
|
|
16
16
|
readonly variants: readonly EnumerationVariantSpec[];
|
|
17
17
|
}
|
|
18
18
|
export declare function defineEnumeration(name: string, options: DefineEnumerationOptions): EnumerationSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineEnumeration.d.ts","sourceRoot":"","sources":["../../../src/api/defineEnumeration.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"defineEnumeration.d.ts","sourceRoot":"","sources":["../../../src/api/defineEnumeration.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEvE,MAAM,WAAW,cAAc;IAC3B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED,8CAA8C;AAC9C,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,cAAmB,GAAG,sBAAsB,CAK1F;AAED,MAAM,WAAW,wBAAwB;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,SAAS,sBAAsB,EAAE,CAAC;CACxD;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,eAAe,CAgBlG"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `defineNestedUnion(name, options)` — declares a recursive type alias,
|
|
3
|
+
* e.g. `NestedTypeNode<T>`.
|
|
4
|
+
*
|
|
5
|
+
* Codegen renders one alternative per wrapper kind, plus the base case:
|
|
6
|
+
*
|
|
7
|
+
* ```ts
|
|
8
|
+
* type Alias<T extends Base> = Wrapper1<Alias<T>> | Wrapper2<Alias<T>> | … | T;
|
|
9
|
+
* ```
|
|
10
|
+
*
|
|
11
|
+
* Use the `nestedUnion(alias, innerKind)` `TypeExpr` helper to reference
|
|
12
|
+
* an instance of this alias from an attribute.
|
|
13
|
+
*/
|
|
14
|
+
import type { NestedUnionSpec, TypeExpr } from './types';
|
|
15
|
+
export interface DefineNestedUnionOptions {
|
|
16
|
+
readonly docs?: readonly string[];
|
|
17
|
+
/**
|
|
18
|
+
* The base type the recursion bottoms out in. Codegen renders this
|
|
19
|
+
* as the alias's type-parameter constraint and as the final union arm.
|
|
20
|
+
*/
|
|
21
|
+
readonly base: TypeExpr;
|
|
22
|
+
/**
|
|
23
|
+
* Node kinds that act as wrappers in the recursion. Each must be a
|
|
24
|
+
* node whose attribute structure can wrap another `NestedUnion<T>`.
|
|
25
|
+
*/
|
|
26
|
+
readonly wrappers: readonly string[];
|
|
27
|
+
}
|
|
28
|
+
export declare function defineNestedUnion(name: string, options: DefineNestedUnionOptions): NestedUnionSpec;
|
|
29
|
+
//# sourceMappingURL=defineNestedUnion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"defineNestedUnion.d.ts","sourceRoot":"","sources":["../../../src/api/defineNestedUnion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,wBAAwB;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,GAAG,eAAe,CAOlG"}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import type { AttributeSpec, NodeSpec } from './types';
|
|
17
17
|
export interface DefineNodeOptions {
|
|
18
|
-
/** Free-form prose
|
|
19
|
-
readonly docs?: string;
|
|
18
|
+
/** Free-form prose paragraphs describing this node. */
|
|
19
|
+
readonly docs?: readonly string[];
|
|
20
20
|
/**
|
|
21
21
|
* Attributes of the node, in declaration order. Construct each entry
|
|
22
22
|
* via `attribute(...)` or `optionalAttribute(...)`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineNode.d.ts","sourceRoot":"","sources":["../../../src/api/defineNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,iBAAiB;IAC9B,
|
|
1
|
+
{"version":3,"file":"defineNode.d.ts","sourceRoot":"","sources":["../../../src/api/defineNode.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEvD,MAAM,WAAW,iBAAiB;IAC9B,uDAAuD;IACvD,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,SAAS,aAAa,EAAE,CAAC;IAC9C,iEAAiE;IACjE,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,OAAO,EAAE,CAAC;CAC1C;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,iBAAiB,GAAG,QAAQ,CAO7E"}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
import type { TypeExpr, UnionSpec } from './types';
|
|
17
17
|
export type UnionMemberInput = TypeExpr | string;
|
|
18
18
|
export interface DefineUnionOptions {
|
|
19
|
-
readonly docs?: string;
|
|
19
|
+
readonly docs?: readonly string[];
|
|
20
20
|
readonly members: readonly UnionMemberInput[];
|
|
21
21
|
}
|
|
22
22
|
export declare function defineUnion(name: string, options: DefineUnionOptions): UnionSpec;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defineUnion.d.ts","sourceRoot":"","sources":["../../../src/api/defineUnion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAEhE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"defineUnion.d.ts","sourceRoot":"","sources":["../../../src/api/defineUnion.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAe,SAAS,EAAE,MAAM,SAAS,CAAC;AAEhE,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,MAAM,CAAC;AAEjD,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,SAAS,gBAAgB,EAAE,CAAC;CACjD;AAED,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,kBAAkB,GAAG,SAAS,CAOhF"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The meta-model API used to declare the encoded Codama spec for each
|
|
3
|
-
* version. Authors of versioned content (`spec/src/v<n>/`) consume
|
|
4
|
-
* module; consumers of the published `@codama/spec` package see
|
|
5
|
-
* re-exports from `./public`.
|
|
2
|
+
* The meta-model API used to declare the encoded Codama spec for each
|
|
3
|
+
* major version. Authors of versioned content (`spec/src/v<n>/`) consume
|
|
4
|
+
* this module; consumers of the published `@codama/spec` package see
|
|
5
|
+
* only the re-exports from `./public`.
|
|
6
6
|
*/
|
|
7
7
|
export * from './attribute';
|
|
8
8
|
export * from './compounds';
|
|
9
|
+
export * from './defineCategory';
|
|
9
10
|
export * from './defineEnumeration';
|
|
11
|
+
export * from './defineNestedUnion';
|
|
10
12
|
export * from './defineNode';
|
|
11
13
|
export * from './defineUnion';
|
|
12
14
|
export * from './primitives';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,mBAAmB,SAAS,CAAC"}
|
|
@@ -51,10 +51,14 @@ export declare function node(name: string): TypeExpr;
|
|
|
51
51
|
/** Reference to a named union declared via `defineUnion`. */
|
|
52
52
|
export declare function union(name: string): TypeExpr;
|
|
53
53
|
/**
|
|
54
|
-
* Reference to a named node,
|
|
55
|
-
*
|
|
56
|
-
*
|
|
54
|
+
* Reference to a named node, wrapped by a named recursive `NestedUnion`
|
|
55
|
+
* alias. `alias` selects which `NestedUnion` declared via
|
|
56
|
+
* `defineNestedUnion` the wrapping uses (e.g. `'NestedTypeNode'`); `name`
|
|
57
|
+
* is the inner node kind.
|
|
58
|
+
*
|
|
59
|
+
* Renderers emit `<alias><<innerInterface>>` and an import for the alias
|
|
60
|
+
* file.
|
|
57
61
|
*/
|
|
58
|
-
export declare function
|
|
62
|
+
export declare function nestedUnion(alias: string, name: string): TypeExpr;
|
|
59
63
|
export type { FloatWidth, IntegerWidth, LiteralValue, StringConstraint, TypeExpr };
|
|
60
64
|
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/api/primitives.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAIlG,0BAA0B;AAC1B,wBAAgB,MAAM,IAAI,QAAQ,CAEjC;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,IAAI,QAAQ,CAE3C;AAED,8DAA8D;AAC9D,wBAAgB,aAAa,IAAI,QAAQ,CAExC;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,IAAI,QAAQ,CAExC;AA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AEjE;AAGD,YAAY,EAAE,UAAU,EAAE,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* maintenance. Authoring helpers (`defineNode`, primitives, …) are NOT
|
|
7
7
|
* included here — they live in `./index.ts` for internal use only.
|
|
8
8
|
*/
|
|
9
|
-
export type { AttributeSpec, EnumerationSpec, EnumerationVariantSpec, FloatWidth, IntegerWidth, LiteralValue, NodeSpec, Spec, StringConstraint, TypeExpr, UnionMember, UnionSpec, } from './types';
|
|
9
|
+
export type { AttributeSpec, CategorySpec, EnumerationSpec, EnumerationVariantSpec, FloatWidth, IntegerWidth, LiteralValue, NestedUnionSpec, NodeSpec, Spec, StringConstraint, TypeExpr, UnionMember, UnionSpec, } from './types';
|
|
10
10
|
export { isChildAttribute } from './validate';
|
|
11
11
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/api/public.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACR,aAAa,EACb,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,IAAI,EACJ,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,SAAS,GACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/api/public.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,YAAY,EACR,aAAa,EACb,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,IAAI,EACJ,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,SAAS,GACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
*
|
|
4
4
|
* These types are version-agnostic — the same shape describes a Codama v1
|
|
5
5
|
* spec, a v2 spec, etc. Versioned content (concrete nodes, enumerations,
|
|
6
|
-
* unions) lives under `spec/src/v<n>/`. The first half of
|
|
7
|
-
* declares the type-expression vocabulary; the second half
|
|
8
|
-
* spec-content shape (attributes, nodes, unions,
|
|
6
|
+
* unions, categories) lives under `spec/src/v<n>/`. The first half of
|
|
7
|
+
* this file declares the type-expression vocabulary; the second half
|
|
8
|
+
* declares the spec-content shape (attributes, nodes, unions,
|
|
9
|
+
* enumerations, nested unions, categories).
|
|
9
10
|
*/
|
|
10
11
|
export type IntegerWidth = 'i8' | 'i16' | 'i32' | 'i64' | 'i128' | 'u8' | 'u16' | 'u32' | 'u64' | 'u128';
|
|
11
12
|
export type FloatWidth = 'f32' | 'f64';
|
|
@@ -24,7 +25,7 @@ export type LiteralValue = boolean | number | string;
|
|
|
24
25
|
* rule; logical grouping lives in the doc comments below.
|
|
25
26
|
*
|
|
26
27
|
* Leaf primitives: boolean, docs, float, integer, literal, literalUnion, string.
|
|
27
|
-
* Named references: codamaVersion, enumeration,
|
|
28
|
+
* Named references: codamaVersion, enumeration, nestedUnion, node, union.
|
|
28
29
|
* Compounds: array, tuple.
|
|
29
30
|
*/
|
|
30
31
|
export type TypeExpr = {
|
|
@@ -71,8 +72,15 @@ export type TypeExpr = {
|
|
|
71
72
|
| {
|
|
72
73
|
readonly kind: 'literalUnion';
|
|
73
74
|
readonly values: readonly LiteralValue[];
|
|
74
|
-
}
|
|
75
|
-
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A reference to a node, wrapped by a named `NestedUnion` recursive
|
|
78
|
+
* alias. `alias` is the alias name (e.g. `'NestedTypeNode'`) declared
|
|
79
|
+
* via `defineNestedUnion`; `name` is the inner node kind being wrapped.
|
|
80
|
+
*/
|
|
81
|
+
| {
|
|
82
|
+
readonly kind: 'nestedUnion';
|
|
83
|
+
readonly alias: string;
|
|
76
84
|
readonly name: string;
|
|
77
85
|
} | {
|
|
78
86
|
readonly kind: 'node';
|
|
@@ -93,13 +101,13 @@ export interface AttributeSpec {
|
|
|
93
101
|
readonly type: TypeExpr;
|
|
94
102
|
/** When `true`, the attribute may be absent in encoded values. */
|
|
95
103
|
readonly optional?: boolean;
|
|
96
|
-
/** Free-form prose
|
|
97
|
-
readonly docs?: string;
|
|
104
|
+
/** Free-form prose paragraphs describing this attribute. */
|
|
105
|
+
readonly docs?: readonly string[];
|
|
98
106
|
}
|
|
99
107
|
/** A node specification: kind, optional docs, attributes, examples. */
|
|
100
108
|
export interface NodeSpec {
|
|
101
109
|
readonly kind: string;
|
|
102
|
-
readonly docs?: string;
|
|
110
|
+
readonly docs?: readonly string[];
|
|
103
111
|
readonly attributes: readonly AttributeSpec[];
|
|
104
112
|
/** Free-form examples (shape defined per spec major version). */
|
|
105
113
|
readonly examples: readonly unknown[];
|
|
@@ -116,31 +124,68 @@ export type UnionMember = {
|
|
|
116
124
|
export interface UnionSpec {
|
|
117
125
|
readonly name: string;
|
|
118
126
|
readonly members: readonly UnionMember[];
|
|
119
|
-
readonly docs?: string;
|
|
127
|
+
readonly docs?: readonly string[];
|
|
120
128
|
}
|
|
121
129
|
/** A single variant of an enumeration. */
|
|
122
130
|
export interface EnumerationVariantSpec {
|
|
123
131
|
readonly name: string;
|
|
124
|
-
readonly docs?: string;
|
|
132
|
+
readonly docs?: readonly string[];
|
|
125
133
|
}
|
|
126
134
|
/** A named enumeration — a closed set of named variants. */
|
|
127
135
|
export interface EnumerationSpec {
|
|
128
136
|
readonly name: string;
|
|
129
137
|
readonly variants: readonly EnumerationVariantSpec[];
|
|
130
|
-
readonly docs?: string;
|
|
138
|
+
readonly docs?: readonly string[];
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* A recursive type alias, e.g. `NestedTypeNode<T>`. Codegen renders one
|
|
142
|
+
* alternative per wrapper kind, plus the base case:
|
|
143
|
+
*
|
|
144
|
+
* ```ts
|
|
145
|
+
* type Alias<T extends Base> = Wrapper1<Alias<T>> | Wrapper2<Alias<T>> | … | T;
|
|
146
|
+
* ```
|
|
147
|
+
*
|
|
148
|
+
* Use the `nestedUnion(alias, innerKind)` `TypeExpr` helper to reference
|
|
149
|
+
* an instance of this alias from an attribute.
|
|
150
|
+
*/
|
|
151
|
+
export interface NestedUnionSpec {
|
|
152
|
+
/** The alias name emitted by codegen (e.g. `'NestedTypeNode'`). */
|
|
153
|
+
readonly name: string;
|
|
154
|
+
readonly docs?: readonly string[];
|
|
155
|
+
/**
|
|
156
|
+
* The base type the recursion bottoms out in. Codegen renders this as
|
|
157
|
+
* the alias's type-parameter constraint and as the final union arm.
|
|
158
|
+
*/
|
|
159
|
+
readonly base: TypeExpr;
|
|
160
|
+
/**
|
|
161
|
+
* Node kinds that act as wrappers in the recursion. Each must be a
|
|
162
|
+
* node whose attribute structure can wrap another `NestedUnion<T>`.
|
|
163
|
+
*/
|
|
164
|
+
readonly wrappers: readonly string[];
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* A category groups together a coherent set of nodes, unions,
|
|
168
|
+
* enumerations, and nested unions. The category name doubles as a
|
|
169
|
+
* filing hint for codegen targets that organise output by category
|
|
170
|
+
* (e.g. the TypeScript node-types generator emits each category into
|
|
171
|
+
* its own subdirectory).
|
|
172
|
+
*
|
|
173
|
+
* Category names are arbitrary strings; the spec doesn't constrain
|
|
174
|
+
* them. Codegen targets either honour an open category vocabulary or
|
|
175
|
+
* fail loudly on unknown categories — that policy is per-target, not
|
|
176
|
+
* per-spec.
|
|
177
|
+
*/
|
|
178
|
+
export interface CategorySpec {
|
|
179
|
+
readonly name: string;
|
|
180
|
+
readonly docs?: readonly string[];
|
|
181
|
+
readonly nodes: readonly NodeSpec[];
|
|
182
|
+
readonly unions: readonly UnionSpec[];
|
|
183
|
+
readonly enumerations: readonly EnumerationSpec[];
|
|
184
|
+
readonly nestedUnions: readonly NestedUnionSpec[];
|
|
131
185
|
}
|
|
132
186
|
/** The full Codama spec for a single Codama major version. */
|
|
133
187
|
export interface Spec {
|
|
134
188
|
readonly version: string;
|
|
135
|
-
readonly
|
|
136
|
-
readonly nodes: readonly NodeSpec[];
|
|
137
|
-
readonly unions: readonly UnionSpec[];
|
|
138
|
-
/**
|
|
139
|
-
* The closed list of node kinds that act as wrappers in the recursive
|
|
140
|
-
* `NestedTypeNode<T>` construct. Codegen targets render this list as
|
|
141
|
-
* the wrapping behaviour for each language. Specific to Codama v1; may
|
|
142
|
-
* be removed or reshaped in future Codama majors.
|
|
143
|
-
*/
|
|
144
|
-
readonly nestedTypeNodeWrappers: readonly string[];
|
|
189
|
+
readonly categories: readonly CategorySpec[];
|
|
145
190
|
}
|
|
146
191
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/types.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/api/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,MAAM,CAAC;AAEzG,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,KAAK,CAAC;AAEvC,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,SAAS,CAAC;AAExD,gEAAgE;AAChE,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,MAAM,MAAM,QAAQ,GACd;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IAAC,QAAQ,CAAC,EAAE,EAAE,QAA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;CACrC;AAED,4DAA4D;AAC5D,MAAM,WAAW,eAAe;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,sBAAsB,EAAE,CAAC;IACrD,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,eAAe;IAC5B,mEAAmE;IACnE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC;;;OAGG;IACH,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;IACxB;;;OAGG;IACH,QAAQ,CAAC,QAAQ,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AAED;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,YAAY;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,SAAS,SAAS,EAAE,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,SAAS,eAAe,EAAE,CAAC;IAClD,QAAQ,CAAC,YAAY,EAAE,SAAS,eAAe,EAAE,CAAC;CACrD;AAED,8DAA8D;AAC9D,MAAM,WAAW,IAAI;IACjB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAC;CAChD"}
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
* Self-consistency validation for an assembled spec.
|
|
3
3
|
*
|
|
4
4
|
* Returns an array of human-readable error strings. An empty array means
|
|
5
|
-
* the spec is internally coherent — every reference resolves, no
|
|
6
|
-
* names, naming conventions hold.
|
|
5
|
+
* the spec is internally coherent — every reference resolves, no
|
|
6
|
+
* duplicate names, naming conventions hold.
|
|
7
7
|
*/
|
|
8
8
|
import type { Spec, TypeExpr } from './types';
|
|
9
9
|
export declare function validate(spec: Spec): string[];
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
* generators.
|
|
11
|
+
* Discriminator helper used by codegen, docs, and visitor-table generators.
|
|
13
12
|
*
|
|
14
13
|
* A "child" attribute is one whose value contains another node. Specifically,
|
|
15
|
-
* any attribute whose type tree includes a `node`, `
|
|
14
|
+
* any attribute whose type tree includes a `node`, `nestedUnion`, or
|
|
16
15
|
* `union` is treated as a child. Optionality (the `optional` flag on the
|
|
17
16
|
* attribute itself) is orthogonal to this classification.
|
|
18
17
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/api/validate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"validate.d.ts","sourceRoot":"","sources":["../../../src/api/validate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAA8C,IAAI,EAAE,QAAQ,EAAa,MAAM,SAAS,CAAC;AAIrG,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,CAgG7C;AA6DD;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,CAaxD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enumerations.d.ts","sourceRoot":"","sources":["../../../src/v1/enumerations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,eAAO,MAAM,UAAU,6BAMrB,CAAC;AAEH,eAAO,MAAM,YAAY,6BAmBvB,CAAC;AAEH,eAAO,MAAM,aAAa,6BAQxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,6BAc/B,CAAC;AAEH,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"enumerations.d.ts","sourceRoot":"","sources":["../../../src/v1/enumerations.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,eAAO,MAAM,UAAU,6BAMrB,CAAC;AAEH,eAAO,MAAM,YAAY,6BAmBvB,CAAC;AAEH,eAAO,MAAM,aAAa,6BAQxB,CAAC;AAEH,eAAO,MAAM,oBAAoB,6BAc/B,CAAC;AAEH,eAAO,MAAM,oBAAoB,6BAY/B,CAAC;AAEH,eAAO,MAAM,uBAAuB,6BAUlC,CAAC;AAEH,eAAO,MAAM,iBAAiB,6BAa5B,CAAC;AAEH,eAAO,MAAM,kBAAkB,6BAgB7B,CAAC;AAEH,eAAO,MAAM,aAAa,6BAMxB,CAAC;AAEH,eAAO,MAAM,gBAAgB,gRAUnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v1/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAgB,eAAe,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AA2BvF,cAAc,eAAe,CAAC;AAE9B,yCAAyC;AACzC,eAAO,MAAM,YAAY,UAAU,CAAC;AAuFpC;;;;;;GAMG;AACH,wBAAgB,OAAO,IAAI,IAAI,CAY9B;AAED,oEAAoE;AACpE,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAM1D;AAED,qEAAqE;AACrE,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAM5D;AAED,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAMxE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nested-union recursive aliases declared by the v1 spec.
|
|
3
|
+
*
|
|
4
|
+
* Today there's only one — `NestedTypeNode<T>` — used by attributes like
|
|
5
|
+
* `accountNode.data` (which holds a `structTypeNode` possibly wrapped in
|
|
6
|
+
* size, offset, sentinel, or hidden prefix/suffix modifiers).
|
|
7
|
+
*/
|
|
8
|
+
export declare const nestedTypeNode: import(".").NestedUnionSpec;
|
|
9
|
+
//# sourceMappingURL=nestedUnions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nestedUnions.d.ts","sourceRoot":"","sources":["../../../src/v1/nestedUnions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,eAAO,MAAM,cAAc,6BAezB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/AccountNode.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"AccountNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/AccountNode.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,uBA2BtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/EventNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"EventNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/EventNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,uBAkBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionAccountNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionAccountNode.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"InstructionAccountNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionAccountNode.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,sBAAsB,uBA2BjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionByteDeltaNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionByteDeltaNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"InstructionByteDeltaNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionByteDeltaNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,uBAiBnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionNode.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"InstructionNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionNode.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,uBA4C1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionRemainingAccountsNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionRemainingAccountsNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"InstructionRemainingAccountsNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionRemainingAccountsNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gCAAgC,uBAsB3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionStatusNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionStatusNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,
|
|
1
|
+
{"version":3,"file":"InstructionStatusNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/InstructionStatusNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,uBAYhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdaNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/PdaNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"PdaNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/PdaNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,uBAkBlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgramNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/ProgramNode.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"ProgramNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/ProgramNode.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,WAAW,uBA0CtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RootNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/RootNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"RootNode.d.ts","sourceRoot":"","sources":["../../../../src/v1/nodes/RootNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,uBAmBnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionalValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ConditionalValueNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ConditionalValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ConditionalValueNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,0BAsB/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextualValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ContextualValueNode.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,eAAO,MAAM,kCAAkC,2BAG7C,CAAC;AAEH,eAAO,MAAM,wBAAwB,2BAGnC,CAAC;AAEH,eAAO,MAAM,kCAAkC,2BAG7C,CAAC;AAEH,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"ContextualValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ContextualValueNode.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgBH,eAAO,MAAM,kCAAkC,2BAG7C,CAAC;AAEH,eAAO,MAAM,wBAAwB,2BAGnC,CAAC;AAEH,eAAO,MAAM,kCAAkC,2BAG7C,CAAC;AAEH,eAAO,MAAM,8BAA8B,2BAMzC,CAAC;AAIH,eAAO,MAAM,8BAA8B,2BAGzC,CAAC;AAEH,eAAO,MAAM,uBAAuB,2BAGlC,CAAC;AAEH,eAAO,MAAM,sBAAsB,2BAGjC,CAAC;AAEH,eAAO,MAAM,gBAAgB,2BAG3B,CAAC;AAEH,eAAO,MAAM,sBAAsB,2BAGjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResolverValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ResolverValueNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"ResolverValueNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/contextualValueNodes/ResolverValueNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,0BAkB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionAccountLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionAccountLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,
|
|
1
|
+
{"version":3,"file":"InstructionAccountLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionAccountLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,0BAYrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionArgumentLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionArgumentLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,
|
|
1
|
+
{"version":3,"file":"InstructionArgumentLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionArgumentLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,2BAA2B,0BAYtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InstructionLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,
|
|
1
|
+
{"version":3,"file":"InstructionLinkNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/linkNodes/InstructionLinkNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,mBAAmB,0BAY9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/AmountTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"AmountTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/AmountTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,0BAmBzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/ArrayTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"ArrayTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/ArrayTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,0BAYxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BytesTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/BytesTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"BytesTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/BytesTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,0BAKxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/DateTimeTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"DateTimeTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/DateTimeTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,0BAS3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumEmptyVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumEmptyVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"EnumEmptyVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumEmptyVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,0BAYnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumStructVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumStructVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"EnumStructVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumStructVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,0BAepC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumTupleVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumTupleVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"EnumTupleVariantTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/EnumTupleVariantTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB,0BAenC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenPrefixTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/HiddenPrefixTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"HiddenPrefixTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/HiddenPrefixTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,0BAY/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HiddenSuffixTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/HiddenSuffixTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"HiddenSuffixTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/HiddenSuffixTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,0BAY/B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/MapTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"MapTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/MapTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,0BAgBtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/OptionTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"OptionTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/OptionTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,0BAezB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostOffsetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/PostOffsetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"PostOffsetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/PostOffsetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB,0BAe7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreOffsetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/PreOffsetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"PreOffsetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/PreOffsetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,0BAe5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemainderOptionTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/RemainderOptionTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"RemainderOptionTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/RemainderOptionTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,0BASlC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SentinelTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/SentinelTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"SentinelTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/SentinelTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,0BAY3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/SetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"SetTypeNode.d.ts","sourceRoot":"","sources":["../../../../../src/v1/nodes/typeNodes/SetTypeNode.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,0BAYtB,CAAC"}
|