@aidc-toolkit/core 1.0.44-beta → 1.0.44
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/browser-app-data-storage-G62WSQ5Z.js +1 -0
- package/dist/chunk-FIUBVWNN.js +1 -0
- package/dist/file-app-data-storage-M6RA7QOG.js +1 -0
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +801 -0
- package/dist/index.d.ts +801 -30
- package/dist/index.js +2 -12
- package/package.json +2 -2
- package/src/version.ts +1 -1
- package/tsconfig-src.tsbuildinfo +1 -1
- package/dist/app-data-storage.d.ts +0 -118
- package/dist/app-data-storage.d.ts.map +0 -1
- package/dist/app-data-storage.js +0 -117
- package/dist/app-data-storage.js.map +0 -1
- package/dist/app-data.d.ts +0 -26
- package/dist/app-data.d.ts.map +0 -1
- package/dist/app-data.js +0 -79
- package/dist/app-data.js.map +0 -1
- package/dist/browser-app-data-storage.d.ts +0 -26
- package/dist/browser-app-data-storage.d.ts.map +0 -1
- package/dist/browser-app-data-storage.js +0 -34
- package/dist/browser-app-data-storage.js.map +0 -1
- package/dist/cache.d.ts +0 -58
- package/dist/cache.d.ts.map +0 -1
- package/dist/cache.js +0 -12
- package/dist/cache.js.map +0 -1
- package/dist/file-app-data-storage.d.ts +0 -27
- package/dist/file-app-data-storage.d.ts.map +0 -1
- package/dist/file-app-data-storage.js +0 -52
- package/dist/file-app-data-storage.js.map +0 -1
- package/dist/http-fetch.d.ts +0 -45
- package/dist/http-fetch.d.ts.map +0 -1
- package/dist/http-fetch.js +0 -26
- package/dist/http-fetch.js.map +0 -1
- package/dist/hyperlink.d.ts +0 -18
- package/dist/hyperlink.d.ts.map +0 -1
- package/dist/hyperlink.js +0 -2
- package/dist/hyperlink.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/local-app-data-storage.d.ts +0 -8
- package/dist/local-app-data-storage.d.ts.map +0 -1
- package/dist/local-app-data-storage.js +0 -11
- package/dist/local-app-data-storage.js.map +0 -1
- package/dist/locale/en/locale-resources.d.ts +0 -10
- package/dist/locale/en/locale-resources.d.ts.map +0 -1
- package/dist/locale/en/locale-resources.js +0 -9
- package/dist/locale/en/locale-resources.js.map +0 -1
- package/dist/locale/fr/locale-resources.d.ts +0 -10
- package/dist/locale/fr/locale-resources.d.ts.map +0 -1
- package/dist/locale/fr/locale-resources.js +0 -9
- package/dist/locale/fr/locale-resources.js.map +0 -1
- package/dist/locale/i18n.d.ts +0 -75
- package/dist/locale/i18n.d.ts.map +0 -1
- package/dist/locale/i18n.js +0 -144
- package/dist/locale/i18n.js.map +0 -1
- package/dist/logger.d.ts +0 -136
- package/dist/logger.d.ts.map +0 -1
- package/dist/logger.js +0 -256
- package/dist/logger.js.map +0 -1
- package/dist/parse-version.d.ts +0 -36
- package/dist/parse-version.d.ts.map +0 -1
- package/dist/parse-version.js +0 -23
- package/dist/parse-version.js.map +0 -1
- package/dist/remote-app-data-storage.d.ts +0 -23
- package/dist/remote-app-data-storage.d.ts.map +0 -1
- package/dist/remote-app-data-storage.js +0 -42
- package/dist/remote-app-data-storage.js.map +0 -1
- package/dist/type-helper.d.ts +0 -115
- package/dist/type-helper.d.ts.map +0 -1
- package/dist/type-helper.js +0 -163
- package/dist/type-helper.js.map +0 -1
- package/dist/type.d.ts +0 -111
- package/dist/type.d.ts.map +0 -1
- package/dist/type.js +0 -2
- package/dist/type.js.map +0 -1
- package/dist/version.d.ts +0 -5
- package/dist/version.d.ts.map +0 -1
- package/dist/version.js +0 -5
- package/dist/version.js.map +0 -1
- package/dist/website-url.d.ts +0 -29
- package/dist/website-url.d.ts.map +0 -1
- package/dist/website-url.js +0 -60
- package/dist/website-url.js.map +0 -1
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ReadOnlyAppDataStorage } from "./app-data-storage.js";
|
|
2
|
-
import { defaultHTTPFetch, HTTP_NOT_FOUND } from "./http-fetch.js";
|
|
3
|
-
import { i18nextCore } from "./locale/i18n.js";
|
|
4
|
-
/**
|
|
5
|
-
* Remote application data storage using HTTP.
|
|
6
|
-
*/
|
|
7
|
-
export class RemoteAppDataStorage extends ReadOnlyAppDataStorage {
|
|
8
|
-
#httpFetch;
|
|
9
|
-
/**
|
|
10
|
-
* Constructor.
|
|
11
|
-
*
|
|
12
|
-
* @param baseURL
|
|
13
|
-
* Base URL. The URL must not end with a slash.
|
|
14
|
-
*
|
|
15
|
-
* @param httpFetch
|
|
16
|
-
* HTTP fetch function.
|
|
17
|
-
*/
|
|
18
|
-
constructor(baseURL, httpFetch = defaultHTTPFetch) {
|
|
19
|
-
super(true, baseURL);
|
|
20
|
-
this.#httpFetch = httpFetch;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @inheritDoc
|
|
24
|
-
*/
|
|
25
|
-
async doRead(key, asBinary) {
|
|
26
|
-
const response = await this.#httpFetch(key);
|
|
27
|
-
let result;
|
|
28
|
-
if (response.ok) {
|
|
29
|
-
result = asBinary === true ? new Uint8Array(await response.arrayBuffer()) : await response.text();
|
|
30
|
-
}
|
|
31
|
-
else if (response.status === HTTP_NOT_FOUND) {
|
|
32
|
-
result = undefined;
|
|
33
|
-
}
|
|
34
|
-
else {
|
|
35
|
-
throw new RangeError(i18nextCore.t("RemoteAppDataStorage.httpError", {
|
|
36
|
-
status: response.status
|
|
37
|
-
}));
|
|
38
|
-
}
|
|
39
|
-
return result;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=remote-app-data-storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"remote-app-data-storage.js","sourceRoot":"","sources":["../src/remote-app-data-storage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAkB,MAAM,iBAAiB,CAAC;AACnF,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,MAAM,OAAO,oBAAqB,SAAQ,sBAA4B;IACzD,UAAU,CAAY;IAE/B;;;;;;;;OAQG;IACH,YAAY,OAAe,EAAE,YAAuB,gBAAgB;QAChE,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAErB,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;IAChC,CAAC;IAED;;OAEG;IACgB,KAAK,CAAC,MAAM,CAAC,GAAW,EAAE,QAA6B;QACtE,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QAE5C,IAAI,MAAuC,CAAC;QAE5C,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;YACd,MAAM,GAAG,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,MAAM,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;QACtG,CAAC;aAAM,IAAI,QAAQ,CAAC,MAAM,KAAK,cAAc,EAAE,CAAC;YAC5C,MAAM,GAAG,SAAS,CAAC;QACvB,CAAC;aAAM,CAAC;YACJ,MAAM,IAAI,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,gCAAgC,EAAE;gBACjE,MAAM,EAAE,QAAQ,CAAC,MAAM;aAC1B,CAAC,CAAC,CAAC;QACR,CAAC;QAED,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ"}
|
package/dist/type-helper.d.ts
DELETED
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create an object with omitted entries.
|
|
3
|
-
*
|
|
4
|
-
* @template T
|
|
5
|
-
* Object type.
|
|
6
|
-
*
|
|
7
|
-
* @template K
|
|
8
|
-
* Object key type.
|
|
9
|
-
*
|
|
10
|
-
* @param o
|
|
11
|
-
* Object.
|
|
12
|
-
*
|
|
13
|
-
* @param keys
|
|
14
|
-
* Keys to omit.
|
|
15
|
-
*
|
|
16
|
-
* @returns
|
|
17
|
-
* Edited object.
|
|
18
|
-
*/
|
|
19
|
-
export declare function omit<T extends object, K extends keyof T>(o: T, ...keys: K[]): Omit<T, K>;
|
|
20
|
-
/**
|
|
21
|
-
* Create an object with picked entries.
|
|
22
|
-
*
|
|
23
|
-
* @template T
|
|
24
|
-
* Object type.
|
|
25
|
-
*
|
|
26
|
-
* @template K
|
|
27
|
-
* Object key type.
|
|
28
|
-
*
|
|
29
|
-
* @param o
|
|
30
|
-
* Object.
|
|
31
|
-
*
|
|
32
|
-
* @param keys
|
|
33
|
-
* Keys to pick.
|
|
34
|
-
*
|
|
35
|
-
* @returns
|
|
36
|
-
* Edited object.
|
|
37
|
-
*/
|
|
38
|
-
export declare function pick<T extends object, K extends keyof T>(o: T, ...keys: K[]): Pick<T, K>;
|
|
39
|
-
/**
|
|
40
|
-
* Create an object from a wide object without entries matching those from a narrow object.
|
|
41
|
-
*
|
|
42
|
-
* @template TWide
|
|
43
|
-
* Wide object type.
|
|
44
|
-
*
|
|
45
|
-
* @template TNarrow
|
|
46
|
-
* Narrow object type.
|
|
47
|
-
*
|
|
48
|
-
* @template K
|
|
49
|
-
* Narrow object key type, subset of wide object key type.
|
|
50
|
-
*
|
|
51
|
-
* @param wide
|
|
52
|
-
* Wide object.
|
|
53
|
-
*
|
|
54
|
-
* @param narrow
|
|
55
|
-
* Narrow object.
|
|
56
|
-
*
|
|
57
|
-
* @returns
|
|
58
|
-
* Edited object.
|
|
59
|
-
*/
|
|
60
|
-
export declare function exclude<TWide extends TNarrow, TNarrow extends object, K extends keyof TNarrow>(wide: TWide, narrow: TNarrow): Omit<TWide, K>;
|
|
61
|
-
/**
|
|
62
|
-
* Create an object from a wide object with entries matching those from a narrow object.
|
|
63
|
-
*
|
|
64
|
-
* @template TWide
|
|
65
|
-
* Wide object type.
|
|
66
|
-
*
|
|
67
|
-
* @template TNarrow
|
|
68
|
-
* Narrow object type.
|
|
69
|
-
*
|
|
70
|
-
* @template K
|
|
71
|
-
* Narrow object key type, subset of wide object key type.
|
|
72
|
-
*
|
|
73
|
-
* @param wide
|
|
74
|
-
* Wide object.
|
|
75
|
-
*
|
|
76
|
-
* @param narrow
|
|
77
|
-
* Narrow object.
|
|
78
|
-
*
|
|
79
|
-
* @returns
|
|
80
|
-
* Edited object.
|
|
81
|
-
*/
|
|
82
|
-
export declare function include<TWide extends TNarrow, TNarrow extends object, K extends keyof TNarrow>(wide: TWide, narrow: TNarrow): Pick<TWide, K>;
|
|
83
|
-
/**
|
|
84
|
-
* Cast a property as a more narrow type.
|
|
85
|
-
*
|
|
86
|
-
* @template T
|
|
87
|
-
* Object type.
|
|
88
|
-
*
|
|
89
|
-
* @template K
|
|
90
|
-
* Object key type.
|
|
91
|
-
*
|
|
92
|
-
* @template TAsType
|
|
93
|
-
* Desired type.
|
|
94
|
-
*
|
|
95
|
-
* @param o
|
|
96
|
-
* Object.
|
|
97
|
-
*
|
|
98
|
-
* @param key
|
|
99
|
-
* Key of property to cast.
|
|
100
|
-
*
|
|
101
|
-
* @returns
|
|
102
|
-
* Single-key object with property cast as desired type.
|
|
103
|
-
*/
|
|
104
|
-
export declare function propertyAs<T extends object, K extends keyof T, TAsType extends T[K]>(o: T, key: K): Readonly<Omit<T, K> extends T ? Partial<Record<K, TAsType>> : Record<K, TAsType>>;
|
|
105
|
-
/**
|
|
106
|
-
* Determine if argument is nullish. Application extension may pass `null` or `undefined` to missing parameters.
|
|
107
|
-
*
|
|
108
|
-
* @param argument
|
|
109
|
-
* Argument.
|
|
110
|
-
*
|
|
111
|
-
* @returns
|
|
112
|
-
* True if argument is undefined or null.
|
|
113
|
-
*/
|
|
114
|
-
export declare function isNullish(argument: unknown): argument is null | undefined;
|
|
115
|
-
//# sourceMappingURL=type-helper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type-helper.d.ts","sourceRoot":"","sources":["../src/type-helper.ts"],"names":[],"mappings":"AA6BA;;;;;;;;;;;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AAC,CAAC,CASrL;AAED;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,OAAO,GAAG,QAAQ,IAAI,IAAI,GAAG,SAAS,CAEzE"}
|
package/dist/type-helper.js
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Create an object with omitted or picked entries.
|
|
3
|
-
*
|
|
4
|
-
* @template Omitting
|
|
5
|
-
* Type representation of `omitting` parameter for return type determination.
|
|
6
|
-
*
|
|
7
|
-
* @template T
|
|
8
|
-
* Object type.
|
|
9
|
-
*
|
|
10
|
-
* @template K
|
|
11
|
-
* Object key type.
|
|
12
|
-
*
|
|
13
|
-
* @param omitting
|
|
14
|
-
* True if omitting.
|
|
15
|
-
*
|
|
16
|
-
* @param o
|
|
17
|
-
* Object.
|
|
18
|
-
*
|
|
19
|
-
* @param keys
|
|
20
|
-
* Keys to omit or pick.
|
|
21
|
-
*
|
|
22
|
-
* @returns
|
|
23
|
-
* Edited object.
|
|
24
|
-
*/
|
|
25
|
-
function omitOrPick(omitting, o, ...keys) {
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Key and value types are known.
|
|
27
|
-
return Object.fromEntries(Object.entries(o).filter(([key]) => keys.includes(key) !== omitting));
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Create an object with omitted entries.
|
|
31
|
-
*
|
|
32
|
-
* @template T
|
|
33
|
-
* Object type.
|
|
34
|
-
*
|
|
35
|
-
* @template K
|
|
36
|
-
* Object key type.
|
|
37
|
-
*
|
|
38
|
-
* @param o
|
|
39
|
-
* Object.
|
|
40
|
-
*
|
|
41
|
-
* @param keys
|
|
42
|
-
* Keys to omit.
|
|
43
|
-
*
|
|
44
|
-
* @returns
|
|
45
|
-
* Edited object.
|
|
46
|
-
*/
|
|
47
|
-
export function omit(o, ...keys) {
|
|
48
|
-
return omitOrPick(true, o, ...keys);
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Create an object with picked entries.
|
|
52
|
-
*
|
|
53
|
-
* @template T
|
|
54
|
-
* Object type.
|
|
55
|
-
*
|
|
56
|
-
* @template K
|
|
57
|
-
* Object key type.
|
|
58
|
-
*
|
|
59
|
-
* @param o
|
|
60
|
-
* Object.
|
|
61
|
-
*
|
|
62
|
-
* @param keys
|
|
63
|
-
* Keys to pick.
|
|
64
|
-
*
|
|
65
|
-
* @returns
|
|
66
|
-
* Edited object.
|
|
67
|
-
*/
|
|
68
|
-
export function pick(o, ...keys) {
|
|
69
|
-
return omitOrPick(false, o, ...keys);
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Create an object from a wide object without entries matching those from a narrow object.
|
|
73
|
-
*
|
|
74
|
-
* @template TWide
|
|
75
|
-
* Wide object type.
|
|
76
|
-
*
|
|
77
|
-
* @template TNarrow
|
|
78
|
-
* Narrow object type.
|
|
79
|
-
*
|
|
80
|
-
* @template K
|
|
81
|
-
* Narrow object key type, subset of wide object key type.
|
|
82
|
-
*
|
|
83
|
-
* @param wide
|
|
84
|
-
* Wide object.
|
|
85
|
-
*
|
|
86
|
-
* @param narrow
|
|
87
|
-
* Narrow object.
|
|
88
|
-
*
|
|
89
|
-
* @returns
|
|
90
|
-
* Edited object.
|
|
91
|
-
*/
|
|
92
|
-
export function exclude(wide, narrow) {
|
|
93
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Keys are valid.
|
|
94
|
-
return omit(wide, ...Object.keys(narrow));
|
|
95
|
-
}
|
|
96
|
-
/**
|
|
97
|
-
* Create an object from a wide object with entries matching those from a narrow object.
|
|
98
|
-
*
|
|
99
|
-
* @template TWide
|
|
100
|
-
* Wide object type.
|
|
101
|
-
*
|
|
102
|
-
* @template TNarrow
|
|
103
|
-
* Narrow object type.
|
|
104
|
-
*
|
|
105
|
-
* @template K
|
|
106
|
-
* Narrow object key type, subset of wide object key type.
|
|
107
|
-
*
|
|
108
|
-
* @param wide
|
|
109
|
-
* Wide object.
|
|
110
|
-
*
|
|
111
|
-
* @param narrow
|
|
112
|
-
* Narrow object.
|
|
113
|
-
*
|
|
114
|
-
* @returns
|
|
115
|
-
* Edited object.
|
|
116
|
-
*/
|
|
117
|
-
export function include(wide, narrow) {
|
|
118
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Keys are valid.
|
|
119
|
-
return pick(wide, ...Object.keys(narrow));
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Cast a property as a more narrow type.
|
|
123
|
-
*
|
|
124
|
-
* @template T
|
|
125
|
-
* Object type.
|
|
126
|
-
*
|
|
127
|
-
* @template K
|
|
128
|
-
* Object key type.
|
|
129
|
-
*
|
|
130
|
-
* @template TAsType
|
|
131
|
-
* Desired type.
|
|
132
|
-
*
|
|
133
|
-
* @param o
|
|
134
|
-
* Object.
|
|
135
|
-
*
|
|
136
|
-
* @param key
|
|
137
|
-
* Key of property to cast.
|
|
138
|
-
*
|
|
139
|
-
* @returns
|
|
140
|
-
* Single-key object with property cast as desired type.
|
|
141
|
-
*/
|
|
142
|
-
export function propertyAs(o, key) {
|
|
143
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Type is determined by condition.
|
|
144
|
-
return (key in o ?
|
|
145
|
-
{
|
|
146
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Force cast.
|
|
147
|
-
[key]: o[key]
|
|
148
|
-
} :
|
|
149
|
-
{});
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Determine if argument is nullish. Application extension may pass `null` or `undefined` to missing parameters.
|
|
153
|
-
*
|
|
154
|
-
* @param argument
|
|
155
|
-
* Argument.
|
|
156
|
-
*
|
|
157
|
-
* @returns
|
|
158
|
-
* True if argument is undefined or null.
|
|
159
|
-
*/
|
|
160
|
-
export function isNullish(argument) {
|
|
161
|
-
return argument === null || argument === undefined;
|
|
162
|
-
}
|
|
163
|
-
//# sourceMappingURL=type-helper.js.map
|
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ACH,MAAM,UAAU,UAAU,CAA4D,CAAI,EAAE,GAAM;IAC9F,2GAA2G;IAC3G,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;QACd;YACI,sFAAsF;YACtF,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,GAAG,CAAY;SAC3B,CAAC,CAAC;QACH,EAAE,CAC2C,CAAC;AACtD,CAAC;AAED;;;;;;;;GAQG;AACH,MAAM,UAAU,SAAS,CAAC,QAAiB;IACvC,OAAO,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS,CAAC;AACvD,CAAC"}
|
package/dist/type.d.ts
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Typed function, applicable to any function, stricter than {@linkcode Function}.
|
|
3
|
-
*
|
|
4
|
-
* @template TFunction
|
|
5
|
-
* Function type.
|
|
6
|
-
*/
|
|
7
|
-
export type TypedFunction<TFunction extends (...args: Parameters<TFunction>) => ReturnType<TFunction>> = (...args: Parameters<TFunction>) => ReturnType<TFunction>;
|
|
8
|
-
/**
|
|
9
|
-
* Typed synchronous function, applicable to any function that doesn't return a {@linkcode Promise}.
|
|
10
|
-
*
|
|
11
|
-
* @template TFunction
|
|
12
|
-
* Function type.
|
|
13
|
-
*/
|
|
14
|
-
export type TypedSyncFunction<TFunction extends TypedFunction<TFunction>> = [ReturnType<TFunction>] extends [PromiseLike<unknown>] ? never : TypedFunction<TFunction>;
|
|
15
|
-
/**
|
|
16
|
-
* Arbitrary constructor. An arbitrary constructor doesn't have to be an exact match to a constructor; the only
|
|
17
|
-
* requirements are that `TConstructorParameters` have compatible types (exact or wider types of the actual constructor
|
|
18
|
-
* parameters) and that `TConstructorInstance` be a compatible type (exact or narrower type of the actual constructor
|
|
19
|
-
* instance).
|
|
20
|
-
*
|
|
21
|
-
* @template TConstructorParameters
|
|
22
|
-
* Constructor parameters types.
|
|
23
|
-
*
|
|
24
|
-
* @template TConstructorInstance
|
|
25
|
-
* Constructor instance type.
|
|
26
|
-
*/
|
|
27
|
-
export type Constructor<TConstructorParameters extends unknown[], TConstructorInstance> = new (...args: TConstructorParameters) => TConstructorInstance;
|
|
28
|
-
/**
|
|
29
|
-
* Arbitrary abstract constructor. Abstract version of {@linkcode Constructor}.
|
|
30
|
-
*
|
|
31
|
-
* @template TConstructorParameters
|
|
32
|
-
* Constructor parameters types.
|
|
33
|
-
*
|
|
34
|
-
* @template TConstructorInstance
|
|
35
|
-
* Constructor instance type.
|
|
36
|
-
*/
|
|
37
|
-
export type AbstractConstructor<TConstructorParameters extends unknown[], TConstructorInstance> = abstract new (...args: TConstructorParameters) => TConstructorInstance;
|
|
38
|
-
/**
|
|
39
|
-
* Typed constructor, applicable to any constructor.
|
|
40
|
-
*
|
|
41
|
-
* @template TConstructor
|
|
42
|
-
* Constructor type.
|
|
43
|
-
*/
|
|
44
|
-
export type TypedConstructor<TConstructor extends abstract new (...args: ConstructorParameters<TConstructor>) => InstanceType<TConstructor>> = Constructor<ConstructorParameters<TConstructor>, InstanceType<TConstructor>>;
|
|
45
|
-
/**
|
|
46
|
-
* Typed abstract constructor, applicable to any constructor.
|
|
47
|
-
*
|
|
48
|
-
* @template TConstructor
|
|
49
|
-
* Constructor type.
|
|
50
|
-
*/
|
|
51
|
-
export type TypedAbstractConstructor<TConstructor extends abstract new (...args: ConstructorParameters<TConstructor>) => InstanceType<TConstructor>> = AbstractConstructor<ConstructorParameters<TConstructor>, InstanceType<TConstructor>>;
|
|
52
|
-
/**
|
|
53
|
-
* Promisable type. Extends a type by allowing a {@linkcode Promise} of the same type. Typically used in abstract method
|
|
54
|
-
* declarations where the implementing class may or may not implement the method as asynchronous.
|
|
55
|
-
*/
|
|
56
|
-
export type Promisable<T> = T | Promise<T>;
|
|
57
|
-
/**
|
|
58
|
-
* Determine the fundamental promised type. This is stricter than `Awaited<Type>` in that it requires a {@linkcode
|
|
59
|
-
* Promise}.
|
|
60
|
-
*
|
|
61
|
-
* @template T
|
|
62
|
-
* Promised type.
|
|
63
|
-
*/
|
|
64
|
-
export type PromisedType<T> = [T] extends [PromiseLike<infer TPromised>] ? TPromised : never;
|
|
65
|
-
/**
|
|
66
|
-
* Typed asynchronous function, applicable to any function that returns a {@linkcode Promise}.
|
|
67
|
-
*
|
|
68
|
-
* @template TFunction
|
|
69
|
-
* Function type.
|
|
70
|
-
*/
|
|
71
|
-
export type TypedAsyncFunction<TMethod extends (...args: Parameters<TMethod>) => PromiseLike<PromisedType<ReturnType<TMethod>>>> = (...args: Parameters<TMethod>) => Promise<PromisedType<ReturnType<TMethod>>>;
|
|
72
|
-
/**
|
|
73
|
-
* Nullishable type. Extends a type by allowing `null` and `undefined`.
|
|
74
|
-
*
|
|
75
|
-
* @template T
|
|
76
|
-
* Type.
|
|
77
|
-
*/
|
|
78
|
-
export type Nullishable<T> = T | null | undefined;
|
|
79
|
-
/**
|
|
80
|
-
* Non-nullishable type. If T is an object type, it is spread and attributes within it are made non-nullishable.
|
|
81
|
-
* Equivalent to a deep `Required<T>` for an object and `NonNullable<T>` for any other type.
|
|
82
|
-
*
|
|
83
|
-
* @template T
|
|
84
|
-
* Type.
|
|
85
|
-
*/
|
|
86
|
-
export type NonNullishable<T> = T extends object ? {
|
|
87
|
-
[P in keyof T]-?: NonNullishable<T[P]>;
|
|
88
|
-
} : NonNullable<T>;
|
|
89
|
-
/**
|
|
90
|
-
* Make some keys within a type optional.
|
|
91
|
-
*
|
|
92
|
-
* @template T
|
|
93
|
-
* Object type.
|
|
94
|
-
*
|
|
95
|
-
* @template K
|
|
96
|
-
* Object key type.
|
|
97
|
-
*/
|
|
98
|
-
export type Optional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
99
|
-
/**
|
|
100
|
-
* Type to restrict property keys to those that are strings and that support a specified type.
|
|
101
|
-
*
|
|
102
|
-
* @template T
|
|
103
|
-
* Object type.
|
|
104
|
-
*
|
|
105
|
-
* @template P
|
|
106
|
-
* Object property type.
|
|
107
|
-
*/
|
|
108
|
-
export type PropertyKeys<T, P> = {
|
|
109
|
-
[K in keyof T]: K extends string ? T[K] extends P ? K : never : never;
|
|
110
|
-
}[keyof T];
|
|
111
|
-
//# sourceMappingURL=type.d.ts.map
|
package/dist/type.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,MAAM,aAAa,CAAC,SAAS,SAAS,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,KAAK,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,SAAS,CAAC,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC;AAEnK;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,CAAC,SAAS,SAAS,aAAa,CAAC,SAAS,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,GAAG,KAAK,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;AAEtK;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,WAAW,CACnB,sBAAsB,SAAS,OAAO,EAAE,EACxC,oBAAoB,IACpB,KAAK,GAAG,IAAI,EAAE,sBAAsB,KAAK,oBAAoB,CAAC;AAElE;;;;;;;;GAQG;AACH,MAAM,MAAM,mBAAmB,CAC3B,sBAAsB,SAAS,OAAO,EAAE,EACxC,oBAAoB,IACpB,QAAQ,MAAM,GAAG,IAAI,EAAE,sBAAsB,KAAK,oBAAoB,CAAC;AAE3E;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,CAAC,YAAY,SAAS,QAAQ,MAAM,GAAG,IAAI,EAAE,qBAAqB,CAAC,YAAY,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC,IACvI,WAAW,CAAC,qBAAqB,CAAC,YAAY,CAAC,EAAE,YAAY,CAAC,YAAY,CAAC,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EAAE,CAAC,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE9E;;;;;;;;GAQG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,EAAE,CAAC,IAAI;KAC5B,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,KAAK;CACxE,CAAC,MAAM,CAAC,CAAC,CAAC"}
|
package/dist/type.js
DELETED
package/dist/type.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.js","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":""}
|
package/dist/version.d.ts
DELETED
package/dist/version.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,OAAO,gBAAgB,CAAC"}
|
package/dist/version.js
DELETED
package/dist/version.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAC"}
|
package/dist/website-url.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Alpha URL. Reads from local application storage, path "config", key "resources.local", if present, otherwise defaults
|
|
3
|
-
* to Vite development server URL.
|
|
4
|
-
*/
|
|
5
|
-
export declare const ALPHA_URL: Promise<string>;
|
|
6
|
-
/**
|
|
7
|
-
* AIDC Toolkit website base URL.
|
|
8
|
-
*/
|
|
9
|
-
export declare const WEBSITE_BASE_URL = "https://aidc-toolkit.com";
|
|
10
|
-
/**
|
|
11
|
-
* Determine the website URL based on the package version.
|
|
12
|
-
*
|
|
13
|
-
* @param version
|
|
14
|
-
* Package version.
|
|
15
|
-
*
|
|
16
|
-
* @param includeVersionInProduction
|
|
17
|
-
* If true, the version is included in the URL in production.
|
|
18
|
-
*
|
|
19
|
-
* @param alphaURL
|
|
20
|
-
* URL if pre-release identifier is "alpha".
|
|
21
|
-
*
|
|
22
|
-
* @param nonAlphaRelativeURL
|
|
23
|
-
* Non-alpha URL, relative to website base URL plus pre-release identifier (optional) and version.
|
|
24
|
-
*
|
|
25
|
-
* @returns
|
|
26
|
-
* Fully-formed website URL based on the package version.
|
|
27
|
-
*/
|
|
28
|
-
export declare function websiteURL(version: string, includeVersionInProduction: boolean, alphaURL: string, nonAlphaRelativeURL?: string): string;
|
|
29
|
-
//# sourceMappingURL=website-url.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"website-url.d.ts","sourceRoot":"","sources":["../src/website-url.ts"],"names":[],"mappings":"AAyBA;;;GAGG;AACH,eAAO,MAAM,SAAS,iBAKrB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,6BAA6B,CAAC;AAE3D;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,0BAA0B,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,mBAAmB,CAAC,EAAE,MAAM,GAAG,MAAM,CAkBvI"}
|
package/dist/website-url.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LocalAppDataStorage } from "./local-app-data-storage.js";
|
|
2
|
-
import { parseVersion } from "./parse-version.js";
|
|
3
|
-
/**
|
|
4
|
-
* Default alpha URL (Vite development server URL) if no local resources found.
|
|
5
|
-
*/
|
|
6
|
-
const DEFAULT_ALPHA_URL = "http://localhost:5173";
|
|
7
|
-
/**
|
|
8
|
-
* Configuration path, expected to be present in development but not necessarily in production.
|
|
9
|
-
*/
|
|
10
|
-
const CONFIGURATION_PATH = "config";
|
|
11
|
-
/**
|
|
12
|
-
* Key to local resources, expected to be present in development but not necessarily in production.
|
|
13
|
-
*/
|
|
14
|
-
const LOCAL_RESOURCES_KEY = "resources.local";
|
|
15
|
-
/**
|
|
16
|
-
* Alpha URL. Reads from local application storage, path "config", key "resources.local", if present, otherwise defaults
|
|
17
|
-
* to Vite development server URL.
|
|
18
|
-
*/
|
|
19
|
-
export const ALPHA_URL = LocalAppDataStorage.then(async (LocalAppDataStorage) => new LocalAppDataStorage(CONFIGURATION_PATH).read(LOCAL_RESOURCES_KEY)).then(resources =>
|
|
20
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-type-assertion -- Fallback works regardless of type.
|
|
21
|
-
resources?.alphaURL ?? DEFAULT_ALPHA_URL);
|
|
22
|
-
/**
|
|
23
|
-
* AIDC Toolkit website base URL.
|
|
24
|
-
*/
|
|
25
|
-
export const WEBSITE_BASE_URL = "https://aidc-toolkit.com";
|
|
26
|
-
/**
|
|
27
|
-
* Determine the website URL based on the package version.
|
|
28
|
-
*
|
|
29
|
-
* @param version
|
|
30
|
-
* Package version.
|
|
31
|
-
*
|
|
32
|
-
* @param includeVersionInProduction
|
|
33
|
-
* If true, the version is included in the URL in production.
|
|
34
|
-
*
|
|
35
|
-
* @param alphaURL
|
|
36
|
-
* URL if pre-release identifier is "alpha".
|
|
37
|
-
*
|
|
38
|
-
* @param nonAlphaRelativeURL
|
|
39
|
-
* Non-alpha URL, relative to website base URL plus pre-release identifier (optional) and version.
|
|
40
|
-
*
|
|
41
|
-
* @returns
|
|
42
|
-
* Fully-formed website URL based on the package version.
|
|
43
|
-
*/
|
|
44
|
-
export function websiteURL(version, includeVersionInProduction, alphaURL, nonAlphaRelativeURL) {
|
|
45
|
-
const parsedVersion = parseVersion(version);
|
|
46
|
-
const preReleaseIdentifier = parsedVersion.preReleaseIdentifier;
|
|
47
|
-
let url;
|
|
48
|
-
if (preReleaseIdentifier === "alpha") {
|
|
49
|
-
// Alpha base URL is absolute.
|
|
50
|
-
url = alphaURL;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
const preReleaseIdentifierPath = preReleaseIdentifier !== undefined ? `/${preReleaseIdentifier}` : "";
|
|
54
|
-
const versionPath = preReleaseIdentifier !== undefined || includeVersionInProduction ? `/v${parsedVersion.majorVersion}.${parsedVersion.minorVersion}` : "";
|
|
55
|
-
const relativeURL = nonAlphaRelativeURL !== undefined && nonAlphaRelativeURL !== "" ? `/${nonAlphaRelativeURL}` : "";
|
|
56
|
-
url = `${WEBSITE_BASE_URL}${preReleaseIdentifierPath}${versionPath}${relativeURL}`;
|
|
57
|
-
}
|
|
58
|
-
return url;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=website-url.js.map
|
package/dist/website-url.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"website-url.js","sourceRoot":"","sources":["../src/website-url.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,MAAM,iBAAiB,GAAG,uBAAuB,CAAC;AAElD;;GAEG;AACH,MAAM,kBAAkB,GAAG,QAAQ,CAAC;AAEpC;;GAEG;AACH,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AAS9C;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,mBAAmB,CAAC,IAAI,CAAC,KAAK,EAAC,mBAAmB,EAAC,EAAE,CAC1E,IAAI,mBAAmB,CAAC,kBAAkB,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CACxE,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE;AACf,6GAA6G;AAC5G,SAA0C,EAAE,QAAQ,IAAI,iBAAiB,CAC7E,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,0BAA0B,CAAC;AAE3D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,UAAU,CAA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