Skip to content

Variable: CredentialSubjects

Makaio Framework


Makaio Framework / contracts / CredentialSubjects

const CredentialSubjects: BusSubjects<FlatSubjectDefinitions<"credential", { activate: { request: ZodObject<{ credentialRefs: ZodRecord<ZodString, $ZodBranded<ZodString, "CredentialRef", "out">>; definitionId: ZodString; providerConfigId: ZodString; }, $strip>; response: ZodObject<{ }, $strip>; }; changed: { request: ZodObject<{ changeSequence: ZodNumber; credentialRefs: ZodRecord<ZodString, $ZodBranded<ZodString, "CredentialRef", "out">>; definitionId: ZodString; providerConfigId: ZodString; sessionId: ZodString; }, $strip>; response: ZodObject<{ }, $strip>; }; delete: { request: ZodObject<{ configId: ZodString; }, $strip>; response: ZodObject<{ deleted: ZodBoolean; }, $strip>; }; exists: { request: ZodObject<{ configId: ZodString; }, $strip>; response: ZodObject<{ exists: ZodBoolean; }, $strip>; }; get: ChannelSubjectSchema<{ request: ZodObject<{ configId: ZodString; }, $strip>; response: ZodObject<{ credentials: ZodNullable<ZodRecord<ZodString, ZodString>>; }, $strip>; }>; getChannelToken: LocalSubjectSchema<{ request: ZodObject<{ }, $strip>; response: ZodObject<{ token: ZodString; }, $strip>; }>; resolve: ChannelSubjectSchema<{ request: ZodObject<{ ref: $ZodBranded<ZodString, "CredentialRef", "out">; }, $strip>; response: ZodObject<{ error: ZodOptional<ZodString>; value: ZodNullable<ZodString>; }, $strip>; }>; store: ChannelSubjectSchema<{ request: ZodObject<{ configId: ZodString; credentials: ZodRecord<ZodString, ZodString>; }, $strip>; response: ZodObject<{ }, $strip>; }>; }>, "credential"> = CredentialNamespace.subjects

Defined in: ../../../packages/contracts/src/credential/namespace.ts:175

Pre-extracted credential bus subjects for direct import.