jp.db.schemas 1.0.16 → 1.0.17
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.
|
@@ -2,10 +2,8 @@ import { Document, HydratedDocument } from 'mongoose';
|
|
|
2
2
|
export type ServerDocument = HydratedDocument<Server>;
|
|
3
3
|
export declare class Server {
|
|
4
4
|
readonly serverId: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
host: string;
|
|
8
|
-
port: string;
|
|
5
|
+
http: string;
|
|
6
|
+
ws: string;
|
|
9
7
|
}
|
|
10
8
|
export declare const ServerSchema: import("mongoose").Schema<Server, import("mongoose").Model<Server, any, any, any, Document<unknown, any, Server, any> & Server & {
|
|
11
9
|
_id: import("mongoose").Types.ObjectId;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/server.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,QAAQ,EAAE,MAAM,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,
|
|
1
|
+
{"version":3,"file":"server.schema.d.ts","sourceRoot":"","sources":["../../src/schemas/server.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,QAAQ,EAAE,MAAM,CAAC;IAG1B,IAAI,EAAE,MAAM,CAAC;IAGb,EAAE,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,YAAY;;;;;;;;EAAuC,CAAC"}
|
|
@@ -25,19 +25,11 @@ __decorate([
|
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, mongoose_1.Prop)(),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
], Server.prototype, "
|
|
28
|
+
], Server.prototype, "http", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, mongoose_1.Prop)(),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], Server.prototype, "
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, mongoose_1.Prop)(),
|
|
35
|
-
__metadata("design:type", String)
|
|
36
|
-
], Server.prototype, "host", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, mongoose_1.Prop)(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], Server.prototype, "port", void 0);
|
|
32
|
+
], Server.prototype, "ws", void 0);
|
|
41
33
|
exports.Server = Server = __decorate([
|
|
42
34
|
(0, mongoose_1.Schema)()
|
|
43
35
|
], Server);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.schema.js","sourceRoot":"","sources":["../../src/schemas/server.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;
|
|
1
|
+
{"version":3,"file":"server.schema.js","sourceRoot":"","sources":["../../src/schemas/server.schema.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,+CAAwE;AAMjE,IAAM,MAAM,GAAZ,MAAM,MAAM;CAalB,CAAA;AAbY,wBAAM;AAMN;IALR,IAAA,kBAAO,EAAC;QACL,GAAG,EAAE;YACD,OAAO,IAAI,CAAC,EAAE,CAAC;QACnB,CAAC;KACJ,CAAC;;wCACwB;AAG1B;IADC,IAAA,eAAI,GAAE;;oCACM;AAGb;IADC,IAAA,eAAI,GAAE;;kCACI;iBAZF,MAAM;IADlB,IAAA,iBAAM,GAAE;GACI,MAAM,CAalB;AAEY,QAAA,YAAY,GAAG,wBAAa,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -13,16 +13,10 @@ export class Server {
|
|
|
13
13
|
readonly serverId: string;
|
|
14
14
|
|
|
15
15
|
@Prop()
|
|
16
|
-
|
|
16
|
+
http: string;
|
|
17
17
|
|
|
18
18
|
@Prop()
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
@Prop()
|
|
22
|
-
host: string;
|
|
23
|
-
|
|
24
|
-
@Prop()
|
|
25
|
-
port: string;
|
|
19
|
+
ws: string;
|
|
26
20
|
}
|
|
27
21
|
|
|
28
22
|
export const ServerSchema = SchemaFactory.createForClass(Server);
|