tering-serieuze-types 1.15.0 → 1.17.0
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.js +9 -0
- package/package.json +3 -2
- package/src/k8s.ts +6 -0
- package/src/user.ts +3 -0
package/dist/index.js
CHANGED
|
@@ -146,6 +146,9 @@ __decorateClass([
|
|
|
146
146
|
__decorateClass([
|
|
147
147
|
(0, import_swagger3.ApiProperty)({ type: () => [Button] })
|
|
148
148
|
], User.prototype, "buttons", 2);
|
|
149
|
+
__decorateClass([
|
|
150
|
+
(0, import_swagger3.ApiProperty)({ type: String, default: "" })
|
|
151
|
+
], User.prototype, "lastSeenChangelogId", 2);
|
|
149
152
|
var ToggleAbleUserPropertyEnum = /* @__PURE__ */ ((ToggleAbleUserPropertyEnum2) => {
|
|
150
153
|
ToggleAbleUserPropertyEnum2["isAdmin"] = "isAdmin";
|
|
151
154
|
ToggleAbleUserPropertyEnum2["isBanned"] = "isBanned";
|
|
@@ -288,6 +291,12 @@ __decorateClass([
|
|
|
288
291
|
__decorateClass([
|
|
289
292
|
(0, import_swagger7.ApiProperty)({ type: Number })
|
|
290
293
|
], Pod.prototype, "restarts", 2);
|
|
294
|
+
__decorateClass([
|
|
295
|
+
(0, import_swagger7.ApiProperty)({ type: Number })
|
|
296
|
+
], Pod.prototype, "cpu", 2);
|
|
297
|
+
__decorateClass([
|
|
298
|
+
(0, import_swagger7.ApiProperty)({ type: Number })
|
|
299
|
+
], Pod.prototype, "memory", 2);
|
|
291
300
|
var DeletePodDto = class extends (0, import_swagger7.PickType)(Pod, ["name"]) {
|
|
292
301
|
};
|
|
293
302
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tering-serieuze-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Tering serieuze types",
|
|
5
5
|
"author": "Frank",
|
|
6
6
|
"repository": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
"url": "https://gitlab.com/tering-serieuze-shit/tering-serieuze-types.git"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
|
-
"build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --packages=external"
|
|
11
|
+
"build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --packages=external",
|
|
12
|
+
"version": "npm run build && git add -A dist"
|
|
12
13
|
},
|
|
13
14
|
"main": "dist/index.js",
|
|
14
15
|
"types": "index.d.ts",
|
package/src/k8s.ts
CHANGED
|
@@ -12,6 +12,12 @@ export class Pod {
|
|
|
12
12
|
|
|
13
13
|
@ApiProperty({ type: Number })
|
|
14
14
|
restarts: number;
|
|
15
|
+
|
|
16
|
+
@ApiProperty({ type: Number })
|
|
17
|
+
cpu: number;
|
|
18
|
+
|
|
19
|
+
@ApiProperty({ type: Number })
|
|
20
|
+
memory: number;
|
|
15
21
|
}
|
|
16
22
|
|
|
17
23
|
export class DeletePodDto extends PickType(Pod, ['name'] as const) {}
|