@brite-future-schools-contracts/contracts 2.0.30 → 2.0.32
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/dist/{chunk-LIPNVYGK.js → chunk-2B5AQI2I.js} +2 -2
- package/dist/{chunk-WGPI4GGP.js → chunk-7AJ4LRST.js} +6 -2
- package/dist/{chunk-WGPI4GGP.js.map → chunk-7AJ4LRST.js.map} +1 -1
- package/dist/contracts/index.cjs +5 -1
- package/dist/contracts/index.cjs.map +1 -1
- package/dist/contracts/index.d.cts +0 -2
- package/dist/contracts/index.d.ts +0 -2
- package/dist/contracts/index.js +2 -2
- package/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/schemas/index.cjs +5 -1
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +0 -1
- package/dist/schemas/index.d.ts +0 -1
- package/dist/schemas/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-LIPNVYGK.js.map → chunk-2B5AQI2I.js.map} +0 -0
|
@@ -2322,7 +2322,6 @@ declare const createNotificationContract: _orpc_contract.ContractProcedureBuilde
|
|
|
2322
2322
|
email: "email";
|
|
2323
2323
|
in_app: "in_app";
|
|
2324
2324
|
sms: "sms";
|
|
2325
|
-
push: "push";
|
|
2326
2325
|
}>>>;
|
|
2327
2326
|
scheduledAt: z.ZodOptional<z.ZodString>;
|
|
2328
2327
|
recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2840,7 +2839,6 @@ declare const notificationsContract: {
|
|
|
2840
2839
|
email: "email";
|
|
2841
2840
|
in_app: "in_app";
|
|
2842
2841
|
sms: "sms";
|
|
2843
|
-
push: "push";
|
|
2844
2842
|
}>>>;
|
|
2845
2843
|
scheduledAt: z.ZodOptional<z.ZodString>;
|
|
2846
2844
|
recurrence: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
package/dist/contracts/index.js
CHANGED
|
@@ -78,8 +78,8 @@ import {
|
|
|
78
78
|
updateBankAccountContract,
|
|
79
79
|
updateCategoryContract,
|
|
80
80
|
updateStaffStatusContract
|
|
81
|
-
} from "../chunk-
|
|
82
|
-
import "../chunk-
|
|
81
|
+
} from "../chunk-2B5AQI2I.js";
|
|
82
|
+
import "../chunk-7AJ4LRST.js";
|
|
83
83
|
export {
|
|
84
84
|
acknowledgeContract,
|
|
85
85
|
acknowledgeDiaryEntryContract,
|
package/dist/index.cjs
CHANGED
|
@@ -872,7 +872,11 @@ var CreateNotificationInputSchema = z8.object({
|
|
|
872
872
|
redirectParams: z8.record(z8.string(), z8.string()).optional(),
|
|
873
873
|
requiresResponse: z8.boolean().optional(),
|
|
874
874
|
responseOptions: z8.array(z8.string()).optional(),
|
|
875
|
-
|
|
875
|
+
// Deliberately narrower than NotificationChannelSchema (excludes
|
|
876
|
+
// 'push') — matches the router's original inline restriction and
|
|
877
|
+
// NotificationsService's Channel type; 'push' exists in the DB enum
|
|
878
|
+
// but isn't yet wired end-to-end for template creation.
|
|
879
|
+
deliveryChannels: z8.array(z8.enum(["in_app", "sms", "email"])).optional(),
|
|
876
880
|
scheduledAt: z8.string().datetime().optional(),
|
|
877
881
|
recurrence: z8.record(z8.string(), z8.unknown()).optional(),
|
|
878
882
|
audience: z8.array(NotificationAudienceItemSchema)
|