@timothyw/pat-common 1.0.147 → 1.0.148
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.
|
@@ -265,15 +265,15 @@ export declare const getEntitySyncRequestSchema: z.ZodObject<{
|
|
|
265
265
|
export declare const setEntitySyncRequestSchema: z.ZodObject<{
|
|
266
266
|
targetEntityType: z.ZodNativeEnum<typeof NotificationEntityType>;
|
|
267
267
|
targetId: z.ZodString;
|
|
268
|
-
|
|
268
|
+
synced: z.ZodBoolean;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
+
synced: boolean;
|
|
270
271
|
targetEntityType: NotificationEntityType;
|
|
271
272
|
targetId: string;
|
|
272
|
-
syncState: NotificationTemplateSyncState;
|
|
273
273
|
}, {
|
|
274
|
+
synced: boolean;
|
|
274
275
|
targetEntityType: NotificationEntityType;
|
|
275
276
|
targetId: string;
|
|
276
|
-
syncState: NotificationTemplateSyncState;
|
|
277
277
|
}>;
|
|
278
278
|
export type NotificationTemplateData = z.infer<typeof notificationTemplateSchema>;
|
|
279
279
|
export type NotificationDesyncData = z.infer<typeof notificationDesyncSchema>;
|
|
@@ -296,5 +296,5 @@ export interface GetEntitySyncResponse {
|
|
|
296
296
|
syncState: NotificationTemplateSyncState;
|
|
297
297
|
}
|
|
298
298
|
export interface SetEntitySyncResponse {
|
|
299
|
-
|
|
299
|
+
synced: boolean;
|
|
300
300
|
}
|
|
@@ -81,5 +81,5 @@ exports.getEntitySyncRequestSchema = zod_1.z.object({
|
|
|
81
81
|
exports.setEntitySyncRequestSchema = zod_1.z.object({
|
|
82
82
|
targetEntityType: zod_1.z.nativeEnum(NotificationEntityType),
|
|
83
83
|
targetId: zod_1.z.string(),
|
|
84
|
-
|
|
84
|
+
synced: zod_1.z.boolean()
|
|
85
85
|
});
|
package/package.json
CHANGED
|
@@ -94,7 +94,7 @@ export const getEntitySyncRequestSchema = z.object({
|
|
|
94
94
|
export const setEntitySyncRequestSchema = z.object({
|
|
95
95
|
targetEntityType: z.nativeEnum(NotificationEntityType),
|
|
96
96
|
targetId: z.string(),
|
|
97
|
-
|
|
97
|
+
synced: z.boolean()
|
|
98
98
|
});
|
|
99
99
|
|
|
100
100
|
export type NotificationTemplateData = z.infer<typeof notificationTemplateSchema>;
|
|
@@ -125,5 +125,5 @@ export interface GetEntitySyncResponse {
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
export interface SetEntitySyncResponse {
|
|
128
|
-
|
|
128
|
+
synced: boolean;
|
|
129
129
|
}
|