@layerzerolabs/dw-model 0.2.13 → 0.2.18
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/.turbo/turbo-build.log +74 -65
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +2 -2
- package/dist/AB7BJRWS.js +63 -0
- package/dist/AB7BJRWS.js.map +1 -0
- package/dist/{722WUAS6.cjs → EXN4H4R3.cjs} +25 -25
- package/dist/EXN4H4R3.cjs.map +1 -0
- package/dist/HW27MZCG.js +61 -0
- package/dist/HW27MZCG.js.map +1 -0
- package/dist/{EQTOSW62.js → I5L5NLZY.js} +3 -3
- package/dist/{EQTOSW62.js.map → I5L5NLZY.js.map} +1 -1
- package/dist/NLDQ72XO.js +3 -0
- package/dist/NLDQ72XO.js.map +1 -0
- package/dist/QLEJL4UB.cjs +54 -0
- package/dist/QLEJL4UB.cjs.map +1 -0
- package/dist/{U463T6CN.js → RDYET6CZ.js} +3 -3
- package/dist/RDYET6CZ.js.map +1 -0
- package/dist/{UU3GEL4Y.js → RLVC22JB.js} +4 -13
- package/dist/RLVC22JB.js.map +1 -0
- package/dist/{PP5TDTMN.cjs → SRUGZSZY.cjs} +4 -13
- package/dist/SRUGZSZY.cjs.map +1 -0
- package/dist/TY2SXEDC.cjs +4 -0
- package/dist/TY2SXEDC.cjs.map +1 -0
- package/dist/{YAFQX433.js → UE2N6Q3B.js} +3 -3
- package/dist/UE2N6Q3B.js.map +1 -0
- package/dist/VZP4VEYJ.cjs +73 -0
- package/dist/VZP4VEYJ.cjs.map +1 -0
- package/dist/WP2E3P7I.cjs +80 -0
- package/dist/WP2E3P7I.cjs.map +1 -0
- package/dist/{W3NEISER.cjs → WYAGX6NX.cjs} +3 -3
- package/dist/WYAGX6NX.cjs.map +1 -0
- package/dist/{RMW3UTVK.js → ZQQ6EIFU.js} +12 -44
- package/dist/ZQQ6EIFU.js.map +1 -0
- package/dist/ZTLVAMWX.cjs +112 -0
- package/dist/ZTLVAMWX.cjs.map +1 -0
- package/dist/deploy/artifact.cjs +45 -0
- package/dist/deploy/artifact.cjs.map +1 -0
- package/dist/deploy/artifact.d.ts +86 -0
- package/dist/deploy/artifact.d.ts.map +1 -0
- package/dist/deploy/artifact.js +4 -0
- package/dist/deploy/artifact.js.map +1 -0
- package/dist/deploy/index.cjs +81 -64
- package/dist/deploy/index.d.ts +1 -0
- package/dist/deploy/index.d.ts.map +1 -1
- package/dist/deploy/index.js +6 -5
- package/dist/deploy/resourceBuilder.cjs +2 -2
- package/dist/deploy/resourceBuilder.d.ts +4 -4
- package/dist/deploy/resourceBuilder.d.ts.map +1 -1
- package/dist/deploy/resourceBuilder.js +1 -1
- package/dist/deploy/resources.cjs +26 -26
- package/dist/deploy/resources.d.ts +28 -30
- package/dist/deploy/resources.d.ts.map +1 -1
- package/dist/deploy/resources.js +2 -2
- package/dist/deploy/workflow.cjs +17 -36
- package/dist/deploy/workflow.d.ts +58 -461
- package/dist/deploy/workflow.d.ts.map +1 -1
- package/dist/deploy/workflow.js +2 -1
- package/dist/index.cjs +110 -93
- package/dist/index.js +8 -7
- package/dist/role-management/index.cjs +19 -19
- package/dist/role-management/index.js +1 -1
- package/dist/role-management/schemata.cjs +6 -6
- package/dist/role-management/schemata.d.ts +1 -1
- package/dist/role-management/schemata.d.ts.map +1 -1
- package/dist/role-management/schemata.js +1 -1
- package/dist/upgrade/index.cjs +10 -10
- package/dist/upgrade/index.js +1 -1
- package/dist/upgrade/types.cjs +10 -10
- package/dist/upgrade/types.d.ts +2 -2
- package/dist/upgrade/types.d.ts.map +1 -1
- package/dist/upgrade/types.js +1 -1
- package/dist/wire/index.cjs +6 -6
- package/dist/wire/index.js +1 -1
- package/dist/wire/schemata.cjs +6 -6
- package/dist/wire/schemata.d.ts +3 -3
- package/dist/wire/schemata.d.ts.map +1 -1
- package/dist/wire/schemata.js +1 -1
- package/package.json +10 -9
- package/src/deploy/artifact.ts +93 -0
- package/src/deploy/index.ts +1 -0
- package/src/deploy/resourceBuilder.ts +7 -16
- package/src/deploy/resources.ts +95 -77
- package/src/deploy/workflow.ts +31 -57
- package/src/role-management/schemata.ts +1 -1
- package/src/upgrade/types.ts +1 -1
- package/src/wire/schemata.ts +1 -1
- package/dist/5KVLMWQW.cjs +0 -54
- package/dist/5KVLMWQW.cjs.map +0 -1
- package/dist/722WUAS6.cjs.map +0 -1
- package/dist/JEBKWD5F.js +0 -40
- package/dist/JEBKWD5F.js.map +0 -1
- package/dist/MLHJKQTG.cjs +0 -59
- package/dist/MLHJKQTG.cjs.map +0 -1
- package/dist/N5NQRAA2.js +0 -3
- package/dist/N5NQRAA2.js.map +0 -1
- package/dist/OKS5GGII.cjs +0 -149
- package/dist/OKS5GGII.cjs.map +0 -1
- package/dist/PP5TDTMN.cjs.map +0 -1
- package/dist/RMW3UTVK.js.map +0 -1
- package/dist/U463T6CN.js.map +0 -1
- package/dist/UU3GEL4Y.js.map +0 -1
- package/dist/W3NEISER.cjs.map +0 -1
- package/dist/YAFQX433.js.map +0 -1
- package/dist/ZQEYO4LO.cjs +0 -4
- package/dist/ZQEYO4LO.cjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/deploy/workflow.ts"],"names":["BaseDeploymentSchema","deploymentArtifactSchema","DeploymentInfoSchema","VerificationInfoSchema","z","object","contractName","enum","ChainName","address","normalizedHexSchema","abiEncodedConstructorArguments","failedDeployment","name","string","success","literal","error","successfulDeployment","deploymentInfo","deployWorkflowChainResultItemSchema","union","deployWorkflowChainResultSchema","results","array","default","deployWorkflowChainStateSchema","extend","srcChain","optional","status","deployWorkflowOrchestratorResultSchema","stateByChain","partialRecord","deployWorkflowOrchestratorStateSchema","getDeploymentBaseArgs","saveDeploymentBaseArgs","identityOnlyDeploymentArtifactSchema","getVerificationInfoBaseArgs","verificationDataFromDeploymentTransaction","deployedBytecode","hexSchema","deployerWallet","createVerificationInfoBaseArgs","fullDeploymentArtifactSchema","nonVerifyable","boolean","saveVerificationInfoBaseArgs","BaseDeploymentSavingArtifactsSchema","getDeployment","functionSchema","input","tuple","output","promise","saveDeployment","void","getVerificationInfo","any","saveVerificationInfo"],"mappings":";;;;;;;;AAkBO,IAAMA,oBAAAA,GAAuBC;AAU7B,IAAMC,oBAAAA,GAAuBF;AAG7B,IAAMG,sBAAAA,GAAyBC,MAAEC,MAAAA,CAAO;EAC3CC,YAAAA,EAAcF,KAAAA,CAAEG,KAAKC,8BAAAA,CAAAA;EACrBC,OAAAA,EAASC,oCAAAA;EACTC,8BAAAA,EAAgC;AACpC,CAAA;AAEA,IAAMC,gBAAAA,GAAmBR,MAAEC,MAAAA,CAAO;AAC9BQ,EAAAA,IAAAA,EAAMT,MAAEU,MAAAA,EAAM;EACdC,OAAAA,EAASX,KAAAA,CAAEY,QAAQ,KAAA,CAAA;AACnBC,EAAAA,KAAAA,EAAOb,MAAEU,MAAAA;AACb,CAAA,CAAA;AAEA,IAAMI,oBAAAA,GAAuBd,MAAEC,MAAAA,CAAO;AAClCQ,EAAAA,IAAAA,EAAMT,MAAEU,MAAAA,EAAM;EACdC,OAAAA,EAASX,KAAAA,CAAEY,QAAQ,IAAA,CAAA;EACnBG,cAAAA,EAAgBjB;AACpB,CAAA,CAAA;AAEO,IAAMkB,mCAAAA,GAAsChB,MAAEiB,KAAAA,CAAM;AACvDT,EAAAA,gBAAAA;AACAM,EAAAA;AACH,CAAA;AAEM,IAAMI,+BAAAA,GAAkClB,MAAEC,MAAAA,CAAO;AACpDkB,EAAAA,OAAAA,EAASnB,MAAEoB,KAAAA,CAAMJ,mCAAAA,CAAAA,CAAqCK,OAAAA,CAAQ,EAAE;AACpE,CAAA;AAEO,IAAMC,8BAAAA,GAAiCJ,gCAAgCK,MAAAA,CAAO;AACjFC,EAAAA,QAAAA,EAAUxB,KAAAA,CAAEG,IAAAA,CAAKC,8BAAAA,CAAAA,CAAWqB,QAAAA,EAAQ;AACpCC,EAAAA,MAAAA,EAAQ1B,MAAEiB,K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'zod';\n\nimport { hexSchema, normalizedHexSchema } from '@layerzerolabs/common-chain-model';\nimport { ChainName } from '@layerzerolabs/layerzero-definitions';\nimport { functionSchema } from '@layerzerolabs/zod-utils';\n\nimport type { DeploymentArtifact, SolanaDeploymentArtifactExtraInfo } from './artifact';\nimport {\n deploymentArtifactSchema,\n fullDeploymentArtifactSchema,\n identityOnlyDeploymentArtifactSchema,\n} from './artifact';\n\nexport type { SuiObjectChange };\n\n// exported for backwards compatibility, should use the new schemas\n/** @deprecated use deploymentArtifactSchema */\nexport const BaseDeploymentSchema = deploymentArtifactSchema;\n\n/** @deprecated use DeploymentArtifact */\nexport type DeploymentInfo = DeploymentArtifact;\n/** @deprecated */\nexport type SolanaDeploymentInfo = Omit<DeploymentArtifact, 'extraDeploymentInfo'> & {\n extraDeploymentInfo: SolanaDeploymentArtifactExtraInfo;\n};\n\n/** @deprecated use deploymentArtifactSchema */\nexport const DeploymentInfoSchema = BaseDeploymentSchema;\n\n// FIXME clean this up to use the new artifact schema\nexport const VerificationInfoSchema = z.object({\n contractName: z.enum(ChainName),\n address: normalizedHexSchema,\n abiEncodedConstructorArguments: true,\n});\n\nconst failedDeployment = z.object({\n name: z.string(),\n success: z.literal(false),\n error: z.string(),\n});\n\nconst successfulDeployment = z.object({\n name: z.string(),\n success: z.literal(true),\n deploymentInfo: DeploymentInfoSchema,\n});\n\nexport const deployWorkflowChainResultItemSchema = z.union([\n failedDeployment,\n successfulDeployment,\n]);\n\nexport const deployWorkflowChainResultSchema = z.object({\n results: z.array(deployWorkflowChainResultItemSchema).default([]),\n});\n\nexport const deployWorkflowChainStateSchema = deployWorkflowChainResultSchema.extend({\n srcChain: z.enum(ChainName).optional(),\n status: z.union([z.literal('RUNNING'), z.literal('COMPLETE')]).default('RUNNING'),\n});\n\nexport type DeployWorkflowChainState = z.infer<typeof deployWorkflowChainStateSchema>;\nexport type DeployWorkflowChainResult = z.infer<typeof deployWorkflowChainResultSchema>;\nexport type DeployWorkflowChainResultItem = z.infer<typeof deployWorkflowChainResultItemSchema>;\n\nexport const deployWorkflowOrchestratorResultSchema = z.object({\n stateByChain: z.partialRecord(z.enum(ChainName), deployWorkflowChainResultSchema).default({}),\n});\n\nexport const deployWorkflowOrchestratorStateSchema = deployWorkflowOrchestratorResultSchema.extend({\n status: z.union([z.literal('RUNNING'), z.literal('COMPLETE')]).default('RUNNING'),\n});\n\nexport type DeployWorkflowOrchestratorState = z.infer<typeof deployWorkflowOrchestratorStateSchema>;\nexport type DeployWorkflowOrchestratorResult = z.infer<\n typeof deployWorkflowOrchestratorResultSchema\n>;\n\nexport const getDeploymentBaseArgs = z.object({ contractName: z.string() });\nexport type GetDeploymentBaseArgs = z.infer<typeof getDeploymentBaseArgs>;\n\nexport const saveDeploymentBaseArgs = z.object({\n contractName: z.string(),\n deploymentInfo: identityOnlyDeploymentArtifactSchema,\n});\nexport type SaveDeploymentBaseArgs = z.infer<typeof saveDeploymentBaseArgs>;\n\nexport const getVerificationInfoBaseArgs = z.object({\n contractName: z.string(),\n});\nexport type GetVerificationInfoBaseArgs = z.infer<typeof getVerificationInfoBaseArgs>;\n\nexport const verificationDataFromDeploymentTransaction = z.object({\n deployedBytecode: hexSchema.optional(),\n deployerWallet: normalizedHexSchema.optional(),\n});\nexport type VerificationDataFromDeploymentTransaction = z.infer<\n typeof verificationDataFromDeploymentTransaction\n>;\n\nexport const createVerificationInfoBaseArgs = z.object({\n deployedBytecode: hexSchema.optional(),\n deploymentInfo: fullDeploymentArtifactSchema,\n nonVerifyable: z.boolean().optional(),\n});\nexport type CreateVerificationInfoBaseArgs = z.infer<typeof createVerificationInfoBaseArgs>;\n\nexport const saveVerificationInfoBaseArgs = createVerificationInfoBaseArgs;\n\nexport type SaveVerificationInfoBaseArgs = z.infer<typeof saveVerificationInfoBaseArgs>;\n\nexport const BaseDeploymentSavingArtifactsSchema = z.object({\n getDeployment: functionSchema({\n input: z.tuple([getDeploymentBaseArgs]),\n output: z.promise(deploymentArtifactSchema.optional()),\n }),\n saveDeployment: functionSchema({\n input: z.tuple([saveDeploymentBaseArgs]),\n output: z.promise(z.void()),\n }),\n getVerificationInfo: functionSchema({\n input: z.tuple([getVerificationInfoBaseArgs]),\n output: z.promise(z.any()),\n }),\n saveVerificationInfo: functionSchema({\n input: z.tuple([saveVerificationInfoBaseArgs]),\n output: z.promise(z.void()),\n }),\n});\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var VZP4VEYJ_cjs = require('../VZP4VEYJ.cjs');
|
|
4
|
+
require('../YJF4D23A.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "ArtifactType", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return VZP4VEYJ_cjs.ArtifactType; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "artifactWithTypeSchema", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return VZP4VEYJ_cjs.artifactWithTypeSchema; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "deploymentArtifactSchema", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return VZP4VEYJ_cjs.deploymentArtifactSchema; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return VZP4VEYJ_cjs.fullDeploymentArtifactSchema; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return VZP4VEYJ_cjs.identityOnlyDeploymentArtifactSchema; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "metadataArtifactSchema", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return VZP4VEYJ_cjs.metadataArtifactSchema; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return VZP4VEYJ_cjs.solanaDeploymentArtifactExtraInfoSchema; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return VZP4VEYJ_cjs.suiDeploymentArtifactExtraInfoSchema; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "verificationArtifactSchema", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return VZP4VEYJ_cjs.verificationArtifactSchema; }
|
|
43
|
+
});
|
|
44
|
+
//# sourceMappingURL=artifact.cjs.map
|
|
45
|
+
//# sourceMappingURL=artifact.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"artifact.cjs"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { SuiObjectChange } from '@mysten/sui/client';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { ChainName } from '@layerzerolabs/layerzero-definitions';
|
|
4
|
+
export type { ChainName };
|
|
5
|
+
export type { SuiObjectChange };
|
|
6
|
+
export declare enum ArtifactType {
|
|
7
|
+
DEPLOYMENT = "deployment",
|
|
8
|
+
VERIFICATION = "verification",
|
|
9
|
+
METADATA = "metadata"
|
|
10
|
+
}
|
|
11
|
+
export declare const solanaDeploymentArtifactExtraInfoSchema: z.ZodObject<{
|
|
12
|
+
accounts: z.ZodRecord<z.ZodString, z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type SolanaDeploymentArtifactExtraInfo = z.infer<typeof solanaDeploymentArtifactExtraInfoSchema>;
|
|
15
|
+
export declare const suiDeploymentArtifactExtraInfoSchema: z.ZodObject<{
|
|
16
|
+
digest: z.ZodString;
|
|
17
|
+
objectChanges: z.ZodArray<z.ZodCustom<SuiObjectChange, SuiObjectChange>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
export type SuiDeploymentArtifactExtraInfo = z.infer<typeof suiDeploymentArtifactExtraInfoSchema>;
|
|
20
|
+
export declare const identityOnlyDeploymentArtifactSchema: z.ZodObject<{
|
|
21
|
+
contractName: z.ZodString;
|
|
22
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
23
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type IdentityOnlyDeploymentArtifact = z.infer<typeof identityOnlyDeploymentArtifactSchema>;
|
|
26
|
+
export declare const fullDeploymentArtifactSchema: z.ZodObject<{
|
|
27
|
+
contractName: z.ZodString;
|
|
28
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
29
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
30
|
+
nativeAddress: z.ZodString;
|
|
31
|
+
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
32
|
+
deploymentTimestamp: z.ZodNumber;
|
|
33
|
+
deployerAddress: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
34
|
+
txHash: z.ZodString;
|
|
35
|
+
abiEncodedConstructorArguments: z.ZodOptional<z.ZodType<`0x${string}`, unknown, z.core.$ZodTypeInternals<`0x${string}`, unknown>>>;
|
|
36
|
+
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
export type FullDeploymentArtifact = z.infer<typeof fullDeploymentArtifactSchema>;
|
|
39
|
+
export declare const deploymentArtifactSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
40
|
+
contractName: z.ZodString;
|
|
41
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
42
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
43
|
+
nativeAddress: z.ZodString;
|
|
44
|
+
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
45
|
+
deploymentTimestamp: z.ZodNumber;
|
|
46
|
+
deployerAddress: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
47
|
+
txHash: z.ZodString;
|
|
48
|
+
abiEncodedConstructorArguments: z.ZodOptional<z.ZodType<`0x${string}`, unknown, z.core.$ZodTypeInternals<`0x${string}`, unknown>>>;
|
|
49
|
+
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
50
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
51
|
+
contractName: z.ZodString;
|
|
52
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
53
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
54
|
+
}, z.core.$strip>]>;
|
|
55
|
+
export type DeploymentArtifact = z.infer<typeof deploymentArtifactSchema>;
|
|
56
|
+
export declare const verificationArtifactSchema: z.ZodAny;
|
|
57
|
+
export type VerificationArtifact = z.infer<typeof verificationArtifactSchema>;
|
|
58
|
+
export declare const metadataArtifactSchema: z.ZodVoid;
|
|
59
|
+
export type MetadataArtifact = z.infer<typeof metadataArtifactSchema>;
|
|
60
|
+
export declare const artifactWithTypeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
artifactType: z.ZodLiteral<ArtifactType.DEPLOYMENT>;
|
|
62
|
+
artifact: z.ZodUnion<readonly [z.ZodObject<{
|
|
63
|
+
contractName: z.ZodString;
|
|
64
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
65
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
66
|
+
nativeAddress: z.ZodString;
|
|
67
|
+
bytecodeHash: z.ZodOptional<z.ZodString>;
|
|
68
|
+
deploymentTimestamp: z.ZodNumber;
|
|
69
|
+
deployerAddress: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
70
|
+
txHash: z.ZodString;
|
|
71
|
+
abiEncodedConstructorArguments: z.ZodOptional<z.ZodType<`0x${string}`, unknown, z.core.$ZodTypeInternals<`0x${string}`, unknown>>>;
|
|
72
|
+
extraDeploymentInfo: z.ZodOptional<z.ZodAny>;
|
|
73
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
+
contractName: z.ZodString;
|
|
75
|
+
chainName: z.ZodEnum<typeof ChainName>;
|
|
76
|
+
address: z.ZodType<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown, z.core.$ZodTypeInternals<import("@layerzerolabs/common-chain-model").NormalizedHexString, unknown>>;
|
|
77
|
+
}, z.core.$strip>]>;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
artifactType: z.ZodLiteral<ArtifactType.VERIFICATION>;
|
|
80
|
+
artifact: z.ZodAny;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
artifactType: z.ZodLiteral<ArtifactType.METADATA>;
|
|
83
|
+
artifact: z.ZodNever;
|
|
84
|
+
}, z.core.$strip>], "artifactType">;
|
|
85
|
+
export type ArtifactWithType = z.infer<typeof artifactWithTypeSchema>;
|
|
86
|
+
//# sourceMappingURL=artifact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"artifact.d.ts","sourceRoot":"","sources":["../../src/deploy/artifact.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAE,SAAS,EAAE,CAAC;AAE1B,YAAY,EAAE,eAAe,EAAE,CAAC;AAEhC,oBAAY,YAAY;IAIpB,UAAU,eAAe;IAEzB,YAAY,iBAAiB;IAE7B,QAAQ,aAAa;CACxB;AAGD,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AAEH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACnD,OAAO,uCAAuC,CACjD,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAElG,eAAO,MAAM,oCAAoC;;;;iBAI/C,CAAC;AACH,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAGlG,eAAO,MAAM,4BAA4B;;;;;;;;;;;iBAavC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;mBAInC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,0BAA0B,UAAU,CAAC;AAElD,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAE9E,eAAO,MAAM,sBAAsB,WAAW,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;mCAcjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from '../AB7BJRWS.js';
|
|
2
|
+
import '../VUOMXK5T.js';
|
|
3
|
+
//# sourceMappingURL=artifact.js.map
|
|
4
|
+
//# sourceMappingURL=artifact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"artifact.js"}
|
package/dist/deploy/index.cjs
CHANGED
|
@@ -1,154 +1,171 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('../
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
require('../TY2SXEDC.cjs');
|
|
4
|
+
var SRUGZSZY_cjs = require('../SRUGZSZY.cjs');
|
|
5
|
+
var WP2E3P7I_cjs = require('../WP2E3P7I.cjs');
|
|
6
6
|
require('../IN5O3BJZ.cjs');
|
|
7
|
-
require('../
|
|
8
|
-
var
|
|
7
|
+
require('../WYAGX6NX.cjs');
|
|
8
|
+
var ZTLVAMWX_cjs = require('../ZTLVAMWX.cjs');
|
|
9
|
+
var VZP4VEYJ_cjs = require('../VZP4VEYJ.cjs');
|
|
9
10
|
require('../YJF4D23A.cjs');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
Object.defineProperty(exports, "createResourceBuilder", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return SRUGZSZY_cjs.createResourceBuilder; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, "baseContractResourceSchema", {
|
|
18
19
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
20
|
+
get: function () { return WP2E3P7I_cjs.baseContractResourceSchema; }
|
|
20
21
|
});
|
|
21
22
|
Object.defineProperty(exports, "baseMeshResourceSchema", {
|
|
22
23
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
24
|
+
get: function () { return WP2E3P7I_cjs.baseMeshResourceSchema; }
|
|
24
25
|
});
|
|
25
26
|
Object.defineProperty(exports, "baseResourceSchema", {
|
|
26
27
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
28
|
+
get: function () { return WP2E3P7I_cjs.baseResourceSchema; }
|
|
28
29
|
});
|
|
29
|
-
Object.defineProperty(exports, "
|
|
30
|
+
Object.defineProperty(exports, "contractResourceReferenceSchema", {
|
|
30
31
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
32
|
+
get: function () { return WP2E3P7I_cjs.contractResourceReferenceSchema; }
|
|
32
33
|
});
|
|
33
|
-
Object.defineProperty(exports, "
|
|
34
|
+
Object.defineProperty(exports, "contractResourceReferenceSchemaFor", {
|
|
34
35
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
36
|
+
get: function () { return WP2E3P7I_cjs.contractResourceReferenceSchemaFor; }
|
|
36
37
|
});
|
|
37
38
|
Object.defineProperty(exports, "createResolvedResourceSchema", {
|
|
38
39
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
40
|
+
get: function () { return WP2E3P7I_cjs.createResolvedResourceSchema; }
|
|
40
41
|
});
|
|
41
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "extractContractResourceReferences", {
|
|
42
43
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
44
|
+
get: function () { return WP2E3P7I_cjs.extractContractResourceReferences; }
|
|
44
45
|
});
|
|
45
|
-
Object.defineProperty(exports, "
|
|
46
|
+
Object.defineProperty(exports, "extractIdFromContractResourceReference", {
|
|
46
47
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
+
get: function () { return WP2E3P7I_cjs.extractIdFromContractResourceReference; }
|
|
48
49
|
});
|
|
49
|
-
Object.defineProperty(exports, "
|
|
50
|
+
Object.defineProperty(exports, "extractIdFromMeshResourceReference", {
|
|
50
51
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
52
|
+
get: function () { return WP2E3P7I_cjs.extractIdFromMeshResourceReference; }
|
|
52
53
|
});
|
|
53
|
-
Object.defineProperty(exports, "
|
|
54
|
+
Object.defineProperty(exports, "extractMeshResourceReferences", {
|
|
54
55
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
+
get: function () { return WP2E3P7I_cjs.extractMeshResourceReferences; }
|
|
56
57
|
});
|
|
57
|
-
Object.defineProperty(exports, "
|
|
58
|
+
Object.defineProperty(exports, "meshResourceReferenceSchema", {
|
|
58
59
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
60
|
+
get: function () { return WP2E3P7I_cjs.meshResourceReferenceSchema; }
|
|
60
61
|
});
|
|
61
|
-
Object.defineProperty(exports, "
|
|
62
|
+
Object.defineProperty(exports, "meshResourceReferenceSchemaFor", {
|
|
62
63
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
64
|
+
get: function () { return WP2E3P7I_cjs.meshResourceReferenceSchemaFor; }
|
|
64
65
|
});
|
|
65
|
-
Object.defineProperty(exports, "
|
|
66
|
+
Object.defineProperty(exports, "resolvedContractResourceReferenceSchema", {
|
|
66
67
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
68
|
+
get: function () { return WP2E3P7I_cjs.resolvedContractResourceReferenceSchema; }
|
|
68
69
|
});
|
|
69
|
-
Object.defineProperty(exports, "
|
|
70
|
+
Object.defineProperty(exports, "resolvedMeshResourceReferenceSchema", {
|
|
70
71
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
72
|
+
get: function () { return WP2E3P7I_cjs.resolvedMeshResourceReferenceSchema; }
|
|
72
73
|
});
|
|
73
74
|
Object.defineProperty(exports, "BaseDeploymentSavingArtifactsSchema", {
|
|
74
75
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
76
|
+
get: function () { return ZTLVAMWX_cjs.BaseDeploymentSavingArtifactsSchema; }
|
|
76
77
|
});
|
|
77
78
|
Object.defineProperty(exports, "BaseDeploymentSchema", {
|
|
78
79
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
80
|
+
get: function () { return ZTLVAMWX_cjs.BaseDeploymentSchema; }
|
|
80
81
|
});
|
|
81
82
|
Object.defineProperty(exports, "DeploymentInfoSchema", {
|
|
82
83
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "SolanaDeploymentSchema", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function () { return OKS5GGII_cjs.SolanaDeploymentSchema; }
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(exports, "SolanaExtraSchema", {
|
|
90
|
-
enumerable: true,
|
|
91
|
-
get: function () { return OKS5GGII_cjs.SolanaExtraSchema; }
|
|
92
|
-
});
|
|
93
|
-
Object.defineProperty(exports, "SuiDeploymentSchema", {
|
|
94
|
-
enumerable: true,
|
|
95
|
-
get: function () { return OKS5GGII_cjs.SuiDeploymentSchema; }
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(exports, "SuiExtraSchema", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
get: function () { return OKS5GGII_cjs.SuiExtraSchema; }
|
|
84
|
+
get: function () { return ZTLVAMWX_cjs.DeploymentInfoSchema; }
|
|
100
85
|
});
|
|
101
86
|
Object.defineProperty(exports, "VerificationInfoSchema", {
|
|
102
87
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
88
|
+
get: function () { return ZTLVAMWX_cjs.VerificationInfoSchema; }
|
|
104
89
|
});
|
|
105
90
|
Object.defineProperty(exports, "createVerificationInfoBaseArgs", {
|
|
106
91
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
92
|
+
get: function () { return ZTLVAMWX_cjs.createVerificationInfoBaseArgs; }
|
|
108
93
|
});
|
|
109
94
|
Object.defineProperty(exports, "deployWorkflowChainResultItemSchema", {
|
|
110
95
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
96
|
+
get: function () { return ZTLVAMWX_cjs.deployWorkflowChainResultItemSchema; }
|
|
112
97
|
});
|
|
113
98
|
Object.defineProperty(exports, "deployWorkflowChainResultSchema", {
|
|
114
99
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
100
|
+
get: function () { return ZTLVAMWX_cjs.deployWorkflowChainResultSchema; }
|
|
116
101
|
});
|
|
117
102
|
Object.defineProperty(exports, "deployWorkflowChainStateSchema", {
|
|
118
103
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
104
|
+
get: function () { return ZTLVAMWX_cjs.deployWorkflowChainStateSchema; }
|
|
120
105
|
});
|
|
121
106
|
Object.defineProperty(exports, "deployWorkflowOrchestratorResultSchema", {
|
|
122
107
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
108
|
+
get: function () { return ZTLVAMWX_cjs.deployWorkflowOrchestratorResultSchema; }
|
|
124
109
|
});
|
|
125
110
|
Object.defineProperty(exports, "deployWorkflowOrchestratorStateSchema", {
|
|
126
111
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
112
|
+
get: function () { return ZTLVAMWX_cjs.deployWorkflowOrchestratorStateSchema; }
|
|
128
113
|
});
|
|
129
114
|
Object.defineProperty(exports, "getDeploymentBaseArgs", {
|
|
130
115
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
116
|
+
get: function () { return ZTLVAMWX_cjs.getDeploymentBaseArgs; }
|
|
132
117
|
});
|
|
133
118
|
Object.defineProperty(exports, "getVerificationInfoBaseArgs", {
|
|
134
119
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
120
|
+
get: function () { return ZTLVAMWX_cjs.getVerificationInfoBaseArgs; }
|
|
136
121
|
});
|
|
137
122
|
Object.defineProperty(exports, "saveDeploymentBaseArgs", {
|
|
138
123
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
124
|
+
get: function () { return ZTLVAMWX_cjs.saveDeploymentBaseArgs; }
|
|
140
125
|
});
|
|
141
126
|
Object.defineProperty(exports, "saveVerificationInfoBaseArgs", {
|
|
142
127
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
128
|
+
get: function () { return ZTLVAMWX_cjs.saveVerificationInfoBaseArgs; }
|
|
144
129
|
});
|
|
145
|
-
Object.defineProperty(exports, "
|
|
130
|
+
Object.defineProperty(exports, "verificationDataFromDeploymentTransaction", {
|
|
146
131
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
132
|
+
get: function () { return ZTLVAMWX_cjs.verificationDataFromDeploymentTransaction; }
|
|
148
133
|
});
|
|
149
|
-
Object.defineProperty(exports, "
|
|
134
|
+
Object.defineProperty(exports, "ArtifactType", {
|
|
135
|
+
enumerable: true,
|
|
136
|
+
get: function () { return VZP4VEYJ_cjs.ArtifactType; }
|
|
137
|
+
});
|
|
138
|
+
Object.defineProperty(exports, "artifactWithTypeSchema", {
|
|
139
|
+
enumerable: true,
|
|
140
|
+
get: function () { return VZP4VEYJ_cjs.artifactWithTypeSchema; }
|
|
141
|
+
});
|
|
142
|
+
Object.defineProperty(exports, "deploymentArtifactSchema", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return VZP4VEYJ_cjs.deploymentArtifactSchema; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return VZP4VEYJ_cjs.fullDeploymentArtifactSchema; }
|
|
149
|
+
});
|
|
150
|
+
Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function () { return VZP4VEYJ_cjs.identityOnlyDeploymentArtifactSchema; }
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "metadataArtifactSchema", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function () { return VZP4VEYJ_cjs.metadataArtifactSchema; }
|
|
157
|
+
});
|
|
158
|
+
Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
|
|
159
|
+
enumerable: true,
|
|
160
|
+
get: function () { return VZP4VEYJ_cjs.solanaDeploymentArtifactExtraInfoSchema; }
|
|
161
|
+
});
|
|
162
|
+
Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
|
|
163
|
+
enumerable: true,
|
|
164
|
+
get: function () { return VZP4VEYJ_cjs.suiDeploymentArtifactExtraInfoSchema; }
|
|
165
|
+
});
|
|
166
|
+
Object.defineProperty(exports, "verificationArtifactSchema", {
|
|
150
167
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
168
|
+
get: function () { return VZP4VEYJ_cjs.verificationArtifactSchema; }
|
|
152
169
|
});
|
|
153
170
|
//# sourceMappingURL=index.cjs.map
|
|
154
171
|
//# sourceMappingURL=index.cjs.map
|
package/dist/deploy/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/deploy/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/deploy/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC"}
|
package/dist/deploy/index.js
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import '../
|
|
2
|
-
export { createResourceBuilder } from '../
|
|
3
|
-
export { baseContractResourceSchema, baseMeshResourceSchema, baseResourceSchema,
|
|
1
|
+
import '../NLDQ72XO.js';
|
|
2
|
+
export { createResourceBuilder } from '../RLVC22JB.js';
|
|
3
|
+
export { baseContractResourceSchema, baseMeshResourceSchema, baseResourceSchema, contractResourceReferenceSchema, contractResourceReferenceSchemaFor, createResolvedResourceSchema, extractContractResourceReferences, extractIdFromContractResourceReference, extractIdFromMeshResourceReference, extractMeshResourceReferences, meshResourceReferenceSchema, meshResourceReferenceSchemaFor, resolvedContractResourceReferenceSchema, resolvedMeshResourceReferenceSchema } from '../HW27MZCG.js';
|
|
4
4
|
import '../ZCFXJFGI.js';
|
|
5
|
-
import '../
|
|
6
|
-
export { BaseDeploymentSavingArtifactsSchema, BaseDeploymentSchema, DeploymentInfoSchema,
|
|
5
|
+
import '../RDYET6CZ.js';
|
|
6
|
+
export { BaseDeploymentSavingArtifactsSchema, BaseDeploymentSchema, DeploymentInfoSchema, VerificationInfoSchema, createVerificationInfoBaseArgs, deployWorkflowChainResultItemSchema, deployWorkflowChainResultSchema, deployWorkflowChainStateSchema, deployWorkflowOrchestratorResultSchema, deployWorkflowOrchestratorStateSchema, getDeploymentBaseArgs, getVerificationInfoBaseArgs, saveDeploymentBaseArgs, saveVerificationInfoBaseArgs, verificationDataFromDeploymentTransaction } from '../ZQQ6EIFU.js';
|
|
7
|
+
export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from '../AB7BJRWS.js';
|
|
7
8
|
import '../VUOMXK5T.js';
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var SRUGZSZY_cjs = require('../SRUGZSZY.cjs');
|
|
4
4
|
require('../YJF4D23A.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "createResourceBuilder", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return SRUGZSZY_cjs.createResourceBuilder; }
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=resourceBuilder.cjs.map
|
|
13
13
|
//# sourceMappingURL=resourceBuilder.cjs.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { z } from 'zod
|
|
2
|
-
import type { BaseContractResource, BaseMeshResource, baseResourceSchema,
|
|
1
|
+
import type { z } from 'zod';
|
|
2
|
+
import type { BaseContractResource, BaseMeshResource, baseResourceSchema, ContractResourceReference, MeshResourceReference } from './resources';
|
|
3
3
|
export type ContractResourceBuilderResult<Resource extends BaseContractResource> = {
|
|
4
|
-
|
|
4
|
+
ref: () => ContractResourceReference<Resource>;
|
|
5
5
|
build: () => Resource;
|
|
6
6
|
};
|
|
7
7
|
export type MeshResourceBuilderResult<Resource extends BaseMeshResource> = {
|
|
8
|
-
|
|
8
|
+
ref: () => MeshResourceReference<Resource>;
|
|
9
9
|
build: () => Resource;
|
|
10
10
|
};
|
|
11
11
|
export declare const createResourceBuilder: <T extends typeof baseResourceSchema, U extends Omit<z.infer<T>, "type" | "resourceBaseType">>(_resourceSchema: T, { resourceBaseType, type, }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourceBuilder.d.ts","sourceRoot":"","sources":["../../src/deploy/resourceBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"resourceBuilder.d.ts","sourceRoot":"","sources":["../../src/deploy/resourceBuilder.ts"],"names":[],"m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2
2
|
|
|
3
|
-
var
|
|
3
|
+
var WP2E3P7I_cjs = require('../WP2E3P7I.cjs');
|
|
4
4
|
require('../IN5O3BJZ.cjs');
|
|
5
|
-
require('../
|
|
5
|
+
require('../WYAGX6NX.cjs');
|
|
6
6
|
require('../YJF4D23A.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "baseContractResourceSchema", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return WP2E3P7I_cjs.baseContractResourceSchema; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "baseMeshResourceSchema", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return WP2E3P7I_cjs.baseMeshResourceSchema; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "baseResourceSchema", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return WP2E3P7I_cjs.baseResourceSchema; }
|
|
21
21
|
});
|
|
22
|
-
Object.defineProperty(exports, "
|
|
22
|
+
Object.defineProperty(exports, "contractResourceReferenceSchema", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return WP2E3P7I_cjs.contractResourceReferenceSchema; }
|
|
25
25
|
});
|
|
26
|
-
Object.defineProperty(exports, "
|
|
26
|
+
Object.defineProperty(exports, "contractResourceReferenceSchemaFor", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return WP2E3P7I_cjs.contractResourceReferenceSchemaFor; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "createResolvedResourceSchema", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return WP2E3P7I_cjs.createResolvedResourceSchema; }
|
|
33
33
|
});
|
|
34
|
-
Object.defineProperty(exports, "
|
|
34
|
+
Object.defineProperty(exports, "extractContractResourceReferences", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return WP2E3P7I_cjs.extractContractResourceReferences; }
|
|
37
37
|
});
|
|
38
|
-
Object.defineProperty(exports, "
|
|
38
|
+
Object.defineProperty(exports, "extractIdFromContractResourceReference", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return WP2E3P7I_cjs.extractIdFromContractResourceReference; }
|
|
41
41
|
});
|
|
42
|
-
Object.defineProperty(exports, "
|
|
42
|
+
Object.defineProperty(exports, "extractIdFromMeshResourceReference", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return WP2E3P7I_cjs.extractIdFromMeshResourceReference; }
|
|
45
45
|
});
|
|
46
|
-
Object.defineProperty(exports, "
|
|
46
|
+
Object.defineProperty(exports, "extractMeshResourceReferences", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return WP2E3P7I_cjs.extractMeshResourceReferences; }
|
|
49
49
|
});
|
|
50
|
-
Object.defineProperty(exports, "
|
|
50
|
+
Object.defineProperty(exports, "meshResourceReferenceSchema", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return WP2E3P7I_cjs.meshResourceReferenceSchema; }
|
|
53
53
|
});
|
|
54
|
-
Object.defineProperty(exports, "
|
|
54
|
+
Object.defineProperty(exports, "meshResourceReferenceSchemaFor", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return WP2E3P7I_cjs.meshResourceReferenceSchemaFor; }
|
|
57
57
|
});
|
|
58
|
-
Object.defineProperty(exports, "
|
|
58
|
+
Object.defineProperty(exports, "resolvedContractResourceReferenceSchema", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return WP2E3P7I_cjs.resolvedContractResourceReferenceSchema; }
|
|
61
61
|
});
|
|
62
|
-
Object.defineProperty(exports, "
|
|
62
|
+
Object.defineProperty(exports, "resolvedMeshResourceReferenceSchema", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return WP2E3P7I_cjs.resolvedMeshResourceReferenceSchema; }
|
|
65
65
|
});
|
|
66
66
|
//# sourceMappingURL=resources.cjs.map
|
|
67
67
|
//# sourceMappingURL=resources.cjs.map
|