@m5kdev/commons 0.40.2 → 0.41.0
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/src/modules/billing/billing.schema.d.cts +2 -2
- package/dist/src/modules/billing/billing.schema.d.mts +2 -2
- package/dist/src/modules/notification/notification.schema.d.cts +8 -8
- package/dist/src/modules/notification/notification.schema.d.mts +8 -8
- package/dist/src/modules/schemas/query.schema.d.cts +6 -6
- package/dist/src/modules/schemas/query.schema.d.mts +6 -6
- package/dist/src/modules/tag/tag.schema.d.cts +2 -2
- package/dist/src/modules/tag/tag.schema.d.mts +2 -2
- package/package.json +2 -2
|
@@ -194,10 +194,10 @@ declare const billingAdminListInputSchema: z.ZodObject<{
|
|
|
194
194
|
jsonArray: "jsonArray";
|
|
195
195
|
}>;
|
|
196
196
|
method: z.ZodEnum<{
|
|
197
|
-
contains: "contains";
|
|
198
|
-
equals: "equals";
|
|
199
197
|
starts_with: "starts_with";
|
|
200
198
|
ends_with: "ends_with";
|
|
199
|
+
contains: "contains";
|
|
200
|
+
equals: "equals";
|
|
201
201
|
greater_than: "greater_than";
|
|
202
202
|
less_than: "less_than";
|
|
203
203
|
on: "on";
|
|
@@ -194,10 +194,10 @@ declare const billingAdminListInputSchema: z.ZodObject<{
|
|
|
194
194
|
jsonArray: "jsonArray";
|
|
195
195
|
}>;
|
|
196
196
|
method: z.ZodEnum<{
|
|
197
|
-
contains: "contains";
|
|
198
|
-
equals: "equals";
|
|
199
197
|
starts_with: "starts_with";
|
|
200
198
|
ends_with: "ends_with";
|
|
199
|
+
contains: "contains";
|
|
200
|
+
equals: "equals";
|
|
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";
|
|
90
91
|
"in-app": "in-app";
|
|
91
92
|
"web-push": "web-push";
|
|
92
93
|
"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";
|
|
102
103
|
"in-app": "in-app";
|
|
103
104
|
"web-push": "web-push";
|
|
104
105
|
"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";
|
|
136
137
|
"in-app": "in-app";
|
|
137
138
|
"web-push": "web-push";
|
|
138
139
|
"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";
|
|
206
207
|
"in-app": "in-app";
|
|
207
208
|
"web-push": "web-push";
|
|
208
209
|
"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";
|
|
217
218
|
"in-app": "in-app";
|
|
218
219
|
"web-push": "web-push";
|
|
219
220
|
"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";
|
|
229
230
|
"in-app": "in-app";
|
|
230
231
|
"web-push": "web-push";
|
|
231
232
|
"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";
|
|
240
241
|
"in-app": "in-app";
|
|
241
242
|
"web-push": "web-push";
|
|
242
243
|
"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";
|
|
251
252
|
"in-app": "in-app";
|
|
252
253
|
"web-push": "web-push";
|
|
253
254
|
"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";
|
|
90
91
|
"in-app": "in-app";
|
|
91
92
|
"web-push": "web-push";
|
|
92
93
|
"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";
|
|
102
103
|
"in-app": "in-app";
|
|
103
104
|
"web-push": "web-push";
|
|
104
105
|
"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";
|
|
136
137
|
"in-app": "in-app";
|
|
137
138
|
"web-push": "web-push";
|
|
138
139
|
"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";
|
|
206
207
|
"in-app": "in-app";
|
|
207
208
|
"web-push": "web-push";
|
|
208
209
|
"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";
|
|
217
218
|
"in-app": "in-app";
|
|
218
219
|
"web-push": "web-push";
|
|
219
220
|
"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";
|
|
229
230
|
"in-app": "in-app";
|
|
230
231
|
"web-push": "web-push";
|
|
231
232
|
"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";
|
|
240
241
|
"in-app": "in-app";
|
|
241
242
|
"web-push": "web-push";
|
|
242
243
|
"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";
|
|
251
252
|
"in-app": "in-app";
|
|
252
253
|
"web-push": "web-push";
|
|
253
254
|
"mobile-push": "mobile-push";
|
|
254
|
-
email: "email";
|
|
255
255
|
}>;
|
|
256
256
|
enabled: z.ZodBoolean;
|
|
257
257
|
}, z.core.$strip>>;
|
|
@@ -12,10 +12,10 @@ declare const filterSchema: z.ZodObject<{
|
|
|
12
12
|
jsonArray: "jsonArray";
|
|
13
13
|
}>;
|
|
14
14
|
method: z.ZodEnum<{
|
|
15
|
-
contains: "contains";
|
|
16
|
-
equals: "equals";
|
|
17
15
|
starts_with: "starts_with";
|
|
18
16
|
ends_with: "ends_with";
|
|
17
|
+
contains: "contains";
|
|
18
|
+
equals: "equals";
|
|
19
19
|
greater_than: "greater_than";
|
|
20
20
|
less_than: "less_than";
|
|
21
21
|
on: "on";
|
|
@@ -44,10 +44,10 @@ declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
44
44
|
jsonArray: "jsonArray";
|
|
45
45
|
}>;
|
|
46
46
|
method: z.ZodEnum<{
|
|
47
|
-
contains: "contains";
|
|
48
|
-
equals: "equals";
|
|
49
47
|
starts_with: "starts_with";
|
|
50
48
|
ends_with: "ends_with";
|
|
49
|
+
contains: "contains";
|
|
50
|
+
equals: "equals";
|
|
51
51
|
greater_than: "greater_than";
|
|
52
52
|
less_than: "less_than";
|
|
53
53
|
on: "on";
|
|
@@ -84,10 +84,10 @@ declare const querySchema: z.ZodObject<{
|
|
|
84
84
|
jsonArray: "jsonArray";
|
|
85
85
|
}>;
|
|
86
86
|
method: z.ZodEnum<{
|
|
87
|
-
contains: "contains";
|
|
88
|
-
equals: "equals";
|
|
89
87
|
starts_with: "starts_with";
|
|
90
88
|
ends_with: "ends_with";
|
|
89
|
+
contains: "contains";
|
|
90
|
+
equals: "equals";
|
|
91
91
|
greater_than: "greater_than";
|
|
92
92
|
less_than: "less_than";
|
|
93
93
|
on: "on";
|
|
@@ -12,10 +12,10 @@ declare const filterSchema: z.ZodObject<{
|
|
|
12
12
|
jsonArray: "jsonArray";
|
|
13
13
|
}>;
|
|
14
14
|
method: z.ZodEnum<{
|
|
15
|
-
contains: "contains";
|
|
16
|
-
equals: "equals";
|
|
17
15
|
starts_with: "starts_with";
|
|
18
16
|
ends_with: "ends_with";
|
|
17
|
+
contains: "contains";
|
|
18
|
+
equals: "equals";
|
|
19
19
|
greater_than: "greater_than";
|
|
20
20
|
less_than: "less_than";
|
|
21
21
|
on: "on";
|
|
@@ -44,10 +44,10 @@ declare const filtersSchema: z.ZodArray<z.ZodObject<{
|
|
|
44
44
|
jsonArray: "jsonArray";
|
|
45
45
|
}>;
|
|
46
46
|
method: z.ZodEnum<{
|
|
47
|
-
contains: "contains";
|
|
48
|
-
equals: "equals";
|
|
49
47
|
starts_with: "starts_with";
|
|
50
48
|
ends_with: "ends_with";
|
|
49
|
+
contains: "contains";
|
|
50
|
+
equals: "equals";
|
|
51
51
|
greater_than: "greater_than";
|
|
52
52
|
less_than: "less_than";
|
|
53
53
|
on: "on";
|
|
@@ -84,10 +84,10 @@ declare const querySchema: z.ZodObject<{
|
|
|
84
84
|
jsonArray: "jsonArray";
|
|
85
85
|
}>;
|
|
86
86
|
method: z.ZodEnum<{
|
|
87
|
-
contains: "contains";
|
|
88
|
-
equals: "equals";
|
|
89
87
|
starts_with: "starts_with";
|
|
90
88
|
ends_with: "ends_with";
|
|
89
|
+
contains: "contains";
|
|
90
|
+
equals: "equals";
|
|
91
91
|
greater_than: "greater_than";
|
|
92
92
|
less_than: "less_than";
|
|
93
93
|
on: "on";
|
|
@@ -42,10 +42,10 @@ declare const tagListInputSchema: z.ZodObject<{
|
|
|
42
42
|
jsonArray: "jsonArray";
|
|
43
43
|
}>;
|
|
44
44
|
method: z.ZodEnum<{
|
|
45
|
-
contains: "contains";
|
|
46
|
-
equals: "equals";
|
|
47
45
|
starts_with: "starts_with";
|
|
48
46
|
ends_with: "ends_with";
|
|
47
|
+
contains: "contains";
|
|
48
|
+
equals: "equals";
|
|
49
49
|
greater_than: "greater_than";
|
|
50
50
|
less_than: "less_than";
|
|
51
51
|
on: "on";
|
|
@@ -42,10 +42,10 @@ declare const tagListInputSchema: z.ZodObject<{
|
|
|
42
42
|
jsonArray: "jsonArray";
|
|
43
43
|
}>;
|
|
44
44
|
method: z.ZodEnum<{
|
|
45
|
-
contains: "contains";
|
|
46
|
-
equals: "equals";
|
|
47
45
|
starts_with: "starts_with";
|
|
48
46
|
ends_with: "ends_with";
|
|
47
|
+
contains: "contains";
|
|
48
|
+
equals: "equals";
|
|
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.
|
|
3
|
+
"version": "0.41.0",
|
|
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.
|
|
24
|
+
"@m5kdev/config": "0.41.0"
|
|
25
25
|
},
|
|
26
26
|
"exports": {
|
|
27
27
|
"./utils/*": {
|