@the-inkwell/shared 0.2.192 → 0.2.194
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.
|
@@ -9,17 +9,18 @@ export declare const AdminMatchPositionFiltersSelectSchema: z.ZodRecord<z.ZodEnu
|
|
|
9
9
|
radiusInMiles: z.ZodNumber;
|
|
10
10
|
}, z.core.$strip>]>>>;
|
|
11
11
|
export declare const AdminMatchPositionMessagesSelectSchema: z.ZodObject<{
|
|
12
|
-
email: z.ZodObject<{
|
|
13
|
-
subject: z.ZodString
|
|
14
|
-
|
|
12
|
+
email: z.ZodNullable<z.ZodObject<{
|
|
13
|
+
subject: z.ZodNullable<z.ZodString>;
|
|
14
|
+
salutation: z.ZodNullable<z.ZodString>;
|
|
15
|
+
intro: z.ZodNullable<z.ZodString>;
|
|
15
16
|
highlights: z.ZodArray<z.ZodString>;
|
|
16
|
-
closing: z.ZodString
|
|
17
|
-
}, z.core.$strip
|
|
18
|
-
sms: z.ZodObject<{
|
|
19
|
-
intro: z.ZodString
|
|
20
|
-
highlights: z.ZodString
|
|
21
|
-
closing: z.ZodString
|
|
22
|
-
}, z.core.$strip
|
|
17
|
+
closing: z.ZodNullable<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>>;
|
|
19
|
+
sms: z.ZodNullable<z.ZodObject<{
|
|
20
|
+
intro: z.ZodNullable<z.ZodString>;
|
|
21
|
+
highlights: z.ZodArray<z.ZodString>;
|
|
22
|
+
closing: z.ZodNullable<z.ZodString>;
|
|
23
|
+
}, z.core.$strip>>;
|
|
23
24
|
}, z.core.$strip>;
|
|
24
25
|
export type AdminMatchPositionFiltersResult = z.infer<typeof AdminMatchPositionFiltersSelectSchema>;
|
|
25
26
|
export type AdminMatchPositionMessagesResult = z.infer<typeof AdminMatchPositionMessagesSelectSchema>;
|
|
@@ -5,16 +5,21 @@ const v4_1 = require("zod/v4");
|
|
|
5
5
|
const utils_1 = require("./utils");
|
|
6
6
|
exports.AdminMatchPositionFiltersSelectSchema = v4_1.z.record(v4_1.z.enum(utils_1.filterFields), v4_1.z.array(v4_1.z.string().or(utils_1.LocationSchema)));
|
|
7
7
|
exports.AdminMatchPositionMessagesSelectSchema = v4_1.z.object({
|
|
8
|
-
email: v4_1.z
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
email: v4_1.z
|
|
9
|
+
.object({
|
|
10
|
+
subject: v4_1.z.string().nullable(),
|
|
11
|
+
salutation: v4_1.z.string().nullable(),
|
|
12
|
+
intro: v4_1.z.string().nullable(),
|
|
11
13
|
highlights: v4_1.z.array(v4_1.z.string()),
|
|
12
|
-
closing: v4_1.z.string()
|
|
13
|
-
}),
|
|
14
|
-
sms: v4_1.z.object({
|
|
15
|
-
intro: v4_1.z.string(),
|
|
16
|
-
highlights: v4_1.z.string(),
|
|
17
|
-
closing: v4_1.z.string()
|
|
14
|
+
closing: v4_1.z.string().nullable()
|
|
18
15
|
})
|
|
16
|
+
.nullable(),
|
|
17
|
+
sms: v4_1.z
|
|
18
|
+
.object({
|
|
19
|
+
intro: v4_1.z.string().nullable(),
|
|
20
|
+
highlights: v4_1.z.array(v4_1.z.string()),
|
|
21
|
+
closing: v4_1.z.string().nullable()
|
|
22
|
+
})
|
|
23
|
+
.nullable()
|
|
19
24
|
});
|
|
20
25
|
//# sourceMappingURL=positions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positions.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/positions.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAC1B,mCAAsD;AAEzC,QAAA,qCAAqC,GAAG,MAAC,CAAC,MAAM,CAC3D,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,sBAAc,CAAC,CAAC,CACvC,CAAA;AACY,QAAA,sCAAsC,GAAG,MAAC,CAAC,MAAM,CAAC;IAC7D,KAAK,EAAE,MAAC,CAAC,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"positions.js","sourceRoot":"","sources":["../../../../src/schema/admin/matches/positions.ts"],"names":[],"mappings":";;;AAAA,+BAA0B;AAC1B,mCAAsD;AAEzC,QAAA,qCAAqC,GAAG,MAAC,CAAC,MAAM,CAC3D,MAAC,CAAC,IAAI,CAAC,oBAAY,CAAC,EACpB,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC,EAAE,CAAC,sBAAc,CAAC,CAAC,CACvC,CAAA;AACY,QAAA,sCAAsC,GAAG,MAAC,CAAC,MAAM,CAAC;IAC7D,KAAK,EAAE,MAAC;SACL,MAAM,CAAC;QACN,OAAO,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,UAAU,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,UAAU,EAAE,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC;QAC/B,OAAO,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC/B,CAAC;SACD,QAAQ,EAAE;IACb,GAAG,EAAE,MAAC;SACH,MAAM,CAAC;QACN,KAAK,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,UAAU,EAAE,MAAC,CAAC,KAAK,CAAC,MAAC,CAAC,MAAM,EAAE,CAAC;QAC/B,OAAO,EAAE,MAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KAC/B,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA","sourcesContent":["import { z } from 'zod/v4'\nimport { filterFields, LocationSchema } from './utils'\n\nexport const AdminMatchPositionFiltersSelectSchema = z.record(\n z.enum(filterFields),\n z.array(z.string().or(LocationSchema))\n)\nexport const AdminMatchPositionMessagesSelectSchema = z.object({\n email: z\n .object({\n subject: z.string().nullable(),\n salutation: z.string().nullable(),\n intro: z.string().nullable(),\n highlights: z.array(z.string()),\n closing: z.string().nullable()\n })\n .nullable(),\n sms: z\n .object({\n intro: z.string().nullable(),\n highlights: z.array(z.string()),\n closing: z.string().nullable()\n })\n .nullable()\n})\n\nexport type AdminMatchPositionFiltersResult = z.infer<\n typeof AdminMatchPositionFiltersSelectSchema\n>\nexport type AdminMatchPositionMessagesResult = z.infer<\n typeof AdminMatchPositionMessagesSelectSchema\n>\n"]}
|