@timothyw/pat-common 1.0.159 → 1.0.163

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.
@@ -256,7 +256,6 @@ export declare const createHabitRequestSchema: z.ZodObject<{
256
256
  frequency: z.ZodNativeEnum<typeof HabitFrequency>;
257
257
  startOffsetMinutes: z.ZodNumber;
258
258
  endOffsetMinutes: z.ZodNumber;
259
- sortOrder: z.ZodOptional<z.ZodNumber>;
260
259
  }, "strip", z.ZodTypeAny, {
261
260
  name: string;
262
261
  frequency: HabitFrequency;
@@ -264,7 +263,6 @@ export declare const createHabitRequestSchema: z.ZodObject<{
264
263
  endOffsetMinutes: number;
265
264
  description?: string | undefined;
266
265
  notes?: string | undefined;
267
- sortOrder?: number | undefined;
268
266
  }, {
269
267
  name: string;
270
268
  frequency: HabitFrequency;
@@ -272,7 +270,6 @@ export declare const createHabitRequestSchema: z.ZodObject<{
272
270
  endOffsetMinutes: number;
273
271
  description?: string | undefined;
274
272
  notes?: string | undefined;
275
- sortOrder?: number | undefined;
276
273
  }>;
277
274
  export declare const updateHabitRequestSchema: z.ZodObject<{
278
275
  name: z.ZodOptional<z.ZodString>;
@@ -59,7 +59,6 @@ exports.createHabitRequestSchema = zod_1.z.object({
59
59
  frequency: zod_1.z.nativeEnum(HabitFrequency),
60
60
  startOffsetMinutes: zod_1.z.number(),
61
61
  endOffsetMinutes: zod_1.z.number(),
62
- sortOrder: zod_1.z.number().optional()
63
62
  });
64
63
  exports.updateHabitRequestSchema = zod_1.z.object({
65
64
  name: zod_1.z.string().min(1).trim().optional(),
@@ -50,7 +50,6 @@ export declare const programConfigSchema: z.ZodObject<{
50
50
  }, {
51
51
  token: string;
52
52
  }>;
53
- redisUrl: z.ZodString;
54
53
  updatedAt: z.ZodDate;
55
54
  createdAt: z.ZodDate;
56
55
  }, "strip", z.ZodTypeAny, {
@@ -76,7 +75,6 @@ export declare const programConfigSchema: z.ZodObject<{
76
75
  expo: {
77
76
  token: string;
78
77
  };
79
- redisUrl: string;
80
78
  }, {
81
79
  dev: {
82
80
  authorizedEmails: string[];
@@ -100,6 +98,5 @@ export declare const programConfigSchema: z.ZodObject<{
100
98
  expo: {
101
99
  token: string;
102
100
  };
103
- redisUrl: string;
104
101
  }>;
105
102
  export type ProgramConfigData = z.infer<typeof programConfigSchema>;
@@ -23,7 +23,6 @@ exports.programConfigSchema = zod_1.z.object({
23
23
  expo: zod_1.z.object({
24
24
  token: zod_1.z.string()
25
25
  }),
26
- redisUrl: zod_1.z.string(),
27
26
  updatedAt: zod_1.z.date(),
28
27
  createdAt: zod_1.z.date()
29
28
  });
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.159",
5
+ "version": "1.0.163",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "scripts": {
@@ -62,7 +62,6 @@ export const createHabitRequestSchema = z.object({
62
62
  frequency: z.nativeEnum(HabitFrequency),
63
63
  startOffsetMinutes: z.number(),
64
64
  endOffsetMinutes: z.number(),
65
- sortOrder: z.number().optional()
66
65
  });
67
66
 
68
67
  export const updateHabitRequestSchema = z.object({
@@ -21,7 +21,6 @@ export const programConfigSchema = z.object({
21
21
  expo: z.object({
22
22
  token: z.string()
23
23
  }),
24
- redisUrl: z.string(),
25
24
  updatedAt: z.date(),
26
25
  createdAt: z.date()
27
26
  });