jp.db.schemas 2.0.28 → 2.0.30

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.
@@ -3,9 +3,13 @@ export type FriendDocument = HydratedDocument<Friend>;
3
3
  export declare class Friend {
4
4
  readonly ruleId: string;
5
5
  id: string;
6
- text: string;
7
- textEn: string;
8
6
  icon: string;
7
+ title: string;
8
+ titleEn: string;
9
+ userId: string;
10
+ avatarUrl: string;
11
+ userName: string;
12
+ level: number;
9
13
  url: string;
10
14
  game: string;
11
15
  channel: string;
@@ -29,17 +33,37 @@ export declare const FriendSchema: import("mongoose").Schema<Friend, import("mon
29
33
  } & {
30
34
  __v: number;
31
35
  }>;
32
- text?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
36
+ icon?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
33
37
  _id: import("mongoose").Types.ObjectId;
34
38
  } & {
35
39
  __v: number;
36
40
  }>;
37
- textEn?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
41
+ title?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
38
42
  _id: import("mongoose").Types.ObjectId;
39
43
  } & {
40
44
  __v: number;
41
45
  }>;
42
- icon?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
46
+ titleEn?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
47
+ _id: import("mongoose").Types.ObjectId;
48
+ } & {
49
+ __v: number;
50
+ }>;
51
+ userId?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
52
+ _id: import("mongoose").Types.ObjectId;
53
+ } & {
54
+ __v: number;
55
+ }>;
56
+ avatarUrl?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
57
+ _id: import("mongoose").Types.ObjectId;
58
+ } & {
59
+ __v: number;
60
+ }>;
61
+ userName?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
62
+ _id: import("mongoose").Types.ObjectId;
63
+ } & {
64
+ __v: number;
65
+ }>;
66
+ level?: import("mongoose").SchemaDefinitionProperty<number, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
43
67
  _id: import("mongoose").Types.ObjectId;
44
68
  } & {
45
69
  __v: number;
@@ -1 +1 @@
1
- {"version":3,"file":"friend.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/friend.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMf,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,MAAM,EAAE,MAAM,CAAC;IAGf,IAAI,EAAE,MAAM,CAAC;IAIb,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CAGnB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAuC,CAAC"}
1
+ {"version":3,"file":"friend.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/friend.schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAEtD,MAAM,MAAM,cAAc,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEtD,qBACa,MAAM;IAMf,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IAGxB,EAAE,EAAE,MAAM,CAAC;IAGX,IAAI,EAAE,MAAM,CAAC;IAGb,KAAK,EAAE,MAAM,CAAC;IAGd,OAAO,EAAE,MAAM,CAAC;IAGhB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,GAAG,EAAE,MAAM,CAAC;IAGZ,IAAI,EAAE,MAAM,CAAC;IAGb,OAAO,EAAE,MAAM,CAAC;CAGnB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAAuC,CAAC"}
@@ -29,15 +29,31 @@ __decorate([
29
29
  __decorate([
30
30
  (0, mongoose_1.Prop)(),
31
31
  __metadata("design:type", String)
32
- ], Friend.prototype, "text", void 0);
32
+ ], Friend.prototype, "icon", void 0);
33
33
  __decorate([
34
34
  (0, mongoose_1.Prop)(),
35
35
  __metadata("design:type", String)
36
- ], Friend.prototype, "textEn", void 0);
36
+ ], Friend.prototype, "title", void 0);
37
37
  __decorate([
38
38
  (0, mongoose_1.Prop)(),
39
39
  __metadata("design:type", String)
40
- ], Friend.prototype, "icon", void 0);
40
+ ], Friend.prototype, "titleEn", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", String)
44
+ ], Friend.prototype, "userId", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)(),
47
+ __metadata("design:type", String)
48
+ ], Friend.prototype, "avatarUrl", void 0);
49
+ __decorate([
50
+ (0, mongoose_1.Prop)(),
51
+ __metadata("design:type", String)
52
+ ], Friend.prototype, "userName", void 0);
53
+ __decorate([
54
+ (0, mongoose_1.Prop)(),
55
+ __metadata("design:type", Number)
56
+ ], Friend.prototype, "level", void 0);
41
57
  __decorate([
42
58
  (0, mongoose_1.Prop)(),
43
59
  __metadata("design:type", String)
@@ -1 +1 @@
1
- {"version":3,"file":"friend.schema.js","sourceRoot":"","sources":["../../src/schemas/friend.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA+BlB,CAAA;AA/BY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;sCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACI;AAGX;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;sCACQ;AAGf;IADC,IAAA,eAAI,GAAE;;oCACM;AAIb;IADC,IAAA,eAAI,GAAE;;mCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACS;iBA5BP,MAAM;IADlB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;GACrB,MAAM,CA+BlB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
1
+ {"version":3,"file":"friend.schema.js","sourceRoot":"","sources":["../../src/schemas/friend.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CA0ClB,CAAA;AA1CY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC;QAC/B,CAAC;KACJ,CAAC;;sCACsB;AAGxB;IADC,IAAA,eAAI,GAAE;;kCACI;AAGX;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;uCACS;AAGhB;IADA,IAAA,eAAI,GAAE;;sCACS;AAGf;IADC,IAAA,eAAI,GAAE;;yCACW;AAGlB;IADC,IAAA,eAAI,GAAE;;wCACU;AAGjB;IADC,IAAA,eAAI,GAAE;;qCACO;AAGd;IADC,IAAA,eAAI,GAAE;;mCACK;AAGZ;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;uCACS;iBAvCP,MAAM;IADlB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;GACrB,MAAM,CA0ClB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jp.db.schemas",
3
- "version": "2.0.28",
3
+ "version": "2.0.30",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,14 +16,25 @@ export class Friend {
16
16
  id: string;
17
17
 
18
18
  @Prop()
19
- text: string;
19
+ icon: string;
20
20
 
21
21
  @Prop()
22
- textEn: string;
22
+ title: string;
23
23
 
24
24
  @Prop()
25
- icon: string;
25
+ titleEn: string;
26
+
27
+ @Prop()
28
+ userId: string;
29
+
30
+ @Prop()
31
+ avatarUrl: string;
32
+
33
+ @Prop()
34
+ userName: string;
26
35
 
36
+ @Prop()
37
+ level: number;
27
38
 
28
39
  @Prop()
29
40
  url: string;