@company-semantics/contracts 6.3.0 → 6.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/org/schemas.ts +4 -2
package/package.json
CHANGED
package/src/org/schemas.ts
CHANGED
|
@@ -914,9 +914,11 @@ export const CreateDelegationRequestSchema = z.object({
|
|
|
914
914
|
expiresAt: z.string().datetime().nullable().optional(),
|
|
915
915
|
/**
|
|
916
916
|
* When true, the granted user is emailed a notification (carrying `note` as
|
|
917
|
-
* the message). Not persisted — it only gates the side-effect email.
|
|
917
|
+
* the message). Not persisted — it only gates the side-effect email. Omitted
|
|
918
|
+
* is treated as false; left without a default so the inferred request type
|
|
919
|
+
* keeps `notify` optional rather than forcing every caller to pass it.
|
|
918
920
|
*/
|
|
919
|
-
notify: z.boolean().optional()
|
|
921
|
+
notify: z.boolean().optional(),
|
|
920
922
|
});
|
|
921
923
|
export type CreateDelegationRequest = z.infer<typeof CreateDelegationRequestSchema>;
|
|
922
924
|
|