Skip to content

Variable: ObjectMutabilityResponseSchema ​

ts
const ObjectMutabilityResponseSchema: ZodObject<{
  context: ZodRecord<ZodString, ZodUnion<readonly [ZodObject<{
     allowed: ZodLiteral<true>;
   }, ApiObjectConfig<undefined>>, ZodObject<{
     allowed: ZodLiteral<false>;
     reason: ZodObject<{
        key: ZodCustom<... | ... | ... | ... | ... | ... | ... | ... | ..., ... | ... | ... | ... | ... | ... | ... | ... | ...>;
     }, ApiObjectConfig<undefined>>;
  }, ApiObjectConfig<undefined>>]>>;
  key: ZodCustom<string & object | "forbidden.fieldMutation", string & object | "forbidden.fieldMutation">;
}, ApiObjectConfig<undefined>>;

Defined in: src/userManagement/models/objectMutabilityResponse.ts:5