@m5kdev/commons 0.40.1 → 0.40.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.
@@ -189,15 +189,15 @@ declare const billingAdminListInputSchema: z.ZodObject<{
189
189
  string: "string";
190
190
  number: "number";
191
191
  boolean: "boolean";
192
- enum: "enum";
193
192
  date: "date";
193
+ enum: "enum";
194
194
  jsonArray: "jsonArray";
195
195
  }>;
196
196
  method: z.ZodEnum<{
197
- starts_with: "starts_with";
198
- ends_with: "ends_with";
199
197
  contains: "contains";
200
198
  equals: "equals";
199
+ starts_with: "starts_with";
200
+ ends_with: "ends_with";
201
201
  greater_than: "greater_than";
202
202
  less_than: "less_than";
203
203
  on: "on";
@@ -189,15 +189,15 @@ declare const billingAdminListInputSchema: z.ZodObject<{
189
189
  string: "string";
190
190
  number: "number";
191
191
  boolean: "boolean";
192
- enum: "enum";
193
192
  date: "date";
193
+ enum: "enum";
194
194
  jsonArray: "jsonArray";
195
195
  }>;
196
196
  method: z.ZodEnum<{
197
- starts_with: "starts_with";
198
- ends_with: "ends_with";
199
197
  contains: "contains";
200
198
  equals: "equals";
199
+ starts_with: "starts_with";
200
+ ends_with: "ends_with";
201
201
  greater_than: "greater_than";
202
202
  less_than: "less_than";
203
203
  on: "on";
@@ -87,10 +87,10 @@ declare const notificationVapidPublicKeyOutputSchema: z.ZodObject<{
87
87
  publicKey: z.ZodString;
88
88
  }, z.core.$strip>;
89
89
  declare const notificationChannelSchema: z.ZodEnum<{
90
- email: "email";
91
90
  "in-app": "in-app";
92
91
  "web-push": "web-push";
93
92
  "mobile-push": "mobile-push";
93
+ email: "email";
94
94
  }>;
95
95
  declare const notificationSendLogSelectSchema: z.ZodObject<{
96
96
  id: z.ZodString;
@@ -99,10 +99,10 @@ declare const notificationSendLogSelectSchema: z.ZodObject<{
99
99
  userId: z.ZodString;
100
100
  deviceId: z.ZodNullable<z.ZodString>;
101
101
  channel: z.ZodEnum<{
102
- email: "email";
103
102
  "in-app": "in-app";
104
103
  "web-push": "web-push";
105
104
  "mobile-push": "mobile-push";
105
+ email: "email";
106
106
  }>;
107
107
  provider: z.ZodNullable<z.ZodEnum<{
108
108
  web: "web";
@@ -133,10 +133,10 @@ declare const notificationListSendLogsOutputSchema: z.ZodArray<z.ZodObject<{
133
133
  userId: z.ZodString;
134
134
  deviceId: z.ZodNullable<z.ZodString>;
135
135
  channel: z.ZodEnum<{
136
- email: "email";
137
136
  "in-app": "in-app";
138
137
  "web-push": "web-push";
139
138
  "mobile-push": "mobile-push";
139
+ email: "email";
140
140
  }>;
141
141
  provider: z.ZodNullable<z.ZodEnum<{
142
142
  web: "web";
@@ -203,10 +203,10 @@ declare const notificationSendTestOutputSchema: z.ZodObject<{
203
203
  }, z.core.$strip>;
204
204
  declare const notificationKindPreferenceChannelSchema: z.ZodObject<{
205
205
  channel: z.ZodEnum<{
206
- email: "email";
207
206
  "in-app": "in-app";
208
207
  "web-push": "web-push";
209
208
  "mobile-push": "mobile-push";
209
+ email: "email";
210
210
  }>;
211
211
  enabled: z.ZodBoolean;
212
212
  }, z.core.$strip>;
@@ -214,10 +214,10 @@ declare const notificationKindPreferenceSchema: z.ZodObject<{
214
214
  kind: z.ZodString;
215
215
  channels: z.ZodArray<z.ZodObject<{
216
216
  channel: z.ZodEnum<{
217
- email: "email";
218
217
  "in-app": "in-app";
219
218
  "web-push": "web-push";
220
219
  "mobile-push": "mobile-push";
220
+ email: "email";
221
221
  }>;
222
222
  enabled: z.ZodBoolean;
223
223
  }, z.core.$strip>>;
@@ -226,10 +226,10 @@ declare const notificationListPreferencesOutputSchema: z.ZodArray<z.ZodObject<{
226
226
  kind: z.ZodString;
227
227
  channels: z.ZodArray<z.ZodObject<{
228
228
  channel: z.ZodEnum<{
229
- email: "email";
230
229
  "in-app": "in-app";
231
230
  "web-push": "web-push";
232
231
  "mobile-push": "mobile-push";
232
+ email: "email";
233
233
  }>;
234
234
  enabled: z.ZodBoolean;
235
235
  }, z.core.$strip>>;
@@ -237,10 +237,10 @@ declare const notificationListPreferencesOutputSchema: z.ZodArray<z.ZodObject<{
237
237
  declare const notificationSetPreferenceInputSchema: z.ZodObject<{
238
238
  kind: z.ZodString;
239
239
  channel: z.ZodEnum<{
240
- email: "email";
241
240
  "in-app": "in-app";
242
241
  "web-push": "web-push";
243
242
  "mobile-push": "mobile-push";
243
+ email: "email";
244
244
  }>;
245
245
  enabled: z.ZodBoolean;
246
246
  }, z.core.$strip>;
@@ -248,10 +248,10 @@ declare const notificationSetPreferenceOutputSchema: z.ZodObject<{
248
248
  kind: z.ZodString;
249
249
  channels: z.ZodArray<z.ZodObject<{
250
250
  channel: z.ZodEnum<{
251
- email: "email";
252
251
  "in-app": "in-app";
253
252
  "web-push": "web-push";
254
253
  "mobile-push": "mobile-push";
254
+ email: "email";
255
255
  }>;
256
256
  enabled: z.ZodBoolean;
257
257
  }, z.core.$strip>>;
@@ -87,10 +87,10 @@ declare const notificationVapidPublicKeyOutputSchema: z.ZodObject<{
87
87
  publicKey: z.ZodString;
88
88
  }, z.core.$strip>;
89
89
  declare const notificationChannelSchema: z.ZodEnum<{
90
- email: "email";
91
90
  "in-app": "in-app";
92
91
  "web-push": "web-push";
93
92
  "mobile-push": "mobile-push";
93
+ email: "email";
94
94
  }>;
95
95
  declare const notificationSendLogSelectSchema: z.ZodObject<{
96
96
  id: z.ZodString;
@@ -99,10 +99,10 @@ declare const notificationSendLogSelectSchema: z.ZodObject<{
99
99
  userId: z.ZodString;
100
100
  deviceId: z.ZodNullable<z.ZodString>;
101
101
  channel: z.ZodEnum<{
102
- email: "email";
103
102
  "in-app": "in-app";
104
103
  "web-push": "web-push";
105
104
  "mobile-push": "mobile-push";
105
+ email: "email";
106
106
  }>;
107
107
  provider: z.ZodNullable<z.ZodEnum<{
108
108
  web: "web";
@@ -133,10 +133,10 @@ declare const notificationListSendLogsOutputSchema: z.ZodArray<z.ZodObject<{
133
133
  userId: z.ZodString;
134
134
  deviceId: z.ZodNullable<z.ZodString>;
135
135
  channel: z.ZodEnum<{
136
- email: "email";
137
136
  "in-app": "in-app";
138
137
  "web-push": "web-push";
139
138
  "mobile-push": "mobile-push";
139
+ email: "email";
140
140
  }>;
141
141
  provider: z.ZodNullable<z.ZodEnum<{
142
142
  web: "web";
@@ -203,10 +203,10 @@ declare const notificationSendTestOutputSchema: z.ZodObject<{
203
203
  }, z.core.$strip>;
204
204
  declare const notificationKindPreferenceChannelSchema: z.ZodObject<{
205
205
  channel: z.ZodEnum<{
206
- email: "email";
207
206
  "in-app": "in-app";
208
207
  "web-push": "web-push";
209
208
  "mobile-push": "mobile-push";
209
+ email: "email";
210
210
  }>;
211
211
  enabled: z.ZodBoolean;
212
212
  }, z.core.$strip>;
@@ -214,10 +214,10 @@ declare const notificationKindPreferenceSchema: z.ZodObject<{
214
214
  kind: z.ZodString;
215
215
  channels: z.ZodArray<z.ZodObject<{
216
216
  channel: z.ZodEnum<{
217
- email: "email";
218
217
  "in-app": "in-app";
219
218
  "web-push": "web-push";
220
219
  "mobile-push": "mobile-push";
220
+ email: "email";
221
221
  }>;
222
222
  enabled: z.ZodBoolean;
223
223
  }, z.core.$strip>>;
@@ -226,10 +226,10 @@ declare const notificationListPreferencesOutputSchema: z.ZodArray<z.ZodObject<{
226
226
  kind: z.ZodString;
227
227
  channels: z.ZodArray<z.ZodObject<{
228
228
  channel: z.ZodEnum<{
229
- email: "email";
230
229
  "in-app": "in-app";
231
230
  "web-push": "web-push";
232
231
  "mobile-push": "mobile-push";
232
+ email: "email";
233
233
  }>;
234
234
  enabled: z.ZodBoolean;
235
235
  }, z.core.$strip>>;
@@ -237,10 +237,10 @@ declare const notificationListPreferencesOutputSchema: z.ZodArray<z.ZodObject<{
237
237
  declare const notificationSetPreferenceInputSchema: z.ZodObject<{
238
238
  kind: z.ZodString;
239
239
  channel: z.ZodEnum<{
240
- email: "email";
241
240
  "in-app": "in-app";
242
241
  "web-push": "web-push";
243
242
  "mobile-push": "mobile-push";
243
+ email: "email";
244
244
  }>;
245
245
  enabled: z.ZodBoolean;
246
246
  }, z.core.$strip>;
@@ -248,10 +248,10 @@ declare const notificationSetPreferenceOutputSchema: z.ZodObject<{
248
248
  kind: z.ZodString;
249
249
  channels: z.ZodArray<z.ZodObject<{
250
250
  channel: z.ZodEnum<{
251
- email: "email";
252
251
  "in-app": "in-app";
253
252
  "web-push": "web-push";
254
253
  "mobile-push": "mobile-push";
254
+ email: "email";
255
255
  }>;
256
256
  enabled: z.ZodBoolean;
257
257
  }, z.core.$strip>>;
@@ -7,15 +7,15 @@ declare const filterSchema: z.ZodObject<{
7
7
  string: "string";
8
8
  number: "number";
9
9
  boolean: "boolean";
10
- enum: "enum";
11
10
  date: "date";
11
+ enum: "enum";
12
12
  jsonArray: "jsonArray";
13
13
  }>;
14
14
  method: z.ZodEnum<{
15
- starts_with: "starts_with";
16
- ends_with: "ends_with";
17
15
  contains: "contains";
18
16
  equals: "equals";
17
+ starts_with: "starts_with";
18
+ ends_with: "ends_with";
19
19
  greater_than: "greater_than";
20
20
  less_than: "less_than";
21
21
  on: "on";
@@ -39,15 +39,15 @@ declare const filtersSchema: z.ZodArray<z.ZodObject<{
39
39
  string: "string";
40
40
  number: "number";
41
41
  boolean: "boolean";
42
- enum: "enum";
43
42
  date: "date";
43
+ enum: "enum";
44
44
  jsonArray: "jsonArray";
45
45
  }>;
46
46
  method: z.ZodEnum<{
47
- starts_with: "starts_with";
48
- ends_with: "ends_with";
49
47
  contains: "contains";
50
48
  equals: "equals";
49
+ starts_with: "starts_with";
50
+ ends_with: "ends_with";
51
51
  greater_than: "greater_than";
52
52
  less_than: "less_than";
53
53
  on: "on";
@@ -79,15 +79,15 @@ declare const querySchema: z.ZodObject<{
79
79
  string: "string";
80
80
  number: "number";
81
81
  boolean: "boolean";
82
- enum: "enum";
83
82
  date: "date";
83
+ enum: "enum";
84
84
  jsonArray: "jsonArray";
85
85
  }>;
86
86
  method: z.ZodEnum<{
87
- starts_with: "starts_with";
88
- ends_with: "ends_with";
89
87
  contains: "contains";
90
88
  equals: "equals";
89
+ starts_with: "starts_with";
90
+ ends_with: "ends_with";
91
91
  greater_than: "greater_than";
92
92
  less_than: "less_than";
93
93
  on: "on";
@@ -7,15 +7,15 @@ declare const filterSchema: z.ZodObject<{
7
7
  string: "string";
8
8
  number: "number";
9
9
  boolean: "boolean";
10
- enum: "enum";
11
10
  date: "date";
11
+ enum: "enum";
12
12
  jsonArray: "jsonArray";
13
13
  }>;
14
14
  method: z.ZodEnum<{
15
- starts_with: "starts_with";
16
- ends_with: "ends_with";
17
15
  contains: "contains";
18
16
  equals: "equals";
17
+ starts_with: "starts_with";
18
+ ends_with: "ends_with";
19
19
  greater_than: "greater_than";
20
20
  less_than: "less_than";
21
21
  on: "on";
@@ -39,15 +39,15 @@ declare const filtersSchema: z.ZodArray<z.ZodObject<{
39
39
  string: "string";
40
40
  number: "number";
41
41
  boolean: "boolean";
42
- enum: "enum";
43
42
  date: "date";
43
+ enum: "enum";
44
44
  jsonArray: "jsonArray";
45
45
  }>;
46
46
  method: z.ZodEnum<{
47
- starts_with: "starts_with";
48
- ends_with: "ends_with";
49
47
  contains: "contains";
50
48
  equals: "equals";
49
+ starts_with: "starts_with";
50
+ ends_with: "ends_with";
51
51
  greater_than: "greater_than";
52
52
  less_than: "less_than";
53
53
  on: "on";
@@ -79,15 +79,15 @@ declare const querySchema: z.ZodObject<{
79
79
  string: "string";
80
80
  number: "number";
81
81
  boolean: "boolean";
82
- enum: "enum";
83
82
  date: "date";
83
+ enum: "enum";
84
84
  jsonArray: "jsonArray";
85
85
  }>;
86
86
  method: z.ZodEnum<{
87
- starts_with: "starts_with";
88
- ends_with: "ends_with";
89
87
  contains: "contains";
90
88
  equals: "equals";
89
+ starts_with: "starts_with";
90
+ ends_with: "ends_with";
91
91
  greater_than: "greater_than";
92
92
  less_than: "less_than";
93
93
  on: "on";
@@ -37,15 +37,15 @@ declare const tagListInputSchema: z.ZodObject<{
37
37
  string: "string";
38
38
  number: "number";
39
39
  boolean: "boolean";
40
- enum: "enum";
41
40
  date: "date";
41
+ enum: "enum";
42
42
  jsonArray: "jsonArray";
43
43
  }>;
44
44
  method: z.ZodEnum<{
45
- starts_with: "starts_with";
46
- ends_with: "ends_with";
47
45
  contains: "contains";
48
46
  equals: "equals";
47
+ starts_with: "starts_with";
48
+ ends_with: "ends_with";
49
49
  greater_than: "greater_than";
50
50
  less_than: "less_than";
51
51
  on: "on";
@@ -37,15 +37,15 @@ declare const tagListInputSchema: z.ZodObject<{
37
37
  string: "string";
38
38
  number: "number";
39
39
  boolean: "boolean";
40
- enum: "enum";
41
40
  date: "date";
41
+ enum: "enum";
42
42
  jsonArray: "jsonArray";
43
43
  }>;
44
44
  method: z.ZodEnum<{
45
- starts_with: "starts_with";
46
- ends_with: "ends_with";
47
45
  contains: "contains";
48
46
  equals: "equals";
47
+ starts_with: "starts_with";
48
+ ends_with: "ends_with";
49
49
  greater_than: "greater_than";
50
50
  less_than: "less_than";
51
51
  on: "on";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m5kdev/commons",
3
- "version": "0.40.1",
3
+ "version": "0.40.2",
4
4
  "license": "GPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  "tsdown": "0.21.7",
22
22
  "typescript": "6.0.3",
23
23
  "zod": "4.4.3",
24
- "@m5kdev/config": "0.40.1"
24
+ "@m5kdev/config": "0.40.2"
25
25
  },
26
26
  "exports": {
27
27
  "./utils/*": {