jp.db.schemas 2.0.28 → 2.0.29

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,11 @@ 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
+ userId: string;
8
+ avatarUrl: string;
9
+ userName: string;
10
+ level: number;
9
11
  url: string;
10
12
  game: string;
11
13
  channel: string;
@@ -29,17 +31,27 @@ export declare const FriendSchema: import("mongoose").Schema<Friend, import("mon
29
31
  } & {
30
32
  __v: number;
31
33
  }>;
32
- text?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
34
+ icon?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
33
35
  _id: import("mongoose").Types.ObjectId;
34
36
  } & {
35
37
  __v: number;
36
38
  }>;
37
- textEn?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
39
+ userId?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
38
40
  _id: import("mongoose").Types.ObjectId;
39
41
  } & {
40
42
  __v: number;
41
43
  }>;
42
- icon?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
44
+ avatarUrl?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
45
+ _id: import("mongoose").Types.ObjectId;
46
+ } & {
47
+ __v: number;
48
+ }>;
49
+ userName?: import("mongoose").SchemaDefinitionProperty<string, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
50
+ _id: import("mongoose").Types.ObjectId;
51
+ } & {
52
+ __v: number;
53
+ }>;
54
+ level?: import("mongoose").SchemaDefinitionProperty<number, Friend, Document<unknown, {}, Friend, {}, import("mongoose").ResolveSchemaOptions<import("mongoose").DefaultSchemaOptions>> & Friend & {
43
55
  _id: import("mongoose").Types.ObjectId;
44
56
  } & {
45
57
  __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,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,23 @@ __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, "userId", 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, "avatarUrl", void 0);
41
+ __decorate([
42
+ (0, mongoose_1.Prop)(),
43
+ __metadata("design:type", String)
44
+ ], Friend.prototype, "userName", void 0);
45
+ __decorate([
46
+ (0, mongoose_1.Prop)(),
47
+ __metadata("design:type", Number)
48
+ ], Friend.prototype, "level", void 0);
41
49
  __decorate([
42
50
  (0, mongoose_1.Prop)(),
43
51
  __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;CAoClB,CAAA;AApCY,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;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;iBAjCP,MAAM;IADlB,IAAA,iBAAM,EAAC,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC;GACrB,MAAM,CAoClB;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.29",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,14 +16,19 @@ export class Friend {
16
16
  id: string;
17
17
 
18
18
  @Prop()
19
- text: string;
19
+ icon: string;
20
+
21
+ @Prop()
22
+ userId: string;
20
23
 
21
24
  @Prop()
22
- textEn: string;
25
+ avatarUrl: string;
23
26
 
24
27
  @Prop()
25
- icon: string;
28
+ userName: string;
26
29
 
30
+ @Prop()
31
+ level: number;
27
32
 
28
33
  @Prop()
29
34
  url: string;