@middlewr/contracts 0.0.6 → 0.0.8

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.
Files changed (55) hide show
  1. package/{cjs → dist/cjs}/common.schema.d.ts +4 -0
  2. package/dist/cjs/common.schema.d.ts.map +1 -0
  3. package/dist/cjs/domains.schema.d.ts +17 -0
  4. package/dist/cjs/domains.schema.d.ts.map +1 -0
  5. package/{esm → dist/cjs}/index.d.ts +233 -10
  6. package/dist/cjs/index.d.ts.map +1 -0
  7. package/{cjs → dist/cjs}/index.js +200 -140
  8. package/{cjs → dist/cjs}/links.schema.d.ts +24 -3
  9. package/dist/cjs/links.schema.d.ts.map +1 -0
  10. package/dist/cjs/tags.schema.d.ts.map +1 -0
  11. package/dist/cjs/users.schema.d.ts.map +1 -0
  12. package/{cjs → dist/cjs}/workspaces.schema.d.ts +12 -0
  13. package/dist/cjs/workspaces.schema.d.ts.map +1 -0
  14. package/{esm → dist/esm}/common.schema.d.ts +4 -0
  15. package/dist/esm/common.schema.d.ts.map +1 -0
  16. package/dist/esm/domains.schema.d.ts +17 -0
  17. package/dist/esm/domains.schema.d.ts.map +1 -0
  18. package/{cjs → dist/esm}/index.d.ts +233 -10
  19. package/dist/esm/index.d.ts.map +1 -0
  20. package/dist/esm/index.js +332 -0
  21. package/{esm → dist/esm}/links.schema.d.ts +24 -3
  22. package/dist/esm/links.schema.d.ts.map +1 -0
  23. package/dist/esm/tags.schema.d.ts.map +1 -0
  24. package/dist/esm/users.schema.d.ts.map +1 -0
  25. package/{esm → dist/esm}/workspaces.schema.d.ts +12 -0
  26. package/dist/esm/workspaces.schema.d.ts.map +1 -0
  27. package/package.json +20 -7
  28. package/scripts/build.sh +55 -0
  29. package/src/common.schema.ts +34 -0
  30. package/src/domains.schema.ts +32 -0
  31. package/src/index.ts +196 -0
  32. package/src/links.schema.ts +107 -0
  33. package/src/tags.schema.ts +27 -0
  34. package/src/users.schema.ts +22 -0
  35. package/src/workspaces.schema.ts +64 -0
  36. package/tsconfig.json +17 -0
  37. package/cjs/common.schema.d.ts.map +0 -1
  38. package/cjs/index.d.ts.map +0 -1
  39. package/cjs/links.schema.d.ts.map +0 -1
  40. package/cjs/tags.schema.d.ts.map +0 -1
  41. package/cjs/users.schema.d.ts.map +0 -1
  42. package/cjs/workspaces.schema.d.ts.map +0 -1
  43. package/esm/common.schema.d.ts.map +0 -1
  44. package/esm/index.d.ts.map +0 -1
  45. package/esm/index.js +0 -278
  46. package/esm/links.schema.d.ts.map +0 -1
  47. package/esm/tags.schema.d.ts.map +0 -1
  48. package/esm/users.schema.d.ts.map +0 -1
  49. package/esm/workspaces.schema.d.ts.map +0 -1
  50. /package/{cjs → dist/cjs}/package.json +0 -0
  51. /package/{cjs → dist/cjs}/tags.schema.d.ts +0 -0
  52. /package/{cjs → dist/cjs}/users.schema.d.ts +0 -0
  53. /package/{esm → dist/esm}/package.json +0 -0
  54. /package/{esm → dist/esm}/tags.schema.d.ts +0 -0
  55. /package/{esm → dist/esm}/users.schema.d.ts +0 -0
@@ -17,13 +17,16 @@ var __copyProps = (to, from, except, desc) => {
17
17
  };
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
- // src/contracts/index.ts
20
+ // src/index.ts
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
+ CreateDomainInputSchema: () => CreateDomainInputSchema,
23
24
  CreateInvitationInputSchema: () => CreateInvitationInputSchema,
24
25
  CreateLinkInputSchema: () => CreateLinkInputSchema,
25
26
  CreateTagInputSchema: () => CreateTagInputSchema,
26
27
  CreateWorkspaceInputSchema: () => CreateWorkspaceInputSchema,
28
+ DomainIdParamSchema: () => DomainIdParamSchema,
29
+ DomainSchema: () => DomainSchema,
27
30
  InvitationIdParamSchema: () => InvitationIdParamSchema,
28
31
  LinkFiltersSchema: () => LinkFiltersSchema,
29
32
  LinkIdParamSchema: () => LinkIdParamSchema,
