nooschain / contracts/package-provenance-schemas / contractInstantiateProvenanceSchema
Variable: contractInstantiateProvenanceSchema
constcontractInstantiateProvenanceSchema:ZodObject<{descriptor:ZodObject<{audits:ZodDefault<ZodArray<ZodObject<{completedAt:ZodOptional<ZodString>;name:ZodString;notes:ZodOptional<ZodString>;url:ZodOptional<ZodString>; },"strip",ZodTypeAny, {completedAt?:string;name:string;notes?:string;url?:string; }, {completedAt?:string;name:string;notes?:string;url?:string; }>,"many">>;authors:ZodDefault<ZodArray<ZodObject<{ZodOptional<ZodString>;name:ZodString;organizationId:ZodOptional<ZodString>;userId:ZodOptional<ZodString>; },"strip",ZodTypeAny, {email?:string;name:string;organizationId?:string;userId?:string; }, {email?:string;name:string;organizationId?:string;userId?:string; }>,"many">>;codeHash:ZodString;description:ZodString;keywords:ZodDefault<ZodArray<ZodString,"many">>;license:ZodOptional<ZodString>;manifestHash:ZodString;manifestPath:ZodString;metadata:ZodDefault<ZodRecord<ZodString,ZodUnknown>>;packageName:ZodString;packageVersion:ZodString;repository:ZodOptional<ZodString>;runtime:ZodLiteral<"wasm-assemblyscript-v1">;schemaVersion:ZodLiteral<1>;wasmPath:ZodString; },"strip",ZodTypeAny, {audits:object[];authors:object[];codeHash:string;description:string;keywords:string[];license?:string;manifestHash:string;manifestPath:string;metadata:Record<string,unknown>;packageName:string;packageVersion:string;repository?:string;runtime:"wasm-assemblyscript-v1";schemaVersion:1;wasmPath:string; }, {audits?:object[];authors?:object[];codeHash:string;description:string;keywords?:string[];license?:string;manifestHash:string;manifestPath:string;metadata?:Record<string,unknown>;packageName:string;packageVersion:string;repository?:string;runtime:"wasm-assemblyscript-v1";schemaVersion:1;wasmPath:string; }>;signatures:ZodDefault<ZodArray<ZodObject<{algorithm:ZodLiteral<"ed25519">;publicKey:ZodString;signature:ZodString;signedAt:ZodString;signerId:ZodString;signerType:ZodEnum<["user","organization","auditor","ci","operator"]>; },"strip",ZodTypeAny, {algorithm:"ed25519";publicKey:string;signature:string;signedAt:string;signerId:string;signerType:"user"|"organization"|"auditor"|"ci"|"operator"; }, {algorithm:"ed25519";publicKey:string;signature:string;signedAt:string;signerId:string;signerType:"user"|"organization"|"auditor"|"ci"|"operator"; }>,"many">>; },"strip",ZodTypeAny, {descriptor: {audits:object[];authors:object[];codeHash:string;description:string;keywords:string[];license?:string;manifestHash:string;manifestPath:string;metadata:Record<string,unknown>;packageName:string;packageVersion:string;repository?:string;runtime:"wasm-assemblyscript-v1";schemaVersion:1;wasmPath:string; };signatures:object[]; }, {descriptor: {audits?:object[];authors?:object[];codeHash:string;description:string;keywords?:string[];license?:string;manifestHash:string;manifestPath:string;metadata?:Record<string,unknown>;packageName:string;packageVersion:string;repository?:string;runtime:"wasm-assemblyscript-v1";schemaVersion:1;wasmPath:string; };signatures?:object[]; }>
Defined in: contracts/package-provenance-schemas.ts:45