tering-serieuze-types 1.2.1 → 1.2.3
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/build.js +7 -0
- package/dist/index.js +62 -0
- package/dist/index.js.map +7 -0
- package/index.d.ts +0 -3
- package/package.json +8 -2
- package/{dto → src/dto}/index.ts +1 -1
- package/src/index.ts +1 -0
- package/tsconfig.json +21 -0
package/build.js
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
AddUserDto: () => AddUserDto,
|
|
24
|
+
EmulateFireDepartmentDto: () => EmulateFireDepartmentDto,
|
|
25
|
+
HandleClickDto: () => HandleClickDto,
|
|
26
|
+
PlayJingleDto: () => PlayJingleDto,
|
|
27
|
+
RemoveButtonDto: () => RemoveButtonDto,
|
|
28
|
+
RemoveUserDto: () => RemoveUserDto,
|
|
29
|
+
SaveButtonEventDto: () => SaveButtonEventDto,
|
|
30
|
+
ToggleBoolDto: () => ToggleBoolDto
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(src_exports);
|
|
33
|
+
|
|
34
|
+
// src/dto/index.ts
|
|
35
|
+
var PlayJingleDto = class {
|
|
36
|
+
};
|
|
37
|
+
var AddUserDto = class {
|
|
38
|
+
};
|
|
39
|
+
var RemoveUserDto = class {
|
|
40
|
+
};
|
|
41
|
+
var ToggleBoolDto = class {
|
|
42
|
+
};
|
|
43
|
+
var EmulateFireDepartmentDto = class {
|
|
44
|
+
};
|
|
45
|
+
var RemoveButtonDto = class {
|
|
46
|
+
};
|
|
47
|
+
var SaveButtonEventDto = class {
|
|
48
|
+
};
|
|
49
|
+
var HandleClickDto = class {
|
|
50
|
+
};
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
AddUserDto,
|
|
54
|
+
EmulateFireDepartmentDto,
|
|
55
|
+
HandleClickDto,
|
|
56
|
+
PlayJingleDto,
|
|
57
|
+
RemoveButtonDto,
|
|
58
|
+
RemoveUserDto,
|
|
59
|
+
SaveButtonEventDto,
|
|
60
|
+
ToggleBoolDto
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/index.ts", "../src/dto/index.ts"],
|
|
4
|
+
"sourcesContent": ["export * from './dto';\n", "import { ToggleableUserInterfaceProperties } from '../../interfaces';\n\nexport class PlayJingleDto {\n folder: string;\n\n file: string;\n}\n\nexport class AddUserDto {\n email: string;\n}\n\nexport class RemoveUserDto {\n id: number;\n}\n\nexport class ToggleBoolDto {\n id: number;\n field: keyof ToggleableUserInterfaceProperties;\n}\n\nexport class EmulateFireDepartmentDto {\n city: string;\n}\n\nexport class RemoveButtonDto {\n buttonId: string;\n owner: number;\n}\n\nexport class SaveButtonEventDto {\n ButtonSingleClick: string[];\n ButtonDoubleClick: string[];\n ButtonHold: string[];\n [key: string]: string[];\n}\n\nexport class HandleClickDto {\n bdAddr: string;\n clickType: string;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACEO,IAAM,gBAAN,MAAoB;AAI3B;AAEO,IAAM,aAAN,MAAiB;AAExB;AAEO,IAAM,gBAAN,MAAoB;AAE3B;AAEO,IAAM,gBAAN,MAAoB;AAG3B;AAEO,IAAM,2BAAN,MAA+B;AAEtC;AAEO,IAAM,kBAAN,MAAsB;AAG7B;AAEO,IAAM,qBAAN,MAAyB;AAKhC;AAEO,IAAM,iBAAN,MAAqB;AAG5B;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tering-serieuze-types",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Tering serieuze types",
|
|
5
|
-
"main": "",
|
|
6
5
|
"author": "Frank",
|
|
7
6
|
"repository": {
|
|
8
7
|
"type": "git",
|
|
9
8
|
"url": "https://gitlab.com/tering-serieuze-shit/tering-serieuze-types.git"
|
|
10
9
|
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "node build"
|
|
12
|
+
},
|
|
13
|
+
"main": "dist/index.js",
|
|
11
14
|
"types": "index.d.ts",
|
|
12
15
|
"devDependencies": {
|
|
13
16
|
"prettier": "^2.8.0"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"esbuild": "^0.16.2"
|
|
14
20
|
}
|
|
15
21
|
}
|
package/{dto → src/dto}/index.ts
RENAMED
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dto';
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// tsconfig.json
|
|
2
|
+
{
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"target": "es2018",
|
|
5
|
+
"module": "ESNext",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"lib": ["esnext", "es6", "esnext.asynciterable", "dom"],
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"allowJs": true,
|
|
10
|
+
"sourceMap": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"noEmit": true,
|
|
13
|
+
"baseUrl": ".",
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"types": [
|
|
16
|
+
"@types/node",
|
|
17
|
+
"@types/jest"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"exclude": ["node_modules"]
|
|
21
|
+
}
|