tering-serieuze-types 1.3.2 → 1.4.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 +46 -0
- package/index.d.ts +2 -0
- package/interfaces/index.ts +1 -7
- package/package.json +7 -1
- package/src/index.ts +9 -0
- package/tsconfig.json +6 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
19
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
20
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
21
|
+
if (decorator = decorators[i])
|
|
22
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
23
|
+
if (kind && result)
|
|
24
|
+
__defProp(target, key, result);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
// src/index.ts
|
|
29
|
+
var src_exports = {};
|
|
30
|
+
__export(src_exports, {
|
|
31
|
+
PlayJingleDto: () => PlayJingleDto
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(src_exports);
|
|
34
|
+
var import_swagger = require("@nestjs/swagger");
|
|
35
|
+
var PlayJingleDto = class {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_swagger.ApiProperty)({ type: String, example: "keeskankerkachel" })
|
|
39
|
+
], PlayJingleDto.prototype, "folder", 2);
|
|
40
|
+
__decorateClass([
|
|
41
|
+
(0, import_swagger.ApiProperty)({ type: String, example: "aan.mp3" })
|
|
42
|
+
], PlayJingleDto.prototype, "file", 2);
|
|
43
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
44
|
+
0 && (module.exports = {
|
|
45
|
+
PlayJingleDto
|
|
46
|
+
});
|
package/index.d.ts
CHANGED
package/interfaces/index.ts
CHANGED
|
@@ -26,7 +26,7 @@ export interface ButtonInterface {
|
|
|
26
26
|
[key: string]: any;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export interface
|
|
29
|
+
export interface JingleInterface {
|
|
30
30
|
folder: string;
|
|
31
31
|
file: string;
|
|
32
32
|
keywords: string[];
|
|
@@ -39,12 +39,6 @@ export interface WebsocketAction {
|
|
|
39
39
|
data: any;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export interface PlayJingleDto {
|
|
43
|
-
folder: string;
|
|
44
|
-
|
|
45
|
-
file: string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
42
|
export interface AddUserDto {
|
|
49
43
|
email: string;
|
|
50
44
|
}
|
package/package.json
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tering-serieuze-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "Tering serieuze types",
|
|
5
5
|
"author": "Frank",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://gitlab.com/tering-serieuze-shit/tering-serieuze-types.git"
|
|
9
9
|
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "esbuild src/index.ts --bundle --platform=node --outfile=dist/index.js --packages=external"
|
|
12
|
+
},
|
|
13
|
+
"main": "dist/index.js",
|
|
10
14
|
"types": "index.d.ts",
|
|
11
15
|
"devDependencies": {
|
|
16
|
+
"@nestjs/swagger": "^6.1.4",
|
|
17
|
+
"esbuild": "^0.16.10",
|
|
12
18
|
"prettier": "^2.8.0"
|
|
13
19
|
}
|
|
14
20
|
}
|
package/src/index.ts
ADDED