@@ -35,6 +38,7 @@ __export(index_exports, {
35
38
  TagSchema: () => TagSchema,
36
39
  TokenParamSchema: () => TokenParamSchema,
37
40
  TransferOwnershipInputSchema: () => TransferOwnershipInputSchema,
41
+ UpdateDomainInputSchema: () => UpdateDomainInputSchema,
38
42
  UpdateLinkInputSchema: () => UpdateLinkInputSchema,
39
43
  UpdateMemberInputSchema: () => UpdateMemberInputSchema,
40
44
  UpdateTagInputSchema: () => UpdateTagInputSchema,
@@ -44,9 +48,11 @@ __export(index_exports, {
44
48
  WorkspaceIdParamSchema: () => WorkspaceIdParamSchema,
45
49
  WorkspaceInvitationSchema: () => WorkspaceInvitationSchema,
46
50
  WorkspaceMemberSchema: () => WorkspaceMemberSchema,
51
+ WorkspaceMemberUserSchema: () => WorkspaceMemberUserSchema,
47
52
  WorkspaceSchema: () => WorkspaceSchema,
48
53
  WorkspaceWithCountSchema: () => WorkspaceWithCountSchema,
49
54
  contract: () => contract,
55
+ domainsContract: () => domainsContract,
50
56
  invitationsContract: () => invitationsContract,
51
57
  linksContract: () => linksContract,
52
58
  tagsContract: () => tagsContract,
@@ -55,9 +61,9 @@ __export(index_exports, {
55
61
  });
56
62
  module.exports = __toCommonJS(index_exports);
57
63
  var import_contract = require("@orpc/contract");
58
- var import_zod6 = require("zod");
64
+ var import_zod7 = require("zod");
59
65
 
60
- // src/contracts/common.schema.ts
66
+ // src/common.schema.ts
61
67
  var import_zod = require("zod");
62
68
  var WorkspaceIdParamSchema = import_zod.z.object({
63
69
  workspace_id: import_zod.z.string().uuid()
@@ -78,92 +84,40 @@ var InvitationIdParamSchema = import_zod.z.object({
78
84
  workspace_id: import_zod.z.string().uuid(),
79
85
  invitation_id: import_zod.z.string().uuid()
80
86
  });
87
+ var DomainIdParamSchema = import_zod.z.object({
88
+ workspace_id: import_zod.z.string().uuid(),
89
+ domain_id: import_zod.z.string().uuid()
90
+ });
81
91
  var TokenParamSchema = import_zod.z.object({
82
92
  token: import_zod.z.string()
83
93
  });
84
94
 
85
- // src/contracts/links.schema.ts
95
+ // src/domains.schema.ts
86
96
  var import_zod2 = require("zod");
87
- var LinkSchema = import_zod2.z.object({
97
+ var DomainSchema = import_zod2.z.object({
88
98
  id: import_zod2.z.string().uuid(),
89
- workspace_id: import_zod2.z.string().uuid(),
90
- created_by_id: import_zod2.z.string().uuid(),
91
- original_url: import_zod2.z.string().url(),
92
- short_code: import_zod2.z.string(),
93
- title: import_zod2.z.string().nullable(),
94
- description: import_zod2.z.string().nullable(),
95
- utm_source: import_zod2.z.string().nullable(),
96
- utm_medium: import_zod2.z.string().nullable(),
97
- utm_campaign: import_zod2.z.string().nullable(),
98
- utm_term: import_zod2.z.string().nullable(),
99
- utm_content: import_zod2.z.string().nullable(),
100
- password: import_zod2.z.string().nullable(),
101
- starts_at: import_zod2.z.coerce.date().nullable(),
102
- expires_at: import_zod2.z.coerce.date().nullable(),
103
- is_active: import_zod2.z.boolean(),
104
- redirect_type: import_zod2.z.number().int(),
105
- click_count: import_zod2.z.number().int(),
106
- click_count_updated_at: import_zod2.z.coerce.date().nullable(),
99
+ workspace_id: import_zod2.z.string().uuid().nullable(),
100
+ created_by_id: import_zod2.z.string().uuid().nullable(),
101
+ domain: import_zod2.z.string(),
102
+ is_verified: import_zod2.z.boolean(),
107
103
  created_at: import_zod2.z.coerce.date(),
108
104
  updated_at: import_zod2.z.coerce.date().nullable()
109
105
  });
110
- var CreateLinkInputSchema = import_zod2.z.object({
111
- original_url: import_zod2.z.string().url().max(2048),
112
- short_code: import_zod2.z.string().min(3).max(50).regex(/^[a-zA-Z0-9-]+$/).optional(),
113
- title: import_zod2.z.string().max(255).optional(),
114
- description: import_zod2.z.string().max(2e3).optional(),
115
- utm_source: import_zod2.z.string().max(255).optional(),
116
- utm_medium: import_zod2.z.string().max(255).optional(),
117
- utm_campaign: import_zod2.z.string().max(255).optional(),
118
- utm_term: import_zod2.z.string().max(255).optional(),
119
- utm_content: import_zod2.z.string().max(255).optional(),
120
- password: import_zod2.z.string().min(4).max(100).optional(),
121
- starts_at: import_zod2.z.coerce.date().optional(),
122
- expires_at: import_zod2.z.coerce.date().optional(),
123
- redirect_type: import_zod2.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
124
- tag_ids: import_zod2.z.array(import_zod2.z.string().uuid()).optional()
125
- });
126
- var UpdateLinkInputSchema = import_zod2.z.object({
127
- original_url: import_zod2.z.string().url().max(2048).optional(),
128
- short_code: import_zod2.z.string().min(3).max(50).regex(/^[a-zA-Z0-9-]+$/).optional(),
129
- title: import_zod2.z.string().max(255).nullable().optional(),
130
- description: import_zod2.z.string().max(2e3).nullable().optional(),
131
- utm_source: import_zod2.z.string().max(255).nullable().optional(),
132
- utm_medium: import_zod2.z.string().max(255).nullable().optional(),
133
- utm_campaign: import_zod2.z.string().max(255).nullable().optional(),
134
- utm_term: import_zod2.z.string().max(255).nullable().optional(),
135
- utm_content: import_zod2.z.string().max(255).nullable().optional(),
136
- password: import_zod2.z.string().min(4).max(100).nullable().optional(),
137
- starts_at: import_zod2.z.coerce.date().nullable().optional(),
138
- expires_at: import_zod2.z.coerce.date().nullable().optional(),
139
- is_active: import_zod2.z.boolean().optional(),
140
- redirect_type: import_zod2.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
141
- tag_ids: import_zod2.z.array(import_zod2.z.string().uuid()).optional()
142
- });
143
- var LinkFiltersSchema = import_zod2.z.object({
144
- search: import_zod2.z.string().optional(),
145
- is_active: import_zod2.z.coerce.boolean().optional(),
146
- has_expiration: import_zod2.z.coerce.boolean().optional(),
147
- expired: import_zod2.z.coerce.boolean().optional(),
148
- created_from: import_zod2.z.coerce.date().optional(),
149
- created_to: import_zod2.z.coerce.date().optional(),
150
- expires_from: import_zod2.z.coerce.date().optional(),
151
- expires_to: import_zod2.z.coerce.date().optional(),
152
- tag_ids: import_zod2.z.array(import_zod2.z.string().uuid()).optional(),
153
- sort_by: import_zod2.z.enum(["created_at", "title", "click_count"]).default("created_at"),
154
- sort_order: import_zod2.z.enum(["asc", "desc"]).default("desc"),
155
- page: import_zod2.z.coerce.number().int().min(1).default(1),
156
- per_page: import_zod2.z.coerce.number().int().min(1).max(100).default(20)
157
- });
158
- var PaginatedLinksSchema = import_zod2.z.object({
159
- links: import_zod2.z.array(LinkSchema),
160
- total: import_zod2.z.number().int(),
161
- page: import_zod2.z.number().int(),
162
- per_page: import_zod2.z.number().int(),
163
- total_pages: import_zod2.z.number().int()
106
+ var CreateDomainInputSchema = import_zod2.z.object({
107
+ domain: import_zod2.z.string().min(1).max(253).regex(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, {
108
+ message: "Invalid domain format"
109
+ })
164
110
  });
111
+ var UpdateDomainInputSchema = import_zod2.z.object({
112
+ domain: import_zod2.z.string().min(1).max(253).regex(/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/, {
113
+ message: "Invalid domain format"
114
+ }).optional()
115
+ });
116
+
117
+ // src/links.schema.ts
118
+ var import_zod4 = require("zod");
165
119
 
166
- // src/contracts/tags.schema.ts
120
+ // src/tags.schema.ts
167
121
  var import_zod3 = require("zod");
168
122
  var TagSchema = import_zod3.z.object({
169
123
  id: import_zod3.z.string().uuid(),
@@ -182,95 +136,187 @@ var UpdateTagInputSchema = import_zod3.z.object({
182
136
  color: import_zod3.z.string().regex(/^#[0-9A-Fa-f]{6}$/).nullable().optional()
183
137
  });
184
138
 
185
- // src/contracts/users.schema.ts
186
- var import_zod4 = require("zod");
187
- var UserSchema = import_zod4.z.object({
139
+ // src/links.schema.ts
140
+ var LinkSchema = import_zod4.z.object({
188
141
  id: import_zod4.z.string().uuid(),
189
- external_id: import_zod4.z.string(),
190
- email: import_zod4.z.string().email(),
191
- email_verified_at: import_zod4.z.coerce.date().nullable(),
192
- first_name: import_zod4.z.string().nullable(),
193
- last_name: import_zod4.z.string().nullable(),
142
+ workspace_id: import_zod4.z.string().uuid(),
143
+ domain_id: import_zod4.z.string().uuid(),
144
+ created_by_id: import_zod4.z.string().uuid(),
145
+ original_url: import_zod4.z.string().url(),
146
+ short_code: import_zod4.z.string(),
147
+ title: import_zod4.z.string().nullable(),
148
+ description: import_zod4.z.string().nullable(),
149
+ utm_source: import_zod4.z.string().nullable(),
150
+ utm_medium: import_zod4.z.string().nullable(),
151
+ utm_campaign: import_zod4.z.string().nullable(),
152
+ utm_term: import_zod4.z.string().nullable(),
153
+ utm_content: import_zod4.z.string().nullable(),
154
+ password: import_zod4.z.string().nullable(),
155
+ starts_at: import_zod4.z.coerce.date().nullable(),
156
+ expires_at: import_zod4.z.coerce.date().nullable(),
157
+ is_active: import_zod4.z.boolean(),
158
+ redirect_type: import_zod4.z.number().int(),
159
+ click_count: import_zod4.z.coerce.number().int(),
160
+ click_count_updated_at: import_zod4.z.coerce.date().nullable(),
194
161
  created_at: import_zod4.z.coerce.date(),
195
- updated_at: import_zod4.z.coerce.date().nullable()
162
+ updated_at: import_zod4.z.coerce.date().nullable(),
163
+ tags: import_zod4.z.array(TagSchema)
164
+ });
165
+ var CreateLinkInputSchema = import_zod4.z.object({
166
+ original_url: import_zod4.z.string().url().max(2048),
167
+ domain_id: import_zod4.z.string().uuid().optional(),
168
+ short_code: import_zod4.z.string().min(3).max(50).regex(/^[a-zA-Z0-9-]+$/).optional(),
169
+ title: import_zod4.z.string().max(255).optional(),
170
+ description: import_zod4.z.string().max(2e3).optional(),
171
+ utm_source: import_zod4.z.string().max(255).optional(),
172
+ utm_medium: import_zod4.z.string().max(255).optional(),
173
+ utm_campaign: import_zod4.z.string().max(255).optional(),
174
+ utm_term: import_zod4.z.string().max(255).optional(),
175
+ utm_content: import_zod4.z.string().max(255).optional(),
176
+ password: import_zod4.z.string().min(4).max(100).optional(),
177
+ starts_at: import_zod4.z.coerce.date().optional(),
178
+ expires_at: import_zod4.z.coerce.date().optional(),
179
+ redirect_type: import_zod4.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
180
+ tag_ids: import_zod4.z.array(import_zod4.z.string().uuid()).optional()
181
+ });
182
+ var UpdateLinkInputSchema = import_zod4.z.object({
183
+ original_url: import_zod4.z.string().url().max(2048).optional(),
184
+ domain_id: import_zod4.z.string().uuid().optional(),
185
+ short_code: import_zod4.z.string().min(3).max(50).regex(/^[a-zA-Z0-9-]+$/).optional(),
186
+ title: import_zod4.z.string().max(255).nullable().optional(),
187
+ description: import_zod4.z.string().max(2e3).nullable().optional(),
188
+ utm_source: import_zod4.z.string().max(255).nullable().optional(),
189
+ utm_medium: import_zod4.z.string().max(255).nullable().optional(),
190
+ utm_campaign: import_zod4.z.string().max(255).nullable().optional(),
191
+ utm_term: import_zod4.z.string().max(255).nullable().optional(),
192
+ utm_content: import_zod4.z.string().max(255).nullable().optional(),
193
+ password: import_zod4.z.string().min(4).max(100).nullable().optional(),
194
+ starts_at: import_zod4.z.coerce.date().nullable().optional(),
195
+ expires_at: import_zod4.z.coerce.date().nullable().optional(),
196
+ is_active: import_zod4.z.boolean().optional(),
197
+ redirect_type: import_zod4.z.coerce.number().refine((v) => [301, 302, 307, 308].includes(v)).optional(),
198
+ tag_ids: import_zod4.z.array(import_zod4.z.string().uuid()).optional()
196
199
  });
197
- var SignInInputSchema = import_zod4.z.object({
198
- first_name: import_zod4.z.string().min(1).max(100).optional(),
199
- last_name: import_zod4.z.string().min(1).max(100).optional()
200
+ var LinkFiltersSchema = import_zod4.z.object({
201
+ search: import_zod4.z.string().optional(),
202
+ domain_id: import_zod4.z.string().uuid().optional(),
203
+ is_active: import_zod4.z.coerce.boolean().optional(),
204
+ has_expiration: import_zod4.z.coerce.boolean().optional(),
205
+ expired: import_zod4.z.coerce.boolean().optional(),
206
+ created_from: import_zod4.z.coerce.date().optional(),
207
+ created_to: import_zod4.z.coerce.date().optional(),
208
+ expires_from: import_zod4.z.coerce.date().optional(),
209
+ expires_to: import_zod4.z.coerce.date().optional(),
210
+ tag_ids: import_zod4.z.array(import_zod4.z.string().uuid()).optional(),
211
+ sort_by: import_zod4.z.enum(["created_at", "title", "click_count"]).default("created_at"),
212
+ sort_order: import_zod4.z.enum(["asc", "desc"]).default("desc"),
213
+ page: import_zod4.z.coerce.number().int().min(1).default(1),
214
+ per_page: import_zod4.z.coerce.number().int().min(1).max(100).default(20)
200
215
  });
201
- var UpdateUserInputSchema = import_zod4.z.object({
202
- first_name: import_zod4.z.string().min(1).max(100).optional(),
203
- last_name: import_zod4.z.string().min(1).max(100).optional()
216
+ var PaginatedLinksSchema = import_zod4.z.object({
217
+ links: import_zod4.z.array(LinkSchema),
218
+ total: import_zod4.z.number().int(),
219
+ page: import_zod4.z.number().int(),
220
+ per_page: import_zod4.z.number().int(),
221
+ total_pages: import_zod4.z.number().int()
204
222
  });
205
223
 
206
- // src/contracts/workspaces.schema.ts
224
+ // src/users.schema.ts
207
225
  var import_zod5 = require("zod");
208
- var WorkspaceSchema = import_zod5.z.object({
226
+ var UserSchema = import_zod5.z.object({
209
227
  id: import_zod5.z.string().uuid(),
210
- name: import_zod5.z.string(),
228
+ external_id: import_zod5.z.string(),
229
+ email: import_zod5.z.string().email(),
230
+ email_verified_at: import_zod5.z.coerce.date().nullable(),
231
+ first_name: import_zod5.z.string().nullable(),
232
+ last_name: import_zod5.z.string().nullable(),
211
233
  created_at: import_zod5.z.coerce.date(),
212
234
  updated_at: import_zod5.z.coerce.date().nullable()
213
235
  });
236
+ var SignInInputSchema = import_zod5.z.object({
237
+ first_name: import_zod5.z.string().min(1).max(100).optional(),
238
+ last_name: import_zod5.z.string().min(1).max(100).optional()
239
+ });
240
+ var UpdateUserInputSchema = import_zod5.z.object({
241
+ first_name: import_zod5.z.string().min(1).max(100).optional(),
242
+ last_name: import_zod5.z.string().min(1).max(100).optional()
243
+ });
244
+
245
+ // src/workspaces.schema.ts
246
+ var import_zod6 = require("zod");
247
+ var WorkspaceSchema = import_zod6.z.object({
248
+ id: import_zod6.z.string().uuid(),
249
+ name: import_zod6.z.string(),
250
+ created_at: import_zod6.z.coerce.date(),
251
+ updated_at: import_zod6.z.coerce.date().nullable()
252
+ });
214
253
  var WorkspaceWithCountSchema = WorkspaceSchema.extend({
215
- member_count: import_zod5.z.number().int()
254
+ member_count: import_zod6.z.number().int()
216
255
  });
217
- var CreateWorkspaceInputSchema = import_zod5.z.object({
218
- name: import_zod5.z.string().min(1).max(100)
256
+ var CreateWorkspaceInputSchema = import_zod6.z.object({
257
+ name: import_zod6.z.string().min(1).max(100)
219
258
  });
220
- var UpdateWorkspaceInputSchema = import_zod5.z.object({
221
- name: import_zod5.z.string().min(1).max(100).optional()
259
+ var UpdateWorkspaceInputSchema = import_zod6.z.object({
260
+ name: import_zod6.z.string().min(1).max(100).optional()
222
261
  });
223
- var TransferOwnershipInputSchema = import_zod5.z.object({
224
- to_user_id: import_zod5.z.string().uuid()
262
+ var TransferOwnershipInputSchema = import_zod6.z.object({
263
+ to_user_id: import_zod6.z.string().uuid()
225
264
  });
226
- var WorkspaceMemberSchema = import_zod5.z.object({
227
- id: import_zod5.z.string().uuid(),
228
- workspace_id: import_zod5.z.string().uuid(),
229
- user_id: import_zod5.z.string().uuid(),
230
- permissions: import_zod5.z.number().int(),
231
- joined_at: import_zod5.z.coerce.date(),
232
- created_at: import_zod5.z.coerce.date(),
233
- updated_at: import_zod5.z.coerce.date().nullable()
265
+ var WorkspaceMemberUserSchema = import_zod6.z.object({
266
+ id: import_zod6.z.string().uuid(),
267
+ email: import_zod6.z.string().email(),
268
+ first_name: import_zod6.z.string().nullable(),
269
+ last_name: import_zod6.z.string().nullable()
234
270
  });
235
- var UpdateMemberInputSchema = import_zod5.z.object({
236
- permissions: import_zod5.z.number().int().min(1)
271
+ var WorkspaceMemberSchema = import_zod6.z.object({
272
+ id: import_zod6.z.string().uuid(),
273
+ workspace_id: import_zod6.z.string().uuid(),
274
+ user_id: import_zod6.z.string().uuid(),
275
+ user: WorkspaceMemberUserSchema,
276
+ permissions: import_zod6.z.number().int(),
277
+ joined_at: import_zod6.z.coerce.date(),
278
+ created_at: import_zod6.z.coerce.date(),
279
+ updated_at: import_zod6.z.coerce.date().nullable()
237
280
  });
238
- var WorkspaceInvitationSchema = import_zod5.z.object({
239
- id: import_zod5.z.string().uuid(),
240
- workspace_id: import_zod5.z.string().uuid(),
241
- email: import_zod5.z.string().email(),
242
- token: import_zod5.z.string(),
243
- permissions: import_zod5.z.number().int(),
244
- invited_by_id: import_zod5.z.string().uuid(),
245
- expires_at: import_zod5.z.coerce.date(),
246
- created_at: import_zod5.z.coerce.date()
281
+ var UpdateMemberInputSchema = import_zod6.z.object({
282
+ permissions: import_zod6.z.number().int().min(1)
247
283
  });
248
- var CreateInvitationInputSchema = import_zod5.z.object({
249
- email: import_zod5.z.string().email(),
250
- permissions: import_zod5.z.number().int().min(1)
284
+ var WorkspaceInvitationSchema = import_zod6.z.object({
285
+ id: import_zod6.z.string().uuid(),
286
+ workspace_id: import_zod6.z.string().uuid(),
287
+ email: import_zod6.z.string().email(),
288
+ token: import_zod6.z.string(),
289
+ permissions: import_zod6.z.number().int(),
290
+ invited_by_id: import_zod6.z.string().uuid(),
291
+ expires_at: import_zod6.z.coerce.date(),
292
+ created_at: import_zod6.z.coerce.date()
293
+ });
294
+ var CreateInvitationInputSchema = import_zod6.z.object({
295
+ email: import_zod6.z.string().email(),
296
+ permissions: import_zod6.z.number().int().min(1)
251
297
  });
252
298
 
253
- // src/contracts/index.ts
299
+ // src/index.ts
254
300
  var usersContract = {
255
- me: import_contract.oc.route({ method: "GET", path: "/api/users/me" }).output(import_zod6.z.object({ user: UserSchema })),
256
- signIn: import_contract.oc.route({ method: "POST", path: "/api/users" }).input(SignInInputSchema).output(import_zod6.z.object({ user: UserSchema, status: import_zod6.z.enum(["created", "existing"]) })),
257
- update: import_contract.oc.route({ method: "PATCH", path: "/api/users/me" }).input(UpdateUserInputSchema).output(import_zod6.z.object({ user: UserSchema }))
301
+ me: import_contract.oc.route({ method: "GET", path: "/api/users/me" }).output(import_zod7.z.object({ user: UserSchema })),
302
+ signIn: import_contract.oc.route({ method: "POST", path: "/api/users" }).input(SignInInputSchema).output(import_zod7.z.object({ user: UserSchema, status: import_zod7.z.enum(["created", "existing"]) })),
303
+ update: import_contract.oc.route({ method: "PATCH", path: "/api/users/me" }).input(UpdateUserInputSchema).output(import_zod7.z.object({ user: UserSchema }))
258
304
  };
259
305
  var workspacesContract = {
260
306
  create: import_contract.oc.route({ method: "POST", path: "/api/workspaces" }).input(CreateWorkspaceInputSchema).output(WorkspaceSchema),
261
- list: import_contract.oc.route({ method: "GET", path: "/api/workspaces" }).output(import_zod6.z.array(WorkspaceWithCountSchema)),
307
+ list: import_contract.oc.route({ method: "GET", path: "/api/workspaces" }).output(import_zod7.z.array(WorkspaceWithCountSchema)),
262
308
  get: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}" }).input(WorkspaceIdParamSchema).output(WorkspaceWithCountSchema),
263
309
  update: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}" }).input(WorkspaceIdParamSchema.merge(UpdateWorkspaceInputSchema)).output(WorkspaceSchema),
264
- delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}" }).input(WorkspaceIdParamSchema).output(import_zod6.z.void()),
265
- transfer: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/transfer" }).input(WorkspaceIdParamSchema.merge(TransferOwnershipInputSchema)).output(import_zod6.z.void()),
310
+ delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}" }).input(WorkspaceIdParamSchema).output(import_zod7.z.void()),
311
+ transfer: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/transfer" }).input(WorkspaceIdParamSchema.merge(TransferOwnershipInputSchema)).output(import_zod7.z.void()),
266
312
  // Members
267
- listMembers: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/members" }).input(WorkspaceIdParamSchema).output(import_zod6.z.array(WorkspaceMemberSchema)),
313
+ listMembers: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/members" }).input(WorkspaceIdParamSchema).output(import_zod7.z.array(WorkspaceMemberSchema)),
268
314
  updateMember: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/members/{user_id}" }).input(MemberIdParamSchema.merge(UpdateMemberInputSchema)).output(WorkspaceMemberSchema),
269
- removeMember: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/members/{user_id}" }).input(MemberIdParamSchema).output(import_zod6.z.void()),
315
+ removeMember: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/members/{user_id}" }).input(MemberIdParamSchema).output(import_zod7.z.void()),
270
316
  // Invitations
271
- listInvitations: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/invitations" }).input(WorkspaceIdParamSchema).output(import_zod6.z.array(WorkspaceInvitationSchema)),
317
+ listInvitations: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/invitations" }).input(WorkspaceIdParamSchema).output(import_zod7.z.array(WorkspaceInvitationSchema)),
272
318
  createInvitation: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/invitations" }).input(WorkspaceIdParamSchema.merge(CreateInvitationInputSchema)).output(WorkspaceInvitationSchema),
273
- revokeInvitation: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/invitations/{invitation_id}" }).input(InvitationIdParamSchema).output(import_zod6.z.void())
319
+ revokeInvitation: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/invitations/{invitation_id}" }).input(InvitationIdParamSchema).output(import_zod7.z.void())
274
320
  };
275
321
  var invitationsContract = {
276
322
  get: import_contract.oc.route({ method: "GET", path: "/api/invitations/{token}" }).input(TokenParamSchema).output(WorkspaceInvitationSchema),
@@ -281,28 +327,39 @@ var linksContract = {
281
327
  list: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links" }).input(WorkspaceIdParamSchema.merge(LinkFiltersSchema)).output(PaginatedLinksSchema),
282
328
  get: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(LinkSchema),
283
329
  update: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema.merge(UpdateLinkInputSchema)).output(LinkSchema),
284
- delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(import_zod6.z.void())
330
+ delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/links/{link_id}" }).input(LinkIdParamSchema).output(import_zod7.z.void())
285
331
  };
286
332
  var tagsContract = {
287
333
  create: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/tags" }).input(WorkspaceIdParamSchema.merge(CreateTagInputSchema)).output(TagSchema),
288
- list: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/tags" }).input(WorkspaceIdParamSchema).output(import_zod6.z.array(TagSchema)),
334
+ list: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/tags" }).input(WorkspaceIdParamSchema).output(import_zod7.z.array(TagSchema)),
289
335
  get: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/tags/{tag_id}" }).input(TagIdParamSchema).output(TagSchema),
290
336
  update: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/tags/{tag_id}" }).input(TagIdParamSchema.merge(UpdateTagInputSchema)).output(TagSchema),
291
- delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/tags/{tag_id}" }).input(TagIdParamSchema).output(import_zod6.z.void())
337
+ delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/tags/{tag_id}" }).input(TagIdParamSchema).output(import_zod7.z.void())
338
+ };
339
+ var domainsContract = {
340
+ create: import_contract.oc.route({ method: "POST", path: "/api/workspaces/{workspace_id}/domains" }).input(WorkspaceIdParamSchema.merge(CreateDomainInputSchema)).output(DomainSchema),
341
+ list: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/domains" }).input(WorkspaceIdParamSchema).output(import_zod7.z.array(DomainSchema)),
342
+ get: import_contract.oc.route({ method: "GET", path: "/api/workspaces/{workspace_id}/domains/{domain_id}" }).input(DomainIdParamSchema).output(DomainSchema),
343
+ update: import_contract.oc.route({ method: "PATCH", path: "/api/workspaces/{workspace_id}/domains/{domain_id}" }).input(DomainIdParamSchema.merge(UpdateDomainInputSchema)).output(DomainSchema),
344
+ delete: import_contract.oc.route({ method: "DELETE", path: "/api/workspaces/{workspace_id}/domains/{domain_id}" }).input(DomainIdParamSchema).output(import_zod7.z.void())
292
345
  };
293
346
  var contract = {
294
347
  users: usersContract,
295
348
  workspaces: workspacesContract,
296
349
  invitations: invitationsContract,
297
350
  links: linksContract,
298
- tags: tagsContract
351
+ tags: tagsContract,
352
+ domains: domainsContract
299
353
  };
300
354
  // Annotate the CommonJS export names for ESM import in node:
301
355
  0 && (module.exports = {
356
+ CreateDomainInputSchema,
302
357
  CreateInvitationInputSchema,
303
358
  CreateLinkInputSchema,
304
359
  CreateTagInputSchema,
305
360
  CreateWorkspaceInputSchema,
361
+ DomainIdParamSchema,
362
+ DomainSchema,
306
363
  InvitationIdParamSchema,
307
364
  LinkFiltersSchema,
308
365
  LinkIdParamSchema,
@@ -314,6 +371,7 @@ var contract = {
314
371
  TagSchema,
315
372
  TokenParamSchema,
316
373
  TransferOwnershipInputSchema,
374
+ UpdateDomainInputSchema,
317
375
  UpdateLinkInputSchema,
318
376
  UpdateMemberInputSchema,
319
377
  UpdateTagInputSchema,
@@ -323,9 +381,11 @@ var contract = {
323
381
  WorkspaceIdParamSchema,
324
382
  WorkspaceInvitationSchema,
325
383
  WorkspaceMemberSchema,
384
+ WorkspaceMemberUserSchema,
326
385
  WorkspaceSchema,
327
386
  WorkspaceWithCountSchema,
328
387
  contract,
388
+ domainsContract,
329
389
  invitationsContract,
330
390
  linksContract,
331
391
  tagsContract,
@@ -2,6 +2,7 @@ import { z } from 'zod';
2
2
  export declare const LinkSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  workspace_id: z.ZodString;
5
+ domain_id: z.ZodString;
5
6
  created_by_id: z.ZodString;
6
7
  original_url: z.ZodString;
7
8
  short_code: z.ZodString;
@@ -17,13 +18,22 @@ export declare const LinkSchema: z.ZodObject<{
17
18
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
18
19
  is_active: z.ZodBoolean;
19
20
  redirect_type: z.ZodNumber;
20
- click_count: z.ZodNumber;
21
+ click_count: z.ZodCoercedNumber<unknown>;
21
22
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
22
23
  created_at: z.ZodCoercedDate<unknown>;
23
24
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
25
+ tags: z.ZodArray<z.ZodObject<{
26
+ id: z.ZodString;
27
+ workspace_id: z.ZodString;
28
+ name: z.ZodString;
29
+ color: z.ZodNullable<z.ZodString>;
30
+ created_at: z.ZodCoercedDate<unknown>;
31
+ updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
32
+ }, z.core.$strip>>;
24
33
  }, z.core.$strip>;
25
34
  export declare const CreateLinkInputSchema: z.ZodObject<{
26
35
  original_url: z.ZodString;
36
+ domain_id: z.ZodOptional<z.ZodString>;
27
37
  short_code: z.ZodOptional<z.ZodString>;
28
38
  title: z.ZodOptional<z.ZodString>;
29
39
  description: z.ZodOptional<z.ZodString>;
@@ -40,6 +50,7 @@ export declare const CreateLinkInputSchema: z.ZodObject<{
40
50
  }, z.core.$strip>;
41
51
  export declare const UpdateLinkInputSchema: z.ZodObject<{
42
52
  original_url: z.ZodOptional<z.ZodString>;
53
+ domain_id: z.ZodOptional<z.ZodString>;
43
54
  short_code: z.ZodOptional<z.ZodString>;
44
55
  title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
56
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -57,6 +68,7 @@ export declare const UpdateLinkInputSchema: z.ZodObject<{
57
68
  }, z.core.$strip>;
58
69
  export declare const LinkFiltersSchema: z.ZodObject<{
59
70
  search: z.ZodOptional<z.ZodString>;
71
+ domain_id: z.ZodOptional<z.ZodString>;
60
72
  is_active: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
61
73
  has_expiration: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
62
74
  expired: z.ZodOptional<z.ZodCoercedBoolean<unknown>>;
@@ -66,9 +78,9 @@ export declare const LinkFiltersSchema: z.ZodObject<{
66
78
  expires_to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
67
79
  tag_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
80
  sort_by: z.ZodDefault<z.ZodEnum<{
81
+ created_at: "created_at";
69
82
  title: "title";
70
83
  click_count: "click_count";
71
- created_at: "created_at";
72
84
  }>>;
73
85
  sort_order: z.ZodDefault<z.ZodEnum<{
74
86
  asc: "asc";
@@ -81,6 +93,7 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
81
93
  links: z.ZodArray<z.ZodObject<{
82
94
  id: z.ZodString;
83
95
  workspace_id: z.ZodString;
96
+ domain_id: z.ZodString;
84
97
  created_by_id: z.ZodString;
85
98
  original_url: z.ZodString;
86
99
  short_code: z.ZodString;
@@ -96,10 +109,18 @@ export declare const PaginatedLinksSchema: z.ZodObject<{
96
109
  expires_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
97
110
  is_active: z.ZodBoolean;
98
111
  redirect_type: z.ZodNumber;
99
- click_count: z.ZodNumber;
112
+ click_count: z.ZodCoercedNumber<unknown>;
100
113
  click_count_updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
101
114
  created_at: z.ZodCoercedDate<unknown>;
102
115
  updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
116
+ tags: z.ZodArray<z.ZodObject<{
117
+ id: z.ZodString;
118
+ workspace_id: z.ZodString;
119
+ name: z.ZodString;
120
+ color: z.ZodNullable<z.ZodString>;
121
+ created_at: z.ZodCoercedDate<unknown>;
122
+ updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
123
+ }, z.core.$strip>>;
103
124
  }, z.core.$strip>>;
104
125
  total: z.ZodNumber;
105
126
  page: z.ZodNumber;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.schema.d.ts","sourceRoot":"","sources":["../../src/links.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAwBrB,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;iBAwBhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;iBAyBhC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;iBAe5B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAM/B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tags.schema.d.ts","sourceRoot":"","sources":["../../src/tags.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,SAAS;;;;;;;iBAOpB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAM/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;iBAO/B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"users.schema.d.ts","sourceRoot":"","sources":["../../src/users.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,UAAU;;;;;;;;;iBASrB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;iBAGhC,CAAC"}
@@ -21,10 +21,22 @@ export declare const UpdateWorkspaceInputSchema: z.ZodObject<{
21
21
  export declare const TransferOwnershipInputSchema: z.ZodObject<{
22
22
  to_user_id: z.ZodString;
23
23
  }, z.core.$strip>;
24
+ export declare const WorkspaceMemberUserSchema: z.ZodObject<{
25
+ id: z.ZodString;
26
+ email: z.ZodString;
27
+ first_name: z.ZodNullable<z.ZodString>;
28
+ last_name: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$strip>;
24
30
  export declare const WorkspaceMemberSchema: z.ZodObject<{
25
31
  id: z.ZodString;
26
32
  workspace_id: z.ZodString;
27
33
  user_id: z.ZodString;
34
+ user: z.ZodObject<{
35
+ id: z.ZodString;
36
+ email: z.ZodString;
37
+ first_name: z.ZodNullable<z.ZodString>;
38
+ last_name: z.ZodNullable<z.ZodString>;
39
+ }, z.core.$strip>;
28
40
  permissions: z.ZodNumber;
29
41
  joined_at: z.ZodCoercedDate<unknown>;
30
42
  created_at: z.ZodCoercedDate<unknown>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"workspaces.schema.d.ts","sourceRoot":"","sources":["../../src/workspaces.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;iBAK1B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;iBAEnC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;AAEH,eAAO,MAAM,0BAA0B;;iBAErC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;iBAEvC,CAAC;AAGH,eAAO,MAAM,yBAAyB;;;;;iBAKpC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;iBAShC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAGH,eAAO,MAAM,yBAAyB;;;;;;;;;iBASpC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC"}
@@ -18,6 +18,10 @@ export declare const InvitationIdParamSchema: z.ZodObject<{
18
18
  workspace_id: z.ZodString;
19
19
  invitation_id: z.ZodString;
20
20
  }, z.core.$strip>;
21
+ export declare const DomainIdParamSchema: z.ZodObject<{
22
+ workspace_id: z.ZodString;
23
+ domain_id: z.ZodString;
24
+ }, z.core.$strip>;
21
25
  export declare const TokenParamSchema: z.ZodObject<{
22
26
  token: z.ZodString;
23
27
  }, z.core.$strip>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.schema.d.ts","sourceRoot":"","sources":["../../src/common.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;iBAG5B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;iBAG3B,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;iBAGlC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;iBAG9B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;iBAE3B,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { z } from 'zod';
2
+ export declare const DomainSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ workspace_id: z.ZodNullable<z.ZodString>;
5
+ created_by_id: z.ZodNullable<z.ZodString>;
6
+ domain: z.ZodString;
7
+ is_verified: z.ZodBoolean;
8
+ created_at: z.ZodCoercedDate<unknown>;
9
+ updated_at: z.ZodNullable<z.ZodCoercedDate<unknown>>;
10
+ }, z.core.$strip>;
11
+ export declare const CreateDomainInputSchema: z.ZodObject<{
12
+ domain: z.ZodString;
13
+ }, z.core.$strip>;
14
+ export declare const UpdateDomainInputSchema: z.ZodObject<{
15
+ domain: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ //# sourceMappingURL=domains.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"domains.schema.d.ts","sourceRoot":"","sources":["../../src/domains.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;iBAQvB,CAAC;AAEH,eAAO,MAAM,uBAAuB;;iBAQlC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;iBASlC,CAAC"}