@soundworks/core 5.4.3-alpha.0 → 5.5.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/.gitattributes +1 -0
- package/CHANGELOG.md +5 -0
- package/package.json +2 -2
- package/src/client/ClientSocket.js +7 -0
- package/src/common/version.js +1 -1
- package/types/client/ClientPluginManager.d.ts +1 -1
- package/types/client/ClientPluginManager.d.ts.map +1 -1
- package/types/client/ClientSocket.d.ts +4 -0
- package/types/client/ClientSocket.d.ts.map +1 -1
- package/types/client/index.d.ts +3 -3
- package/types/client/index.d.ts.map +1 -1
- package/types/common/BasePluginManager.d.ts +1 -1
- package/types/common/BasePluginManager.d.ts.map +1 -1
- package/types/common/BatchedTransport.d.ts +1 -1
- package/types/common/BatchedTransport.d.ts.map +1 -1
- package/types/common/ParameterBag.d.ts +2 -2
- package/types/common/ParameterBag.d.ts.map +1 -1
- package/types/common/PromiseStore.d.ts +1 -1
- package/types/common/PromiseStore.d.ts.map +1 -1
- package/types/common/SharedState.d.ts +4 -4
- package/types/common/SharedState.d.ts.map +1 -1
- package/types/common/SharedStateCollection.d.ts +7 -7
- package/types/common/SharedStateCollection.d.ts.map +1 -1
- package/types/common/shared-state-types.d.ts +11 -11
- package/types/common/shared-state-types.d.ts.map +1 -1
- package/types/common/version.d.ts +1 -1
- package/types/common/version.d.ts.map +1 -1
- package/types/server/Server.d.ts +5 -5
- package/types/server/Server.d.ts.map +1 -1
- package/types/server/ServerPluginManager.d.ts +1 -1
- package/types/server/ServerPluginManager.d.ts.map +1 -1
- package/types/server/ServerSocket.d.ts +1 -1
- package/types/server/ServerSocket.d.ts.map +1 -1
- package/types/server/SharedStatePrivate.d.ts +5 -5
- package/types/server/SharedStatePrivate.d.ts.map +1 -1
- package/types/server/crypto.d.ts +1 -1
- package/types/server/crypto.d.ts.map +1 -1
- package/types/server/index.d.ts +3 -3
- package/types/server/index.d.ts.map +1 -1
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soundworks/core",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Open-source creative coding framework for distributed applications based on Web technologies",
|
|
5
5
|
"collaborators": [
|
|
6
6
|
"Benjamin Matuszewski",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"mocha": "^11.7.5",
|
|
77
77
|
"puppeteer": "^24.39.0",
|
|
78
78
|
"tcp-ping": "^0.1.1",
|
|
79
|
-
"typescript": "^
|
|
79
|
+
"typescript": "^6.0.2"
|
|
80
80
|
},
|
|
81
81
|
"optionalDependencies": {
|
|
82
82
|
"bufferutil": "^4.1.0",
|
|
@@ -274,6 +274,13 @@ class ClientSocket {
|
|
|
274
274
|
this.#listeners.delete(channel);
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Close the socket, will dispatch the close event. For debug testing purpose
|
|
280
|
+
*/
|
|
281
|
+
close() {
|
|
282
|
+
this.#socket.close();
|
|
283
|
+
}
|
|
277
284
|
}
|
|
278
285
|
|
|
279
286
|
export default ClientSocket;
|
package/src/common/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// [WARNING] This file is generated, do not edit
|
|
2
|
-
export default '5.
|
|
2
|
+
export default '5.5.0';
|
|
@@ -86,7 +86,7 @@ declare class ClientPluginManager<T> extends BasePluginManager {
|
|
|
86
86
|
* // server-side
|
|
87
87
|
* server.pluginManager.register('user-defined-id', pluginFactory);
|
|
88
88
|
*/
|
|
89
|
-
register(id: string, ctor: T<ClientPlugin>, options?: object, deps?:
|
|
89
|
+
register(id: string, ctor: T<ClientPlugin>, options?: object, deps?: array): void;
|
|
90
90
|
/**
|
|
91
91
|
* Retrieve an fully started instance of a registered plugin.
|
|
92
92
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientPluginManager.d.ts","sourceRoot":"","sources":["../../src/client/ClientPluginManager.js"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,kCAFa,CAAC;IAGZ;;;OAGG;IACH,oBAHW,MAAM,EAShB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAfW,MAAM,QAEN,CAAC,CAAC,YAAY,CAAC,YACf,MAAM,
|
|
1
|
+
{"version":3,"file":"ClientPluginManager.d.ts","sourceRoot":"","sources":["../../src/client/ClientPluginManager.js"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,kCAFa,CAAC;IAGZ;;;OAGG;IACH,oBAHW,MAAM,EAShB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAfW,MAAM,QAEN,CAAC,CAAC,YAAY,CAAC,YACf,MAAM,SACN,KAAK,QAkBf;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,QAHW,MAAM,GACJ,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAQpC;CACF;8BAnI6B,gCAAgC;mBAD3C,aAAa"}
|
|
@@ -61,6 +61,10 @@ declare class ClientSocket {
|
|
|
61
61
|
* @param {string} channel - Channel name.
|
|
62
62
|
*/
|
|
63
63
|
removeAllListeners(channel?: string): void;
|
|
64
|
+
/**
|
|
65
|
+
* Close the socket, will dispatch the close event. For debug testing purpose
|
|
66
|
+
*/
|
|
67
|
+
close(): void;
|
|
64
68
|
/**
|
|
65
69
|
* Removes all listeners and immediately close the two sockets. Is automatically
|
|
66
70
|
* called on `client.stop()`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientSocket.d.ts","sourceRoot":"","sources":["../../src/client/ClientSocket.js"],"names":[],"mappings":"AAaA,6CAAsE;;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAOE,wDAIC;IAED;;;;;;;OAOG;IACH,aA4HC;IAoCD;;;;;;OAMG;IACH,cAJW,MAAM,WACH,GAAC,EAAA,QAQd;IAED;;;;;;;OAOG;IACH,qBALW,MAAM,4BAYhB;IAED;;;;;OAKG;IACH,wBAHW,MAAM,4BAYhB;IAED;;;;OAIG;IACH,6BAFW,MAAM,QAQhB;
|
|
1
|
+
{"version":3,"file":"ClientSocket.d.ts","sourceRoot":"","sources":["../../src/client/ClientSocket.js"],"names":[],"mappings":"AAaA,6CAAsE;;AAEtE;;;;;;;;;;;;;;;;;;;GAmBG;AACH;IAOE,wDAIC;IAED;;;;;;;OAOG;IACH,aA4HC;IAoCD;;;;;;OAMG;IACH,cAJW,MAAM,WACH,GAAC,EAAA,QAQd;IAED;;;;;;;OAOG;IACH,qBALW,MAAM,4BAYhB;IAED;;;;;OAKG;IACH,wBAHW,MAAM,4BAYhB;IAED;;;;OAIG;IACH,6BAFW,MAAM,QAQhB;IAED;;OAEG;IACH,cAEC;IApGD;;;;;;;;;OASG;IACH,2BAWC;;CAgFF"}
|
package/types/client/index.d.ts
CHANGED
|
@@ -9,11 +9,11 @@ export type ClientAppConfig = {
|
|
|
9
9
|
/**
|
|
10
10
|
* - Name of the application.
|
|
11
11
|
*/
|
|
12
|
-
name?: string;
|
|
12
|
+
name?: string | undefined;
|
|
13
13
|
/**
|
|
14
14
|
* - Name of the author.
|
|
15
15
|
*/
|
|
16
|
-
author?: string;
|
|
16
|
+
author?: string | undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* Environment configuration object.
|
|
@@ -35,7 +35,7 @@ export type ClientEnvConfig = {
|
|
|
35
35
|
/**
|
|
36
36
|
* - If running behind a proxy, base URL of the application.
|
|
37
37
|
*/
|
|
38
|
-
baseUrl?: string;
|
|
38
|
+
baseUrl?: string | undefined;
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Configuration object for a client running in a browser runtime.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/client/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;UAqBc,MAAM;;;;;mBACN,MAAM;;;;cAEN,OAAO;;;;;;;;;;;;;UAQP,MAAM;;;;SACN,eAAe;;;;SACf,eAAe"}
|
|
@@ -81,7 +81,7 @@ declare class BasePluginManager {
|
|
|
81
81
|
* // server-side
|
|
82
82
|
* server.pluginManager.register('user-defined-id', pluginFactory);
|
|
83
83
|
*/
|
|
84
|
-
register(id: string, ctor: Function, options?: object, deps?:
|
|
84
|
+
register(id: string, ctor: Function, options?: object, deps?: array): void;
|
|
85
85
|
/**
|
|
86
86
|
* Manually add a dependency to a given plugin.
|
|
87
87
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasePluginManager.d.ts","sourceRoot":"","sources":["../../src/common/BasePluginManager.js"],"names":[],"mappings":"AAQA,gDAA6E;AAC7E,+CAA2E;AAC3E,oDAAqF;;;;;oDAM1E,MAAM,aACN,YAAY,GAAC,YAAY,GAAC,IAAI;;;;;AALzC;;;;;;;;GAQG;AAEH;;;;GAIG;AAEH,eAAe;AACf;IAQE,uBAIC;IA8DD;;;;OAIG;IACH,cAFU,MAAM,GAAC,QAAQ,GAAC,SAAS,GAAC,SAAS,CAI5C;IAED;;;;OAIG;IACH,kBAEC;IAED;;;;;;;;;OASG;IACH,iCAqDC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,aAfW,MAAM,4BAGN,MAAM,
|
|
1
|
+
{"version":3,"file":"BasePluginManager.d.ts","sourceRoot":"","sources":["../../src/common/BasePluginManager.js"],"names":[],"mappings":"AAQA,gDAA6E;AAC7E,+CAA2E;AAC3E,oDAAqF;;;;;oDAM1E,MAAM,aACN,YAAY,GAAC,YAAY,GAAC,IAAI;;;;;AALzC;;;;;;;;GAQG;AAEH;;;;GAIG;AAEH,eAAe;AACf;IAQE,uBAIC;IA8DD;;;;OAIG;IACH,cAFU,MAAM,GAAC,QAAQ,GAAC,SAAS,GAAC,SAAS,CAI5C;IAED;;;;OAIG;IACH,kBAEC;IAED;;;;;;;;;OASG;IACH,iCAqDC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,aAfW,MAAM,4BAGN,MAAM,SACN,KAAK,QA4Cf;IAED;;;;OAIG;IACH,sDAGC;IAED;;;OAGG;IACH,wBAFa,MAAM,EAAE,CAIpB;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,wBAhBW,kCAAkC,GAChC,wCAAwC,CAkBpD;IA9OD;;;;;;OAMG;IACH,8BAyBC;IAED,eAAe;IACf,6BAQC;IA9DC,eAAe;IACf,kCAAyC;;CAiQ5C"}
|
|
@@ -8,7 +8,7 @@ declare class BatchedTransport {
|
|
|
8
8
|
addListener(channel: any, callback: any): void;
|
|
9
9
|
emit(channel: any, ...args: any[]): Promise<void>;
|
|
10
10
|
removeListener(channel: any, callback: any): void;
|
|
11
|
-
removeAllListeners(channel?:
|
|
11
|
+
removeAllListeners(channel?: null): void;
|
|
12
12
|
#private;
|
|
13
13
|
}
|
|
14
14
|
//# sourceMappingURL=BatchedTransport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BatchedTransport.d.ts","sourceRoot":"","sources":["../../src/common/BatchedTransport.js"],"names":[],"mappings":";AAEA;;;GAGG;AACH;IAME,4BAeC;IAED,+CAOC;IAED,kDAWC;IAED,kDAKC;IAED,
|
|
1
|
+
{"version":3,"file":"BatchedTransport.d.ts","sourceRoot":"","sources":["../../src/common/BatchedTransport.js"],"names":[],"mappings":";AAEA;;;GAGG;AACH;IAME,4BAeC;IAED,+CAOC;IAED,kDAWC;IAED,kDAKC;IAED,yCAOC;;CACF"}
|
|
@@ -12,7 +12,7 @@ export namespace types {
|
|
|
12
12
|
let required_1: string[];
|
|
13
13
|
export { required_1 as required };
|
|
14
14
|
export const defaultOptions: any;
|
|
15
|
-
export function coerceFunction(name: any, def: any, value: any):
|
|
15
|
+
export function coerceFunction(name: any, def: any, value: any): value is true;
|
|
16
16
|
}
|
|
17
17
|
export namespace string {
|
|
18
18
|
let required_2: string[];
|
|
@@ -135,7 +135,7 @@ declare class ParameterBag {
|
|
|
135
135
|
/**
|
|
136
136
|
* @return {object}
|
|
137
137
|
*/
|
|
138
|
-
getDescription(name?:
|
|
138
|
+
getDescription(name?: null): object;
|
|
139
139
|
getInitValues(): {};
|
|
140
140
|
getDefaults(): {};
|
|
141
141
|
getParamListByDescriptor(descriptorName: any, descriptorValue: any): string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParameterBag.d.ts","sourceRoot":"","sources":["../../src/common/ParameterBag.js"],"names":[],"mappings":";;;;;;;;;;;;;;QAuBoB
|
|
1
|
+
{"version":3,"file":"ParameterBag.d.ts","sourceRoot":"","sources":["../../src/common/ParameterBag.js"],"names":[],"mappings":";;;;;;;;;;;;;;QAuBoB,+EAMf;;;;;;;QAOe,0EAMf;;;;;;;;QAUoB,mDAgBpB;QACe,0EAMf;;;;;;;;QAUoB,qDAgBpB;;QACe,0EAMf;;;;;;;;QAOe,uEAOf;;;;;;;;;QAOe,uEAGf;;;;;AAKL,eAAe;AACf;IACE,mDAoCC;IAED,iDAyBC;IAKD,+CAyCC;IAED;;;;;OAKG;IACH,UAHW,MAAM,WAKhB;IAED;;;;;OAKG;IACH,aAFY,MAAM,CAUjB;IAED;;;;;;;;OAQG;IACH,mBAFY,MAAM,CAUjB;IAED;;;;;;OAMG;IACH,UAHW,MAAM,GACL,KAAK,CAchB;IAED;;;;;;;;;OASG;IACH,gBAHW,MAAM,GACL,KAAK,CAQhB;IAED;;;;;OAKG;IACH,iCAFW,KAAK,SAmBf;IAED;;;;;;;;OAQG;IACH,UAJW,MAAM,SACN,KAAK,SAqBf;IAED;;;;;;OAMG;IAWH;;OAEG;IACH,6BAFY,MAAM,CAYjB;IAGD,oBAQC;IAGD,kBAQC;IAGD,8EAUC;;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromiseStore.d.ts","sourceRoot":"","sources":["../../src/common/PromiseStore.js"],"names":[],"mappings":"AAKA,eAAe;AACf;IACE,uBAIC;IAHC,UAAgB;IAChB,qBAAsB;IACtB,
|
|
1
|
+
{"version":3,"file":"PromiseStore.d.ts","sourceRoot":"","sources":["../../src/common/PromiseStore.js"],"names":[],"mappings":"AAKA,eAAe;AACf;IACE,uBAIC;IAHC,UAAgB;IAChB,qBAAsB;IACtB,qBAA2B;IAG7B;;;MAYC;IAID,yDAGC;IAED,kCAcC;IAED,gCASC;IAGD,cAMC;CACF"}
|
|
@@ -3,7 +3,7 @@ export default SharedState;
|
|
|
3
3
|
/**
|
|
4
4
|
* Callback executed when updates are applied on a {@link SharedState}.
|
|
5
5
|
*/
|
|
6
|
-
export type sharedStateOnUpdateCallback = (newValues:
|
|
6
|
+
export type sharedStateOnUpdateCallback = (newValues: Object, oldValues: Object) => any;
|
|
7
7
|
/**
|
|
8
8
|
* Delete the registered {@link sharedStateOnUpdateCallback}.
|
|
9
9
|
*/
|
|
@@ -124,7 +124,7 @@ declare class SharedState {
|
|
|
124
124
|
/**
|
|
125
125
|
* @deprecated Use {@link SharedState#getDescription} instead.
|
|
126
126
|
*/
|
|
127
|
-
getSchema(paramName?:
|
|
127
|
+
getSchema(paramName?: null): any;
|
|
128
128
|
/**
|
|
129
129
|
* Update the values of the state.
|
|
130
130
|
*
|
|
@@ -135,7 +135,7 @@ declare class SharedState {
|
|
|
135
135
|
* @param {object} updates - Key / value pairs of updates to apply to the state.
|
|
136
136
|
* @returns {Promise<Object>} - Promise to the (coerced) updates.
|
|
137
137
|
*/
|
|
138
|
-
set(updates: object): Promise<
|
|
138
|
+
set(updates: object): Promise<Object>;
|
|
139
139
|
/**
|
|
140
140
|
* Update the values of the state.
|
|
141
141
|
*
|
|
@@ -147,7 +147,7 @@ declare class SharedState {
|
|
|
147
147
|
* @param {*} value - Value of the parameter.
|
|
148
148
|
* @returns {Promise<Object>} - Promise to the (coerced) updates.
|
|
149
149
|
*/
|
|
150
|
-
set(name: SharedStateParameterName, value: any): Promise<
|
|
150
|
+
set(name: SharedStateParameterName, value: any): Promise<Object>;
|
|
151
151
|
/**
|
|
152
152
|
* Get the value of a parameter of the state.
|
|
153
153
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedState.d.ts","sourceRoot":"","sources":["../../src/common/SharedState.js"],"names":[],"mappings":"AA0BA,qDAAwF
|
|
1
|
+
{"version":3,"file":"SharedState.d.ts","sourceRoot":"","sources":["../../src/common/SharedState.js"],"names":[],"mappings":"AA0BA,qDAAwF;;;;;sDAM7E,MAAM,aAEN,MAAM;;;;;AANjB;;;;;;;;GAQG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH;IAeE;;;;;;;;;OA4JC;IAED;;;OAGG;IACH,iBAEC;IAED;;;OAGG;IACH,wBAEC;IAED;;OAEG;IACH,yBAGC;IAED;;;OAGG;IACH,uBAEC;IAwED;;;;;;;;;;;OAWG;IACH,2BARW,MAAM,GAEL,2BAA2B,GAAC,+BAA+B,CAYtE;IAED;;OAEG;IACH,iCAGC;;;;;;;;;;;IAQE,aACQ,MAAM,GACJ,OAAO,CAAC,MAAM,CAAC,CAC3B;;;;;;;;;;;;IAOE,UACQ,wBAAwB,SACxB,GAAC,GACC,OAAO,CAAC,MAAM,CAAC,CAC3B;IAyKD;;;;;;;;;;;;;;OAcG;IACH,UANW,wBAAwB,GACvB,GAAG,CAiBd;IAED;;;;;;;;;;;;;;OAcG;IACH,gBANW,wBAAwB,GACvB,GAAG,CAiBd;IAED;;;;;;;;OAQG;IACH,aAJY,MAAM,CAgBjB;IAED;;;;;;;;;;;;OAYG;IACH,mBAJY,MAAM,CAgBjB;IAED;;;;;;;OAOG;IACH,iBAJY,MAAM,CAMjB;IAED;;;;;;OAMG;IACH,eAJY,MAAM,CAMjB;IAED;;;;;;;;OAQG;IACH,uBAiBC;IAED;;;;;;;;;;;;;;OAcG;IACH,uBAUC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,oDAba,iCAAiC,CAkC7C;IAED;;;;;;;OAOG;IACH,4CAGC;IAED;;;;;;OAMG;IACH,4CAOC;IArsBC,eAAe;IACf,mCAAwE;;CAqsB3E"}
|
|
@@ -53,7 +53,7 @@ export default SharedStateCollection;
|
|
|
53
53
|
* Callback to execute when an update is triggered on one of the shared states
|
|
54
54
|
* of the collection.
|
|
55
55
|
*/
|
|
56
|
-
export type sharedStateCollectionOnUpdateCallback = (state: SharedState, newValues:
|
|
56
|
+
export type sharedStateCollectionOnUpdateCallback = (state: SharedState, newValues: Object, oldValues: Object) => any;
|
|
57
57
|
/**
|
|
58
58
|
* Delete the registered {@link sharedStateCollectionOnUpdateCallback} when executed.
|
|
59
59
|
*/
|
|
@@ -102,7 +102,7 @@ export type sharedStateCollectionDeleteOnChangeCallback = () => any;
|
|
|
102
102
|
* @hideconstructor
|
|
103
103
|
*/
|
|
104
104
|
declare class SharedStateCollection {
|
|
105
|
-
constructor(stateManager: any, className: any, filter?:
|
|
105
|
+
constructor(stateManager: any, className: any, filter?: null, options?: {});
|
|
106
106
|
/**
|
|
107
107
|
* Size of the collection, alias `size`
|
|
108
108
|
* @type {number}
|
|
@@ -126,7 +126,7 @@ declare class SharedStateCollection {
|
|
|
126
126
|
/**
|
|
127
127
|
* @deprecated Use {@link SharedStateCollection#getDescription} instead.
|
|
128
128
|
*/
|
|
129
|
-
getSchema(paramName?:
|
|
129
|
+
getSchema(paramName?: null): any;
|
|
130
130
|
/**
|
|
131
131
|
* Return the underlying {@link SharedStateClassDescription} or the
|
|
132
132
|
* {@link SharedStateParameterDescription} if `paramName` is given.
|
|
@@ -152,7 +152,7 @@ declare class SharedStateCollection {
|
|
|
152
152
|
* Return the current values of all the states in the collection.
|
|
153
153
|
* @return {Object[]}
|
|
154
154
|
*/
|
|
155
|
-
getValues():
|
|
155
|
+
getValues(): Object[];
|
|
156
156
|
/**
|
|
157
157
|
* Return the current values of all the states in the collection.
|
|
158
158
|
*
|
|
@@ -164,7 +164,7 @@ declare class SharedStateCollection {
|
|
|
164
164
|
*
|
|
165
165
|
* @return {Object[]}
|
|
166
166
|
*/
|
|
167
|
-
getValuesUnsafe():
|
|
167
|
+
getValuesUnsafe(): Object[];
|
|
168
168
|
/**
|
|
169
169
|
* Return the current param value of all the states in the collection.
|
|
170
170
|
*
|
|
@@ -193,7 +193,7 @@ declare class SharedStateCollection {
|
|
|
193
193
|
* @param {object} updates - key / value pairs of updates to apply to the collection.
|
|
194
194
|
* @returns {Promise<Array<Object>>} - Promise to the list of (coerced) updates.
|
|
195
195
|
*/
|
|
196
|
-
set(updates: object): Promise<Array<
|
|
196
|
+
set(updates: object): Promise<Array<Object>>;
|
|
197
197
|
/**
|
|
198
198
|
* Update all states of the collection with given values.
|
|
199
199
|
*
|
|
@@ -205,7 +205,7 @@ declare class SharedStateCollection {
|
|
|
205
205
|
* @param {*} value - Value of the parameter.
|
|
206
206
|
* @returns {Promise<Array<Object>>} - Promise to the list of (coerced) updates.
|
|
207
207
|
*/
|
|
208
|
-
set(name: SharedStateParameterName, value: any): Promise<Array<
|
|
208
|
+
set(name: SharedStateParameterName, value: any): Promise<Array<Object>>;
|
|
209
209
|
/**
|
|
210
210
|
* Register a function to execute when any shared state of the collection is updated.
|
|
211
211
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedStateCollection.d.ts","sourceRoot":"","sources":["../../src/common/SharedStateCollection.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH,uDAA4F;;;;;;4DApDjF,WAAW;;;;;;;;
|
|
1
|
+
{"version":3,"file":"SharedStateCollection.d.ts","sourceRoot":"","sources":["../../src/common/SharedStateCollection.js"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAEH;;;;GAIG;AAEH;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;;GAMG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH;;;;GAIG;AAEH,uDAA4F;;;;;;4DApDjF,WAAW,aACX,MAAM,aAEN,MAAM;;;;;;;;4DAcN,WAAW;;;;;;;;;4DAcX,WAAW;;;;;;;;;;;;;AAuBtB;;;;;;;;;;;;;;;;;GAiBG;AACH;IAaE,4EAKC;IAuCD;;;;OAIG;IACH,uBAHU,MAAM,CAKf;IAED;;;OAGG;IACH,YAFU,MAAM,CAIf;IAED;;;OAGG;IACH,wBAEC;IAED;;OAEG;IACH,yBAGC;IAED;;OAEG;IACH,iCAGC;IAED;;;;;;;;;;;OAWG;IACH,2BARW,MAAM,GAEL,2BAA2B,GAAC,+BAA+B,CAgBtE;IAED;;;;;;OAMG;IACH,eAJY,MAAM,CAUjB;IAED;;;OAGG;IACH,aAFY,MAAM,EAAE,CAInB;IAED;;;;;;;;;;OAUG;IACH,mBAFY,MAAM,EAAE,CAInB;IAED;;;;;OAKG;IACH,mBAFY,GAAG,EAAE,CAMhB;IAED;;;;;;;;;OASG;IACH,yBAFY,GAAG,EAAE,CAMhB;;;;;;;;;;;IAQE,aACQ,MAAM,GACJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAClC;;;;;;;;;;;;IAOE,UACQ,wBAAwB,SACxB,GAAC,GACC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAClC;IAwBD;;;;;;;;;OASG;IACH,mBAPW,qCAAqC,8BAInC,2CAA2C,CAyBvD;IAED;;;;;;;;;;OAUG;IACH,mBAPW,qCAAqC,oBAErC,OAAO,GAEL,2CAA2C,CAWvD;IAED;;;;;;;;OAQG;IACH,mBALW,qCAAqC,GAEnC,2CAA2C,CAOvD;IAED;;;;;;;;;;;OAWG;IACH,mBARW,qCAAqC,8BAEnC,2CAA2C,CAcvD;IAED;;;OAGG;IACH,wBAUC;IAED;;;;;OAKG;IACH,8BAEC;IAED;;;;;;OAMG;IACH,2BAEC;IAED;;;;;;;OAOG;IACH,8BAEC;IAED;;;;OAIG;IACH,2BAEC;IAED;;;;;;;OAOG;IACH,0BAEC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAVa,CAAC,gCAKH,CAAC,mBAGA,CAAC,CASZ;IA5YD,eAAe;IACf,qCAkCC;IA2WD;;OAEG;IACH;;;;;MAYC;;CACF"}
|
|
@@ -35,18 +35,18 @@ type SharedStateParameterDescription = {
|
|
|
35
35
|
* - Defines if the parameter is nullable.
|
|
36
36
|
* When `true` the parameter `default` is set to `null`.
|
|
37
37
|
*/
|
|
38
|
-
nullable?: boolean;
|
|
38
|
+
nullable?: boolean | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* - Define if the parameter is a volatile, i.e.
|
|
41
41
|
* its value only exists on an update and is set back to `null` after propagation.
|
|
42
42
|
* When `true`, `nullable` is automatically set to `true` and `default` to `null`.
|
|
43
43
|
*/
|
|
44
|
-
event?: boolean;
|
|
44
|
+
event?: boolean | undefined;
|
|
45
45
|
/**
|
|
46
46
|
* - When set to true, the parameter must be
|
|
47
47
|
* provided at the creation of the shared state.
|
|
48
48
|
*/
|
|
49
|
-
required?: boolean;
|
|
49
|
+
required?: boolean | undefined;
|
|
50
50
|
/**
|
|
51
51
|
* - When set to `false`, an update will
|
|
52
52
|
* trigger the propagation of a parameter even when its value didn't change.
|
|
@@ -55,7 +55,7 @@ type SharedStateParameterDescription = {
|
|
|
55
55
|
* option (which has no state per se). Hence, setting this options to `false` if
|
|
56
56
|
* `event=true` makes no sens.
|
|
57
57
|
*/
|
|
58
|
-
filterChange?: boolean;
|
|
58
|
+
filterChange?: boolean | undefined;
|
|
59
59
|
/**
|
|
60
60
|
* - When set to `true`, an update will
|
|
61
61
|
* trigger the update listeners immediately on the node that generated the update,
|
|
@@ -66,7 +66,7 @@ type SharedStateParameterDescription = {
|
|
|
66
66
|
* Setting this modifier to `true` will trigger the `onUpdate` callback synchronously
|
|
67
67
|
* according to the `set` call.
|
|
68
68
|
*/
|
|
69
|
-
immediate?: boolean;
|
|
69
|
+
immediate?: boolean | undefined;
|
|
70
70
|
/**
|
|
71
71
|
* - When set to true, the parameter is never
|
|
72
72
|
* propagated on the network (hence it is no longer a shared parameter :). This
|
|
@@ -75,7 +75,7 @@ type SharedStateParameterDescription = {
|
|
|
75
75
|
* Setting this modifier to `true` will trigger the `onUpdate` callback synchronously
|
|
76
76
|
* according to the `set` call.
|
|
77
77
|
*/
|
|
78
|
-
local?: boolean;
|
|
78
|
+
local?: boolean | undefined;
|
|
79
79
|
/**
|
|
80
80
|
* - When set to false, the acknowledgement
|
|
81
81
|
* is never sent back to the shared state that initiated an update. This can be
|
|
@@ -83,25 +83,25 @@ type SharedStateParameterDescription = {
|
|
|
83
83
|
* Setting this modifier to `true` will trigger the `onUpdate` callback synchronously
|
|
84
84
|
* according to the `set` call.
|
|
85
85
|
*/
|
|
86
|
-
acknowledge?: boolean;
|
|
86
|
+
acknowledge?: boolean | undefined;
|
|
87
87
|
/**
|
|
88
88
|
* - Minimum value of the parameter. Only applies
|
|
89
89
|
* for `integer` and `float` types.
|
|
90
90
|
*/
|
|
91
|
-
min?: number;
|
|
91
|
+
min?: number | undefined;
|
|
92
92
|
/**
|
|
93
93
|
* - Maximum value of the parameter. Only applies
|
|
94
94
|
* for `integer` and `float` types.
|
|
95
95
|
*/
|
|
96
|
-
max?: number;
|
|
96
|
+
max?: number | undefined;
|
|
97
97
|
/**
|
|
98
98
|
* - Possible values of the parameter. Only applies and
|
|
99
99
|
* mandatory for `enum` type.
|
|
100
100
|
*/
|
|
101
|
-
list?:
|
|
101
|
+
list?: any[] | undefined;
|
|
102
102
|
/**
|
|
103
103
|
* - Optional metadata of the parameter.
|
|
104
104
|
*/
|
|
105
|
-
metas?: object;
|
|
105
|
+
metas?: object | undefined;
|
|
106
106
|
};
|
|
107
107
|
//# sourceMappingURL=shared-state-types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared-state-types.d.ts","sourceRoot":"","sources":["../../src/common/shared-state-types.js"],"names":[],"mappings":";;;4BAGa,MAAM;;;;;;;;;;;;;;;;gCAoCN,MAAM;;;;;;;;UAOL,SAAS,GAAC,QAAQ,GAAC,SAAS,GAAC,OAAO,GAAC,MAAM,GAAC,KAAK;;;;;aACjD,GAAG
|
|
1
|
+
{"version":3,"file":"shared-state-types.d.ts","sourceRoot":"","sources":["../../src/common/shared-state-types.js"],"names":[],"mappings":";;;4BAGa,MAAM;;;;;;;;;;;;;;;;gCAoCN,MAAM;;;;;;;;UAOL,SAAS,GAAC,QAAQ,GAAC,SAAS,GAAC,OAAO,GAAC,MAAM,GAAC,KAAK;;;;;aACjD,GAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/common/version.js"],"names":[],"mappings":"wBACe,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/common/version.js"],"names":[],"mappings":"wBACe,OAAO"}
|
package/types/server/Server.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ declare class Server {
|
|
|
81
81
|
* @type {'idle'|'inited'|'started'|'errored'}
|
|
82
82
|
*/
|
|
83
83
|
get status(): "idle" | "inited" | "started" | "errored";
|
|
84
|
-
set router(router:
|
|
84
|
+
set router(router: null);
|
|
85
85
|
/**
|
|
86
86
|
* Instance of the router if any.
|
|
87
87
|
*
|
|
@@ -100,20 +100,20 @@ declare class Server {
|
|
|
100
100
|
* // expose assets located in the `soundfiles` directory on the network
|
|
101
101
|
* server.router.use('/soundfiles', express.static('soundfiles')));
|
|
102
102
|
*/
|
|
103
|
-
get router():
|
|
103
|
+
get router(): null;
|
|
104
104
|
/**
|
|
105
105
|
* Instance of the Node.js `http.Server` or `https.Server`
|
|
106
106
|
*
|
|
107
107
|
* @see {@link https://nodejs.org/api/http.html#class-httpserver}
|
|
108
108
|
* @see {@link https://nodejs.org/api/https.html#class-httpsserver}
|
|
109
109
|
*/
|
|
110
|
-
get httpServer():
|
|
110
|
+
get httpServer(): null;
|
|
111
111
|
/**
|
|
112
112
|
* Simple key / value filesystem database with Promise based Map API.
|
|
113
113
|
*
|
|
114
114
|
* Basically a tiny wrapper around the {@link https://github.com/lukechilds/keyv} package.
|
|
115
115
|
*/
|
|
116
|
-
get db():
|
|
116
|
+
get db(): null;
|
|
117
117
|
/**
|
|
118
118
|
* Instance of the {@link ServerSockets} class.
|
|
119
119
|
*
|
|
@@ -252,7 +252,7 @@ declare class Server {
|
|
|
252
252
|
* be internally used to check the WebSocket connection and reject it if the
|
|
253
253
|
* token is invalid.
|
|
254
254
|
*/
|
|
255
|
-
generateAuthToken(req: any):
|
|
255
|
+
generateAuthToken(req: any): any;
|
|
256
256
|
/**
|
|
257
257
|
* Check if the given client is trusted, i.e. config.env.type == 'production'
|
|
258
258
|
* and the client is protected behind a password.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../src/server/Server.js"],"names":[],"mappings":"AA2FA,sDAA0F;AAC1F,0DAAmG;AAEnG,2DAAqG;;AAErG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAuBE;;;;;;;;OAQG;IACH,oBARW,YAAY,EA+FtB;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,cAFU,YAAY,CAIrB;IAED;;;;OAIG;IACH,eAFU,MAAM,CAIf;IAED;;;;OAIG;IACH,mBAHU,MAAM,CAKf;IAED;;;;OAIG;IACH,cAFU,MAAM,GAAC,QAAQ,GAAC,SAAS,GAAC,SAAS,CAI5C;IAwBD,
|
|
1
|
+
{"version":3,"file":"Server.d.ts","sourceRoot":"","sources":["../../src/server/Server.js"],"names":[],"mappings":"AA2FA,sDAA0F;AAC1F,0DAAmG;AAEnG,2DAAqG;;AAErG;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH;IAuBE;;;;;;;;OAQG;IACH,oBARW,YAAY,EA+FtB;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,cAFU,YAAY,CAIrB;IAED;;;;OAIG;IACH,eAFU,MAAM,CAIf;IAED;;;;OAIG;IACH,mBAHU,MAAM,CAKf;IAED;;;;OAIG;IACH,cAFU,MAAM,GAAC,QAAQ,GAAC,SAAS,GAAC,SAAS,CAI5C;IAwBD,yBAaC;IAnCD;;;;;;;;;;;;;;;;;OAiBG;IACH,mBAEC;IAiBD;;;;;OAKG;IACH,uBAEC;IAED;;;;OAIG;IACH,eAEC;IAED;;;;OAIG;IACH,eAFU,aAAa,CAItB;IAED;;;;OAIG;IACH,8CAEC;IAED;;;;OAIG;IACH,oBAFU,kBAAkB,CAI3B;IAED;;;;OAIG;IACH,gDAEC;IAqBD;;;;;;;;;;;OAWG;IACH,kDAGC;IAED;;;;;;;;;;;;;;;OAeG;IACH,iBAPa,OAAO,CAAC,WAAW,CAAC,CAahC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACH,sBA2CC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,sBA4CC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,sBAqBC;IAED,8CAGC;IAED,iDAGC;IAiHD,eAAe;IACf,8BAMC;IAED;;;;;;OAMG;IACH,iCAcC;IAqBD;;;;;;OAMG;IACH,wBAHW,YAAY,GACV,OAAO,CAQnB;IAED;;;;;;;;OAQG;IAEH,yBANW,MAAM,YACN,MAAM,SACN,MAAM,GACJ,OAAO,CAqBnB;IAED;;;;;;;OAOG;IACH,2BAmBC;IAED;;OAEG;IACH,sCAGC;IAlPD;;;OAGG;IACH,oCAwGC;IAmCD,eAAe;IACf,wCAgBC;IAvjBC,eAAe;IACf,yCAAgD;;CAyoBnD;0BA5zBM,oBAAoB;gCApBpB,0BAA0B;+BAS1B,yBAAyB;iCAdzB,2BAA2B;yBAN3B,mBAAmB"}
|
|
@@ -84,7 +84,7 @@ declare class ServerPluginManager<T> extends BasePluginManager {
|
|
|
84
84
|
* // server-side
|
|
85
85
|
* server.pluginManager.register('user-defined-id', pluginFactory);
|
|
86
86
|
*/
|
|
87
|
-
register(id: string, ctor: T<ServerPlugin>, options?: object, deps?:
|
|
87
|
+
register(id: string, ctor: T<ServerPlugin>, options?: object, deps?: array): void;
|
|
88
88
|
/**
|
|
89
89
|
* Retrieve a fully started instance of a registered plugin.
|
|
90
90
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerPluginManager.d.ts","sourceRoot":"","sources":["../../src/server/ServerPluginManager.js"],"names":[],"mappings":"AAMA,uEAA8H;AAC9H,0DAAmG;AACnG,6DAAyG;;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,kCAFa,CAAC;IAGZ,uBAAuB;IACvB,yBAMC;IA2CD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAfW,MAAM,QAEN,CAAC,CAAC,YAAY,CAAC,YACf,MAAM,
|
|
1
|
+
{"version":3,"file":"ServerPluginManager.d.ts","sourceRoot":"","sources":["../../src/server/ServerPluginManager.js"],"names":[],"mappings":"AAMA,uEAA8H;AAC9H,0DAAmG;AACnG,6DAAyG;;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,kCAFa,CAAC;IAGZ,uBAAuB;IACvB,yBAMC;IA2CD;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,aAfW,MAAM,QAEN,CAAC,CAAC,YAAY,CAAC,YACf,MAAM,SACN,KAAK,QAkBf;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,cAFa,OAAO,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAQpC;IAjGD,eAAe;IACf,qDAYC;IAED,eAAe;IACf,wCAUC;IAED,eAAe;IACf,2CAUC;CA2DF;8BA3KM,gCAAgC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerSocket.d.ts","sourceRoot":"","sources":["../../src/server/ServerSocket.js"],"names":[],"mappings":"AAgBA,4CAAqE;AACrE,6CAAsE;;AAEtE;;;;;;;;;;;GAWG;AACH;IAME,mCAmFC;IA8CD;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"ServerSocket.d.ts","sourceRoot":"","sources":["../../src/server/ServerSocket.js"],"names":[],"mappings":"AAgBA,4CAAqE;AACrE,6CAAsE;;AAEtE;;;;;;;;;;;GAWG;AACH;IAME,mCAmFC;IA8CD;;OAEG;IACH,oBAEC;IAED;;;;;OAKG;IACH,kBAFU,MAAM,CAIf;IAED;;;;;;OAMG;IACH,cAJW,MAAM,WACH,GAAC,EAAA,QAkBd;IAED;;;;;;;OAOG;IACH,qBALW,MAAM,4BAYhB;IAED;;;;;OAKG;IACH,wBAHW,MAAM,4BAYhB;IAED;;;;OAIG;IACH,6BAFW,MAAM,QAQhB;IAtHD;;;;;;;OAOG;IACH,2BAsBC;;CAyFF"}
|
|
@@ -10,12 +10,12 @@ export default SharedStatePrivate;
|
|
|
10
10
|
*/
|
|
11
11
|
declare class SharedStatePrivate {
|
|
12
12
|
constructor(manager: any, className: any, classDefinition: any, id: any, initValues?: {});
|
|
13
|
-
get id():
|
|
14
|
-
get className():
|
|
15
|
-
get creatorId():
|
|
16
|
-
get creatorInstanceId():
|
|
13
|
+
get id(): null;
|
|
14
|
+
get className(): null;
|
|
15
|
+
get creatorId(): null;
|
|
16
|
+
get creatorInstanceId(): null;
|
|
17
17
|
get attachedClients(): Map<any, any>;
|
|
18
|
-
get parameters():
|
|
18
|
+
get parameters(): null;
|
|
19
19
|
[kSharedStatePrivateGetValues](): any;
|
|
20
20
|
[kSharedStatePrivateAttachClient](instanceId: any, client: any, isOwner: any, filter: any): void;
|
|
21
21
|
[kSharedStatePrivateDetachClient](instanceId: any, client: any): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SharedStatePrivate.d.ts","sourceRoot":"","sources":["../../src/server/SharedStatePrivate.js"],"names":[],"mappings":"AA4DA,4DAAuG;AACvG,4DAAuG;AACvG,yDAAiG;;AAEjG;;;;;GAKG;AACH;IASE,0FAMC;IAED,
|
|
1
|
+
{"version":3,"file":"SharedStatePrivate.d.ts","sourceRoot":"","sources":["../../src/server/SharedStatePrivate.js"],"names":[],"mappings":"AA4DA,4DAAuG;AACvG,4DAAuG;AACvG,yDAAiG;;AAEjG;;;;;GAKG;AACH;IASE,0FAMC;IAED,eAEC;IAED,sBAEC;IAED,sBAEC;IAED,8BAEC;IAED,qCAEC;IAED,uBAEC;IAED,sCAEC;IAED,iGAyLC;IAED,sEAMC;;CACF"}
|
package/types/server/crypto.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/server/crypto.js"],"names":[],"mappings":"AAuBA,eAAe;AACf,
|
|
1
|
+
{"version":3,"file":"crypto.d.ts","sourceRoot":"","sources":["../../src/server/crypto.js"],"names":[],"mappings":"AAuBA,eAAe;AACf,2CAKC;AAED,eAAe;AACf,qDAMC"}
|
package/types/server/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export type ClientDescription = {
|
|
|
17
17
|
* - For browser client, define is the client should be
|
|
18
18
|
* accessible at the default / root HTTP endpoint
|
|
19
19
|
*/
|
|
20
|
-
default?: boolean;
|
|
20
|
+
default?: boolean | undefined;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* Application configuration object.
|
|
@@ -30,11 +30,11 @@ export type ServerAppConfig = {
|
|
|
30
30
|
/**
|
|
31
31
|
* - Name of the application.
|
|
32
32
|
*/
|
|
33
|
-
name?: string;
|
|
33
|
+
name?: string | undefined;
|
|
34
34
|
/**
|
|
35
35
|
* - Name of the author.
|
|
36
36
|
*/
|
|
37
|
-
author?: string;
|
|
37
|
+
author?: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* Environment configuration object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.js"],"names":[],"mappings":";;;;;;;;;yBAcU,MAAM;;;;;aAKF,SAAS,GAAC,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/server/index.js"],"names":[],"mappings":";;;;;;;;;yBAcU,MAAM;;;;;aAKF,SAAS,GAAC,MAAM;;;;;;;;;;;;;;QAShB,MAAM;;;;;;;;;;;;;8BAQV,MAAM;;;;;;;;SAwBF,SAAS;;;;SACT,eAAe"}
|