Skip to Content

NormalizedProviderCredentialSelectionSchema

const NormalizedProviderCredentialSelectionSchema: ZodDiscriminatedUnion<[ZodObject<{ source: ZodLiteral<"unchanged">; }, $strip>, ZodObject<{ source: ZodLiteral<"inline">; value: ZodString; }, $strip>, ZodObject<{ secretReference: ZodString; secretReferenceLabel: ZodString; secretsIntegrationId: ZodString; source: ZodLiteral<"onepassword">; }, $strip>], "source">;

Same shape as ProviderCredentialSelectionInputSchema, validation-only: .trim() mutates, which sync-engine’s replication model rejects for a normalizedDocumentSchema (it must describe stored data, not reshape it).

Last updated on