@arken/seer-protocol 0.1.7 → 0.1.9
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/.rush/temp/shrinkwrap-deps.json +3 -261
- package/area/area.models.ts +1 -1
- package/area/area.router.ts +1 -1
- package/area/area.types.ts +1 -1
- package/asset/asset.models.ts +1 -1
- package/asset/asset.router.ts +1 -1
- package/asset/asset.types.ts +1 -1
- package/build/area/area.models.d.ts +1 -1
- package/build/area/area.models.js +1 -1
- package/build/area/area.models.js.map +1 -1
- package/build/area/area.router.d.ts +5 -5
- package/build/area/area.router.js +1 -1
- package/build/area/area.router.js.map +1 -1
- package/build/area/area.schema.d.ts +8 -8
- package/build/area/area.types.d.ts +1 -1
- package/build/asset/asset.models.d.ts +1 -1
- package/build/asset/asset.models.js +1 -1
- package/build/asset/asset.models.js.map +1 -1
- package/build/asset/asset.router.d.ts +6 -6
- package/build/asset/asset.router.js +1 -1
- package/build/asset/asset.router.js.map +1 -1
- package/build/asset/asset.schema.d.ts +8 -8
- package/build/asset/asset.types.d.ts +1 -1
- package/build/chain/chain.models.d.ts +1 -1
- package/build/chain/chain.models.js +1 -1
- package/build/chain/chain.models.js.map +1 -1
- package/build/chain/chain.router.d.ts +5 -5
- package/build/chain/chain.router.js +1 -1
- package/build/chain/chain.router.js.map +1 -1
- package/build/chain/chain.schema.d.ts +10 -10
- package/build/chain/chain.types.d.ts +1 -1
- package/build/character/character.models.d.ts +1 -1
- package/build/character/character.models.js +1 -1
- package/build/character/character.models.js.map +1 -1
- package/build/character/character.router.d.ts +13 -13
- package/build/character/character.router.js +1 -1
- package/build/character/character.router.js.map +1 -1
- package/build/character/character.schema.d.ts +36 -36
- package/build/character/character.types.d.ts +1 -1
- package/build/chat/chat.models.d.ts +1 -1
- package/build/chat/chat.models.js +1 -1
- package/build/chat/chat.models.js.map +1 -1
- package/build/chat/chat.router.d.ts +4 -4
- package/build/chat/chat.router.js +1 -1
- package/build/chat/chat.router.js.map +1 -1
- package/build/chat/chat.schema.d.ts +4 -4
- package/build/chat/chat.types.d.ts +1 -1
- package/build/collection/collection.models.d.ts +1 -1
- package/build/collection/collection.models.js +1 -1
- package/build/collection/collection.models.js.map +1 -1
- package/build/collection/collection.router.d.ts +10 -10
- package/build/collection/collection.router.js +1 -1
- package/build/collection/collection.router.js.map +1 -1
- package/build/collection/collection.schema.d.ts +20 -20
- package/build/collection/collection.types.d.ts +1 -1
- package/build/core/core.models.d.ts +3 -3
- package/build/core/core.models.js +1 -1
- package/build/core/core.models.js.map +1 -1
- package/build/core/core.router.d.ts +85 -85
- package/build/core/core.router.js +1 -1
- package/build/core/core.router.js.map +1 -1
- package/build/core/core.schema.d.ts +182 -182
- package/build/core/core.types.d.ts +1 -1
- package/build/evolution/evolution.models.js +1 -1
- package/build/evolution/evolution.models.js.map +1 -1
- package/build/evolution/evolution.router.d.ts +2 -2
- package/build/evolution/evolution.router.js +2 -2
- package/build/evolution/evolution.router.js.map +1 -1
- package/build/evolution/evolution.schema.d.ts +2 -1
- package/build/evolution/evolution.schema.js +1 -1
- package/build/evolution/evolution.schema.js.map +1 -1
- package/build/game/game.models.d.ts +1 -1
- package/build/game/game.models.js +1 -1
- package/build/game/game.models.js.map +1 -1
- package/build/game/game.router.d.ts +8 -8
- package/build/game/game.router.js +1 -1
- package/build/game/game.router.js.map +1 -1
- package/build/game/game.schema.d.ts +12 -12
- package/build/game/game.types.d.ts +1 -1
- package/build/index.d.ts +1 -1
- package/build/infinite/infinite.models.js +1 -1
- package/build/infinite/infinite.models.js.map +1 -1
- package/build/infinite/infinite.router.d.ts +1 -1
- package/build/infinite/infinite.router.js +1 -1
- package/build/infinite/infinite.router.js.map +1 -1
- package/build/infinite/infinite.schema.d.ts +2 -1
- package/build/infinite/infinite.schema.js +1 -1
- package/build/infinite/infinite.schema.js.map +1 -1
- package/build/interface/interface.models.d.ts +1 -1
- package/build/interface/interface.models.js +1 -1
- package/build/interface/interface.models.js.map +1 -1
- package/build/interface/interface.router.d.ts +9 -9
- package/build/interface/interface.router.js +1 -1
- package/build/interface/interface.router.js.map +1 -1
- package/build/interface/interface.schema.d.ts +14 -14
- package/build/interface/interface.types.d.ts +1 -1
- package/build/isles/isles.models.js +1 -1
- package/build/isles/isles.models.js.map +1 -1
- package/build/isles/isles.router.d.ts +1 -1
- package/build/isles/isles.router.js +1 -1
- package/build/isles/isles.router.js.map +1 -1
- package/build/item/item.models.d.ts +1 -1
- package/build/item/item.models.js +1 -1
- package/build/item/item.models.js.map +1 -1
- package/build/item/item.router.d.ts +2 -2
- package/build/item/item.router.js +1 -1
- package/build/item/item.router.js.map +1 -1
- package/build/item/item.schema.d.ts +28 -28
- package/build/item/item.types.d.ts +1 -1
- package/build/job/job.models.d.ts +1 -1
- package/build/job/job.models.js +1 -1
- package/build/job/job.models.js.map +1 -1
- package/build/job/job.router.d.ts +2 -2
- package/build/job/job.router.js +1 -1
- package/build/job/job.router.js.map +1 -1
- package/build/job/job.schema.d.ts +2 -2
- package/build/job/job.types.d.ts +1 -1
- package/build/market/market.models.d.ts +1 -1
- package/build/market/market.models.js +1 -1
- package/build/market/market.models.js.map +1 -1
- package/build/market/market.router.d.ts +12 -12
- package/build/market/market.router.js +1 -1
- package/build/market/market.router.js.map +1 -1
- package/build/market/market.schema.d.ts +30 -30
- package/build/market/market.types.d.ts +1 -1
- package/build/oasis/oasis.models.js +1 -1
- package/build/oasis/oasis.models.js.map +1 -1
- package/build/oasis/oasis.router.d.ts +1 -1
- package/build/oasis/oasis.router.js +1 -1
- package/build/oasis/oasis.router.js.map +1 -1
- package/build/package.json +3 -2
- package/build/product/product.models.d.ts +1 -1
- package/build/product/product.models.js +1 -1
- package/build/product/product.models.js.map +1 -1
- package/build/product/product.router.d.ts +14 -14
- package/build/product/product.router.js +1 -1
- package/build/product/product.router.js.map +1 -1
- package/build/product/product.schema.d.ts +22 -22
- package/build/product/product.types.d.ts +1 -1
- package/build/profile/profile.models.d.ts +1 -1
- package/build/profile/profile.models.js +1 -1
- package/build/profile/profile.models.js.map +1 -1
- package/build/profile/profile.router.js +1 -1
- package/build/profile/profile.router.js.map +1 -1
- package/build/profile/profile.types.d.ts +1 -1
- package/build/raffle/raffle.models.d.ts +1 -1
- package/build/raffle/raffle.models.js +1 -1
- package/build/raffle/raffle.models.js.map +1 -1
- package/build/raffle/raffle.router.d.ts +8 -8
- package/build/raffle/raffle.router.js +1 -1
- package/build/raffle/raffle.router.js.map +1 -1
- package/build/raffle/raffle.schema.d.ts +8 -8
- package/build/raffle/raffle.types.d.ts +1 -1
- package/build/router.d.ts +211 -211
- package/build/schema.d.ts +2 -2
- package/build/skill/skill.models.d.ts +1 -1
- package/build/skill/skill.models.js +1 -1
- package/build/skill/skill.models.js.map +1 -1
- package/build/skill/skill.router.d.ts +14 -14
- package/build/skill/skill.router.js +1 -1
- package/build/skill/skill.router.js.map +1 -1
- package/build/skill/skill.schema.d.ts +18 -18
- package/build/skill/skill.types.d.ts +1 -1
- package/build/trek/trek.router.js +1 -1
- package/build/trek/trek.router.js.map +1 -1
- package/build/util/mongo.d.ts +163 -0
- package/build/util/mongo.js +1128 -0
- package/build/util/mongo.js.map +1 -0
- package/build/util/rpc.d.ts +59 -0
- package/build/util/rpc.js +311 -0
- package/build/util/rpc.js.map +1 -0
- package/build/util/schema.d.ts +279 -0
- package/build/util/schema.js +157 -0
- package/build/util/schema.js.map +1 -0
- package/build/video/video.models.d.ts +1 -1
- package/build/video/video.models.js +1 -1
- package/build/video/video.models.js.map +1 -1
- package/build/video/video.router.d.ts +12 -12
- package/build/video/video.router.js +1 -1
- package/build/video/video.router.js.map +1 -1
- package/build/video/video.schema.d.ts +14 -14
- package/build/video/video.types.d.ts +1 -1
- package/chain/chain.models.ts +1 -1
- package/chain/chain.router.ts +1 -1
- package/chain/chain.types.ts +1 -1
- package/character/character.models.ts +1 -1
- package/character/character.router.ts +1 -1
- package/character/character.types.ts +1 -1
- package/chat/chat.models.ts +1 -1
- package/chat/chat.router.ts +1 -1
- package/chat/chat.types.ts +1 -1
- package/collection/collection.models.ts +1 -1
- package/collection/collection.router.ts +1 -1
- package/collection/collection.types.ts +1 -1
- package/core/core.models.ts +1 -1
- package/core/core.router.ts +1 -2
- package/core/core.types.ts +1 -1
- package/evolution/evolution.models.ts +1 -1
- package/evolution/evolution.router.ts +2 -3
- package/evolution/evolution.schema.ts +1 -1
- package/evolution/evolution.types.ts +1 -1
- package/game/game.models.ts +1 -1
- package/game/game.router.ts +1 -1
- package/game/game.types.ts +1 -1
- package/index.ts +1 -1
- package/infinite/infinite.models.ts +1 -1
- package/infinite/infinite.router.ts +2 -3
- package/infinite/infinite.schema.ts +1 -1
- package/infinite/infinite.types.ts +0 -2
- package/interface/interface.models.ts +1 -1
- package/interface/interface.router.ts +1 -1
- package/interface/interface.types.ts +1 -1
- package/isles/isles.models.ts +1 -1
- package/isles/isles.router.ts +2 -3
- package/isles/isles.schema.ts +1 -1
- package/isles/isles.types.ts +1 -1
- package/item/item.models.ts +1 -1
- package/item/item.router.ts +1 -1
- package/item/item.types.ts +1 -1
- package/job/job.models.ts +1 -1
- package/job/job.router.ts +1 -1
- package/job/job.types.ts +1 -1
- package/market/market.models.ts +1 -1
- package/market/market.router.ts +1 -1
- package/market/market.types.ts +1 -1
- package/oasis/oasis.models.ts +1 -1
- package/oasis/oasis.router.ts +2 -2
- package/oasis/oasis.schema.ts +1 -1
- package/oasis/oasis.types.ts +1 -1
- package/package.json +3 -2
- package/product/product.models.ts +1 -1
- package/product/product.router.ts +1 -1
- package/product/product.types.ts +1 -1
- package/profile/profile.models.ts +1 -1
- package/profile/profile.router.ts +1 -1
- package/profile/profile.types.ts +1 -1
- package/raffle/raffle.models.ts +1 -1
- package/raffle/raffle.router.ts +1 -1
- package/raffle/raffle.types.ts +1 -1
- package/router.ts +1 -1
- package/skill/skill.models.ts +1 -1
- package/skill/skill.router.ts +1 -1
- package/skill/skill.types.ts +1 -1
- package/trek/trek.models.ts +1 -1
- package/trek/trek.router.ts +1 -1
- package/trek/trek.schema.ts +1 -1
- package/trek/trek.types.ts +1 -1
- package/tsconfig.json +31 -2
- package/util/mongo.ts +1735 -0
- package/util/rpc.ts +550 -0
- package/util/schema.ts +321 -0
- package/video/video.models.ts +1 -1
- package/video/video.router.ts +1 -1
- package/video/video.types.ts +1 -1
|
@@ -18,7 +18,6 @@ export declare const ItemAttribute: import("zod").ZodObject<{
|
|
|
18
18
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
19
19
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
20
20
|
}, "strip", import("zod").ZodTypeAny, {
|
|
21
|
-
name?: string;
|
|
22
21
|
key?: string;
|
|
23
22
|
id?: string | import("mongoose").Types.ObjectId;
|
|
24
23
|
data?: any;
|
|
@@ -26,6 +25,7 @@ export declare const ItemAttribute: import("zod").ZodObject<{
|
|
|
26
25
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
27
26
|
createdDate?: Date;
|
|
28
27
|
updatedDate?: Date;
|
|
28
|
+
name?: string;
|
|
29
29
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
30
30
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
31
31
|
meta?: any;
|
|
@@ -36,7 +36,6 @@ export declare const ItemAttribute: import("zod").ZodObject<{
|
|
|
36
36
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
37
37
|
deletedDate?: Date;
|
|
38
38
|
}, {
|
|
39
|
-
name?: string;
|
|
40
39
|
key?: string;
|
|
41
40
|
id?: string | import("mongoose").Types.ObjectId;
|
|
42
41
|
data?: any;
|
|
@@ -44,6 +43,7 @@ export declare const ItemAttribute: import("zod").ZodObject<{
|
|
|
44
43
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
45
44
|
createdDate?: Date;
|
|
46
45
|
updatedDate?: Date;
|
|
46
|
+
name?: string;
|
|
47
47
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
48
48
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
49
49
|
meta?: any;
|
|
@@ -74,7 +74,6 @@ export declare const ItemMaterial: import("zod").ZodObject<{
|
|
|
74
74
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
75
75
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
76
76
|
}, "strip", import("zod").ZodTypeAny, {
|
|
77
|
-
name?: string;
|
|
78
77
|
key?: string;
|
|
79
78
|
id?: string | import("mongoose").Types.ObjectId;
|
|
80
79
|
data?: any;
|
|
@@ -82,6 +81,7 @@ export declare const ItemMaterial: import("zod").ZodObject<{
|
|
|
82
81
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
83
82
|
createdDate?: Date;
|
|
84
83
|
updatedDate?: Date;
|
|
84
|
+
name?: string;
|
|
85
85
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
86
86
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
87
87
|
meta?: any;
|
|
@@ -92,7 +92,6 @@ export declare const ItemMaterial: import("zod").ZodObject<{
|
|
|
92
92
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
93
93
|
deletedDate?: Date;
|
|
94
94
|
}, {
|
|
95
|
-
name?: string;
|
|
96
95
|
key?: string;
|
|
97
96
|
id?: string | import("mongoose").Types.ObjectId;
|
|
98
97
|
data?: any;
|
|
@@ -100,6 +99,7 @@ export declare const ItemMaterial: import("zod").ZodObject<{
|
|
|
100
99
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
101
100
|
createdDate?: Date;
|
|
102
101
|
updatedDate?: Date;
|
|
102
|
+
name?: string;
|
|
103
103
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
104
104
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
105
105
|
meta?: any;
|
|
@@ -130,7 +130,6 @@ export declare const ItemSet: import("zod").ZodObject<{
|
|
|
130
130
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
131
131
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
132
132
|
}, "strip", import("zod").ZodTypeAny, {
|
|
133
|
-
name?: string;
|
|
134
133
|
key?: string;
|
|
135
134
|
id?: string | import("mongoose").Types.ObjectId;
|
|
136
135
|
data?: any;
|
|
@@ -138,6 +137,7 @@ export declare const ItemSet: import("zod").ZodObject<{
|
|
|
138
137
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
139
138
|
createdDate?: Date;
|
|
140
139
|
updatedDate?: Date;
|
|
140
|
+
name?: string;
|
|
141
141
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
142
142
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
143
143
|
meta?: any;
|
|
@@ -148,7 +148,6 @@ export declare const ItemSet: import("zod").ZodObject<{
|
|
|
148
148
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
149
149
|
deletedDate?: Date;
|
|
150
150
|
}, {
|
|
151
|
-
name?: string;
|
|
152
151
|
key?: string;
|
|
153
152
|
id?: string | import("mongoose").Types.ObjectId;
|
|
154
153
|
data?: any;
|
|
@@ -156,6 +155,7 @@ export declare const ItemSet: import("zod").ZodObject<{
|
|
|
156
155
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
157
156
|
createdDate?: Date;
|
|
158
157
|
updatedDate?: Date;
|
|
158
|
+
name?: string;
|
|
159
159
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
160
160
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
161
161
|
meta?: any;
|
|
@@ -186,7 +186,6 @@ export declare const ItemSlot: import("zod").ZodObject<{
|
|
|
186
186
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
187
187
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
188
188
|
}, "strip", import("zod").ZodTypeAny, {
|
|
189
|
-
name?: string;
|
|
190
189
|
key?: string;
|
|
191
190
|
id?: string | import("mongoose").Types.ObjectId;
|
|
192
191
|
data?: any;
|
|
@@ -194,6 +193,7 @@ export declare const ItemSlot: import("zod").ZodObject<{
|
|
|
194
193
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
195
194
|
createdDate?: Date;
|
|
196
195
|
updatedDate?: Date;
|
|
196
|
+
name?: string;
|
|
197
197
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
198
198
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
199
199
|
meta?: any;
|
|
@@ -204,7 +204,6 @@ export declare const ItemSlot: import("zod").ZodObject<{
|
|
|
204
204
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
205
205
|
deletedDate?: Date;
|
|
206
206
|
}, {
|
|
207
|
-
name?: string;
|
|
208
207
|
key?: string;
|
|
209
208
|
id?: string | import("mongoose").Types.ObjectId;
|
|
210
209
|
data?: any;
|
|
@@ -212,6 +211,7 @@ export declare const ItemSlot: import("zod").ZodObject<{
|
|
|
212
211
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
213
212
|
createdDate?: Date;
|
|
214
213
|
updatedDate?: Date;
|
|
214
|
+
name?: string;
|
|
215
215
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
216
216
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
217
217
|
meta?: any;
|
|
@@ -242,7 +242,6 @@ export declare const ItemRarity: import("zod").ZodObject<{
|
|
|
242
242
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
243
243
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
244
244
|
}, "strip", import("zod").ZodTypeAny, {
|
|
245
|
-
name?: string;
|
|
246
245
|
key?: string;
|
|
247
246
|
id?: string | import("mongoose").Types.ObjectId;
|
|
248
247
|
data?: any;
|
|
@@ -250,6 +249,7 @@ export declare const ItemRarity: import("zod").ZodObject<{
|
|
|
250
249
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
251
250
|
createdDate?: Date;
|
|
252
251
|
updatedDate?: Date;
|
|
252
|
+
name?: string;
|
|
253
253
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
254
254
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
255
255
|
meta?: any;
|
|
@@ -260,7 +260,6 @@ export declare const ItemRarity: import("zod").ZodObject<{
|
|
|
260
260
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
261
261
|
deletedDate?: Date;
|
|
262
262
|
}, {
|
|
263
|
-
name?: string;
|
|
264
263
|
key?: string;
|
|
265
264
|
id?: string | import("mongoose").Types.ObjectId;
|
|
266
265
|
data?: any;
|
|
@@ -268,6 +267,7 @@ export declare const ItemRarity: import("zod").ZodObject<{
|
|
|
268
267
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
269
268
|
createdDate?: Date;
|
|
270
269
|
updatedDate?: Date;
|
|
270
|
+
name?: string;
|
|
271
271
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
272
272
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
273
273
|
meta?: any;
|
|
@@ -300,15 +300,15 @@ export declare const ItemRank: import("zod").ZodObject<{
|
|
|
300
300
|
} & {
|
|
301
301
|
value: import("zod").ZodNumber;
|
|
302
302
|
}, "strip", import("zod").ZodTypeAny, {
|
|
303
|
-
name?: string;
|
|
304
|
-
value?: number;
|
|
305
303
|
key?: string;
|
|
304
|
+
value?: number;
|
|
306
305
|
id?: string | import("mongoose").Types.ObjectId;
|
|
307
306
|
data?: any;
|
|
308
307
|
description?: string;
|
|
309
308
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
310
309
|
createdDate?: Date;
|
|
311
310
|
updatedDate?: Date;
|
|
311
|
+
name?: string;
|
|
312
312
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
313
313
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
314
314
|
meta?: any;
|
|
@@ -319,15 +319,15 @@ export declare const ItemRank: import("zod").ZodObject<{
|
|
|
319
319
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
320
320
|
deletedDate?: Date;
|
|
321
321
|
}, {
|
|
322
|
-
name?: string;
|
|
323
|
-
value?: number;
|
|
324
322
|
key?: string;
|
|
323
|
+
value?: number;
|
|
325
324
|
id?: string | import("mongoose").Types.ObjectId;
|
|
326
325
|
data?: any;
|
|
327
326
|
description?: string;
|
|
328
327
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
329
328
|
createdDate?: Date;
|
|
330
329
|
updatedDate?: Date;
|
|
330
|
+
name?: string;
|
|
331
331
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
332
332
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
333
333
|
meta?: any;
|
|
@@ -358,7 +358,6 @@ export declare const ItemType: import("zod").ZodObject<{
|
|
|
358
358
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
359
359
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
360
360
|
}, "strip", import("zod").ZodTypeAny, {
|
|
361
|
-
name?: string;
|
|
362
361
|
key?: string;
|
|
363
362
|
id?: string | import("mongoose").Types.ObjectId;
|
|
364
363
|
data?: any;
|
|
@@ -366,6 +365,7 @@ export declare const ItemType: import("zod").ZodObject<{
|
|
|
366
365
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
367
366
|
createdDate?: Date;
|
|
368
367
|
updatedDate?: Date;
|
|
368
|
+
name?: string;
|
|
369
369
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
370
370
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
371
371
|
meta?: any;
|
|
@@ -376,7 +376,6 @@ export declare const ItemType: import("zod").ZodObject<{
|
|
|
376
376
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
377
377
|
deletedDate?: Date;
|
|
378
378
|
}, {
|
|
379
|
-
name?: string;
|
|
380
379
|
key?: string;
|
|
381
380
|
id?: string | import("mongoose").Types.ObjectId;
|
|
382
381
|
data?: any;
|
|
@@ -384,6 +383,7 @@ export declare const ItemType: import("zod").ZodObject<{
|
|
|
384
383
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
385
384
|
createdDate?: Date;
|
|
386
385
|
updatedDate?: Date;
|
|
386
|
+
name?: string;
|
|
387
387
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
388
388
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
389
389
|
meta?: any;
|
|
@@ -414,7 +414,6 @@ export declare const ItemSubType: import("zod").ZodObject<{
|
|
|
414
414
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
415
415
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
416
416
|
}, "strip", import("zod").ZodTypeAny, {
|
|
417
|
-
name?: string;
|
|
418
417
|
key?: string;
|
|
419
418
|
id?: string | import("mongoose").Types.ObjectId;
|
|
420
419
|
data?: any;
|
|
@@ -422,6 +421,7 @@ export declare const ItemSubType: import("zod").ZodObject<{
|
|
|
422
421
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
423
422
|
createdDate?: Date;
|
|
424
423
|
updatedDate?: Date;
|
|
424
|
+
name?: string;
|
|
425
425
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
426
426
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
427
427
|
meta?: any;
|
|
@@ -432,7 +432,6 @@ export declare const ItemSubType: import("zod").ZodObject<{
|
|
|
432
432
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
433
433
|
deletedDate?: Date;
|
|
434
434
|
}, {
|
|
435
|
-
name?: string;
|
|
436
435
|
key?: string;
|
|
437
436
|
id?: string | import("mongoose").Types.ObjectId;
|
|
438
437
|
data?: any;
|
|
@@ -440,6 +439,7 @@ export declare const ItemSubType: import("zod").ZodObject<{
|
|
|
440
439
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
441
440
|
createdDate?: Date;
|
|
442
441
|
updatedDate?: Date;
|
|
442
|
+
name?: string;
|
|
443
443
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
444
444
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
445
445
|
meta?: any;
|
|
@@ -470,7 +470,6 @@ export declare const ItemSpecificType: import("zod").ZodObject<{
|
|
|
470
470
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
471
471
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
472
472
|
}, "strip", import("zod").ZodTypeAny, {
|
|
473
|
-
name?: string;
|
|
474
473
|
key?: string;
|
|
475
474
|
id?: string | import("mongoose").Types.ObjectId;
|
|
476
475
|
data?: any;
|
|
@@ -478,6 +477,7 @@ export declare const ItemSpecificType: import("zod").ZodObject<{
|
|
|
478
477
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
479
478
|
createdDate?: Date;
|
|
480
479
|
updatedDate?: Date;
|
|
480
|
+
name?: string;
|
|
481
481
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
482
482
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
483
483
|
meta?: any;
|
|
@@ -488,7 +488,6 @@ export declare const ItemSpecificType: import("zod").ZodObject<{
|
|
|
488
488
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
489
489
|
deletedDate?: Date;
|
|
490
490
|
}, {
|
|
491
|
-
name?: string;
|
|
492
491
|
key?: string;
|
|
493
492
|
id?: string | import("mongoose").Types.ObjectId;
|
|
494
493
|
data?: any;
|
|
@@ -496,6 +495,7 @@ export declare const ItemSpecificType: import("zod").ZodObject<{
|
|
|
496
495
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
497
496
|
createdDate?: Date;
|
|
498
497
|
updatedDate?: Date;
|
|
498
|
+
name?: string;
|
|
499
499
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
500
500
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
501
501
|
meta?: any;
|
|
@@ -533,7 +533,6 @@ export declare const ItemAffix: import("zod").ZodObject<{
|
|
|
533
533
|
typeIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
|
|
534
534
|
rarityIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>, "many">>;
|
|
535
535
|
}, "strip", import("zod").ZodTypeAny, {
|
|
536
|
-
name?: string;
|
|
537
536
|
key?: string;
|
|
538
537
|
id?: string | import("mongoose").Types.ObjectId;
|
|
539
538
|
data?: any;
|
|
@@ -541,6 +540,7 @@ export declare const ItemAffix: import("zod").ZodObject<{
|
|
|
541
540
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
542
541
|
createdDate?: Date;
|
|
543
542
|
updatedDate?: Date;
|
|
543
|
+
name?: string;
|
|
544
544
|
weight?: number;
|
|
545
545
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
546
546
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
@@ -557,7 +557,6 @@ export declare const ItemAffix: import("zod").ZodObject<{
|
|
|
557
557
|
typeIds?: (string | import("mongoose").Types.ObjectId)[];
|
|
558
558
|
rarityIds?: (string | import("mongoose").Types.ObjectId)[];
|
|
559
559
|
}, {
|
|
560
|
-
name?: string;
|
|
561
560
|
key?: string;
|
|
562
561
|
id?: string | import("mongoose").Types.ObjectId;
|
|
563
562
|
data?: any;
|
|
@@ -565,6 +564,7 @@ export declare const ItemAffix: import("zod").ZodObject<{
|
|
|
565
564
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
566
565
|
createdDate?: Date;
|
|
567
566
|
updatedDate?: Date;
|
|
567
|
+
name?: string;
|
|
568
568
|
weight?: number;
|
|
569
569
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
570
570
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
@@ -601,7 +601,6 @@ export declare const ItemRecipe: import("zod").ZodObject<{
|
|
|
601
601
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
602
602
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
603
603
|
}, "strip", import("zod").ZodTypeAny, {
|
|
604
|
-
name?: string;
|
|
605
604
|
key?: string;
|
|
606
605
|
id?: string | import("mongoose").Types.ObjectId;
|
|
607
606
|
data?: any;
|
|
@@ -609,6 +608,7 @@ export declare const ItemRecipe: import("zod").ZodObject<{
|
|
|
609
608
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
610
609
|
createdDate?: Date;
|
|
611
610
|
updatedDate?: Date;
|
|
611
|
+
name?: string;
|
|
612
612
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
613
613
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
614
614
|
meta?: any;
|
|
@@ -619,7 +619,6 @@ export declare const ItemRecipe: import("zod").ZodObject<{
|
|
|
619
619
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
620
620
|
deletedDate?: Date;
|
|
621
621
|
}, {
|
|
622
|
-
name?: string;
|
|
623
622
|
key?: string;
|
|
624
623
|
id?: string | import("mongoose").Types.ObjectId;
|
|
625
624
|
data?: any;
|
|
@@ -627,6 +626,7 @@ export declare const ItemRecipe: import("zod").ZodObject<{
|
|
|
627
626
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
628
627
|
createdDate?: Date;
|
|
629
628
|
updatedDate?: Date;
|
|
629
|
+
name?: string;
|
|
630
630
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
631
631
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
632
632
|
meta?: any;
|
|
@@ -657,7 +657,6 @@ export declare const ItemSkin: import("zod").ZodObject<{
|
|
|
657
657
|
updatedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
658
658
|
deletedDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
659
659
|
}, "strip", import("zod").ZodTypeAny, {
|
|
660
|
-
name?: string;
|
|
661
660
|
key?: string;
|
|
662
661
|
id?: string | import("mongoose").Types.ObjectId;
|
|
663
662
|
data?: any;
|
|
@@ -665,6 +664,7 @@ export declare const ItemSkin: import("zod").ZodObject<{
|
|
|
665
664
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
666
665
|
createdDate?: Date;
|
|
667
666
|
updatedDate?: Date;
|
|
667
|
+
name?: string;
|
|
668
668
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
669
669
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
670
670
|
meta?: any;
|
|
@@ -675,7 +675,6 @@ export declare const ItemSkin: import("zod").ZodObject<{
|
|
|
675
675
|
deletedById?: string | import("mongoose").Types.ObjectId;
|
|
676
676
|
deletedDate?: Date;
|
|
677
677
|
}, {
|
|
678
|
-
name?: string;
|
|
679
678
|
key?: string;
|
|
680
679
|
id?: string | import("mongoose").Types.ObjectId;
|
|
681
680
|
data?: any;
|
|
@@ -683,6 +682,7 @@ export declare const ItemSkin: import("zod").ZodObject<{
|
|
|
683
682
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
684
683
|
createdDate?: Date;
|
|
685
684
|
updatedDate?: Date;
|
|
685
|
+
name?: string;
|
|
686
686
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
687
687
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
688
688
|
meta?: any;
|
|
@@ -718,7 +718,6 @@ export declare const ItemTransmute: import("zod").ZodObject<{
|
|
|
718
718
|
itemId: import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>;
|
|
719
719
|
chainId: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodEffects<import("zod").ZodString, string, string>, import("zod").ZodType<import("mongoose").Types.ObjectId, import("zod").ZodTypeDef, import("mongoose").Types.ObjectId>]>>;
|
|
720
720
|
}, "strip", import("zod").ZodTypeAny, {
|
|
721
|
-
name?: string;
|
|
722
721
|
key?: string;
|
|
723
722
|
id?: string | import("mongoose").Types.ObjectId;
|
|
724
723
|
data?: any;
|
|
@@ -726,6 +725,7 @@ export declare const ItemTransmute: import("zod").ZodObject<{
|
|
|
726
725
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
727
726
|
createdDate?: Date;
|
|
728
727
|
updatedDate?: Date;
|
|
728
|
+
name?: string;
|
|
729
729
|
token?: string;
|
|
730
730
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
731
731
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
@@ -740,7 +740,6 @@ export declare const ItemTransmute: import("zod").ZodObject<{
|
|
|
740
740
|
assetId?: string | import("mongoose").Types.ObjectId;
|
|
741
741
|
itemId?: string | import("mongoose").Types.ObjectId;
|
|
742
742
|
}, {
|
|
743
|
-
name?: string;
|
|
744
743
|
key?: string;
|
|
745
744
|
id?: string | import("mongoose").Types.ObjectId;
|
|
746
745
|
data?: any;
|
|
@@ -748,6 +747,7 @@ export declare const ItemTransmute: import("zod").ZodObject<{
|
|
|
748
747
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
749
748
|
createdDate?: Date;
|
|
750
749
|
updatedDate?: Date;
|
|
750
|
+
name?: string;
|
|
751
751
|
token?: string;
|
|
752
752
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
753
753
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import * as schema from './item.schema';
|
|
3
|
-
import { Document, Model } from '
|
|
3
|
+
import { Document, Model } from '../util/mongo';
|
|
4
4
|
import type { RouterContext } from '../types';
|
|
5
5
|
import type { inferRouterInputs, inferRouterOutputs } from '@trpc/server';
|
|
6
6
|
import type { Router } from './item.router';
|
package/build/job/job.models.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.models.js","sourceRoot":"","sources":["../../job/job.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"job.models.js","sourceRoot":"","sources":["../../job/job.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAGvC,MAAM,CAAC,MAAM,GAAG,GAAG,KAAK,CAAC,WAAW,CAClC,KAAK,EACL;IACE,GAAG,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE;IACrC,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;IACzB,UAAU,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CAC3B,EACD;IACE,OAAO,EAAE,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;CAChD,CACF,CAAC"}
|
|
@@ -76,7 +76,6 @@ export declare const createRouter: () => import("@trpc/server/dist/unstable-core
|
|
|
76
76
|
createJob: import("@trpc/server").TRPCMutationProcedure<{
|
|
77
77
|
input: {
|
|
78
78
|
data?: {
|
|
79
|
-
name?: string;
|
|
80
79
|
mod?: string;
|
|
81
80
|
key?: string;
|
|
82
81
|
id?: string | import("mongoose").Types.ObjectId;
|
|
@@ -85,6 +84,7 @@ export declare const createRouter: () => import("@trpc/server/dist/unstable-core
|
|
|
85
84
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
86
85
|
createdDate?: Date;
|
|
87
86
|
updatedDate?: Date;
|
|
87
|
+
name?: string;
|
|
88
88
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
89
89
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
90
90
|
meta?: any;
|
|
@@ -103,7 +103,6 @@ export declare const createRouter: () => import("@trpc/server/dist/unstable-core
|
|
|
103
103
|
updateJob: import("@trpc/server").TRPCMutationProcedure<{
|
|
104
104
|
input: {
|
|
105
105
|
data?: {
|
|
106
|
-
name?: string;
|
|
107
106
|
mod?: string;
|
|
108
107
|
key?: string;
|
|
109
108
|
id?: string | import("mongoose").Types.ObjectId;
|
|
@@ -112,6 +111,7 @@ export declare const createRouter: () => import("@trpc/server/dist/unstable-core
|
|
|
112
111
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
113
112
|
createdDate?: Date;
|
|
114
113
|
updatedDate?: Date;
|
|
114
|
+
name?: string;
|
|
115
115
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
116
116
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
117
117
|
meta?: any;
|
package/build/job/job.router.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z as zod } from 'zod';
|
|
2
2
|
import { initTRPC } from '@trpc/server';
|
|
3
|
-
import { customErrorFormatter, hasRole } from '
|
|
3
|
+
import { customErrorFormatter, hasRole } from '../util/rpc';
|
|
4
4
|
import { Job } from './job.schema';
|
|
5
5
|
import { Query } from '../schema';
|
|
6
6
|
export const z = zod;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"job.router.js","sourceRoot":"","sources":["../../job/job.router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,IAAI,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAyC,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"job.router.js","sourceRoot":"","sources":["../../job/job.router.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,IAAI,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAyC,MAAM,cAAc,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,EAAE,GAAG,EA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AC,CAAC,CAAC;SACxB,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;SAC5B,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC;SACtD,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,CAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,SAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IAEnF,aAAa,EAAE,SAAS;SACrB,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;SACxB,GAAG,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAC;SAC5B,KAAK,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;SACd,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,CAAE,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,aAAqB,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;CACxF,CAAC,CAAC"}
|
|
@@ -22,7 +22,6 @@ export declare const Job: import("zod").ZodObject<{
|
|
|
22
22
|
startDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
23
23
|
expireDate: import("zod").ZodOptional<import("zod").ZodDate>;
|
|
24
24
|
}, "strip", import("zod").ZodTypeAny, {
|
|
25
|
-
name?: string;
|
|
26
25
|
mod?: string;
|
|
27
26
|
key?: string;
|
|
28
27
|
id?: string | import("mongoose").Types.ObjectId;
|
|
@@ -31,6 +30,7 @@ export declare const Job: import("zod").ZodObject<{
|
|
|
31
30
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
32
31
|
createdDate?: Date;
|
|
33
32
|
updatedDate?: Date;
|
|
33
|
+
name?: string;
|
|
34
34
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
35
35
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
36
36
|
meta?: any;
|
|
@@ -43,7 +43,6 @@ export declare const Job: import("zod").ZodObject<{
|
|
|
43
43
|
startDate?: Date;
|
|
44
44
|
expireDate?: Date;
|
|
45
45
|
}, {
|
|
46
|
-
name?: string;
|
|
47
46
|
mod?: string;
|
|
48
47
|
key?: string;
|
|
49
48
|
id?: string | import("mongoose").Types.ObjectId;
|
|
@@ -52,6 +51,7 @@ export declare const Job: import("zod").ZodObject<{
|
|
|
52
51
|
applicationId?: string | import("mongoose").Types.ObjectId;
|
|
53
52
|
createdDate?: Date;
|
|
54
53
|
updatedDate?: Date;
|
|
54
|
+
name?: string;
|
|
55
55
|
status?: "Active" | "Paused" | "Pending" | "Archived";
|
|
56
56
|
ownerId?: string | import("mongoose").Types.ObjectId;
|
|
57
57
|
meta?: any;
|
package/build/job/job.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import * as schema from './job.schema';
|
|
3
|
-
import { Document, Model } from '
|
|
3
|
+
import { Document, Model } from '../util/mongo';
|
|
4
4
|
import type { RouterContext } from '../types';
|
|
5
5
|
import type { inferRouterInputs, inferRouterOutputs } from '@trpc/server';
|
|
6
6
|
import type { Router } from './job.router';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as mongo from '
|
|
1
|
+
import * as mongo from '../util/mongo';
|
|
2
2
|
import type * as Types from './market.types';
|
|
3
3
|
export declare const Market: mongo.Model<any> | mongo.Model<Types.MarketDocument>;
|
|
4
4
|
export declare const MarketPair: mongo.Model<any> | mongo.Model<Types.MarketPairDocument>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"market.models.js","sourceRoot":"","sources":["../../market/market.models.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,
|
|
1
|
+
{"version":3,"file":"market.models.js","sourceRoot":"","sources":["../../market/market.models.ts"],"names":[],"mappings":"AAAA,OAA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