@fnlb-project/database 1.0.77 → 1.0.78
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/index.d.ts +106 -1
- package/dist/index.js +460 -460
- package/package.json +34 -34
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
3
|
import { GenericErrorSender } from '@fnlb-project/shared/errors';
|
|
4
|
-
import { CategoryConfigSupportedPlatforms, Locales } from '@fnlb-project/shared/types';
|
|
4
|
+
import { CategoryConfigSupportedPlatforms, CommunityListingKind, CommunityListingStatus, Locales } from '@fnlb-project/shared/types';
|
|
5
5
|
import { ConnectOptions, HydratedDocument, Model, Schema, connection } from 'mongoose';
|
|
6
6
|
|
|
7
7
|
export declare class DatabaseClient {
|
|
@@ -3262,6 +3262,111 @@ export declare const CategoryModel: import("mongoose").Model<{
|
|
|
3262
3262
|
} & {
|
|
3263
3263
|
__v: number;
|
|
3264
3264
|
}>>;
|
|
3265
|
+
export declare const CommunityListingModel: import("mongoose").Model<{
|
|
3266
|
+
kind: CommunityListingKind;
|
|
3267
|
+
slug: string;
|
|
3268
|
+
title: string;
|
|
3269
|
+
author: import("mongoose").Types.ObjectId;
|
|
3270
|
+
status: CommunityListingStatus;
|
|
3271
|
+
description?: string | null | undefined;
|
|
3272
|
+
tags?: string[] | null | undefined;
|
|
3273
|
+
thumbnail?: string | null | undefined;
|
|
3274
|
+
stats?: {
|
|
3275
|
+
installs?: number | null | undefined;
|
|
3276
|
+
} | null | undefined;
|
|
3277
|
+
liveRef?: {
|
|
3278
|
+
botId: string;
|
|
3279
|
+
} | null | undefined;
|
|
3280
|
+
payload?: any;
|
|
3281
|
+
}, {}, {}, {}, import("mongoose").Document<unknown, {}, {
|
|
3282
|
+
kind: CommunityListingKind;
|
|
3283
|
+
slug: string;
|
|
3284
|
+
title: string;
|
|
3285
|
+
author: import("mongoose").Types.ObjectId;
|
|
3286
|
+
status: CommunityListingStatus;
|
|
3287
|
+
description?: string | null | undefined;
|
|
3288
|
+
tags?: string[] | null | undefined;
|
|
3289
|
+
thumbnail?: string | null | undefined;
|
|
3290
|
+
stats?: {
|
|
3291
|
+
installs?: number | null | undefined;
|
|
3292
|
+
} | null | undefined;
|
|
3293
|
+
liveRef?: {
|
|
3294
|
+
botId: string;
|
|
3295
|
+
} | null | undefined;
|
|
3296
|
+
payload?: any;
|
|
3297
|
+
}, {}, import("mongoose").DefaultSchemaOptions> & {
|
|
3298
|
+
kind: CommunityListingKind;
|
|
3299
|
+
slug: string;
|
|
3300
|
+
title: string;
|
|
3301
|
+
author: import("mongoose").Types.ObjectId;
|
|
3302
|
+
status: CommunityListingStatus;
|
|
3303
|
+
description?: string | null | undefined;
|
|
3304
|
+
tags?: string[] | null | undefined;
|
|
3305
|
+
thumbnail?: string | null | undefined;
|
|
3306
|
+
stats?: {
|
|
3307
|
+
installs?: number | null | undefined;
|
|
3308
|
+
} | null | undefined;
|
|
3309
|
+
liveRef?: {
|
|
3310
|
+
botId: string;
|
|
3311
|
+
} | null | undefined;
|
|
3312
|
+
payload?: any;
|
|
3313
|
+
} & {
|
|
3314
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3315
|
+
} & {
|
|
3316
|
+
__v: number;
|
|
3317
|
+
}, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
|
|
3318
|
+
kind: CommunityListingKind;
|
|
3319
|
+
slug: string;
|
|
3320
|
+
title: string;
|
|
3321
|
+
author: import("mongoose").Types.ObjectId;
|
|
3322
|
+
status: CommunityListingStatus;
|
|
3323
|
+
description?: string | null | undefined;
|
|
3324
|
+
tags?: string[] | null | undefined;
|
|
3325
|
+
thumbnail?: string | null | undefined;
|
|
3326
|
+
stats?: {
|
|
3327
|
+
installs?: number | null | undefined;
|
|
3328
|
+
} | null | undefined;
|
|
3329
|
+
liveRef?: {
|
|
3330
|
+
botId: string;
|
|
3331
|
+
} | null | undefined;
|
|
3332
|
+
payload?: any;
|
|
3333
|
+
}, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
|
|
3334
|
+
kind: CommunityListingKind;
|
|
3335
|
+
slug: string;
|
|
3336
|
+
title: string;
|
|
3337
|
+
author: import("mongoose").Types.ObjectId;
|
|
3338
|
+
status: CommunityListingStatus;
|
|
3339
|
+
description?: string | null | undefined;
|
|
3340
|
+
tags?: string[] | null | undefined;
|
|
3341
|
+
thumbnail?: string | null | undefined;
|
|
3342
|
+
stats?: {
|
|
3343
|
+
installs?: number | null | undefined;
|
|
3344
|
+
} | null | undefined;
|
|
3345
|
+
liveRef?: {
|
|
3346
|
+
botId: string;
|
|
3347
|
+
} | null | undefined;
|
|
3348
|
+
payload?: any;
|
|
3349
|
+
}>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
|
|
3350
|
+
kind: CommunityListingKind;
|
|
3351
|
+
slug: string;
|
|
3352
|
+
title: string;
|
|
3353
|
+
author: import("mongoose").Types.ObjectId;
|
|
3354
|
+
status: CommunityListingStatus;
|
|
3355
|
+
description?: string | null | undefined;
|
|
3356
|
+
tags?: string[] | null | undefined;
|
|
3357
|
+
thumbnail?: string | null | undefined;
|
|
3358
|
+
stats?: {
|
|
3359
|
+
installs?: number | null | undefined;
|
|
3360
|
+
} | null | undefined;
|
|
3361
|
+
liveRef?: {
|
|
3362
|
+
botId: string;
|
|
3363
|
+
} | null | undefined;
|
|
3364
|
+
payload?: any;
|
|
3365
|
+
}> & {
|
|
3366
|
+
_id: import("mongoose").Types.ObjectId;
|
|
3367
|
+
} & {
|
|
3368
|
+
__v: number;
|
|
3369
|
+
}>>;
|
|
3265
3370
|
export declare const PresetModel: import("mongoose").Model<{
|
|
3266
3371
|
owner: import("mongoose").Types.ObjectId;
|
|
3267
3372
|
name: string;
|