@layerzerolabs/dw-model 0.2.31 → 0.2.32

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.
Files changed (36) hide show
  1. package/.turbo/turbo-build.log +66 -66
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/dist/{YHNY3DAS.js → 2AH2KVJ5.js} +3 -3
  4. package/dist/{YHNY3DAS.js.map → 2AH2KVJ5.js.map} +1 -1
  5. package/dist/{TAGF43YU.cjs → 6BMVYAYO.cjs} +9 -9
  6. package/dist/{TAGF43YU.cjs.map → 6BMVYAYO.cjs.map} +1 -1
  7. package/dist/{XMLZYDPF.js → 6NMSJTYI.js} +3 -5
  8. package/dist/6NMSJTYI.js.map +1 -0
  9. package/dist/{YR4VMGBG.cjs → I5CVWTKF.cjs} +2 -4
  10. package/dist/I5CVWTKF.cjs.map +1 -0
  11. package/dist/{C4QQVVTS.js → JCPMOIAM.js} +4 -4
  12. package/dist/{C4QQVVTS.js.map → JCPMOIAM.js.map} +1 -1
  13. package/dist/{BLMCMKXA.cjs → M5GB3YMZ.cjs} +11 -11
  14. package/dist/{BLMCMKXA.cjs.map → M5GB3YMZ.cjs.map} +1 -1
  15. package/dist/deploy/artifact.cjs +10 -10
  16. package/dist/deploy/artifact.d.ts +0 -3
  17. package/dist/deploy/artifact.d.ts.map +1 -1
  18. package/dist/deploy/artifact.js +1 -1
  19. package/dist/deploy/factoryInterfaces.cjs +8 -8
  20. package/dist/deploy/factoryInterfaces.d.ts +0 -8
  21. package/dist/deploy/factoryInterfaces.d.ts.map +1 -1
  22. package/dist/deploy/factoryInterfaces.js +3 -3
  23. package/dist/deploy/index.cjs +28 -28
  24. package/dist/deploy/index.js +3 -3
  25. package/dist/deploy/workflow.cjs +13 -13
  26. package/dist/deploy/workflow.d.ts +0 -11
  27. package/dist/deploy/workflow.d.ts.map +1 -1
  28. package/dist/deploy/workflow.js +2 -2
  29. package/dist/index.cjs +93 -93
  30. package/dist/index.js +4 -4
  31. package/dist/role-management/index.cjs +13 -13
  32. package/dist/role-management/index.js +1 -1
  33. package/package.json +9 -9
  34. package/src/deploy/artifact.ts +1 -3
  35. package/dist/XMLZYDPF.js.map +0 -1
  36. package/dist/YR4VMGBG.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,23 +1,35 @@
1
1
  'use strict';
2
2
 
3
3
  require('./3QBHS4UZ.cjs');
4
+ var ONIG6I4S_cjs = require('./ONIG6I4S.cjs');
4
5
  var CC5Y3WY7_cjs = require('./CC5Y3WY7.cjs');
5
6
  var X7GZKVDG_cjs = require('./X7GZKVDG.cjs');
6
7
  require('./X4ZNR5GZ.cjs');
7
8
  var QLEJL4UB_cjs = require('./QLEJL4UB.cjs');
8
9
  require('./NCHH4VK3.cjs');
9
- var BLMCMKXA_cjs = require('./BLMCMKXA.cjs');
10
+ var M5GB3YMZ_cjs = require('./M5GB3YMZ.cjs');
10
11
  var ECJRGALM_cjs = require('./ECJRGALM.cjs');
11
12
  var PUY2AOFE_cjs = require('./PUY2AOFE.cjs');
13
+ var _6BMVYAYO_cjs = require('./6BMVYAYO.cjs');
14
+ var I5CVWTKF_cjs = require('./I5CVWTKF.cjs');
12
15
  require('./IN5O3BJZ.cjs');
13
16
  var S5CHYZ3I_cjs = require('./S5CHYZ3I.cjs');
14
- var TAGF43YU_cjs = require('./TAGF43YU.cjs');
15
- var YR4VMGBG_cjs = require('./YR4VMGBG.cjs');
16
- var ONIG6I4S_cjs = require('./ONIG6I4S.cjs');
17
17
  require('./YJF4D23A.cjs');
18
18
 
19
19
 
20
20
 
