@codama/spec 1.6.0-rc.3 → 1.6.0-rc.5
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/README.md +84 -0
- package/dist/api.browser.cjs +94 -27
- package/dist/api.browser.cjs.map +1 -1
- package/dist/api.browser.mjs +91 -27
- package/dist/api.browser.mjs.map +1 -1
- package/dist/api.node.cjs +94 -27
- package/dist/api.node.cjs.map +1 -1
- package/dist/api.node.mjs +91 -27
- package/dist/api.node.mjs.map +1 -1
- package/dist/api.react-native.mjs +91 -27
- package/dist/api.react-native.mjs.map +1 -1
- package/dist/index.browser.cjs +791 -568
- package/dist/index.browser.cjs.map +1 -1
- package/dist/index.browser.mjs +791 -568
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.cjs +791 -568
- package/dist/index.node.cjs.map +1 -1
- package/dist/index.node.mjs +791 -568
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.react-native.mjs +791 -568
- 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 +2 -2
- 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 +14 -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 +78 -24
- 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 +2 -2
- 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/pdaSeedNodes/PdaSeedNode.d.ts +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/TypeNode.d.ts +4 -4
- 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/types/v1/nodes/valueNodes/ValueNode.d.ts +4 -4
- package/dist/v1.browser.cjs +791 -568
- package/dist/v1.browser.cjs.map +1 -1
- package/dist/v1.browser.mjs +791 -568
- package/dist/v1.browser.mjs.map +1 -1
- package/dist/v1.node.cjs +791 -568
- package/dist/v1.node.cjs.map +1 -1
- package/dist/v1.node.mjs +791 -568
- package/dist/v1.node.mjs.map +1 -1
- package/dist/v1.react-native.mjs +791 -568
- package/dist/v1.react-native.mjs.map +1 -1
- package/package.json +45 -31
- 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"}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* Nested unions are preserved structurally in the encoded spec rather than
|
|
10
10
|
* flattened. This serves two purposes:
|
|
11
|
-
* - DRY authoring (`union('
|
|
11
|
+
* - DRY authoring (`union('standaloneTypeNode')` instead of repeating 23
|
|
12
12
|
* kind names).
|
|
13
13
|
* - A signal to the Rust codegen to emit `From`/`Into` trait impls between
|
|
14
14
|
* the parent union and each nested union.
|
|
@@ -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 (`
|
|
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 (`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"}
|
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
* those objects verbatim; codegen targets read them and emit native types.
|
|
6
6
|
*/
|
|
7
7
|
import type { FloatWidth, IntegerWidth, LiteralValue, StringConstraint, TypeExpr } from './types';
|
|
8
|
+
/**
|
|
9
|
+
* A Solana address (a base58-encoded ed25519 public key on the wire).
|
|
10
|
+
* Codegen targets emit a dedicated address type — e.g. `Address` in Rust —
|
|
11
|
+
* rather than treating it as a generic string.
|
|
12
|
+
*/
|
|
13
|
+
export declare function address(): TypeExpr;
|
|
8
14
|
/** Plain UTF-8 string. */
|
|
9
15
|
export declare function string(): TypeExpr;
|
|
10
16
|
/**
|
|
@@ -51,10 +57,14 @@ export declare function node(name: string): TypeExpr;
|
|
|
51
57
|
/** Reference to a named union declared via `defineUnion`. */
|
|
52
58
|
export declare function union(name: string): TypeExpr;
|
|
53
59
|
/**
|
|
54
|
-
* Reference to a named node,
|
|
55
|
-
*
|
|
56
|
-
*
|
|
60
|
+
* Reference to a named node, wrapped by a named recursive `NestedUnion`
|
|
61
|
+
* alias. `alias` selects which `NestedUnion` declared via
|
|
62
|
+
* `defineNestedUnion` the wrapping uses (e.g. `'nestedTypeNode'`); `name`
|
|
63
|
+
* is the inner node kind.
|
|
64
|
+
*
|
|
65
|
+
* Renderers emit `<alias><<innerInterface>>` and an import for the alias
|
|
66
|
+
* file.
|
|
57
67
|
*/
|
|
58
|
-
export declare function
|
|
68
|
+
export declare function nestedUnion(alias: string, name: string): TypeExpr;
|
|
59
69
|
export type { FloatWidth, IntegerWidth, LiteralValue, StringConstraint, TypeExpr };
|
|
60
70
|
//# 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;AAMD,eAAO,MAAM,EAAE,QAAO,QAAyB,CAAC;AAChD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,IAAI,QAAO,QAA2B,CAAC;AACpD,eAAO,MAAM,EAAE,QAAO,QAAyB,CAAC;AAChD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO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AO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,IAAI,QAAO,QAA2B,CAAC;AACpD,eAAO,MAAM,EAAE,QAAO,QAAyB,CAAC;AAChD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,GAAG,QAAO,QAA0B,CAAC;AAClD,eAAO,MAAM,IAAI,QAAO,QAA2B,CAAC;AAMpD,eAAO,MAAM,GAAG,QAAO,QAAwB,CAAC;AAChD,eAAO,MAAM,GAAG,QAAO,QAAwB,CAAC;AAIhD,wBAAgB,OAAO,IAAI,QAAQ,CAElC;AAED,gDAAgD;AAChD,wBAAgB,OAAO,CAAC,KAAK,EAAE,YAAY,GAAG,QAAQ,CAErD;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAAC,GAAG,MAAM,EAAE,YAAY,EAAE,GAAG,QAAQ,CAYhE;AAID,yEAAyE;AACzE,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAElD;AAED,2DAA2D;AAC3D,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAE3C;AAED,6DAA6D;AAC7D,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,QAAQ,CAE5C;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,QAAQ,CAEjE;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 `
|
|
7
|
-
* declares the type-expression vocabulary; the second half
|
|
8
|
-
* spec-content shape (attributes, nodes, unions,
|
|
6
|
+
* unions, categories) lives under `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';
|
|
@@ -23,11 +24,20 @@ export type LiteralValue = boolean | number | string;
|
|
|
23
24
|
* Constituents are listed alphabetically by `kind` to satisfy the lint
|
|
24
25
|
* rule; logical grouping lives in the doc comments below.
|
|
25
26
|
*
|
|
26
|
-
* Leaf primitives: boolean, docs, float, integer, literal, literalUnion, string.
|
|
27
|
-
* Named references: codamaVersion, enumeration,
|
|
27
|
+
* Leaf primitives: address, boolean, docs, float, integer, literal, literalUnion, string.
|
|
28
|
+
* Named references: codamaVersion, enumeration, nestedUnion, node, union.
|
|
28
29
|
* Compounds: array, tuple.
|
|
29
30
|
*/
|
|
30
|
-
export type TypeExpr =
|
|
31
|
+
export type TypeExpr =
|
|
32
|
+
/**
|
|
33
|
+
* A Solana address (a base58-encoded ed25519 public key on the wire).
|
|
34
|
+
* Carrying address-ness as its own kind lets codegen targets emit a
|
|
35
|
+
* dedicated address type (e.g. `Address` in Rust) rather than collapsing
|
|
36
|
+
* to a generic string.
|
|
37
|
+
*/
|
|
38
|
+
{
|
|
39
|
+
readonly kind: 'address';
|
|
40
|
+
} | {
|
|
31
41
|
readonly kind: 'array';
|
|
32
42
|
readonly of: TypeExpr;
|
|
33
43
|
} | {
|
|
@@ -71,8 +81,15 @@ export type TypeExpr = {
|
|
|
71
81
|
| {
|
|
72
82
|
readonly kind: 'literalUnion';
|
|
73
83
|
readonly values: readonly LiteralValue[];
|
|
74
|
-
}
|
|
75
|
-
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* A reference to a node, wrapped by a named `NestedUnion` recursive
|
|
87
|
+
* alias. `alias` is the alias name (e.g. `'nestedTypeNode'`) declared
|
|
88
|
+
* via `defineNestedUnion`; `name` is the inner node kind being wrapped.
|
|
89
|
+
*/
|
|
90
|
+
| {
|
|
91
|
+
readonly kind: 'nestedUnion';
|
|
92
|
+
readonly alias: string;
|
|
76
93
|
readonly name: string;
|
|
77
94
|
} | {
|
|
78
95
|
readonly kind: 'node';
|
|
@@ -93,13 +110,13 @@ export interface AttributeSpec {
|
|
|
93
110
|
readonly type: TypeExpr;
|
|
94
111
|
/** When `true`, the attribute may be absent in encoded values. */
|
|
95
112
|
readonly optional?: boolean;
|
|
96
|
-
/** Free-form prose
|
|
97
|
-
readonly docs?: string;
|
|
113
|
+
/** Free-form prose paragraphs describing this attribute. */
|
|
114
|
+
readonly docs?: readonly string[];
|
|
98
115
|
}
|
|
99
116
|
/** A node specification: kind, optional docs, attributes, examples. */
|
|
100
117
|
export interface NodeSpec {
|
|
101
118
|
readonly kind: string;
|
|
102
|
-
readonly docs?: string;
|
|
119
|
+
readonly docs?: readonly string[];
|
|
103
120
|
readonly attributes: readonly AttributeSpec[];
|
|
104
121
|
/** Free-form examples (shape defined per spec major version). */
|
|
105
122
|
readonly examples: readonly unknown[];
|
|
@@ -116,31 +133,68 @@ export type UnionMember = {
|
|
|
116
133
|
export interface UnionSpec {
|
|
117
134
|
readonly name: string;
|
|
118
135
|
readonly members: readonly UnionMember[];
|
|
119
|
-
readonly docs?: string;
|
|
136
|
+
readonly docs?: readonly string[];
|
|
120
137
|
}
|
|
121
138
|
/** A single variant of an enumeration. */
|
|
122
139
|
export interface EnumerationVariantSpec {
|
|
123
140
|
readonly name: string;
|
|
124
|
-
readonly docs?: string;
|
|
141
|
+
readonly docs?: readonly string[];
|
|
125
142
|
}
|
|
126
143
|
/** A named enumeration — a closed set of named variants. */
|
|
127
144
|
export interface EnumerationSpec {
|
|
128
145
|
readonly name: string;
|
|
129
146
|
readonly variants: readonly EnumerationVariantSpec[];
|
|
130
|
-
readonly docs?: string;
|
|
147
|
+
readonly docs?: readonly string[];
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* A recursive type alias, e.g. `nestedTypeNode<T>`. Codegen renders one
|
|
151
|
+
* alternative per wrapper kind, plus the base case:
|
|
152
|
+
*
|
|
153
|
+
* ```ts
|
|
154
|
+
* type Alias<T extends Base> = Wrapper1<Alias<T>> | Wrapper2<Alias<T>> | … | T;
|
|
155
|
+
* ```
|
|
156
|
+
*
|
|
157
|
+
* Use the `nestedUnion(alias, innerKind)` `TypeExpr` helper to reference
|
|
158
|
+
* an instance of this alias from an attribute.
|
|
159
|
+
*/
|
|
160
|
+
export interface NestedUnionSpec {
|
|
161
|
+
/** The alias name emitted by codegen (e.g. `'nestedTypeNode'`). */
|
|
162
|
+
readonly name: string;
|
|
163
|
+
readonly docs?: readonly string[];
|
|
164
|
+
/**
|
|
165
|
+
* The base type the recursion bottoms out in. Codegen renders this as
|
|
166
|
+
* the alias's type-parameter constraint and as the final union arm.
|
|
167
|
+
*/
|
|
168
|
+
readonly base: TypeExpr;
|
|
169
|
+
/**
|
|
170
|
+
* Node kinds that act as wrappers in the recursion. Each must be a
|
|
171
|
+
* node whose attribute structure can wrap another `NestedUnion<T>`.
|
|
172
|
+
*/
|
|
173
|
+
readonly wrappers: readonly string[];
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* A category groups together a coherent set of nodes, unions,
|
|
177
|
+
* enumerations, and nested unions. The category name doubles as a
|
|
178
|
+
* filing hint for codegen targets that organise output by category
|
|
179
|
+
* (e.g. the TypeScript node-types generator emits each category into
|
|
180
|
+
* its own subdirectory).
|
|
181
|
+
*
|
|
182
|
+
* Category names are arbitrary strings; the spec doesn't constrain
|
|
183
|
+
* them. Codegen targets either honour an open category vocabulary or
|
|
184
|
+
* fail loudly on unknown categories — that policy is per-target, not
|
|
185
|
+
* per-spec.
|
|
186
|
+
*/
|
|
187
|
+
export interface CategorySpec {
|
|
188
|
+
readonly name: string;
|
|
189
|
+
readonly docs?: readonly string[];
|
|
190
|
+
readonly nodes: readonly NodeSpec[];
|
|
191
|
+
readonly unions: readonly UnionSpec[];
|
|
192
|
+
readonly enumerations: readonly EnumerationSpec[];
|
|
193
|
+
readonly nestedUnions: readonly NestedUnionSpec[];
|
|
131
194
|
}
|
|
132
195
|
/** The full Codama spec for a single Codama major version. */
|
|
133
196
|
export interface Spec {
|
|
134
197
|
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[];
|
|
198
|
+
readonly categories: readonly CategorySpec[];
|
|
145
199
|
}
|
|
146
200
|
//# 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;;;;;;;;;;;;;;GAc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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;AAYrG,wBAAgB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,CA6G7C;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,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Named unions for the contextual-value-node category.
|
|
3
3
|
*
|
|
4
|
-
* `
|
|
5
|
-
* `
|
|
4
|
+
* `conditionalValueCondition`, `resolverDependency`, `pdaSeedValueValue`,
|
|
5
|
+
* `pdaValuePda`, and `pdaValueProgramId` are inline-union helpers used by
|
|
6
6
|
* specific contextual-value-node attributes.
|
|
7
7
|
*/
|
|
8
8
|
export declare const standaloneContextualValueNodeUnion: import("../..").UnionSpec;
|
|
@@ -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,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Named unions for the PDA-seed-node category.
|
|
3
3
|
*
|
|
4
|
-
* `
|
|
4
|
+
* `constantPdaSeedValue` captures the inline `programIdValueNode | valueNode`
|
|
5
5
|
* union used as the `value` attribute of `constantPdaSeedNode`.
|
|
6
6
|
*/
|
|
7
7
|
export declare const registeredPdaSeedNodeUnion: import("../..").UnionSpec;
|
|
@@ -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"}
|