@the-inkwell/shared 0.2.0 → 0.2.2
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/constants.d.ts +769 -0
- package/dist/{src/constants.js → constants.js} +1 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -0
- package/dist/schema/admin/actions/index.d.ts +796 -0
- package/dist/{src/schema → schema}/admin/actions/index.js +1 -0
- package/dist/schema/admin/actions/index.js.map +1 -0
- package/dist/schema/admin/campaigns/index.d.ts +490 -0
- package/dist/{src/schema → schema}/admin/campaigns/index.js +1 -0
- package/dist/schema/admin/campaigns/index.js.map +1 -0
- package/dist/schema/admin/candidacies/index.d.ts +765 -0
- package/dist/{src/schema → schema}/admin/candidacies/index.js +1 -0
- package/dist/schema/admin/candidacies/index.js.map +1 -0
- package/dist/schema/admin/clients/index.d.ts +339 -0
- package/dist/{src/schema → schema}/admin/clients/index.js +1 -0
- package/dist/schema/admin/clients/index.js.map +1 -0
- package/dist/schema/admin/dashboard/index.d.ts +10 -0
- package/dist/{src/schema → schema}/admin/dashboard/index.js +1 -0
- package/dist/schema/admin/dashboard/index.js.map +1 -0
- package/dist/schema/admin/educations/index.d.ts +360 -0
- package/dist/{src/schema → schema}/admin/educations/index.js +1 -0
- package/dist/schema/admin/educations/index.js.map +1 -0
- package/dist/schema/admin/experiences/index.d.ts +466 -0
- package/dist/{src/schema → schema}/admin/experiences/index.js +1 -0
- package/dist/schema/admin/experiences/index.js.map +1 -0
- package/dist/schema/admin/files/index.d.ts +8 -0
- package/dist/{src/schema → schema}/admin/files/index.js +1 -0
- package/dist/schema/admin/files/index.js.map +1 -0
- package/dist/schema/admin/index.d.ts +29 -0
- package/dist/{src/schema → schema}/admin/index.js +1 -0
- package/dist/schema/admin/index.js.map +1 -0
- package/dist/schema/admin/jobFunctions/index.d.ts +362 -0
- package/dist/{src/schema → schema}/admin/jobFunctions/index.js +1 -0
- package/dist/schema/admin/jobFunctions/index.js.map +1 -0
- package/dist/schema/admin/listViews/index.d.ts +575 -0
- package/dist/{src/schema → schema}/admin/listViews/index.js +1 -0
- package/dist/schema/admin/listViews/index.js.map +1 -0
- package/dist/schema/admin/locations/index.d.ts +27 -0
- package/dist/{src/schema → schema}/admin/locations/index.js +1 -0
- package/dist/schema/admin/locations/index.js.map +1 -0
- package/dist/schema/admin/messages/index.d.ts +800 -0
- package/dist/{src/schema → schema}/admin/messages/index.js +1 -0
- package/dist/schema/admin/messages/index.js.map +1 -0
- package/dist/schema/admin/notes/index.d.ts +558 -0
- package/dist/{src/schema → schema}/admin/notes/index.js +1 -0
- package/dist/schema/admin/notes/index.js.map +1 -0
- package/dist/schema/admin/partners/index.d.ts +334 -0
- package/dist/{src/schema → schema}/admin/partners/index.js +1 -0
- package/dist/schema/admin/partners/index.js.map +1 -0
- package/dist/schema/admin/persons/index.d.ts +889 -0
- package/dist/{src/schema → schema}/admin/persons/index.js +1 -0
- package/dist/schema/admin/persons/index.js.map +1 -0
- package/dist/schema/admin/personsToBestPersons/index.d.ts +198 -0
- package/dist/{src/schema → schema}/admin/personsToBestPersons/index.js +1 -0
- package/dist/schema/admin/personsToBestPersons/index.js.map +1 -0
- package/dist/schema/admin/personsToSkills/index.d.ts +198 -0
- package/dist/{src/schema → schema}/admin/personsToSkills/index.js +1 -0
- package/dist/schema/admin/personsToSkills/index.js.map +1 -0
- package/dist/schema/admin/personsToTags/index.d.ts +198 -0
- package/dist/{src/schema → schema}/admin/personsToTags/index.js +1 -0
- package/dist/schema/admin/personsToTags/index.js.map +1 -0
- package/dist/schema/admin/positions/index.d.ts +1328 -0
- package/dist/{src/schema → schema}/admin/positions/index.js +1 -0
- package/dist/schema/admin/positions/index.js.map +1 -0
- package/dist/schema/admin/positionsToSkills/index.d.ts +198 -0
- package/dist/{src/schema → schema}/admin/positionsToSkills/index.js +1 -0
- package/dist/schema/admin/positionsToSkills/index.js.map +1 -0
- package/dist/schema/admin/positionsToTags/index.d.ts +198 -0
- package/dist/{src/schema → schema}/admin/positionsToTags/index.js +1 -0
- package/dist/schema/admin/positionsToTags/index.js.map +1 -0
- package/dist/schema/admin/referrals/index.d.ts +477 -0
- package/dist/{src/schema → schema}/admin/referrals/index.js +1 -0
- package/dist/schema/admin/referrals/index.js.map +1 -0
- package/dist/schema/admin/referralsToMessages/index.d.ts +243 -0
- package/dist/{src/schema → schema}/admin/referralsToMessages/index.js +1 -0
- package/dist/schema/admin/referralsToMessages/index.js.map +1 -0
- package/dist/schema/admin/senders/index.d.ts +451 -0
- package/dist/{src/schema → schema}/admin/senders/index.js +1 -0
- package/dist/schema/admin/senders/index.js.map +1 -0
- package/dist/schema/admin/sendgrid/index.d.ts +9 -0
- package/dist/{src/schema → schema}/admin/sendgrid/index.js +1 -0
- package/dist/schema/admin/sendgrid/index.js.map +1 -0
- package/dist/schema/admin/settings/index.d.ts +30 -0
- package/dist/{src/schema → schema}/admin/settings/index.js +1 -0
- package/dist/schema/admin/settings/index.js.map +1 -0
- package/dist/schema/admin/skills/index.d.ts +362 -0
- package/dist/{src/schema → schema}/admin/skills/index.js +1 -0
- package/dist/schema/admin/skills/index.js.map +1 -0
- package/dist/schema/admin/tags/index.d.ts +355 -0
- package/dist/{src/schema → schema}/admin/tags/index.js +1 -0
- package/dist/schema/admin/tags/index.js.map +1 -0
- package/dist/schema/admin/websiteLandingPages/index.d.ts +562 -0
- package/dist/{src/schema → schema}/admin/websiteLandingPages/index.js +1 -0
- package/dist/schema/admin/websiteLandingPages/index.js.map +1 -0
- package/dist/schema/admin/websiteStaticPages/index.d.ts +385 -0
- package/dist/{src/schema → schema}/admin/websiteStaticPages/index.js +1 -0
- package/dist/schema/admin/websiteStaticPages/index.js.map +1 -0
- package/dist/schema/auth/index.d.ts +15 -0
- package/dist/{src/schema → schema}/auth/index.js +1 -0
- package/dist/schema/auth/index.js.map +1 -0
- package/dist/schema/core.d.ts +6335 -0
- package/dist/{src/schema → schema}/core.js +1 -0
- package/dist/schema/core.js.map +1 -0
- package/dist/schema/index.d.ts +3 -0
- package/dist/{src/schema → schema}/index.js +1 -0
- package/dist/schema/index.js.map +1 -0
- package/dist/utils.d.ts +23 -0
- package/dist/{src/utils.js → utils.js} +3 -1
- package/dist/utils.js.map +1 -0
- package/package.json +6 -6
- package/.prettierrc.json +0 -6
- package/index.ts +0 -3
- package/src/constants.ts +0 -299
- package/src/schema/admin/actions/index.ts +0 -65
- package/src/schema/admin/campaigns/index.ts +0 -111
- package/src/schema/admin/candidacies/index.ts +0 -138
- package/src/schema/admin/clients/index.ts +0 -65
- package/src/schema/admin/dashboard/index.ts +0 -10
- package/src/schema/admin/educations/index.ts +0 -71
- package/src/schema/admin/experiences/index.ts +0 -87
- package/src/schema/admin/files/index.ts +0 -10
- package/src/schema/admin/index.ts +0 -29
- package/src/schema/admin/jobFunctions/index.ts +0 -79
- package/src/schema/admin/listViews/index.ts +0 -58
- package/src/schema/admin/locations/index.ts +0 -42
- package/src/schema/admin/messages/index.ts +0 -88
- package/src/schema/admin/notes/index.ts +0 -56
- package/src/schema/admin/partners/index.ts +0 -60
- package/src/schema/admin/persons/index.ts +0 -294
- package/src/schema/admin/personsToBestPersons/index.ts +0 -67
- package/src/schema/admin/personsToSkills/index.ts +0 -61
- package/src/schema/admin/personsToTags/index.ts +0 -61
- package/src/schema/admin/positions/index.ts +0 -97
- package/src/schema/admin/positionsToSkills/index.ts +0 -64
- package/src/schema/admin/positionsToTags/index.ts +0 -61
- package/src/schema/admin/referrals/index.ts +0 -100
- package/src/schema/admin/referralsToMessages/index.ts +0 -121
- package/src/schema/admin/senders/index.ts +0 -50
- package/src/schema/admin/sendgrid/index.ts +0 -16
- package/src/schema/admin/settings/index.ts +0 -34
- package/src/schema/admin/skills/index.ts +0 -64
- package/src/schema/admin/tags/index.ts +0 -56
- package/src/schema/admin/websiteLandingPages/index.ts +0 -69
- package/src/schema/admin/websiteStaticPages/index.ts +0 -67
- package/src/schema/auth/index.ts +0 -14
- package/src/schema/core.ts +0 -1906
- package/src/schema/index.ts +0 -3
- package/src/utils.ts +0 -41
- package/tsconfig.json +0 -111
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { type ListResponse } from '../../../utils';
|
|
2
|
+
import { z } from 'zod/v4';
|
|
3
|
+
export declare const AdminWebsiteStaticPageCreateSchema: import("drizzle-zod").BuildSchema<"insert", {
|
|
4
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
5
|
+
name: "id";
|
|
6
|
+
tableName: "website_static_pages";
|
|
7
|
+
dataType: "string";
|
|
8
|
+
columnType: "PgUUID";
|
|
9
|
+
data: string;
|
|
10
|
+
driverParam: string;
|
|
11
|
+
notNull: true;
|
|
12
|
+
hasDefault: true;
|
|
13
|
+
isPrimaryKey: true;
|
|
14
|
+
isAutoincrement: false;
|
|
15
|
+
hasRuntimeDefault: false;
|
|
16
|
+
enumValues: undefined;
|
|
17
|
+
baseColumn: never;
|
|
18
|
+
identity: undefined;
|
|
19
|
+
generated: undefined;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
22
|
+
name: "slug";
|
|
23
|
+
tableName: "website_static_pages";
|
|
24
|
+
dataType: "string";
|
|
25
|
+
columnType: "PgText";
|
|
26
|
+
data: string;
|
|
27
|
+
driverParam: string;
|
|
28
|
+
notNull: true;
|
|
29
|
+
hasDefault: false;
|
|
30
|
+
isPrimaryKey: false;
|
|
31
|
+
isAutoincrement: false;
|
|
32
|
+
hasRuntimeDefault: false;
|
|
33
|
+
enumValues: [string, ...string[]];
|
|
34
|
+
baseColumn: never;
|
|
35
|
+
identity: undefined;
|
|
36
|
+
generated: undefined;
|
|
37
|
+
}, {}, {}>;
|
|
38
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
39
|
+
name: "name";
|
|
40
|
+
tableName: "website_static_pages";
|
|
41
|
+
dataType: "string";
|
|
42
|
+
columnType: "PgText";
|
|
43
|
+
data: string;
|
|
44
|
+
driverParam: string;
|
|
45
|
+
notNull: true;
|
|
46
|
+
hasDefault: false;
|
|
47
|
+
isPrimaryKey: false;
|
|
48
|
+
isAutoincrement: false;
|
|
49
|
+
hasRuntimeDefault: false;
|
|
50
|
+
enumValues: [string, ...string[]];
|
|
51
|
+
baseColumn: never;
|
|
52
|
+
identity: undefined;
|
|
53
|
+
generated: undefined;
|
|
54
|
+
}, {}, {}>;
|
|
55
|
+
path: import("drizzle-orm/pg-core").PgColumn<{
|
|
56
|
+
name: "path";
|
|
57
|
+
tableName: "website_static_pages";
|
|
58
|
+
dataType: "string";
|
|
59
|
+
columnType: "PgText";
|
|
60
|
+
data: string;
|
|
61
|
+
driverParam: string;
|
|
62
|
+
notNull: true;
|
|
63
|
+
hasDefault: false;
|
|
64
|
+
isPrimaryKey: false;
|
|
65
|
+
isAutoincrement: false;
|
|
66
|
+
hasRuntimeDefault: false;
|
|
67
|
+
enumValues: [string, ...string[]];
|
|
68
|
+
baseColumn: never;
|
|
69
|
+
identity: undefined;
|
|
70
|
+
generated: undefined;
|
|
71
|
+
}, {}, {}>;
|
|
72
|
+
content: import("drizzle-orm/pg-core").PgColumn<{
|
|
73
|
+
name: "content";
|
|
74
|
+
tableName: "website_static_pages";
|
|
75
|
+
dataType: "json";
|
|
76
|
+
columnType: "PgJsonb";
|
|
77
|
+
data: Record<any, any>;
|
|
78
|
+
driverParam: unknown;
|
|
79
|
+
notNull: true;
|
|
80
|
+
hasDefault: true;
|
|
81
|
+
isPrimaryKey: false;
|
|
82
|
+
isAutoincrement: false;
|
|
83
|
+
hasRuntimeDefault: false;
|
|
84
|
+
enumValues: undefined;
|
|
85
|
+
baseColumn: never;
|
|
86
|
+
identity: undefined;
|
|
87
|
+
generated: undefined;
|
|
88
|
+
}, {}, {
|
|
89
|
+
$type: Record<any, any>;
|
|
90
|
+
}>;
|
|
91
|
+
meta: import("drizzle-orm/pg-core").PgColumn<{
|
|
92
|
+
name: "meta";
|
|
93
|
+
tableName: "website_static_pages";
|
|
94
|
+
dataType: "json";
|
|
95
|
+
columnType: "PgJsonb";
|
|
96
|
+
data: {
|
|
97
|
+
title?: string;
|
|
98
|
+
description?: string;
|
|
99
|
+
keywords?: string;
|
|
100
|
+
};
|
|
101
|
+
driverParam: unknown;
|
|
102
|
+
notNull: true;
|
|
103
|
+
hasDefault: true;
|
|
104
|
+
isPrimaryKey: false;
|
|
105
|
+
isAutoincrement: false;
|
|
106
|
+
hasRuntimeDefault: false;
|
|
107
|
+
enumValues: undefined;
|
|
108
|
+
baseColumn: never;
|
|
109
|
+
identity: undefined;
|
|
110
|
+
generated: undefined;
|
|
111
|
+
}, {}, {
|
|
112
|
+
$type: {
|
|
113
|
+
title?: string;
|
|
114
|
+
description?: string;
|
|
115
|
+
keywords?: string;
|
|
116
|
+
};
|
|
117
|
+
}>;
|
|
118
|
+
}, undefined, undefined>;
|
|
119
|
+
export declare const AdminWebsiteStaticPageSelectSchema: import("drizzle-zod").BuildSchema<"select", {
|
|
120
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
121
|
+
name: "id";
|
|
122
|
+
tableName: "website_static_pages";
|
|
123
|
+
dataType: "string";
|
|
124
|
+
columnType: "PgUUID";
|
|
125
|
+
data: string;
|
|
126
|
+
driverParam: string;
|
|
127
|
+
notNull: true;
|
|
128
|
+
hasDefault: true;
|
|
129
|
+
isPrimaryKey: true;
|
|
130
|
+
isAutoincrement: false;
|
|
131
|
+
hasRuntimeDefault: false;
|
|
132
|
+
enumValues: undefined;
|
|
133
|
+
baseColumn: never;
|
|
134
|
+
identity: undefined;
|
|
135
|
+
generated: undefined;
|
|
136
|
+
}, {}, {}>;
|
|
137
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
138
|
+
name: "slug";
|
|
139
|
+
tableName: "website_static_pages";
|
|
140
|
+
dataType: "string";
|
|
141
|
+
columnType: "PgText";
|
|
142
|
+
data: string;
|
|
143
|
+
driverParam: string;
|
|
144
|
+
notNull: true;
|
|
145
|
+
hasDefault: false;
|
|
146
|
+
isPrimaryKey: false;
|
|
147
|
+
isAutoincrement: false;
|
|
148
|
+
hasRuntimeDefault: false;
|
|
149
|
+
enumValues: [string, ...string[]];
|
|
150
|
+
baseColumn: never;
|
|
151
|
+
identity: undefined;
|
|
152
|
+
generated: undefined;
|
|
153
|
+
}, {}, {}>;
|
|
154
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
155
|
+
name: "name";
|
|
156
|
+
tableName: "website_static_pages";
|
|
157
|
+
dataType: "string";
|
|
158
|
+
columnType: "PgText";
|
|
159
|
+
data: string;
|
|
160
|
+
driverParam: string;
|
|
161
|
+
notNull: true;
|
|
162
|
+
hasDefault: false;
|
|
163
|
+
isPrimaryKey: false;
|
|
164
|
+
isAutoincrement: false;
|
|
165
|
+
hasRuntimeDefault: false;
|
|
166
|
+
enumValues: [string, ...string[]];
|
|
167
|
+
baseColumn: never;
|
|
168
|
+
identity: undefined;
|
|
169
|
+
generated: undefined;
|
|
170
|
+
}, {}, {}>;
|
|
171
|
+
path: import("drizzle-orm/pg-core").PgColumn<{
|
|
172
|
+
name: "path";
|
|
173
|
+
tableName: "website_static_pages";
|
|
174
|
+
dataType: "string";
|
|
175
|
+
columnType: "PgText";
|
|
176
|
+
data: string;
|
|
177
|
+
driverParam: string;
|
|
178
|
+
notNull: true;
|
|
179
|
+
hasDefault: false;
|
|
180
|
+
isPrimaryKey: false;
|
|
181
|
+
isAutoincrement: false;
|
|
182
|
+
hasRuntimeDefault: false;
|
|
183
|
+
enumValues: [string, ...string[]];
|
|
184
|
+
baseColumn: never;
|
|
185
|
+
identity: undefined;
|
|
186
|
+
generated: undefined;
|
|
187
|
+
}, {}, {}>;
|
|
188
|
+
content: import("drizzle-orm/pg-core").PgColumn<{
|
|
189
|
+
name: "content";
|
|
190
|
+
tableName: "website_static_pages";
|
|
191
|
+
dataType: "json";
|
|
192
|
+
columnType: "PgJsonb";
|
|
193
|
+
data: Record<any, any>;
|
|
194
|
+
driverParam: unknown;
|
|
195
|
+
notNull: true;
|
|
196
|
+
hasDefault: true;
|
|
197
|
+
isPrimaryKey: false;
|
|
198
|
+
isAutoincrement: false;
|
|
199
|
+
hasRuntimeDefault: false;
|
|
200
|
+
enumValues: undefined;
|
|
201
|
+
baseColumn: never;
|
|
202
|
+
identity: undefined;
|
|
203
|
+
generated: undefined;
|
|
204
|
+
}, {}, {
|
|
205
|
+
$type: Record<any, any>;
|
|
206
|
+
}>;
|
|
207
|
+
meta: import("drizzle-orm/pg-core").PgColumn<{
|
|
208
|
+
name: "meta";
|
|
209
|
+
tableName: "website_static_pages";
|
|
210
|
+
dataType: "json";
|
|
211
|
+
columnType: "PgJsonb";
|
|
212
|
+
data: {
|
|
213
|
+
title?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
keywords?: string;
|
|
216
|
+
};
|
|
217
|
+
driverParam: unknown;
|
|
218
|
+
notNull: true;
|
|
219
|
+
hasDefault: true;
|
|
220
|
+
isPrimaryKey: false;
|
|
221
|
+
isAutoincrement: false;
|
|
222
|
+
hasRuntimeDefault: false;
|
|
223
|
+
enumValues: undefined;
|
|
224
|
+
baseColumn: never;
|
|
225
|
+
identity: undefined;
|
|
226
|
+
generated: undefined;
|
|
227
|
+
}, {}, {
|
|
228
|
+
$type: {
|
|
229
|
+
title?: string;
|
|
230
|
+
description?: string;
|
|
231
|
+
keywords?: string;
|
|
232
|
+
};
|
|
233
|
+
}>;
|
|
234
|
+
}, undefined, undefined>;
|
|
235
|
+
export declare const AdminWebsiteStaticPageUpdateSchema: import("drizzle-zod").BuildSchema<"update", {
|
|
236
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
237
|
+
name: "id";
|
|
238
|
+
tableName: "website_static_pages";
|
|
239
|
+
dataType: "string";
|
|
240
|
+
columnType: "PgUUID";
|
|
241
|
+
data: string;
|
|
242
|
+
driverParam: string;
|
|
243
|
+
notNull: true;
|
|
244
|
+
hasDefault: true;
|
|
245
|
+
isPrimaryKey: true;
|
|
246
|
+
isAutoincrement: false;
|
|
247
|
+
hasRuntimeDefault: false;
|
|
248
|
+
enumValues: undefined;
|
|
249
|
+
baseColumn: never;
|
|
250
|
+
identity: undefined;
|
|
251
|
+
generated: undefined;
|
|
252
|
+
}, {}, {}>;
|
|
253
|
+
slug: import("drizzle-orm/pg-core").PgColumn<{
|
|
254
|
+
name: "slug";
|
|
255
|
+
tableName: "website_static_pages";
|
|
256
|
+
dataType: "string";
|
|
257
|
+
columnType: "PgText";
|
|
258
|
+
data: string;
|
|
259
|
+
driverParam: string;
|
|
260
|
+
notNull: true;
|
|
261
|
+
hasDefault: false;
|
|
262
|
+
isPrimaryKey: false;
|
|
263
|
+
isAutoincrement: false;
|
|
264
|
+
hasRuntimeDefault: false;
|
|
265
|
+
enumValues: [string, ...string[]];
|
|
266
|
+
baseColumn: never;
|
|
267
|
+
identity: undefined;
|
|
268
|
+
generated: undefined;
|
|
269
|
+
}, {}, {}>;
|
|
270
|
+
name: import("drizzle-orm/pg-core").PgColumn<{
|
|
271
|
+
name: "name";
|
|
272
|
+
tableName: "website_static_pages";
|
|
273
|
+
dataType: "string";
|
|
274
|
+
columnType: "PgText";
|
|
275
|
+
data: string;
|
|
276
|
+
driverParam: string;
|
|
277
|
+
notNull: true;
|
|
278
|
+
hasDefault: false;
|
|
279
|
+
isPrimaryKey: false;
|
|
280
|
+
isAutoincrement: false;
|
|
281
|
+
hasRuntimeDefault: false;
|
|
282
|
+
enumValues: [string, ...string[]];
|
|
283
|
+
baseColumn: never;
|
|
284
|
+
identity: undefined;
|
|
285
|
+
generated: undefined;
|
|
286
|
+
}, {}, {}>;
|
|
287
|
+
path: import("drizzle-orm/pg-core").PgColumn<{
|
|
288
|
+
name: "path";
|
|
289
|
+
tableName: "website_static_pages";
|
|
290
|
+
dataType: "string";
|
|
291
|
+
columnType: "PgText";
|
|
292
|
+
data: string;
|
|
293
|
+
driverParam: string;
|
|
294
|
+
notNull: true;
|
|
295
|
+
hasDefault: false;
|
|
296
|
+
isPrimaryKey: false;
|
|
297
|
+
isAutoincrement: false;
|
|
298
|
+
hasRuntimeDefault: false;
|
|
299
|
+
enumValues: [string, ...string[]];
|
|
300
|
+
baseColumn: never;
|
|
301
|
+
identity: undefined;
|
|
302
|
+
generated: undefined;
|
|
303
|
+
}, {}, {}>;
|
|
304
|
+
content: import("drizzle-orm/pg-core").PgColumn<{
|
|
305
|
+
name: "content";
|
|
306
|
+
tableName: "website_static_pages";
|
|
307
|
+
dataType: "json";
|
|
308
|
+
columnType: "PgJsonb";
|
|
309
|
+
data: Record<any, any>;
|
|
310
|
+
driverParam: unknown;
|
|
311
|
+
notNull: true;
|
|
312
|
+
hasDefault: true;
|
|
313
|
+
isPrimaryKey: false;
|
|
314
|
+
isAutoincrement: false;
|
|
315
|
+
hasRuntimeDefault: false;
|
|
316
|
+
enumValues: undefined;
|
|
317
|
+
baseColumn: never;
|
|
318
|
+
identity: undefined;
|
|
319
|
+
generated: undefined;
|
|
320
|
+
}, {}, {
|
|
321
|
+
$type: Record<any, any>;
|
|
322
|
+
}>;
|
|
323
|
+
meta: import("drizzle-orm/pg-core").PgColumn<{
|
|
324
|
+
name: "meta";
|
|
325
|
+
tableName: "website_static_pages";
|
|
326
|
+
dataType: "json";
|
|
327
|
+
columnType: "PgJsonb";
|
|
328
|
+
data: {
|
|
329
|
+
title?: string;
|
|
330
|
+
description?: string;
|
|
331
|
+
keywords?: string;
|
|
332
|
+
};
|
|
333
|
+
driverParam: unknown;
|
|
334
|
+
notNull: true;
|
|
335
|
+
hasDefault: true;
|
|
336
|
+
isPrimaryKey: false;
|
|
337
|
+
isAutoincrement: false;
|
|
338
|
+
hasRuntimeDefault: false;
|
|
339
|
+
enumValues: undefined;
|
|
340
|
+
baseColumn: never;
|
|
341
|
+
identity: undefined;
|
|
342
|
+
generated: undefined;
|
|
343
|
+
}, {}, {
|
|
344
|
+
$type: {
|
|
345
|
+
title?: string;
|
|
346
|
+
description?: string;
|
|
347
|
+
keywords?: string;
|
|
348
|
+
};
|
|
349
|
+
}>;
|
|
350
|
+
}, undefined, undefined>;
|
|
351
|
+
export declare const AdminWebsiteStaticPageParamsSchema: z.ZodObject<{
|
|
352
|
+
slug: z.ZodString;
|
|
353
|
+
}, {
|
|
354
|
+
out: {};
|
|
355
|
+
in: {};
|
|
356
|
+
}>;
|
|
357
|
+
export declare const AdminWebsiteStaticPageListQuerySchema: z.ZodObject<{
|
|
358
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
359
|
+
offset: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
sort: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
361
|
+
filter: z.ZodOptional<z.ZodObject<{}, z.core.$strip>>;
|
|
362
|
+
}, z.core.$strip>;
|
|
363
|
+
export declare const AdminWebsiteStaticPageUpdateParamsSchema: z.ZodObject<{
|
|
364
|
+
slug: z.ZodString;
|
|
365
|
+
}, {
|
|
366
|
+
out: {};
|
|
367
|
+
in: {};
|
|
368
|
+
}>;
|
|
369
|
+
export declare const adminWebsiteStaticPageDeleteParamsSchema: z.ZodObject<{
|
|
370
|
+
slug: z.ZodString;
|
|
371
|
+
}, {
|
|
372
|
+
out: {};
|
|
373
|
+
in: {};
|
|
374
|
+
}>;
|
|
375
|
+
type AdminWebsiteStaticPage = z.infer<typeof AdminWebsiteStaticPageSelectSchema>;
|
|
376
|
+
export type AdminWebsiteStaticPageParams = z.infer<typeof AdminWebsiteStaticPageParamsSchema>;
|
|
377
|
+
export type AdminWebsiteStaticPageResult = AdminWebsiteStaticPage;
|
|
378
|
+
export type AdminWebsiteStaticPageListQuery = z.infer<typeof AdminWebsiteStaticPageListQuerySchema>;
|
|
379
|
+
export type AdminWebsiteStaticPageListResult = ListResponse<z.infer<typeof AdminWebsiteStaticPageSelectSchema>>;
|
|
380
|
+
export type AdminWebsiteStaticPageCreateInput = z.infer<typeof AdminWebsiteStaticPageCreateSchema>;
|
|
381
|
+
export type AdminWebsiteStaticPageCreateResult = Pick<AdminWebsiteStaticPage, 'id'>;
|
|
382
|
+
export type AdminWebsiteStaticPageUpdateParams = z.infer<typeof AdminWebsiteStaticPageUpdateParamsSchema>;
|
|
383
|
+
export type AdminWebsiteStaticPageUpdateInput = z.infer<typeof AdminWebsiteStaticPageUpdateSchema>;
|
|
384
|
+
export type AdminWebsiteStaticPageDeleteParams = z.infer<typeof adminWebsiteStaticPageDeleteParamsSchema>;
|
|
385
|
+
export {};
|
|
@@ -14,3 +14,4 @@ exports.AdminWebsiteStaticPageParamsSchema = exports.AdminWebsiteStaticPageSelec
|
|
|
14
14
|
exports.AdminWebsiteStaticPageListQuerySchema = utils_1.ListQuerySchema;
|
|
15
15
|
exports.AdminWebsiteStaticPageUpdateParamsSchema = exports.AdminWebsiteStaticPageParamsSchema;
|
|
16
16
|
exports.adminWebsiteStaticPageDeleteParamsSchema = exports.AdminWebsiteStaticPageParamsSchema;
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/schema/admin/websiteStaticPages/index.ts"],"names":[],"mappings":";;;AAAA,6CAIoB;AACpB,qCAA8C;AAC9C,0CAAmE;AAGnE,eAAe;AAEF,QAAA,kCAAkC,GAC7C,IAAA,gCAAkB,EAAC,wBAAiB,CAAC,CAAA;AAC1B,QAAA,kCAAkC,GAC7C,IAAA,gCAAkB,EAAC,wBAAiB,CAAC,CAAA;AAC1B,QAAA,kCAAkC,GAC7C,IAAA,gCAAkB,EAAC,wBAAiB,CAAC,CAAA;AAE1B,QAAA,kCAAkC,GAC7C,0CAAkC,CAAC,IAAI,CAAC;IACtC,IAAI,EAAE,IAAI;CACX,CAAC,CAAA;AACS,QAAA,qCAAqC,GAAG,uBAAe,CAAA;AACvD,QAAA,wCAAwC,GACnD,0CAAkC,CAAA;AACvB,QAAA,wCAAwC,GACnD,0CAAkC,CAAA","sourcesContent":["import {\n createInsertSchema,\n createSelectSchema,\n createUpdateSchema\n} from 'drizzle-zod'\nimport { websiteStaticPage } from '../../core'\nimport { ListQuerySchema, type ListResponse } from '../../../utils'\nimport { z } from 'zod/v4'\n\n//// validators\n\nexport const AdminWebsiteStaticPageCreateSchema =\n createInsertSchema(websiteStaticPage)\nexport const AdminWebsiteStaticPageSelectSchema =\n createSelectSchema(websiteStaticPage)\nexport const AdminWebsiteStaticPageUpdateSchema =\n createUpdateSchema(websiteStaticPage)\n\nexport const AdminWebsiteStaticPageParamsSchema =\n AdminWebsiteStaticPageSelectSchema.pick({\n slug: true\n })\nexport const AdminWebsiteStaticPageListQuerySchema = ListQuerySchema\nexport const AdminWebsiteStaticPageUpdateParamsSchema =\n AdminWebsiteStaticPageParamsSchema\nexport const adminWebsiteStaticPageDeleteParamsSchema =\n AdminWebsiteStaticPageParamsSchema\n\n//// types\n\ntype AdminWebsiteStaticPage = z.infer<typeof AdminWebsiteStaticPageSelectSchema>\n\n// detail\nexport type AdminWebsiteStaticPageParams = z.infer<\n typeof AdminWebsiteStaticPageParamsSchema\n>\nexport type AdminWebsiteStaticPageResult = AdminWebsiteStaticPage\n\n// list\nexport type AdminWebsiteStaticPageListQuery = z.infer<\n typeof AdminWebsiteStaticPageListQuerySchema\n>\nexport type AdminWebsiteStaticPageListResult = ListResponse<\n z.infer<typeof AdminWebsiteStaticPageSelectSchema>\n>\n\n// create\nexport type AdminWebsiteStaticPageCreateInput = z.infer<\n typeof AdminWebsiteStaticPageCreateSchema\n>\nexport type AdminWebsiteStaticPageCreateResult = Pick<\n AdminWebsiteStaticPage,\n 'id'\n>\n\n// update\nexport type AdminWebsiteStaticPageUpdateParams = z.infer<\n typeof AdminWebsiteStaticPageUpdateParamsSchema\n>\nexport type AdminWebsiteStaticPageUpdateInput = z.infer<\n typeof AdminWebsiteStaticPageUpdateSchema\n>\n\n// delete\nexport type AdminWebsiteStaticPageDeleteParams = z.infer<\n typeof adminWebsiteStaticPageDeleteParamsSchema\n>\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { z } from 'zod/v4';
|
|
2
|
+
export declare const AuthOtpCreateSchema: z.ZodObject<{
|
|
3
|
+
email: z.ZodString;
|
|
4
|
+
}, {
|
|
5
|
+
out: {};
|
|
6
|
+
in: {};
|
|
7
|
+
}>;
|
|
8
|
+
export declare const AuthSignInCreateInputSchema: z.ZodObject<{
|
|
9
|
+
code: z.ZodString;
|
|
10
|
+
}, {
|
|
11
|
+
out: {};
|
|
12
|
+
in: {};
|
|
13
|
+
}>;
|
|
14
|
+
export type AuthOtpCreateInput = z.infer<typeof AuthOtpCreateSchema>;
|
|
15
|
+
export type AuthSignInCreateInput = z.infer<typeof AuthSignInCreateInputSchema>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/schema/auth/index.ts"],"names":[],"mappings":";;;AAAA,6CAAgD;AAChD,kCAAqC;AAGxB,QAAA,mBAAmB,GAAG,IAAA,gCAAkB,EAAC,aAAM,CAAC,CAAC,IAAI,CAAC;IACjE,KAAK,EAAE,IAAI;CACZ,CAAC,CAAA;AACW,QAAA,2BAA2B,GAAG,IAAA,gCAAkB,EAAC,UAAG,CAAC,CAAC,IAAI,CAAC;IACtE,IAAI,EAAE,IAAI;CACX,CAAC,CAAA","sourcesContent":["import { createInsertSchema } from 'drizzle-zod'\nimport { person, otp } from '../core'\nimport { z } from 'zod/v4'\n\nexport const AuthOtpCreateSchema = createInsertSchema(person).pick({\n email: true\n})\nexport const AuthSignInCreateInputSchema = createInsertSchema(otp).pick({\n code: true\n})\n\nexport type AuthOtpCreateInput = z.infer<typeof AuthOtpCreateSchema>\n\nexport type AuthSignInCreateInput = z.infer<typeof AuthSignInCreateInputSchema>\n"]}
|