21
+ Object.defineProperty(exports, "generateThrowCreateSetRoleTransactions", {
22
+ enumerable: true,
23
+ get: function () { return ONIG6I4S_cjs.generateThrowCreateSetRoleTransactions; }
24
+ });
25
+ Object.defineProperty(exports, "generateThrowHasRole", {
26
+ enumerable: true,
27
+ get: function () { return ONIG6I4S_cjs.generateThrowHasRole; }
28
+ });
29
+ Object.defineProperty(exports, "generateThrowRoleManagement", {
30
+ enumerable: true,
31
+ get: function () { return ONIG6I4S_cjs.generateThrowRoleManagement; }
32
+ });
21
33
  Object.defineProperty(exports, "createSetRoleTransactionsWithSpecializedInputSchema", {
22
34
  enumerable: true,
23
35
  get: function () { return CC5Y3WY7_cjs.createSetRoleTransactionsWithSpecializedInputSchema; }
@@ -76,23 +88,23 @@ Object.defineProperty(exports, "wireWorkflowOrchestratorStateSchema", {
76
88
  });
77
89
  Object.defineProperty(exports, "artifactRegistryActivityFactorySchema", {
78
90
  enumerable: true,
79
- get: function () { return BLMCMKXA_cjs.artifactRegistryActivityFactorySchema; }
91
+ get: function () { return M5GB3YMZ_cjs.artifactRegistryActivityFactorySchema; }
80
92
  });
81
93
  Object.defineProperty(exports, "realIdSchema", {
82
94
  enumerable: true,
83
- get: function () { return BLMCMKXA_cjs.realIdSchema; }
95
+ get: function () { return M5GB3YMZ_cjs.realIdSchema; }
84
96
  });
85
97
  Object.defineProperty(exports, "resourceRefSchema", {
86
98
  enumerable: true,
87
- get: function () { return BLMCMKXA_cjs.resourceRefSchema; }
99
+ get: function () { return M5GB3YMZ_cjs.resourceRefSchema; }
88
100
  });
89
101
  Object.defineProperty(exports, "resourceRegistryActivityFactorySchema", {
90
102
  enumerable: true,
91
- get: function () { return BLMCMKXA_cjs.resourceRegistryActivityFactorySchema; }
103
+ get: function () { return M5GB3YMZ_cjs.resourceRegistryActivityFactorySchema; }
92
104
  });
93
105
  Object.defineProperty(exports, "upsertResourceRealIdArgsSchema", {
94
106
  enumerable: true,
95
- get: function () { return BLMCMKXA_cjs.upsertResourceRealIdArgsSchema; }
107
+ get: function () { return M5GB3YMZ_cjs.upsertResourceRealIdArgsSchema; }
96
108
  });
97
109
  Object.defineProperty(exports, "createResourceBuilder", {
98
110
  enumerable: true,
@@ -158,161 +170,149 @@ Object.defineProperty(exports, "withIntrinsicAddress", {
158
170
  enumerable: true,
159
171
  get: function () { return PUY2AOFE_cjs.withIntrinsicAddress; }
160
172
  });
161
- Object.defineProperty(exports, "EvmProxyType", {
162
- enumerable: true,
163
- get: function () { return S5CHYZ3I_cjs.EvmProxyType; }
164
- });
165
- Object.defineProperty(exports, "ProxyType", {
166
- enumerable: true,
167
- get: function () { return S5CHYZ3I_cjs.ProxyType; }
168
- });
169
- Object.defineProperty(exports, "SEPARATE_PROXY_ADMIN_TYPES", {
170
- enumerable: true,
171
- get: function () { return S5CHYZ3I_cjs.SEPARATE_PROXY_ADMIN_TYPES; }
172
- });
173
- Object.defineProperty(exports, "TUP_PROXY_TYPES", {
173
+ Object.defineProperty(exports, "BaseDeploymentSavingArtifactsSchema", {
174
174
  enumerable: true,
175
- get: function () { return S5CHYZ3I_cjs.TUP_PROXY_TYPES; }
175
+ get: function () { return _6BMVYAYO_cjs.BaseDeploymentSavingArtifactsSchema; }
176
176
  });
177
- Object.defineProperty(exports, "UUPS_PROXY_TYPES", {
177
+ Object.defineProperty(exports, "deployWorkflowChainResultItemSchema", {
178
178
  enumerable: true,
179
- get: function () { return S5CHYZ3I_cjs.UUPS_PROXY_TYPES; }
179
+ get: function () { return _6BMVYAYO_cjs.deployWorkflowChainResultItemSchema; }
180
180
  });
181
- Object.defineProperty(exports, "UpgradeType", {
181
+ Object.defineProperty(exports, "deployWorkflowChainResultSchema", {
182
182
  enumerable: true,
183
- get: function () { return S5CHYZ3I_cjs.UpgradeType; }
183
+ get: function () { return _6BMVYAYO_cjs.deployWorkflowChainResultSchema; }
184
184
  });
185
- Object.defineProperty(exports, "codeUpgradeableConfigSchema", {
185
+ Object.defineProperty(exports, "deployWorkflowChainStateSchema", {
186
186
  enumerable: true,
187
- get: function () { return S5CHYZ3I_cjs.codeUpgradeableConfigSchema; }
187
+ get: function () { return _6BMVYAYO_cjs.deployWorkflowChainStateSchema; }
188
188
  });
189
- Object.defineProperty(exports, "initializeDataResultSchema", {
189
+ Object.defineProperty(exports, "deployWorkflowOrchestratorResultSchema", {
190
190
  enumerable: true,
191
- get: function () { return S5CHYZ3I_cjs.initializeDataResultSchema; }
191
+ get: function () { return _6BMVYAYO_cjs.deployWorkflowOrchestratorResultSchema; }
192
192
  });
193
- Object.defineProperty(exports, "isTupProxy", {
193
+ Object.defineProperty(exports, "deployWorkflowOrchestratorStateSchema", {
194
194
  enumerable: true,
195
- get: function () { return S5CHYZ3I_cjs.isTupProxy; }
195
+ get: function () { return _6BMVYAYO_cjs.deployWorkflowOrchestratorStateSchema; }
196
196
  });
197
- Object.defineProperty(exports, "isUupsProxy", {
197
+ Object.defineProperty(exports, "extractVerificationArtifactBaseArgsSchema", {
198
198
  enumerable: true,
199
- get: function () { return S5CHYZ3I_cjs.isUupsProxy; }
199
+ get: function () { return _6BMVYAYO_cjs.extractVerificationArtifactBaseArgsSchema; }
200
200
  });
201
- Object.defineProperty(exports, "notUpgradeableConfigSchema", {
201
+ Object.defineProperty(exports, "getDeploymentBaseArgsSchema", {
202
202
  enumerable: true,
203
- get: function () { return S5CHYZ3I_cjs.notUpgradeableConfigSchema; }
203
+ get: function () { return _6BMVYAYO_cjs.getDeploymentBaseArgsSchema; }
204
204
  });
205
- Object.defineProperty(exports, "proxyConfigSchema", {
205
+ Object.defineProperty(exports, "getVerificationBaseArgsSchema", {
206
206
  enumerable: true,
207
- get: function () { return S5CHYZ3I_cjs.proxyConfigSchema; }
207
+ get: function () { return _6BMVYAYO_cjs.getVerificationBaseArgsSchema; }
208
208
  });
209
- Object.defineProperty(exports, "proxyTypeSchema", {
209
+ Object.defineProperty(exports, "saveDeploymentBaseArgsSchema", {
210
210
  enumerable: true,
211
- get: function () { return S5CHYZ3I_cjs.proxyTypeSchema; }
211
+ get: function () { return _6BMVYAYO_cjs.saveDeploymentBaseArgsSchema; }
212
212
  });
213
- Object.defineProperty(exports, "requiresSeparateProxyAdminDeploy", {
213
+ Object.defineProperty(exports, "saveVerificationBaseArgsSchema", {
214
214
  enumerable: true,
215
- get: function () { return S5CHYZ3I_cjs.requiresSeparateProxyAdminDeploy; }
215
+ get: function () { return _6BMVYAYO_cjs.saveVerificationBaseArgsSchema; }
216
216
  });
217
- Object.defineProperty(exports, "upgradeTypeSchema", {
217
+ Object.defineProperty(exports, "ArtifactType", {
218
218
  enumerable: true,
219
- get: function () { return S5CHYZ3I_cjs.upgradeTypeSchema; }
219
+ get: function () { return I5CVWTKF_cjs.ArtifactType; }
220
220
  });
221
- Object.defineProperty(exports, "upgradeableConfigSchema", {
221
+ Object.defineProperty(exports, "artifactWithTypeSchema", {
222
222
  enumerable: true,
223
- get: function () { return S5CHYZ3I_cjs.upgradeableConfigSchema; }
223
+ get: function () { return I5CVWTKF_cjs.artifactWithTypeSchema; }
224
224
  });
225
- Object.defineProperty(exports, "BaseDeploymentSavingArtifactsSchema", {
225
+ Object.defineProperty(exports, "deploymentArtifactSchema", {
226
226
  enumerable: true,
227
- get: function () { return TAGF43YU_cjs.BaseDeploymentSavingArtifactsSchema; }
227
+ get: function () { return I5CVWTKF_cjs.deploymentArtifactSchema; }
228
228
  });
229
- Object.defineProperty(exports, "deployWorkflowChainResultItemSchema", {
229
+ Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
230
230
  enumerable: true,
231
- get: function () { return TAGF43YU_cjs.deployWorkflowChainResultItemSchema; }
231
+ get: function () { return I5CVWTKF_cjs.fullDeploymentArtifactSchema; }
232
232
  });
233
- Object.defineProperty(exports, "deployWorkflowChainResultSchema", {
233
+ Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
234
234
  enumerable: true,
235
- get: function () { return TAGF43YU_cjs.deployWorkflowChainResultSchema; }
235
+ get: function () { return I5CVWTKF_cjs.identityOnlyDeploymentArtifactSchema; }
236
236
  });
237
- Object.defineProperty(exports, "deployWorkflowChainStateSchema", {
237
+ Object.defineProperty(exports, "metadataArtifactSchema", {
238
238
  enumerable: true,
239
- get: function () { return TAGF43YU_cjs.deployWorkflowChainStateSchema; }
239
+ get: function () { return I5CVWTKF_cjs.metadataArtifactSchema; }
240
240
  });
241
- Object.defineProperty(exports, "deployWorkflowOrchestratorResultSchema", {
241
+ Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
242
242
  enumerable: true,
243
- get: function () { return TAGF43YU_cjs.deployWorkflowOrchestratorResultSchema; }
243
+ get: function () { return I5CVWTKF_cjs.solanaDeploymentArtifactExtraInfoSchema; }
244
244
  });
245
- Object.defineProperty(exports, "deployWorkflowOrchestratorStateSchema", {
245
+ Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
246
246
  enumerable: true,
247
- get: function () { return TAGF43YU_cjs.deployWorkflowOrchestratorStateSchema; }
247
+ get: function () { return I5CVWTKF_cjs.suiDeploymentArtifactExtraInfoSchema; }
248
248
  });
249
- Object.defineProperty(exports, "extractVerificationArtifactBaseArgsSchema", {
249
+ Object.defineProperty(exports, "verificationArtifactSchema", {
250
250
  enumerable: true,
251
- get: function () { return TAGF43YU_cjs.extractVerificationArtifactBaseArgsSchema; }
251
+ get: function () { return I5CVWTKF_cjs.verificationArtifactSchema; }
252
252
  });
253
- Object.defineProperty(exports, "getDeploymentBaseArgsSchema", {
253
+ Object.defineProperty(exports, "EvmProxyType", {
254
254
  enumerable: true,
255
- get: function () { return TAGF43YU_cjs.getDeploymentBaseArgsSchema; }
255
+ get: function () { return S5CHYZ3I_cjs.EvmProxyType; }
256
256
  });
257
- Object.defineProperty(exports, "getVerificationBaseArgsSchema", {
257
+ Object.defineProperty(exports, "ProxyType", {
258
258
  enumerable: true,
259
- get: function () { return TAGF43YU_cjs.getVerificationBaseArgsSchema; }
259
+ get: function () { return S5CHYZ3I_cjs.ProxyType; }
260
260
  });
261
- Object.defineProperty(exports, "saveDeploymentBaseArgsSchema", {
261
+ Object.defineProperty(exports, "SEPARATE_PROXY_ADMIN_TYPES", {
262
262
  enumerable: true,
263
- get: function () { return TAGF43YU_cjs.saveDeploymentBaseArgsSchema; }
263
+ get: function () { return S5CHYZ3I_cjs.SEPARATE_PROXY_ADMIN_TYPES; }
264
264
  });
265
- Object.defineProperty(exports, "saveVerificationBaseArgsSchema", {
265
+ Object.defineProperty(exports, "TUP_PROXY_TYPES", {
266
266
  enumerable: true,
267
- get: function () { return TAGF43YU_cjs.saveVerificationBaseArgsSchema; }
267
+ get: function () { return S5CHYZ3I_cjs.TUP_PROXY_TYPES; }
268
268
  });
269
- Object.defineProperty(exports, "ArtifactType", {
269
+ Object.defineProperty(exports, "UUPS_PROXY_TYPES", {
270
270
  enumerable: true,
271
- get: function () { return YR4VMGBG_cjs.ArtifactType; }
271
+ get: function () { return S5CHYZ3I_cjs.UUPS_PROXY_TYPES; }
272
272
  });
273
- Object.defineProperty(exports, "artifactWithTypeSchema", {
273
+ Object.defineProperty(exports, "UpgradeType", {
274
274
  enumerable: true,
275
- get: function () { return YR4VMGBG_cjs.artifactWithTypeSchema; }
275
+ get: function () { return S5CHYZ3I_cjs.UpgradeType; }
276
276
  });
277
- Object.defineProperty(exports, "deploymentArtifactSchema", {
277
+ Object.defineProperty(exports, "codeUpgradeableConfigSchema", {
278
278
  enumerable: true,
279
- get: function () { return YR4VMGBG_cjs.deploymentArtifactSchema; }
279
+ get: function () { return S5CHYZ3I_cjs.codeUpgradeableConfigSchema; }
280
280
  });
281
- Object.defineProperty(exports, "fullDeploymentArtifactSchema", {
281
+ Object.defineProperty(exports, "initializeDataResultSchema", {
282
282
  enumerable: true,
283
- get: function () { return YR4VMGBG_cjs.fullDeploymentArtifactSchema; }
283
+ get: function () { return S5CHYZ3I_cjs.initializeDataResultSchema; }
284
284
  });
285
- Object.defineProperty(exports, "identityOnlyDeploymentArtifactSchema", {
285
+ Object.defineProperty(exports, "isTupProxy", {
286
286
  enumerable: true,
287
- get: function () { return YR4VMGBG_cjs.identityOnlyDeploymentArtifactSchema; }
287
+ get: function () { return S5CHYZ3I_cjs.isTupProxy; }
288
288
  });
289
- Object.defineProperty(exports, "metadataArtifactSchema", {
289
+ Object.defineProperty(exports, "isUupsProxy", {
290
290
  enumerable: true,
291
- get: function () { return YR4VMGBG_cjs.metadataArtifactSchema; }
291
+ get: function () { return S5CHYZ3I_cjs.isUupsProxy; }
292
292
  });
293
- Object.defineProperty(exports, "solanaDeploymentArtifactExtraInfoSchema", {
293
+ Object.defineProperty(exports, "notUpgradeableConfigSchema", {
294
294
  enumerable: true,
295
- get: function () { return YR4VMGBG_cjs.solanaDeploymentArtifactExtraInfoSchema; }
295
+ get: function () { return S5CHYZ3I_cjs.notUpgradeableConfigSchema; }
296
296
  });
297
- Object.defineProperty(exports, "suiDeploymentArtifactExtraInfoSchema", {
297
+ Object.defineProperty(exports, "proxyConfigSchema", {
298
298
  enumerable: true,
299
- get: function () { return YR4VMGBG_cjs.suiDeploymentArtifactExtraInfoSchema; }
299
+ get: function () { return S5CHYZ3I_cjs.proxyConfigSchema; }
300
300
  });
301
- Object.defineProperty(exports, "verificationArtifactSchema", {
301
+ Object.defineProperty(exports, "proxyTypeSchema", {
302
302
  enumerable: true,
303
- get: function () { return YR4VMGBG_cjs.verificationArtifactSchema; }
303
+ get: function () { return S5CHYZ3I_cjs.proxyTypeSchema; }
304
304
  });
305
- Object.defineProperty(exports, "generateThrowCreateSetRoleTransactions", {
305
+ Object.defineProperty(exports, "requiresSeparateProxyAdminDeploy", {
306
306
  enumerable: true,
307
- get: function () { return ONIG6I4S_cjs.generateThrowCreateSetRoleTransactions; }
307
+ get: function () { return S5CHYZ3I_cjs.requiresSeparateProxyAdminDeploy; }
308
308
  });
309
- Object.defineProperty(exports, "generateThrowHasRole", {
309
+ Object.defineProperty(exports, "upgradeTypeSchema", {
310
310
  enumerable: true,
311
- get: function () { return ONIG6I4S_cjs.generateThrowHasRole; }
311
+ get: function () { return S5CHYZ3I_cjs.upgradeTypeSchema; }
312
312
  });
313
- Object.defineProperty(exports, "generateThrowRoleManagement", {
313
+ Object.defineProperty(exports, "upgradeableConfigSchema", {
314
314
  enumerable: true,
315
- get: function () { return ONIG6I4S_cjs.generateThrowRoleManagement; }
315
+ get: function () { return S5CHYZ3I_cjs.upgradeableConfigSchema; }
316
316
  });
317
317
  //# sourceMappingURL=index.cjs.map
318
318
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import './SBZPLPCB.js';
2
+ export { generateThrowCreateSetRoleTransactions, generateThrowHasRole, generateThrowRoleManagement } from './45LWGDPP.js';
2
3
  export { createSetRoleTransactionsWithSpecializedInputSchema, generateCreateSetRoleTransactionsSchema, generateEnumerableRoleManagementSchemas, generateGetRoleMembersSchema, generateHasRoleSchema, generateRoleManagementSchemas, getRoleMembersWithSpecializedInputSchema, hasRoleWithSpecializedInputSchema } from './3XCIUHJG.js';
3
4
  export { BaseContractRole } from './JSK5QSWJ.js';
4
5
  import './N5VNZXZB.js';
5
6
  export { wireWorkflowChainResultSchema, wireWorkflowChainStateSchema, wireWorkflowFilterArgsSchema, wireWorkflowOrchestratorResultSchema, wireWorkflowOrchestratorStateSchema } from './I5L5NLZY.js';
6
7
  import './CA6UC3D3.js';
7
- export { artifactRegistryActivityFactorySchema, realIdSchema, resourceRefSchema, resourceRegistryActivityFactorySchema, upsertResourceRealIdArgsSchema } from './C4QQVVTS.js';
8
+ export { artifactRegistryActivityFactorySchema, realIdSchema, resourceRefSchema, resourceRegistryActivityFactorySchema, upsertResourceRealIdArgsSchema } from './JCPMOIAM.js';
8
9
  export { createResourceBuilder } from './3BD3OCGS.js';
9
10
  export { baseContractResourceSchema, baseMeshResourceSchema, baseResourceSchema, contractResourceReferenceSchema, contractResourceReferenceSchemaFor, createResolvedResourceSchema, extractContractResourceReferences, extractIdFromContractResourceReference, extractIdFromMeshResourceReference, extractMeshResourceReferences, meshResourceReferenceSchema, meshResourceReferenceSchemaFor, resolvedContractResourceReferenceSchema, resolvedMeshResourceReferenceSchema, withIntrinsicAddress } from './IUFXXZ2R.js';
11
+ export { BaseDeploymentSavingArtifactsSchema, deployWorkflowChainResultItemSchema, deployWorkflowChainResultSchema, deployWorkflowChainStateSchema, deployWorkflowOrchestratorResultSchema, deployWorkflowOrchestratorStateSchema, extractVerificationArtifactBaseArgsSchema, getDeploymentBaseArgsSchema, getVerificationBaseArgsSchema, saveDeploymentBaseArgsSchema, saveVerificationBaseArgsSchema } from './2AH2KVJ5.js';
12
+ export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from './6NMSJTYI.js';
10
13
  import './ZCFXJFGI.js';
11
14
  export { EvmProxyType, ProxyType, SEPARATE_PROXY_ADMIN_TYPES, TUP_PROXY_TYPES, UUPS_PROXY_TYPES, UpgradeType, codeUpgradeableConfigSchema, initializeDataResultSchema, isTupProxy, isUupsProxy, notUpgradeableConfigSchema, proxyConfigSchema, proxyTypeSchema, requiresSeparateProxyAdminDeploy, upgradeTypeSchema, upgradeableConfigSchema } from './46VB3YIH.js';
12
- export { BaseDeploymentSavingArtifactsSchema, deployWorkflowChainResultItemSchema, deployWorkflowChainResultSchema, deployWorkflowChainStateSchema, deployWorkflowOrchestratorResultSchema, deployWorkflowOrchestratorStateSchema, extractVerificationArtifactBaseArgsSchema, getDeploymentBaseArgsSchema, getVerificationBaseArgsSchema, saveDeploymentBaseArgsSchema, saveVerificationBaseArgsSchema } from './YHNY3DAS.js';
13
- export { ArtifactType, artifactWithTypeSchema, deploymentArtifactSchema, fullDeploymentArtifactSchema, identityOnlyDeploymentArtifactSchema, metadataArtifactSchema, solanaDeploymentArtifactExtraInfoSchema, suiDeploymentArtifactExtraInfoSchema, verificationArtifactSchema } from './XMLZYDPF.js';
14
- export { generateThrowCreateSetRoleTransactions, generateThrowHasRole, generateThrowRoleManagement } from './45LWGDPP.js';
15
15
  import './VUOMXK5T.js';
16
16
  //# sourceMappingURL=index.js.map
17
17
  //# sourceMappingURL=index.js.map
@@ -1,13 +1,25 @@
1
1
  'use strict';
2
2
 
3
3
  require('../3QBHS4UZ.cjs');
4
+ var ONIG6I4S_cjs = require('../ONIG6I4S.cjs');
4
5
  var CC5Y3WY7_cjs = require('../CC5Y3WY7.cjs');
5
6
  var X7GZKVDG_cjs = require('../X7GZKVDG.cjs');
6
- var ONIG6I4S_cjs = require('../ONIG6I4S.cjs');
7
7
  require('../YJF4D23A.cjs');
8
8
 
9
9
 
10
10
 
11
+ Object.defineProperty(exports, "generateThrowCreateSetRoleTransactions", {
12
+ enumerable: true,
13
+ get: function () { return ONIG6I4S_cjs.generateThrowCreateSetRoleTransactions; }
14
+ });
15
+ Object.defineProperty(exports, "generateThrowHasRole", {
16
+ enumerable: true,
17
+ get: function () { return ONIG6I4S_cjs.generateThrowHasRole; }
18
+ });
19
+ Object.defineProperty(exports, "generateThrowRoleManagement", {
20
+ enumerable: true,
21
+ get: function () { return ONIG6I4S_cjs.generateThrowRoleManagement; }
22
+ });
11
23
  Object.defineProperty(exports, "createSetRoleTransactionsWithSpecializedInputSchema", {
12
24
  enumerable: true,
13
25
  get: function () { return CC5Y3WY7_cjs.createSetRoleTransactionsWithSpecializedInputSchema; }
@@ -44,17 +56,5 @@ Object.defineProperty(exports, "BaseContractRole", {
44
56
  enumerable: true,
45
57
  get: function () { return X7GZKVDG_cjs.BaseContractRole; }
46
58
  });
47
- Object.defineProperty(exports, "generateThrowCreateSetRoleTransactions", {
48
- enumerable: true,
49
- get: function () { return ONIG6I4S_cjs.generateThrowCreateSetRoleTransactions; }
50
- });
51
- Object.defineProperty(exports, "generateThrowHasRole", {
52
- enumerable: true,
53
- get: function () { return ONIG6I4S_cjs.generateThrowHasRole; }
54
- });
55
- Object.defineProperty(exports, "generateThrowRoleManagement", {
56
- enumerable: true,
57
- get: function () { return ONIG6I4S_cjs.generateThrowRoleManagement; }
58
- });
59
59
  //# sourceMappingURL=index.cjs.map
60
60
  //# sourceMappingURL=index.cjs.map
@@ -1,7 +1,7 @@
1
1
  import '../SBZPLPCB.js';
2
+ export { generateThrowCreateSetRoleTransactions, generateThrowHasRole, generateThrowRoleManagement } from '../45LWGDPP.js';
2
3
  export { createSetRoleTransactionsWithSpecializedInputSchema, generateCreateSetRoleTransactionsSchema, generateEnumerableRoleManagementSchemas, generateGetRoleMembersSchema, generateHasRoleSchema, generateRoleManagementSchemas, getRoleMembersWithSpecializedInputSchema, hasRoleWithSpecializedInputSchema } from '../3XCIUHJG.js';
3
4
  export { BaseContractRole } from '../JSK5QSWJ.js';
4
- export { generateThrowCreateSetRoleTransactions, generateThrowHasRole, generateThrowRoleManagement } from '../45LWGDPP.js';
5
5
  import '../VUOMXK5T.js';
6
6
  //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@layerzerolabs/dw-model",
3
- "version": "0.2.31",
3
+ "version": "0.2.32",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -15,19 +15,19 @@
15
15
  "types": "./dist/index.d.ts",
16
16
  "dependencies": {
17
17
  "zod": "4.3.5",
18
- "@layerzerolabs/common-chain-model": "0.2.31",
19
- "@layerzerolabs/gated-transaction": "0.2.31",
20
- "@layerzerolabs/layerzero-definitions": "0.2.31",
21
- "@layerzerolabs/typescript-utils": "0.2.31",
22
- "@layerzerolabs/common-error-utils": "0.2.31",
23
- "@layerzerolabs/zod-utils": "0.2.31"
18
+ "@layerzerolabs/common-chain-model": "0.2.32",
19
+ "@layerzerolabs/common-error-utils": "0.2.32",
20
+ "@layerzerolabs/layerzero-definitions": "0.2.32",
21
+ "@layerzerolabs/gated-transaction": "0.2.32",
22
+ "@layerzerolabs/typescript-utils": "0.2.32",
23
+ "@layerzerolabs/zod-utils": "0.2.32"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@mysten/sui": "^1.35.0",
27
27
  "tsup": "^8.4.0",
28
28
  "vitest": "^3.2.3",
29
- "@layerzerolabs/tsup-configuration": "0.2.31",
30
- "@layerzerolabs/typescript-configuration": "0.2.31"
29
+ "@layerzerolabs/tsup-configuration": "0.2.32",
30
+ "@layerzerolabs/typescript-configuration": "0.2.32"
31
31
  },
32
32
  "publishConfig": {
33
33
  "access": "restricted",
@@ -1,7 +1,7 @@
1
1
  import type { SuiObjectChange } from '@mysten/sui/client';
2
2
  import { z } from 'zod';
3
3
 
4
- import { hexSchema, normalizedHexSchema } from '@layerzerolabs/common-chain-model';
4
+ import { normalizedHexSchema } from '@layerzerolabs/common-chain-model';
5
5
  import { ChainName } from '@layerzerolabs/layerzero-definitions';
6
6
  export type { ChainName };
7
7
 
@@ -52,8 +52,6 @@ export const fullDeploymentArtifactSchema = z.object({
52
52
  deploymentTimestamp: z.number(),
53
53
  deployerAddress: normalizedHexSchema,
54
54
  txHash: z.string(),
55
- // should probably remove this
56
- abiEncodedConstructorArguments: hexSchema.optional(),
57
55
  extraDeploymentInfo: z.any().optional(),
58
56
  });
59
57
  export type FullDeploymentArtifact = z.infer<typeof fullDeploymentArtifactSchema>;
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/deploy/artifact.ts"],"names":["ArtifactType","solanaDeploymentArtifactExtraInfoSchema","z","object","accounts","record","string","normalizedHexSchema","suiDeploymentArtifactExtraInfoSchema","digest","objectChanges","array","custom","identityOnlyDeploymentArtifactSchema","contractName","chainName","enum","ChainName","address","fullDeploymentArtifactSchema","shape","nativeAddress","bytecodeHash","optional","deploymentTimestamp","number","deployerAddress","txHash","abiEncodedConstructorArguments","hexSchema","extraDeploymentInfo","any","deploymentArtifactSchema","union","verificationArtifactSchema","metadataArtifactSchema","void","artifactWithTypeSchema","discriminatedUnion","artifactType","literal","artifact","never"],"mappings":";;;;;AASO,IAAKA,YAAAA,6BAAAA,aAAAA,EAAAA;;;;AAAAA,EAAAA,OAAAA,aAAAA;;AAYL,IAAMC,uCAAAA,GAA0CC,EAAEC,MAAAA,CAAO;AAC5DC,EAAAA,QAAAA,EAAUF,CAAAA,CAAEG,MAAAA,CAAOH,CAAAA,CAAEI,MAAAA,IAAUC,mBAAAA;AACnC,CAAA;AAMO,IAAMC,oCAAAA,GAAuCN,EAAEC,MAAAA,CAAO;AACzDM,EAAAA,MAAAA,EAAQP,EAAEI,MAAAA,EAAM;AAChBI,EAAAA,aAAAA,EAAeR,CAAAA,CAAES,KAAAA,CAAMT,CAAAA,CAAEU,MAAAA,EAAM;AACnC,CAAA;AAIO,IAAMC,oCAAAA,GAAuCX,EAAEC,MAAAA,CAAO;AACzDW,EAAAA,YAAAA,EAAcZ,EAAEI,MAAAA,EAAM;EACtBS,SAAAA,EAAWb,CAAAA,CAAEc,KAAKC,SAAAA,CAAAA;EAClBC,OAAAA,EAASX;AACb,CAAA;AAIO,IAAMY,4BAAAA,GAA+BjB,EAAEC,MAAAA,CAAO;AACjD,EAAA,GAAGU,oCAAAA,CAAqCO,KAAAA;AACxCN,EAAAA,YAAAA,EAAcZ,EAAEI,MAAAA,EAAM;EACtBS,SAAAA,EAAWb,CAAAA,CAAEc,KAAKC,SAAAA,CAAAA;EAClBC,OAAAA,EAASX,mBAAAA;AACTc,EAAAA,aAAAA,EAAenB,EAAEI,MAAAA,EAAM;EACvBgB,YAAAA,EAAcpB,CAAAA,CAAEI,MAAAA,EAAM,CAAGiB,QAAAA,EAAQ;AACjCC,EAAAA,mBAAAA,EAAqBtB,EAAEuB,MAAAA,EAAM;EAC7BC,eAAAA,EAAiBnB,mBAAAA;AACjBoB,EAAAA,MAAAA,EAAQzB,EAAEI,MAAAA,EAAM;;AAEhBsB,EAAAA,8BAAAA,EAAgCC,UAAUN,QAAAA,EAAQ;EAClDO,mBAAAA,EAAqB5B,CAAAA,CAAE6B,GAAAA,EAAG,CAAGR,QAAAA;AACjC,CAAA;AAGO,IAAMS,wBAAAA,GAA2B9B,EAAE+B,KAAAA,CAAM;;AAE5Cd,EAAAA,4BAAAA;AACAN,EAAAA;AACH,CAAA;AAIM,IAAMqB,0BAAAA,GAA6BhC,EAAE6B,GAAAA;AAIrC,IAAMI,sBAAAA,GAAyBjC,EAAEkC,IAAAA;AAIjC,IAAMC,sBAAAA,GAAyBnC,CAAAA,CAAEoC,kBAAAA,CAAmB,cAAA,EAAgB;AACvEpC,EAAAA,CAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,CAAAA,CAAEsC,QAAO,YAAA,CAAA;IACvBC,QAAAA,EAAUT;GACd,CAAA;AACA9B,EAAAA,CAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,CAAAA,CAAEsC,QAAO,cAAA,CAAA;AACvBC,IAAAA,QAAAA,EAAUvC,EAAE6B,GAAAA;GAChB,CAAA;AACA7B,EAAAA,CAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,CAAAA,CAAEsC,QAAO,UAAA,CAAA;;AAEvBC,IAAAA,QAAAA,EAAUvC,EAAEwC,KAAAA;GAChB;AACH,CAAA","file":"XMLZYDPF.js","sourcesContent":["import type { SuiObjectChange } from '@mysten/sui/client';\nimport { z } from 'zod';\n\nimport { hexSchema, normalizedHexSchema } from '@layerzerolabs/common-chain-model';\nimport { ChainName } from '@layerzerolabs/layerzero-definitions';\nexport type { ChainName };\n\nexport type { SuiObjectChange };\n\nexport enum ArtifactType {\n // should merge deployment, verification artifacts\n\n // full record from deployment on-chain\n DEPLOYMENT = 'deployment',\n // information to verify contracts\n VERIFICATION = 'verification',\n // record of a successful push to lz metadata\n METADATA = 'metadata',\n}\n\n// Chain-specific extra deployment info schemas\nexport const solanaDeploymentArtifactExtraInfoSchema = z.object({\n accounts: z.record(z.string(), normalizedHexSchema),\n});\n\nexport type SolanaDeploymentArtifactExtraInfo = z.infer<\n typeof solanaDeploymentArtifactExtraInfoSchema\n>;\n\nexport const suiDeploymentArtifactExtraInfoSchema = z.object({\n digest: z.string(),\n objectChanges: z.array(z.custom<SuiObjectChange>()),\n});\n\nexport type SuiDeploymentArtifactExtraInfo = z.infer<typeof suiDeploymentArtifactExtraInfoSchema>;\n\nexport const identityOnlyDeploymentArtifactSchema = z.object({\n contractName: z.string(),\n chainName: z.enum(ChainName),\n address: normalizedHexSchema,\n});\nexport type IdentityOnlyDeploymentArtifact = z.infer<typeof identityOnlyDeploymentArtifactSchema>;\n\n// FIXME also include verification artifact in this\nexport const fullDeploymentArtifactSchema = z.object({\n ...identityOnlyDeploymentArtifactSchema.shape,\n contractName: z.string(),\n chainName: z.enum(ChainName),\n address: normalizedHexSchema,\n nativeAddress: z.string(),\n bytecodeHash: z.string().optional(),\n deploymentTimestamp: z.number(),\n deployerAddress: normalizedHexSchema,\n txHash: z.string(),\n // should probably remove this\n abiEncodedConstructorArguments: hexSchema.optional(),\n extraDeploymentInfo: z.any().optional(),\n});\nexport type FullDeploymentArtifact = z.infer<typeof fullDeploymentArtifactSchema>;\n\nexport const deploymentArtifactSchema = z.union([\n // check this first since it's a superset\n fullDeploymentArtifactSchema,\n identityOnlyDeploymentArtifactSchema,\n]);\n\nexport type DeploymentArtifact = z.infer<typeof deploymentArtifactSchema>;\n\nexport const verificationArtifactSchema = z.any();\n\nexport type VerificationArtifact = z.infer<typeof verificationArtifactSchema>;\n\nexport const metadataArtifactSchema = z.void();\n\nexport type MetadataArtifact = z.infer<typeof metadataArtifactSchema>;\n\nexport const artifactWithTypeSchema = z.discriminatedUnion('artifactType', [\n z.object({\n artifactType: z.literal(ArtifactType.DEPLOYMENT),\n artifact: deploymentArtifactSchema,\n }),\n z.object({\n artifactType: z.literal(ArtifactType.VERIFICATION),\n artifact: z.any(),\n }),\n z.object({\n artifactType: z.literal(ArtifactType.METADATA),\n // not implemented yet\n artifact: z.never(),\n }),\n]);\n\nexport type ArtifactWithType = z.infer<typeof artifactWithTypeSchema>;\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/deploy/artifact.ts"],"names":["ArtifactType","solanaDeploymentArtifactExtraInfoSchema","z","object","accounts","record","string","normalizedHexSchema","suiDeploymentArtifactExtraInfoSchema","digest","objectChanges","array","custom","identityOnlyDeploymentArtifactSchema","contractName","chainName","enum","ChainName","address","fullDeploymentArtifactSchema","shape","nativeAddress","bytecodeHash","optional","deploymentTimestamp","number","deployerAddress","txHash","abiEncodedConstructorArguments","hexSchema","extraDeploymentInfo","any","deploymentArtifactSchema","union","verificationArtifactSchema","metadataArtifactSchema","void","artifactWithTypeSchema","discriminatedUnion","artifactType","literal","artifact","never"],"mappings":";;;;;;;AASO,IAAKA,YAAAA,6BAAAA,aAAAA,EAAAA;;;;AAAAA,EAAAA,OAAAA,aAAAA;;AAYL,IAAMC,uCAAAA,GAA0CC,MAAEC,MAAAA,CAAO;AAC5DC,EAAAA,QAAAA,EAAUF,KAAAA,CAAEG,MAAAA,CAAOH,KAAAA,CAAEI,MAAAA,IAAUC,oCAAAA;AACnC,CAAA;AAMO,IAAMC,oCAAAA,GAAuCN,MAAEC,MAAAA,CAAO;AACzDM,EAAAA,MAAAA,EAAQP,MAAEI,MAAAA,EAAM;AAChBI,EAAAA,aAAAA,EAAeR,KAAAA,CAAES,KAAAA,CAAMT,KAAAA,CAAEU,MAAAA,EAAM;AACnC,CAAA;AAIO,IAAMC,oCAAAA,GAAuCX,MAAEC,MAAAA,CAAO;AACzDW,EAAAA,YAAAA,EAAcZ,MAAEI,MAAAA,EAAM;EACtBS,SAAAA,EAAWb,KAAAA,CAAEc,KAAKC,8BAAAA,CAAAA;EAClBC,OAAAA,EAASX;AACb,CAAA;AAIO,IAAMY,4BAAAA,GAA+BjB,MAAEC,MAAAA,CAAO;AACjD,EAAA,GAAGU,oCAAAA,CAAqCO,KAAAA;AACxCN,EAAAA,YAAAA,EAAcZ,MAAEI,MAAAA,EAAM;EACtBS,SAAAA,EAAWb,KAAAA,CAAEc,KAAKC,8BAAAA,CAAAA;EAClBC,OAAAA,EAASX,oCAAAA;AACTc,EAAAA,aAAAA,EAAenB,MAAEI,MAAAA,EAAM;EACvBgB,YAAAA,EAAcpB,KAAAA,CAAEI,MAAAA,EAAM,CAAGiB,QAAAA,EAAQ;AACjCC,EAAAA,mBAAAA,EAAqBtB,MAAEuB,MAAAA,EAAM;EAC7BC,eAAAA,EAAiBnB,oCAAAA;AACjBoB,EAAAA,MAAAA,EAAQzB,MAAEI,MAAAA,EAAM;;AAEhBsB,EAAAA,8BAAAA,EAAgCC,2BAAUN,QAAAA,EAAQ;EAClDO,mBAAAA,EAAqB5B,KAAAA,CAAE6B,GAAAA,EAAG,CAAGR,QAAAA;AACjC,CAAA;AAGO,IAAMS,wBAAAA,GAA2B9B,MAAE+B,KAAAA,CAAM;;AAE5Cd,EAAAA,4BAAAA;AACAN,EAAAA;AACH,CAAA;AAIM,IAAMqB,0BAAAA,GAA6BhC,MAAE6B,GAAAA;AAIrC,IAAMI,sBAAAA,GAAyBjC,MAAEkC,IAAAA;AAIjC,IAAMC,sBAAAA,GAAyBnC,KAAAA,CAAEoC,kBAAAA,CAAmB,cAAA,EAAgB;AACvEpC,EAAAA,KAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,KAAAA,CAAEsC,QAAO,YAAA,CAAA;IACvBC,QAAAA,EAAUT;GACd,CAAA;AACA9B,EAAAA,KAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,KAAAA,CAAEsC,QAAO,cAAA,CAAA;AACvBC,IAAAA,QAAAA,EAAUvC,MAAE6B,GAAAA;GAChB,CAAA;AACA7B,EAAAA,KAAAA,CAAEC,MAAAA,CAAO;IACLoC,YAAAA,EAAcrC,KAAAA,CAAEsC,QAAO,UAAA,CAAA;;AAEvBC,IAAAA,QAAAA,EAAUvC,MAAEwC,KAAAA;GAChB;AACH,CAAA","file":"YR4VMGBG.cjs","sourcesContent":["import type { SuiObjectChange } from '@mysten/sui/client';\nimport { z } from 'zod';\n\nimport { hexSchema, normalizedHexSchema } from '@layerzerolabs/common-chain-model';\nimport { ChainName } from '@layerzerolabs/layerzero-definitions';\nexport type { ChainName };\n\nexport type { SuiObjectChange };\n\nexport enum ArtifactType {\n // should merge deployment, verification artifacts\n\n // full record from deployment on-chain\n DEPLOYMENT = 'deployment',\n // information to verify contracts\n VERIFICATION = 'verification',\n // record of a successful push to lz metadata\n METADATA = 'metadata',\n}\n\n// Chain-specific extra deployment info schemas\nexport const solanaDeploymentArtifactExtraInfoSchema = z.object({\n accounts: z.record(z.string(), normalizedHexSchema),\n});\n\nexport type SolanaDeploymentArtifactExtraInfo = z.infer<\n typeof solanaDeploymentArtifactExtraInfoSchema\n>;\n\nexport const suiDeploymentArtifactExtraInfoSchema = z.object({\n digest: z.string(),\n objectChanges: z.array(z.custom<SuiObjectChange>()),\n});\n\nexport type SuiDeploymentArtifactExtraInfo = z.infer<typeof suiDeploymentArtifactExtraInfoSchema>;\n\nexport const identityOnlyDeploymentArtifactSchema = z.object({\n contractName: z.string(),\n chainName: z.enum(ChainName),\n address: normalizedHexSchema,\n});\nexport type IdentityOnlyDeploymentArtifact = z.infer<typeof identityOnlyDeploymentArtifactSchema>;\n\n// FIXME also include verification artifact in this\nexport const fullDeploymentArtifactSchema = z.object({\n ...identityOnlyDeploymentArtifactSchema.shape,\n contractName: z.string(),\n chainName: z.enum(ChainName),\n address: normalizedHexSchema,\n nativeAddress: z.string(),\n bytecodeHash: z.string().optional(),\n deploymentTimestamp: z.number(),\n deployerAddress: normalizedHexSchema,\n txHash: z.string(),\n // should probably remove this\n abiEncodedConstructorArguments: hexSchema.optional(),\n extraDeploymentInfo: z.any().optional(),\n});\nexport type FullDeploymentArtifact = z.infer<typeof fullDeploymentArtifactSchema>;\n\nexport const deploymentArtifactSchema = z.union([\n // check this first since it's a superset\n fullDeploymentArtifactSchema,\n identityOnlyDeploymentArtifactSchema,\n]);\n\nexport type DeploymentArtifact = z.infer<typeof deploymentArtifactSchema>;\n\nexport const verificationArtifactSchema = z.any();\n\nexport type VerificationArtifact = z.infer<typeof verificationArtifactSchema>;\n\nexport const metadataArtifactSchema = z.void();\n\nexport type MetadataArtifact = z.infer<typeof metadataArtifactSchema>;\n\nexport const artifactWithTypeSchema = z.discriminatedUnion('artifactType', [\n z.object({\n artifactType: z.literal(ArtifactType.DEPLOYMENT),\n artifact: deploymentArtifactSchema,\n }),\n z.object({\n artifactType: z.literal(ArtifactType.VERIFICATION),\n artifact: z.any(),\n }),\n z.object({\n artifactType: z.literal(ArtifactType.METADATA),\n // not implemented yet\n artifact: z.never(),\n }),\n]);\n\nexport type ArtifactWithType = z.infer<typeof artifactWithTypeSchema>;\n"]}