@timothyw/pat-common 1.0.146 → 1.0.147

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
- synced: z.ZodBoolean;
268
+ syncState: z.ZodNativeEnum<typeof NotificationTemplateSyncState>;
269
269
  }, "strip", z.ZodTypeAny, {
270
- synced: boolean;
271
270
  targetEntityType: NotificationEntityType;
272
271
  targetId: string;
272
+ syncState: NotificationTemplateSyncState;
273
273
  }, {
274
- synced: boolean;
275
274
  targetEntityType: NotificationEntityType;
276
275
  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>;
@@ -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
- synced: zod_1.z.boolean()
84
+ syncState: zod_1.z.nativeEnum(NotificationTemplateSyncState)
85
85
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@timothyw/pat-common",
3
3
  "description": "",
4
4
  "author": "Timothy Washburn",
5
- "version": "1.0.146",
5
+ "version": "1.0.147",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -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
- synced: z.boolean()
97
+ syncState: z.nativeEnum(NotificationTemplateSyncState)
98
98
  });
99
99
 
100
100
  export type NotificationTemplateData = z.infer<typeof notificationTemplateSchema>;