Variable: ClientRecordSchema
Makaio Framework / services-core/settings/storage/clients-namespace / ClientRecordSchema
Variable: ClientRecordSchema
Section titled “Variable: ClientRecordSchema”
constClientRecordSchema:ZodObject<{binaryName:ZodOptional<ZodString>;createdAt:ZodNumber;credentials:ZodOptional<ZodRecord<ZodString,ZodString>>;cwd:ZodOptional<ZodString>;defaultApprovalPolicy:ZodEnum<{always-ask:"always-ask";full-access:"full-access";reject:"reject"; }>;defaultProviderId:ZodOptional<ZodString>;description:ZodOptional<ZodString>;enabled:ZodBoolean;env:ZodOptional<ZodRecord<ZodString,ZodString>>;id:ZodString;logSources:ZodOptional<ZodArray<ZodObject<{description:ZodOptional<ZodString>;glob:ZodOptional<ZodString>;id:ZodString;name:ZodString; },$strip>>>;minimumVersion:ZodOptional<ZodString>;name:ZodString;nativeTools:ZodArray<ZodObject<{capabilities:ZodDefault<ZodArray<ZodObject<{description:ZodOptional<ZodString>;tag:ZodString; },$strip>>>;category:ZodOptional<ZodString>;description:ZodOptional<ZodString>;friendlyName:ZodString;name:ZodString; },$strip>>;packageName:ZodString;updatedAt:ZodNumber; },$strip>
Defined in: ../../../packages/services/core/src/settings/storage/clients-namespace.ts:13
Schema for a client record returned from storage.
Mirrors the clients table columns with nulls converted to undefined.
This is a read-only view — all writes are owned by the client sync service.