@the-inkwell/shared 0.2.267 → 0.2.269
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/schema/admin/index.d.ts +1 -0
- package/dist/schema/admin/index.js +1 -0
- package/dist/schema/admin/index.js.map +1 -1
- package/dist/schema/admin/todos/index.d.ts +6 -2
- package/dist/schema/admin/todos/index.js +6 -2
- package/dist/schema/admin/todos/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -47,6 +47,7 @@ __exportStar(require("./sendgrid"), exports);
|
|
|
47
47
|
__exportStar(require("./settings"), exports);
|
|
48
48
|
__exportStar(require("./skills"), exports);
|
|
49
49
|
__exportStar(require("./tags"), exports);
|
|
50
|
+
__exportStar(require("./todos"), exports);
|
|
50
51
|
__exportStar(require("./websiteLandingPages"), exports);
|
|
51
52
|
__exportStar(require("./websiteStaticPages"), exports);
|
|
52
53
|
__exportStar(require("./flodesk"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,0CAAuB;AACvB,iDAA8B;AAC9B,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B;AAC1B,4CAAyB;AACzB,yDAAsC;AACtC,sDAAmC;AACnC,gEAA6C;AAC7C,oDAAiC;AACjC,kDAA+B;AAC/B,8CAA2B;AAC3B,sDAAmC;AACnC,oDAAiC;AACjC,8CAA2B;AAC3B,qDAAkC;AAClC,wDAAqC;AACrC,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB;AACxB,yCAAsB;AACtB,wDAAqC;AACrC,uDAAoC;AACpC,4CAAyB","sourcesContent":["export * from './actions'\nexport * from './bulkMessages'\nexport * from './campaigns'\nexport * from './candidacies'\nexport * from './clients'\nexport * from './dashboard'\nexport * from './educations'\nexport * from './embeddings'\nexport * from './experiences'\nexport * from './files'\nexport * from './jobFunctions'\nexport * from './locations'\nexport * from './matches'\nexport * from './messages'\nexport * from './notes'\nexport * from './partners'\nexport * from './persons'\nexport * from './personsToBestPersons'\nexport * from './personsToNetworks'\nexport * from './personsToProfessionalEvents'\nexport * from './personsToSkills'\nexport * from './personsToTags'\nexport * from './positions'\nexport * from './positionsToSkills'\nexport * from './positionsToTags'\nexport * from './referrals'\nexport * from './referralsPayouts'\nexport * from './referralsToMessages'\nexport * from './senders'\nexport * from './sendgrid'\nexport * from './settings'\nexport * from './skills'\nexport * from './tags'\nexport * from './websiteLandingPages'\nexport * from './websiteStaticPages'\nexport * from './flodesk'\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,iDAA8B;AAC9B,8CAA2B;AAC3B,gDAA6B;AAC7B,4CAAyB;AACzB,8CAA2B;AAC3B,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,0CAAuB;AACvB,iDAA8B;AAC9B,8CAA2B;AAC3B,4CAAyB;AACzB,6CAA0B;AAC1B,0CAAuB;AACvB,6CAA0B;AAC1B,4CAAyB;AACzB,yDAAsC;AACtC,sDAAmC;AACnC,gEAA6C;AAC7C,oDAAiC;AACjC,kDAA+B;AAC/B,8CAA2B;AAC3B,sDAAmC;AACnC,oDAAiC;AACjC,8CAA2B;AAC3B,qDAAkC;AAClC,wDAAqC;AACrC,4CAAyB;AACzB,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB;AACxB,yCAAsB;AACtB,0CAAuB;AACvB,wDAAqC;AACrC,uDAAoC;AACpC,4CAAyB","sourcesContent":["export * from './actions'\nexport * from './bulkMessages'\nexport * from './campaigns'\nexport * from './candidacies'\nexport * from './clients'\nexport * from './dashboard'\nexport * from './educations'\nexport * from './embeddings'\nexport * from './experiences'\nexport * from './files'\nexport * from './jobFunctions'\nexport * from './locations'\nexport * from './matches'\nexport * from './messages'\nexport * from './notes'\nexport * from './partners'\nexport * from './persons'\nexport * from './personsToBestPersons'\nexport * from './personsToNetworks'\nexport * from './personsToProfessionalEvents'\nexport * from './personsToSkills'\nexport * from './personsToTags'\nexport * from './positions'\nexport * from './positionsToSkills'\nexport * from './positionsToTags'\nexport * from './referrals'\nexport * from './referralsPayouts'\nexport * from './referralsToMessages'\nexport * from './senders'\nexport * from './sendgrid'\nexport * from './settings'\nexport * from './skills'\nexport * from './tags'\nexport * from './todos'\nexport * from './websiteLandingPages'\nexport * from './websiteStaticPages'\nexport * from './flodesk'\n"]}
|
|
@@ -156,7 +156,9 @@ export declare const AdminTodoCreateSchema: import("drizzle-zod").BuildSchema<"i
|
|
|
156
156
|
identity: undefined;
|
|
157
157
|
generated: undefined;
|
|
158
158
|
}, {}, {}>;
|
|
159
|
-
},
|
|
159
|
+
}, {
|
|
160
|
+
resolvedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
161
|
+
}, undefined>;
|
|
160
162
|
export declare const AdminTodoSelectSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
161
163
|
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
162
164
|
name: "id";
|
|
@@ -470,7 +472,9 @@ export declare const AdminTodoUpdateSchema: import("drizzle-zod").BuildSchema<"u
|
|
|
470
472
|
identity: undefined;
|
|
471
473
|
generated: undefined;
|
|
472
474
|
}, {}, {}>;
|
|
473
|
-
},
|
|
475
|
+
}, {
|
|
476
|
+
resolvedAt: z.ZodNullable<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
|
|
477
|
+
}, undefined>;
|
|
474
478
|
export declare const AdminTodoParamsSchema: z.ZodObject<{
|
|
475
479
|
id: z.ZodUUID;
|
|
476
480
|
}, {
|
|
@@ -6,9 +6,13 @@ const core_1 = require("../../core");
|
|
|
6
6
|
const utils_1 = require("../../../utils");
|
|
7
7
|
const v4_1 = require("zod/v4");
|
|
8
8
|
//// validators
|
|
9
|
-
exports.AdminTodoCreateSchema = (0, drizzle_zod_1.createInsertSchema)(core_1.todo
|
|
9
|
+
exports.AdminTodoCreateSchema = (0, drizzle_zod_1.createInsertSchema)(core_1.todo, {
|
|
10
|
+
resolvedAt: v4_1.z.coerce.date().optional()
|
|
11
|
+
});
|
|
10
12
|
exports.AdminTodoSelectSchema = (0, drizzle_zod_1.createSelectSchema)(core_1.todo);
|
|
11
|
-
exports.AdminTodoUpdateSchema = (0, drizzle_zod_1.createUpdateSchema)(core_1.todo
|
|
13
|
+
exports.AdminTodoUpdateSchema = (0, drizzle_zod_1.createUpdateSchema)(core_1.todo, {
|
|
14
|
+
resolvedAt: v4_1.z.coerce.date().optional().nullable()
|
|
15
|
+
});
|
|
12
16
|
exports.AdminTodoParamsSchema = exports.AdminTodoSelectSchema.pick({
|
|
13
17
|
id: true
|
|
14
18
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/admin/todos/index.ts"],"names":[],"mappings":";;;AAAA,6CAIoB;AACpB,qCAAiC;AACjC,0CAAmE;AACnE,+BAA0B;AAE1B,eAAe;AAEF,QAAA,qBAAqB,GAAG,IAAA,gCAAkB,EAAC,WAAI,CAAC,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/admin/todos/index.ts"],"names":[],"mappings":";;;AAAA,6CAIoB;AACpB,qCAAiC;AACjC,0CAAmE;AACnE,+BAA0B;AAE1B,eAAe;AAEF,QAAA,qBAAqB,GAAG,IAAA,gCAAkB,EAAC,WAAI,EAAE;IAC5D,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAA;AACW,QAAA,qBAAqB,GAAG,IAAA,gCAAkB,EAAC,WAAI,CAAC,CAAA;AAChD,QAAA,qBAAqB,GAAG,IAAA,gCAAkB,EAAC,WAAI,EAAE;IAC5D,UAAU,EAAE,MAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAClD,CAAC,CAAA;AAEW,QAAA,qBAAqB,GAAG,6BAAqB,CAAC,IAAI,CAAC;IAC9D,EAAE,EAAE,IAAI;CACT,CAAC,CAAA;AACW,QAAA,wBAAwB,GAAG,uBAAe,CAAC,MAAM,CAAC;IAC7D,MAAM,EAAE,MAAC;SACN,MAAM,CAAC;QACN,UAAU,EAAE,MAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAA;AACW,QAAA,2BAA2B,GAAG,6BAAqB,CAAA;AACnD,QAAA,2BAA2B,GAAG,6BAAqB,CAAA","sourcesContent":["import {\n createInsertSchema,\n createSelectSchema,\n createUpdateSchema\n} from 'drizzle-zod'\nimport { todo } from '../../core'\nimport { ListQuerySchema, type ListResponse } from '../../../utils'\nimport { z } from 'zod/v4'\n\n//// validators\n\nexport const AdminTodoCreateSchema = createInsertSchema(todo, {\n resolvedAt: z.coerce.date().optional()\n})\nexport const AdminTodoSelectSchema = createSelectSchema(todo)\nexport const AdminTodoUpdateSchema = createUpdateSchema(todo, {\n resolvedAt: z.coerce.date().optional().nullable()\n})\n\nexport const AdminTodoParamsSchema = AdminTodoSelectSchema.pick({\n id: true\n})\nexport const AdminTodoListQuerySchema = ListQuerySchema.extend({\n filter: z\n .object({\n isResolved: z.boolean().optional()\n })\n .optional()\n})\nexport const AdminTodoUpdateParamsSchema = AdminTodoParamsSchema\nexport const AdminTodoDeleteParamsSchema = AdminTodoParamsSchema\n\n//// types\n\ntype AdminTodo = z.infer<typeof AdminTodoSelectSchema>\n\n// detail\nexport type AdminTodoParams = z.infer<typeof AdminTodoParamsSchema>\nexport type AdminTodoResult = AdminTodo\n\n// list\nexport type AdminTodoListQuery = z.infer<typeof AdminTodoListQuerySchema>\nexport type AdminTodoListResult = ListResponse<\n z.infer<typeof AdminTodoSelectSchema>\n>\n\n// create\nexport type AdminTodoCreateInput = z.infer<typeof AdminTodoCreateSchema>\nexport type AdminTodoCreateResult = Pick<AdminTodo, 'id'>\n\n// update\nexport type AdminTodoUpdateParams = z.infer<typeof AdminTodoUpdateParamsSchema>\nexport type AdminTodoUpdateInput = z.infer<typeof AdminTodoUpdateSchema>\n\n// delete\nexport type AdminTodoDeleteParams = z.infer<typeof AdminTodoDeleteParamsSchema>\n"]}
|