controlresell 2.8.4 → 2.8.5
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/package.json +2 -2
- package/src/com/controlresell/models/filters/SavedFilters.d.ts +5 -38
- package/src/com/controlresell/models/filters/SavedFilters.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.js +1 -3
- package/src/com/controlresell/models/filters/SavedFilters.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFilters.ts +1 -3
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts +5 -38
- package/src/com/controlresell/models/filters/SavedFiltersPayload.d.ts.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js +1 -3
- package/src/com/controlresell/models/filters/SavedFiltersPayload.js.map +1 -1
- package/src/com/controlresell/models/filters/SavedFiltersPayload.ts +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "controlresell",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.5",
|
|
4
4
|
"main": "src/index.js",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"controlresell-auth": "^0.0.6",
|
|
21
21
|
"controlresell-connector": "^0.6.9",
|
|
22
22
|
"controlresell-inbox": "^0.0.10",
|
|
23
|
-
"controlresell-inventory": "^0.0.
|
|
23
|
+
"controlresell-inventory": "^0.0.15",
|
|
24
24
|
"controlresell-storage": "^0.0.1",
|
|
25
25
|
"zod": "^3.25.76",
|
|
26
26
|
"zodable-idschema": "^1.0.0"
|
|
@@ -3,7 +3,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
userId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
5
5
|
itemFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
6
|
-
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"]>>>;
|
|
6
|
+
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "MOST_RECENT_PUBLISH", "OLDEST", "OLDEST_PUBLISH", "HIGHEST_PRICE", "LOWEST_PRICE"]>>>;
|
|
7
7
|
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8
8
|
categoriesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
9
9
|
brandsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -71,7 +71,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
71
71
|
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
72
72
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["VINTED", "SHOPIFY"]>, "many">>>;
|
|
73
73
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
74
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
75
75
|
isDraft?: boolean | null | undefined;
|
|
76
76
|
sex?: string[] | null | undefined;
|
|
77
77
|
sold?: boolean | null | undefined;
|
|
@@ -109,7 +109,7 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
109
109
|
toBeSent?: boolean | null | undefined;
|
|
110
110
|
accountIds?: string[] | null | undefined;
|
|
111
111
|
}, {
|
|
112
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
112
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
113
113
|
isDraft?: boolean | null | undefined;
|
|
114
114
|
sex?: string[] | null | undefined;
|
|
115
115
|
sold?: boolean | null | undefined;
|
|
@@ -147,30 +147,11 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
147
147
|
toBeSent?: boolean | null | undefined;
|
|
148
148
|
accountIds?: string[] | null | undefined;
|
|
149
149
|
}>>>;
|
|
150
|
-
platformFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
151
|
-
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
152
|
-
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["VINTED", "SHOPIFY"]>, "many">>>;
|
|
153
|
-
hasNewMessages: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
154
|
-
isImportant: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
155
|
-
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
156
|
-
}, "strip", z.ZodTypeAny, {
|
|
157
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
158
|
-
accountIds?: string[] | null | undefined;
|
|
159
|
-
isPinned?: boolean | null | undefined;
|
|
160
|
-
hasNewMessages?: boolean | null | undefined;
|
|
161
|
-
isImportant?: boolean | null | undefined;
|
|
162
|
-
}, {
|
|
163
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
164
|
-
accountIds?: string[] | null | undefined;
|
|
165
|
-
isPinned?: boolean | null | undefined;
|
|
166
|
-
hasNewMessages?: boolean | null | undefined;
|
|
167
|
-
isImportant?: boolean | null | undefined;
|
|
168
|
-
}>>>;
|
|
169
150
|
}, "strip", z.ZodTypeAny, {
|
|
170
151
|
id: string;
|
|
171
152
|
userId: string | number;
|
|
172
153
|
itemFilters?: {
|
|
173
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
154
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
174
155
|
isDraft?: boolean | null | undefined;
|
|
175
156
|
sex?: string[] | null | undefined;
|
|
176
157
|
sold?: boolean | null | undefined;
|
|
@@ -208,18 +189,11 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
208
189
|
toBeSent?: boolean | null | undefined;
|
|
209
190
|
accountIds?: string[] | null | undefined;
|
|
210
191
|
} | null | undefined;
|
|
211
|
-
platformFilters?: {
|
|
212
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
213
|
-
accountIds?: string[] | null | undefined;
|
|
214
|
-
isPinned?: boolean | null | undefined;
|
|
215
|
-
hasNewMessages?: boolean | null | undefined;
|
|
216
|
-
isImportant?: boolean | null | undefined;
|
|
217
|
-
} | null | undefined;
|
|
218
192
|
}, {
|
|
219
193
|
id: string;
|
|
220
194
|
userId: string | number;
|
|
221
195
|
itemFilters?: {
|
|
222
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
196
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
223
197
|
isDraft?: boolean | null | undefined;
|
|
224
198
|
sex?: string[] | null | undefined;
|
|
225
199
|
sold?: boolean | null | undefined;
|
|
@@ -257,13 +231,6 @@ export declare const SavedFiltersSchema: z.ZodObject<{
|
|
|
257
231
|
toBeSent?: boolean | null | undefined;
|
|
258
232
|
accountIds?: string[] | null | undefined;
|
|
259
233
|
} | null | undefined;
|
|
260
|
-
platformFilters?: {
|
|
261
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
262
|
-
accountIds?: string[] | null | undefined;
|
|
263
|
-
isPinned?: boolean | null | undefined;
|
|
264
|
-
hasNewMessages?: boolean | null | undefined;
|
|
265
|
-
isImportant?: boolean | null | undefined;
|
|
266
|
-
} | null | undefined;
|
|
267
234
|
}>;
|
|
268
235
|
export type SavedFilters = z.infer<typeof SavedFiltersSchema>;
|
|
269
236
|
//# sourceMappingURL=SavedFilters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedFilters.d.ts","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"SavedFilters.d.ts","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAIrB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI7B,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA"}
|
|
@@ -4,11 +4,9 @@ exports.SavedFiltersSchema = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const zodable_idschema_1 = require("zodable-idschema");
|
|
6
6
|
const controlresell_inventory_1 = require("controlresell-inventory");
|
|
7
|
-
const controlresell_inbox_1 = require("controlresell-inbox");
|
|
8
7
|
exports.SavedFiltersSchema = zod_1.z.object({
|
|
9
8
|
id: zod_1.z.string().uuid(),
|
|
10
9
|
userId: zodable_idschema_1.IdSchema,
|
|
11
|
-
itemFilters: controlresell_inventory_1.ItemFiltersContextSchema.nullish()
|
|
12
|
-
platformFilters: controlresell_inbox_1.ConversationFiltersContextSchema.nullish()
|
|
10
|
+
itemFilters: controlresell_inventory_1.ItemFiltersContextSchema.nullish()
|
|
13
11
|
});
|
|
14
12
|
//# sourceMappingURL=SavedFilters.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedFilters.js","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,uDAAyC;AACzC,qEAAgE;
|
|
1
|
+
{"version":3,"file":"SavedFilters.js","sourceRoot":"","sources":["SavedFilters.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,uDAAyC;AACzC,qEAAgE;AAEnD,QAAA,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACrB,MAAM,EAAE,2BAAQ;IAChB,WAAW,EAAE,kDAAwB,CAAC,OAAO,EAAE;CAClD,CAAC,CAAA"}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
import {IdSchema} from "zodable-idschema"
|
|
3
3
|
import {ItemFiltersContextSchema} from "controlresell-inventory"
|
|
4
|
-
import {ConversationFiltersContextSchema} from "controlresell-inbox"
|
|
5
4
|
|
|
6
5
|
export const SavedFiltersSchema = z.object({
|
|
7
6
|
id: z.string().uuid(),
|
|
8
7
|
userId: IdSchema,
|
|
9
|
-
itemFilters: ItemFiltersContextSchema.nullish()
|
|
10
|
-
platformFilters: ConversationFiltersContextSchema.nullish()
|
|
8
|
+
itemFilters: ItemFiltersContextSchema.nullish()
|
|
11
9
|
})
|
|
12
10
|
export type SavedFilters = z.infer<typeof SavedFiltersSchema>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
3
3
|
itemFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4
|
-
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "OLDEST", "HIGHEST_PRICE", "LOWEST_PRICE"]>>>;
|
|
4
|
+
sort: z.ZodOptional<z.ZodNullable<z.ZodEnum<["MOST_RECENT", "MOST_RECENT_PUBLISH", "OLDEST", "OLDEST_PUBLISH", "HIGHEST_PRICE", "LOWEST_PRICE"]>>>;
|
|
5
5
|
sold: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
6
|
categoriesId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
7
7
|
brandsId: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>>;
|
|
@@ -69,7 +69,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
|
69
69
|
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
70
70
|
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["VINTED", "SHOPIFY"]>, "many">>>;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
72
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
73
73
|
isDraft?: boolean | null | undefined;
|
|
74
74
|
sex?: string[] | null | undefined;
|
|
75
75
|
sold?: boolean | null | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
|
107
107
|
toBeSent?: boolean | null | undefined;
|
|
108
108
|
accountIds?: string[] | null | undefined;
|
|
109
109
|
}, {
|
|
110
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
110
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
111
111
|
isDraft?: boolean | null | undefined;
|
|
112
112
|
sex?: string[] | null | undefined;
|
|
113
113
|
sold?: boolean | null | undefined;
|
|
@@ -145,28 +145,9 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
|
145
145
|
toBeSent?: boolean | null | undefined;
|
|
146
146
|
accountIds?: string[] | null | undefined;
|
|
147
147
|
}>>>;
|
|
148
|
-
platformFilters: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
149
|
-
accountIds: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
|
|
150
|
-
platforms: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<["VINTED", "SHOPIFY"]>, "many">>>;
|
|
151
|
-
hasNewMessages: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
152
|
-
isImportant: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
153
|
-
isPinned: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
156
|
-
accountIds?: string[] | null | undefined;
|
|
157
|
-
isPinned?: boolean | null | undefined;
|
|
158
|
-
hasNewMessages?: boolean | null | undefined;
|
|
159
|
-
isImportant?: boolean | null | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
162
|
-
accountIds?: string[] | null | undefined;
|
|
163
|
-
isPinned?: boolean | null | undefined;
|
|
164
|
-
hasNewMessages?: boolean | null | undefined;
|
|
165
|
-
isImportant?: boolean | null | undefined;
|
|
166
|
-
}>>>;
|
|
167
148
|
}, "strip", z.ZodTypeAny, {
|
|
168
149
|
itemFilters?: {
|
|
169
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
150
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
170
151
|
isDraft?: boolean | null | undefined;
|
|
171
152
|
sex?: string[] | null | undefined;
|
|
172
153
|
sold?: boolean | null | undefined;
|
|
@@ -204,16 +185,9 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
|
204
185
|
toBeSent?: boolean | null | undefined;
|
|
205
186
|
accountIds?: string[] | null | undefined;
|
|
206
187
|
} | null | undefined;
|
|
207
|
-
platformFilters?: {
|
|
208
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
209
|
-
accountIds?: string[] | null | undefined;
|
|
210
|
-
isPinned?: boolean | null | undefined;
|
|
211
|
-
hasNewMessages?: boolean | null | undefined;
|
|
212
|
-
isImportant?: boolean | null | undefined;
|
|
213
|
-
} | null | undefined;
|
|
214
188
|
}, {
|
|
215
189
|
itemFilters?: {
|
|
216
|
-
sort?: "MOST_RECENT" | "OLDEST" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
190
|
+
sort?: "MOST_RECENT" | "MOST_RECENT_PUBLISH" | "OLDEST" | "OLDEST_PUBLISH" | "HIGHEST_PRICE" | "LOWEST_PRICE" | null | undefined;
|
|
217
191
|
isDraft?: boolean | null | undefined;
|
|
218
192
|
sex?: string[] | null | undefined;
|
|
219
193
|
sold?: boolean | null | undefined;
|
|
@@ -251,13 +225,6 @@ export declare const SavedFiltersPayloadSchema: z.ZodObject<{
|
|
|
251
225
|
toBeSent?: boolean | null | undefined;
|
|
252
226
|
accountIds?: string[] | null | undefined;
|
|
253
227
|
} | null | undefined;
|
|
254
|
-
platformFilters?: {
|
|
255
|
-
platforms?: ("VINTED" | "SHOPIFY")[] | null | undefined;
|
|
256
|
-
accountIds?: string[] | null | undefined;
|
|
257
|
-
isPinned?: boolean | null | undefined;
|
|
258
|
-
hasNewMessages?: boolean | null | undefined;
|
|
259
|
-
isImportant?: boolean | null | undefined;
|
|
260
|
-
} | null | undefined;
|
|
261
228
|
}>;
|
|
262
229
|
export type SavedFiltersPayload = z.infer<typeof SavedFiltersPayloadSchema>;
|
|
263
230
|
//# sourceMappingURL=SavedFiltersPayload.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedFiltersPayload.d.ts","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"SavedFiltersPayload.d.ts","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAA;AAGrB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEpC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA"}
|
|
@@ -3,9 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.SavedFiltersPayloadSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const controlresell_inventory_1 = require("controlresell-inventory");
|
|
6
|
-
const controlresell_inbox_1 = require("controlresell-inbox");
|
|
7
6
|
exports.SavedFiltersPayloadSchema = zod_1.z.object({
|
|
8
|
-
itemFilters: controlresell_inventory_1.ItemFiltersContextSchema.nullish()
|
|
9
|
-
platformFilters: controlresell_inbox_1.ConversationFiltersContextSchema.nullish()
|
|
7
|
+
itemFilters: controlresell_inventory_1.ItemFiltersContextSchema.nullish()
|
|
10
8
|
});
|
|
11
9
|
//# sourceMappingURL=SavedFiltersPayload.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SavedFiltersPayload.js","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAAgE;
|
|
1
|
+
{"version":3,"file":"SavedFiltersPayload.js","sourceRoot":"","sources":["SavedFiltersPayload.ts"],"names":[],"mappings":";;;AAAA,6BAAqB;AACrB,qEAAgE;AAEnD,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC9C,WAAW,EAAE,kDAAwB,CAAC,OAAO,EAAE;CAClD,CAAC,CAAA"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import {z} from "zod"
|
|
2
2
|
import {ItemFiltersContextSchema} from "controlresell-inventory"
|
|
3
|
-
import {ConversationFiltersContextSchema} from "controlresell-inbox"
|
|
4
3
|
|
|
5
4
|
export const SavedFiltersPayloadSchema = z.object({
|
|
6
|
-
itemFilters: ItemFiltersContextSchema.nullish()
|
|
7
|
-
platformFilters: ConversationFiltersContextSchema.nullish()
|
|
5
|
+
itemFilters: ItemFiltersContextSchema.nullish()
|
|
8
6
|
})
|
|
9
7
|
export type SavedFiltersPayload = z.infer<typeof SavedFiltersPayloadSchema>
|