@fnlb-project/database 1.0.79 → 1.0.81

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 CHANGED
@@ -3366,9 +3366,35 @@ export declare const CategoryModel: import("mongoose").Model<{
3366
3366
  } & {
3367
3367
  __v: number;
3368
3368
  }>>;
3369
+ export declare const CommunityListingLikeModel: import("mongoose").Model<{
3370
+ user: import("mongoose").Types.ObjectId;
3371
+ listing: import("mongoose").Types.ObjectId;
3372
+ }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
3373
+ user: import("mongoose").Types.ObjectId;
3374
+ listing: import("mongoose").Types.ObjectId;
3375
+ }, {}, import("mongoose").DefaultSchemaOptions> & {
3376
+ user: import("mongoose").Types.ObjectId;
3377
+ listing: import("mongoose").Types.ObjectId;
3378
+ } & {
3379
+ _id: import("mongoose").Types.ObjectId;
3380
+ } & {
3381
+ __v: number;
3382
+ }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
3383
+ user: import("mongoose").Types.ObjectId;
3384
+ listing: import("mongoose").Types.ObjectId;
3385
+ }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3386
+ user: import("mongoose").Types.ObjectId;
3387
+ listing: import("mongoose").Types.ObjectId;
3388
+ }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3389
+ user: import("mongoose").Types.ObjectId;
3390
+ listing: import("mongoose").Types.ObjectId;
3391
+ }> & {
3392
+ _id: import("mongoose").Types.ObjectId;
3393
+ } & {
3394
+ __v: number;
3395
+ }>>;
3369
3396
  export declare const CommunityListingModel: import("mongoose").Model<{
3370
3397
  kind: CommunityListingKind;
3371
- slug: string;
3372
3398
  title: string;
3373
3399
  author: import("mongoose").Types.ObjectId;
3374
3400
  status: CommunityListingStatus;
@@ -3376,6 +3402,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3376
3402
  tags?: string[] | null | undefined;
3377
3403
  stats?: {
3378
3404
  installs?: number | null | undefined;
3405
+ likes?: number | null | undefined;
3379
3406
  } | null | undefined;
3380
3407
  liveRef?: {
3381
3408
  categoryId: string;
@@ -3383,7 +3410,6 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3383
3410
  payload?: any;
3384
3411
  }, {}, {}, {}, import("mongoose").Document<unknown, {}, {
3385
3412
  kind: CommunityListingKind;
3386
- slug: string;
3387
3413
  title: string;
3388
3414
  author: import("mongoose").Types.ObjectId;
3389
3415
  status: CommunityListingStatus;
@@ -3391,6 +3417,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3391
3417
  tags?: string[] | null | undefined;
3392
3418
  stats?: {
3393
3419
  installs?: number | null | undefined;
3420
+ likes?: number | null | undefined;
3394
3421
  } | null | undefined;
3395
3422
  liveRef?: {
3396
3423
  categoryId: string;
@@ -3398,7 +3425,6 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3398
3425
  payload?: any;
3399
3426
  }, {}, import("mongoose").DefaultSchemaOptions> & {
3400
3427
  kind: CommunityListingKind;
3401
- slug: string;
3402
3428
  title: string;
3403
3429
  author: import("mongoose").Types.ObjectId;
3404
3430
  status: CommunityListingStatus;
@@ -3406,6 +3432,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3406
3432
  tags?: string[] | null | undefined;
3407
3433
  stats?: {
3408
3434
  installs?: number | null | undefined;
3435
+ likes?: number | null | undefined;
3409
3436
  } | null | undefined;
3410
3437
  liveRef?: {
3411
3438
  categoryId: string;
@@ -3417,7 +3444,6 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3417
3444
  __v: number;
3418
3445
  }, Schema<any, import("mongoose").Model<any, any, any, any, any, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, {
3419
3446
  kind: CommunityListingKind;
3420
- slug: string;
3421
3447
  title: string;
3422
3448
  author: import("mongoose").Types.ObjectId;
3423
3449
  status: CommunityListingStatus;
@@ -3425,6 +3451,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3425
3451
  tags?: string[] | null | undefined;
3426
3452
  stats?: {
3427
3453
  installs?: number | null | undefined;
3454
+ likes?: number | null | undefined;
3428
3455
  } | null | undefined;
3429
3456
  liveRef?: {
3430
3457
  categoryId: string;
@@ -3432,7 +3459,6 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3432
3459
  payload?: any;
3433
3460
  }, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<{
3434
3461
  kind: CommunityListingKind;
3435
- slug: string;
3436
3462
  title: string;
3437
3463
  author: import("mongoose").Types.ObjectId;
3438
3464
  status: CommunityListingStatus;
@@ -3440,6 +3466,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3440
3466
  tags?: string[] | null | undefined;
3441
3467
  stats?: {
3442
3468
  installs?: number | null | undefined;
3469
+ likes?: number | null | undefined;
3443
3470
  } | null | undefined;
3444
3471
  liveRef?: {
3445
3472
  categoryId: string;
@@ -3447,7 +3474,6 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3447
3474
  payload?: any;
3448
3475
  }>, {}, import("mongoose").DefaultSchemaOptions> & import("mongoose").FlatRecord<{
3449
3476
  kind: CommunityListingKind;
3450
- slug: string;
3451
3477
  title: string;
3452
3478
  author: import("mongoose").Types.ObjectId;
3453
3479
  status: CommunityListingStatus;
@@ -3455,6 +3481,7 @@ export declare const CommunityListingModel: import("mongoose").Model<{
3455
3481
  tags?: string[] | null | undefined;
3456
3482
  stats?: {
3457
3483
  installs?: number | null | undefined;
3484
+ likes?: number | null | undefined;
3458
3485
  } | null | undefined;
3459
3486
  liveRef?: {
3460
3487
  categoryId: string;