@xylabs/static-implements 2.9.3 → 2.10.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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +10 -0
- package/dist/index.mjs.map +1 -0
- package/dist/{esm/staticImplements.js → staticImplements.d.mts} +3 -6
- package/dist/{types/staticImplements.d.ts → staticImplements.d.ts} +3 -2
- package/dist/staticImplements.js +35 -0
- package/dist/staticImplements.js.map +1 -0
- package/dist/staticImplements.mjs +10 -0
- package/dist/staticImplements.mjs.map +1 -0
- package/package.json +31 -17
- package/tsup.config.ts +14 -0
- package/dist/cjs/index.js +0 -5
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/staticImplements.js +0 -15
- package/dist/cjs/staticImplements.js.map +0 -1
- package/dist/docs.json +0 -197
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/staticImplements.js.map +0 -1
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/staticImplements.d.ts.map +0 -1
- package/docs/assets/highlight.css +0 -50
- package/docs/assets/main.js +0 -58
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1367
- package/docs/functions/staticImplements.html +0 -71
- package/docs/index.html +0 -82
- package/docs/modules.html +0 -42
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { staticImplements } from './staticImplements.mjs';
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { staticImplements } from './staticImplements.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
staticImplements: () => staticImplements
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(src_exports);
|
|
26
|
+
|
|
27
|
+
// src/staticImplements.ts
|
|
28
|
+
function staticImplements() {
|
|
29
|
+
return (constructor) => {
|
|
30
|
+
constructor;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
staticImplements
|
|
36
|
+
});
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/index.ts","../src/staticImplements.ts"],"sourcesContent":["export * from './staticImplements'\n","/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/staticImplements.ts"],"sourcesContent":["/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
|
|
@@ -3,9 +3,6 @@
|
|
|
3
3
|
* @returns The decorated class requiring it to implement
|
|
4
4
|
* the members of the the type as static properties/methods
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=staticImplements.js.map
|
|
6
|
+
declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
|
|
7
|
+
|
|
8
|
+
export { staticImplements };
|
|
@@ -3,5 +3,6 @@
|
|
|
3
3
|
* @returns The decorated class requiring it to implement
|
|
4
4
|
* the members of the the type as static properties/methods
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
declare function staticImplements<T>(): <U extends T>(constructor: U) => void;
|
|
7
|
+
|
|
8
|
+
export { staticImplements };
|
|
@@ -0,0 +1,35 @@
|
|
|
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/staticImplements.ts
|
|
21
|
+
var staticImplements_exports = {};
|
|
22
|
+
__export(staticImplements_exports, {
|
|
23
|
+
staticImplements: () => staticImplements
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(staticImplements_exports);
|
|
26
|
+
function staticImplements() {
|
|
27
|
+
return (constructor) => {
|
|
28
|
+
constructor;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
staticImplements
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=staticImplements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/staticImplements.ts"],"sourcesContent":["/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/staticImplements.ts"],"sourcesContent":["/**\n * Annotation to decorate classes which implement static methods\n * @returns The decorated class requiring it to implement\n * the members of the the type as static properties/methods\n */\nexport function staticImplements<T>() {\n return <U extends T>(constructor: U) => {\n constructor\n }\n}\n"],"mappings":";AAKO,SAAS,mBAAsB;AACpC,SAAO,CAAc,gBAAmB;AACtC;AAAA,EACF;AACF;","names":[]}
|
package/package.json
CHANGED
|
@@ -11,28 +11,39 @@
|
|
|
11
11
|
"url": "https://github.com/xylabs/sdk-js/issues"
|
|
12
12
|
},
|
|
13
13
|
"description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
|
|
14
|
-
"browser": "dist/esm/index.js",
|
|
15
|
-
"main": "dist/cjs/index.js",
|
|
16
|
-
"module": "dist/esm/index.js",
|
|
17
14
|
"docs": "dist/docs.json",
|
|
18
|
-
"types": "dist/
|
|
15
|
+
"types": "dist/index.d.ts",
|
|
19
16
|
"exports": {
|
|
20
17
|
".": {
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
18
|
+
"require": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
20
|
+
"default": "./dist/index.js"
|
|
24
21
|
},
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
}
|
|
29
|
-
"default": "./dist/esm/index.js"
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/index.d.mts",
|
|
24
|
+
"default": "./dist/index.mjs"
|
|
25
|
+
}
|
|
30
26
|
},
|
|
31
27
|
"./dist/docs.json": {
|
|
32
28
|
"default": "./dist/docs.json"
|
|
33
29
|
},
|
|
30
|
+
"./cjs": {
|
|
31
|
+
"default": "./dist/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./docs": {
|
|
34
|
+
"default": "./dist/docs.json"
|
|
35
|
+
},
|
|
36
|
+
"./esm": {
|
|
37
|
+
"default": "./dist/index.mjs"
|
|
38
|
+
},
|
|
34
39
|
"./package.json": "./package.json"
|
|
35
40
|
},
|
|
41
|
+
"main": "dist/index.js",
|
|
42
|
+
"module": "dist/index.mjs",
|
|
43
|
+
"scripts": {
|
|
44
|
+
"package-compile": "tsup && publint",
|
|
45
|
+
"package-recompile": "tsup && publint"
|
|
46
|
+
},
|
|
36
47
|
"homepage": "https://xylabs.com",
|
|
37
48
|
"keywords": [
|
|
38
49
|
"xylabs",
|
|
@@ -41,10 +52,13 @@
|
|
|
41
52
|
"esm"
|
|
42
53
|
],
|
|
43
54
|
"devDependencies": {
|
|
44
|
-
"@xylabs/ts-scripts-yarn3": "^2.
|
|
45
|
-
"@xylabs/tsconfig
|
|
46
|
-
"jest": "
|
|
47
|
-
"
|
|
55
|
+
"@xylabs/ts-scripts-yarn3": "^2.19.5",
|
|
56
|
+
"@xylabs/tsconfig": "^2.19.5",
|
|
57
|
+
"@xylabs/tsconfig-jest": "~2.19.5",
|
|
58
|
+
"publint": "^0.2.2",
|
|
59
|
+
"tslib": "^2.6.2",
|
|
60
|
+
"tsup": "^7.2.0",
|
|
61
|
+
"typescript": "^5.2.2"
|
|
48
62
|
},
|
|
49
63
|
"publishConfig": {
|
|
50
64
|
"access": "public"
|
|
@@ -54,5 +68,5 @@
|
|
|
54
68
|
"url": "https://github.com/xylabs/sdk-js.git"
|
|
55
69
|
},
|
|
56
70
|
"sideEffects": false,
|
|
57
|
-
"version": "2.
|
|
71
|
+
"version": "2.10.0"
|
|
58
72
|
}
|
package/tsup.config.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defineConfig } from 'tsup'
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line import/no-default-export
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
bundle: true,
|
|
6
|
+
cjsInterop: true,
|
|
7
|
+
clean: true,
|
|
8
|
+
dts: true,
|
|
9
|
+
entry: ['src'],
|
|
10
|
+
format: ['cjs', 'esm'],
|
|
11
|
+
sourcemap: true,
|
|
12
|
+
splitting: false,
|
|
13
|
+
tsconfig: 'tsconfig.json',
|
|
14
|
+
})
|
package/dist/cjs/index.js
DELETED
package/dist/cjs/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.staticImplements = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Annotation to decorate classes which implement static methods
|
|
6
|
-
* @returns The decorated class requiring it to implement
|
|
7
|
-
* the members of the the type as static properties/methods
|
|
8
|
-
*/
|
|
9
|
-
function staticImplements() {
|
|
10
|
-
return (constructor) => {
|
|
11
|
-
constructor;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
exports.staticImplements = staticImplements;
|
|
15
|
-
//# sourceMappingURL=staticImplements.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staticImplements.js","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,SAAgB,gBAAgB;IAC9B,OAAO,CAAc,WAAc,EAAE,EAAE;QACrC,WAAW,CAAA;IACb,CAAC,CAAA;AACH,CAAC;AAJD,4CAIC"}
|
package/dist/docs.json
DELETED
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": 0,
|
|
3
|
-
"name": "@xylabs/static-implements",
|
|
4
|
-
"variant": "project",
|
|
5
|
-
"kind": 1,
|
|
6
|
-
"flags": {},
|
|
7
|
-
"children": [
|
|
8
|
-
{
|
|
9
|
-
"id": 1,
|
|
10
|
-
"name": "staticImplements",
|
|
11
|
-
"variant": "declaration",
|
|
12
|
-
"kind": 64,
|
|
13
|
-
"flags": {},
|
|
14
|
-
"sources": [
|
|
15
|
-
{
|
|
16
|
-
"fileName": "staticImplements.ts",
|
|
17
|
-
"line": 6,
|
|
18
|
-
"character": 16,
|
|
19
|
-
"url": "https://github.com/xylabs/sdk-js/blob/de632cf/packages/static-implements/src/staticImplements.ts#L6"
|
|
20
|
-
}
|
|
21
|
-
],
|
|
22
|
-
"signatures": [
|
|
23
|
-
{
|
|
24
|
-
"id": 2,
|
|
25
|
-
"name": "staticImplements",
|
|
26
|
-
"variant": "signature",
|
|
27
|
-
"kind": 4096,
|
|
28
|
-
"flags": {},
|
|
29
|
-
"comment": {
|
|
30
|
-
"summary": [
|
|
31
|
-
{
|
|
32
|
-
"kind": "text",
|
|
33
|
-
"text": "Annotation to decorate classes which implement static methods"
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
"blockTags": [
|
|
37
|
-
{
|
|
38
|
-
"tag": "@returns",
|
|
39
|
-
"content": [
|
|
40
|
-
{
|
|
41
|
-
"kind": "text",
|
|
42
|
-
"text": "The decorated class requiring it to implement\nthe members of the the type as static properties/methods"
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
}
|
|
46
|
-
]
|
|
47
|
-
},
|
|
48
|
-
"sources": [
|
|
49
|
-
{
|
|
50
|
-
"fileName": "staticImplements.ts",
|
|
51
|
-
"line": 6,
|
|
52
|
-
"character": 0,
|
|
53
|
-
"url": "https://github.com/xylabs/sdk-js/blob/de632cf/packages/static-implements/src/staticImplements.ts#L6"
|
|
54
|
-
}
|
|
55
|
-
],
|
|
56
|
-
"typeParameter": [
|
|
57
|
-
{
|
|
58
|
-
"id": 3,
|
|
59
|
-
"name": "T",
|
|
60
|
-
"variant": "typeParam",
|
|
61
|
-
"kind": 131072,
|
|
62
|
-
"flags": {}
|
|
63
|
-
}
|
|
64
|
-
],
|
|
65
|
-
"type": {
|
|
66
|
-
"type": "reflection",
|
|
67
|
-
"declaration": {
|
|
68
|
-
"id": 4,
|
|
69
|
-
"name": "__type",
|
|
70
|
-
"variant": "declaration",
|
|
71
|
-
"kind": 65536,
|
|
72
|
-
"flags": {},
|
|
73
|
-
"sources": [
|
|
74
|
-
{
|
|
75
|
-
"fileName": "staticImplements.ts",
|
|
76
|
-
"line": 7,
|
|
77
|
-
"character": 9,
|
|
78
|
-
"url": "https://github.com/xylabs/sdk-js/blob/de632cf/packages/static-implements/src/staticImplements.ts#L7"
|
|
79
|
-
}
|
|
80
|
-
],
|
|
81
|
-
"signatures": [
|
|
82
|
-
{
|
|
83
|
-
"id": 5,
|
|
84
|
-
"name": "__type",
|
|
85
|
-
"variant": "signature",
|
|
86
|
-
"kind": 4096,
|
|
87
|
-
"flags": {},
|
|
88
|
-
"sources": [
|
|
89
|
-
{
|
|
90
|
-
"fileName": "staticImplements.ts",
|
|
91
|
-
"line": 7,
|
|
92
|
-
"character": 9,
|
|
93
|
-
"url": "https://github.com/xylabs/sdk-js/blob/de632cf/packages/static-implements/src/staticImplements.ts#L7"
|
|
94
|
-
}
|
|
95
|
-
],
|
|
96
|
-
"typeParameter": [
|
|
97
|
-
{
|
|
98
|
-
"id": 6,
|
|
99
|
-
"name": "U",
|
|
100
|
-
"variant": "typeParam",
|
|
101
|
-
"kind": 131072,
|
|
102
|
-
"flags": {}
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"parameters": [
|
|
106
|
-
{
|
|
107
|
-
"id": 7,
|
|
108
|
-
"name": "constructor",
|
|
109
|
-
"variant": "param",
|
|
110
|
-
"kind": 32768,
|
|
111
|
-
"flags": {},
|
|
112
|
-
"type": {
|
|
113
|
-
"type": "reference",
|
|
114
|
-
"target": -1,
|
|
115
|
-
"name": "U",
|
|
116
|
-
"refersToTypeParameter": true
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
],
|
|
120
|
-
"type": {
|
|
121
|
-
"type": "intrinsic",
|
|
122
|
-
"name": "void"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
]
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"groups": [
|
|
133
|
-
{
|
|
134
|
-
"title": "Functions",
|
|
135
|
-
"children": [
|
|
136
|
-
1
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"packageName": "@xylabs/static-implements",
|
|
141
|
-
"readme": [
|
|
142
|
-
{
|
|
143
|
-
"kind": "text",
|
|
144
|
-
"text": "[![logo][]](https://xylabs.com)\n\n# @xylabs/sdk-js\n\n[![main-build][]][main-build-link]\n[![beta-build][]][beta-build-link]\n[![npm-badge][]][npm-link]\n[![bch-badge][]][bch-link]\n[![codacy-badge][]][codacy-link]\n[![codeclimate-badge][]][codeclimate-link]\n[![snyk-badge][]][snyk-link]\n\n## Table of Contents\n\n- [Description](#description)\n- [Install](#install)\n- [Scripts](#scripts)\n- [Maintainers](#maintainers)\n- [License](#license)\n- [Credits](#credits)\n\n## Description\n\nSDK for base code for Typescript and Javascript Libraries.\n\n## Install\n\nUsing npm:\n\n"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"kind": "code",
|
|
148
|
-
"text": "```sh\nnpm i --save @xylabs/sdk-js\n```"
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"kind": "text",
|
|
152
|
-
"text": "\n\nUsing yarn:\n\n"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"kind": "code",
|
|
156
|
-
"text": "```sh\nyarn add @xylabs/sdk-js\n```"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"kind": "text",
|
|
160
|
-
"text": "\n\n## Scripts\n\nSee [ts-scripts](https://github.com/xylabs/ts-scripts/blob/main/README.md)\nfor list of shared scripts.\n\n## Maintainers\n\n- [Arie Trouw](https://github.com/arietrouw) (<https://arietrouw.com>)\n\n## License\n\nSee the [LICENSE](LICENSE) file for license details\n\n## Credits\n\n[Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)\n\n[logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg\n[main-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml/badge.svg\n[main-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-main.yml\n[beta-build]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml/badge.svg\n[beta-build-link]: https://github.com/xylabs/sdk-js/actions/workflows/build-beta.yml\n[npm-badge]: https://img.shields.io/npm/v/@xylabs/sdk-js.svg\n[npm-link]: https://www.npmjs.com/package/@xylabs/sdk-js\n[bch-badge]: https://bettercodehub.com/edge/badge/xylabs/sdk-js?branch=main\n[bch-link]: https://bettercodehub.com/results/xylabs/sdk-js\n[codacy-badge]: https://app.codacy.com/project/badge/Grade/c8e15e14f37741c18cfb47ac7245c698\n[codacy-link]: https://www.codacy.com/gh/xylabs/sdk-js/dashboard?utm_source=github.com&utm_medium=referral&utm_content=xylabs/sdk-js&utm_campaign=Badge_Grade\n[codeclimate-badge]: https://api.codeclimate.com/v1/badges/c5eb068f806f0b047ea7/maintainability\n[codeclimate-link]: https://codeclimate.com/github/xylabs/sdk-js/maintainability\n[snyk-badge]: https://snyk.io/test/github/xylabs/sdk-js/badge.svg?targetFile=package.json\n[snyk-link]: https://snyk.io/test/github/xylabs/sdk-js?targetFile=package.json"
|
|
161
|
-
}
|
|
162
|
-
],
|
|
163
|
-
"symbolIdMap": {
|
|
164
|
-
"0": {
|
|
165
|
-
"sourceFileName": "src/index.ts",
|
|
166
|
-
"qualifiedName": ""
|
|
167
|
-
},
|
|
168
|
-
"1": {
|
|
169
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
170
|
-
"qualifiedName": "staticImplements"
|
|
171
|
-
},
|
|
172
|
-
"2": {
|
|
173
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
174
|
-
"qualifiedName": "staticImplements"
|
|
175
|
-
},
|
|
176
|
-
"3": {
|
|
177
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
178
|
-
"qualifiedName": "T"
|
|
179
|
-
},
|
|
180
|
-
"4": {
|
|
181
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
182
|
-
"qualifiedName": "__function"
|
|
183
|
-
},
|
|
184
|
-
"5": {
|
|
185
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
186
|
-
"qualifiedName": "__function"
|
|
187
|
-
},
|
|
188
|
-
"6": {
|
|
189
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
190
|
-
"qualifiedName": "U"
|
|
191
|
-
},
|
|
192
|
-
"7": {
|
|
193
|
-
"sourceFileName": "src/staticImplements.ts",
|
|
194
|
-
"qualifiedName": "constructor"
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
}
|
package/dist/esm/index.js
DELETED
package/dist/esm/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staticImplements.js","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,UAAU,gBAAgB;IAC9B,OAAO,CAAc,WAAc,EAAE,EAAE;QACrC,WAAW,CAAA;IACb,CAAC,CAAA;AACH,CAAC"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"staticImplements.d.ts","sourceRoot":"","sources":["../../src/staticImplements.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,2CAIjC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--light-hl-0: #795E26;
|
|
3
|
-
--dark-hl-0: #DCDCAA;
|
|
4
|
-
--light-hl-1: #000000;
|
|
5
|
-
--dark-hl-1: #D4D4D4;
|
|
6
|
-
--light-hl-2: #A31515;
|
|
7
|
-
--dark-hl-2: #CE9178;
|
|
8
|
-
--light-hl-3: #0000FF;
|
|
9
|
-
--dark-hl-3: #569CD6;
|
|
10
|
-
--light-code-background: #FFFFFF;
|
|
11
|
-
--dark-code-background: #1E1E1E;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
@media (prefers-color-scheme: light) { :root {
|
|
15
|
-
--hl-0: var(--light-hl-0);
|
|
16
|
-
--hl-1: var(--light-hl-1);
|
|
17
|
-
--hl-2: var(--light-hl-2);
|
|
18
|
-
--hl-3: var(--light-hl-3);
|
|
19
|
-
--code-background: var(--light-code-background);
|
|
20
|
-
} }
|
|
21
|
-
|
|
22
|
-
@media (prefers-color-scheme: dark) { :root {
|
|
23
|
-
--hl-0: var(--dark-hl-0);
|
|
24
|
-
--hl-1: var(--dark-hl-1);
|
|
25
|
-
--hl-2: var(--dark-hl-2);
|
|
26
|
-
--hl-3: var(--dark-hl-3);
|
|
27
|
-
--code-background: var(--dark-code-background);
|
|
28
|
-
} }
|
|
29
|
-
|
|
30
|
-
:root[data-theme='light'] {
|
|
31
|
-
--hl-0: var(--light-hl-0);
|
|
32
|
-
--hl-1: var(--light-hl-1);
|
|
33
|
-
--hl-2: var(--light-hl-2);
|
|
34
|
-
--hl-3: var(--light-hl-3);
|
|
35
|
-
--code-background: var(--light-code-background);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:root[data-theme='dark'] {
|
|
39
|
-
--hl-0: var(--dark-hl-0);
|
|
40
|
-
--hl-1: var(--dark-hl-1);
|
|
41
|
-
--hl-2: var(--dark-hl-2);
|
|
42
|
-
--hl-3: var(--dark-hl-3);
|
|
43
|
-
--code-background: var(--dark-code-background);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.hl-0 { color: var(--hl-0); }
|
|
47
|
-
.hl-1 { color: var(--hl-1); }
|
|
48
|
-
.hl-2 { color: var(--hl-2); }
|
|
49
|
-
.hl-3 { color: var(--hl-3); }
|
|
50
|
-
pre, code { background: var(--code-background); }
|