sprof 0.1.50 → 0.1.52
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/core/helpers/BaseStore.d.ts +2 -1
- package/dist/core/helpers/HttpClient.d.ts +1 -1
- package/dist/core/helpers/HttpError.d.ts +1 -1
- package/dist/core/store/index.d.ts +16 -8
- package/dist/core/ui/AdminHead.d.ts +1 -0
- package/dist/core/ui/AdminUI.d.ts +1 -0
- package/dist/core/ui/index.d.ts +1 -0
- package/dist/sprof.js +4564 -4174
- package/dist/sprof.umd.cjs +15 -12
- package/package.json +2 -2
|
@@ -24,6 +24,7 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
24
24
|
GetAll(options?: GetAllOptions): Promise<void>;
|
|
25
25
|
Get(id?: string): Promise<void>;
|
|
26
26
|
GetBySlug(slug?: string): Promise<void>;
|
|
27
|
+
TestMethod(): Promise<void>;
|
|
27
28
|
FTSP(options?: GetAllOptions): Promise<void>;
|
|
28
29
|
Create(item?: T): Promise<T | void>;
|
|
29
30
|
CreateAndSet(item: T): Promise<void>;
|
|
@@ -34,7 +35,7 @@ export default class BaseStore<T extends IWithId & IFileInfosGetter> {
|
|
|
34
35
|
Remove(id: string | undefined): Promise<void>;
|
|
35
36
|
UpdateMany(items?: T[]): Promise<void>;
|
|
36
37
|
SetAll(items: T[] | undefined): void;
|
|
37
|
-
SetAllWithCount(items
|
|
38
|
+
SetAllWithCount(items: ItemsWithCount<T>): void;
|
|
38
39
|
RemoveItem(id: string): void;
|
|
39
40
|
AppendToAll(items?: T[] | T | undefined): void;
|
|
40
41
|
ResetState(): void;
|
|
@@ -4,7 +4,7 @@ export default abstract class HttpClient {
|
|
|
4
4
|
static baseUrl: string;
|
|
5
5
|
static apiVersion: string;
|
|
6
6
|
static host: string;
|
|
7
|
-
static Setup(host
|
|
7
|
+
static Setup(host: string | undefined, port: string, apiVersion?: string): void;
|
|
8
8
|
static headers: HttpHeaders;
|
|
9
9
|
static newWebSocket(query: string): WebSocket;
|
|
10
10
|
private static download;
|
|
@@ -5,5 +5,5 @@ export default class HttpError {
|
|
|
5
5
|
constructor(i?: HttpError);
|
|
6
6
|
getErr(): string;
|
|
7
7
|
private capitalizedErr;
|
|
8
|
-
static Handle(error: any, axiosInstance: AxiosInstance): Promise<import('axios').AxiosResponse<any, any> | undefined>;
|
|
8
|
+
static Handle(error: any, axiosInstance: AxiosInstance): Promise<import('axios').AxiosResponse<any, any, {}> | undefined>;
|
|
9
9
|
}
|
|
@@ -37,6 +37,7 @@ export default abstract class S {
|
|
|
37
37
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
38
38
|
Get(id?: string | undefined): Promise<void>;
|
|
39
39
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
40
|
+
TestMethod(): Promise<void>;
|
|
40
41
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
41
42
|
Create(item?: import('../classes/Contact').default | undefined): Promise<void | import('../classes/Contact').default>;
|
|
42
43
|
CreateAndSet(item: import('../classes/Contact').default): Promise<void>;
|
|
@@ -47,7 +48,7 @@ export default abstract class S {
|
|
|
47
48
|
Remove(id: string | undefined): Promise<void>;
|
|
48
49
|
UpdateMany(items?: import('../classes/Contact').default[] | undefined): Promise<void>;
|
|
49
50
|
SetAll(items: import('../classes/Contact').default[] | undefined): void;
|
|
50
|
-
SetAllWithCount(items
|
|
51
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/Contact').default>): void;
|
|
51
52
|
RemoveItem(id: string): void;
|
|
52
53
|
AppendToAll(items?: import('../classes/Contact').default | import('../classes/Contact').default[] | undefined): void;
|
|
53
54
|
ResetState(): void;
|
|
@@ -75,6 +76,7 @@ export default abstract class S {
|
|
|
75
76
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
76
77
|
Get(id?: string | undefined): Promise<void>;
|
|
77
78
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
79
|
+
TestMethod(): Promise<void>;
|
|
78
80
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
79
81
|
Create(item?: import('../classes/Email').default | undefined): Promise<void | import('../classes/Email').default>;
|
|
80
82
|
CreateAndSet(item: import('../classes/Email').default): Promise<void>;
|
|
@@ -85,7 +87,7 @@ export default abstract class S {
|
|
|
85
87
|
Remove(id: string | undefined): Promise<void>;
|
|
86
88
|
UpdateMany(items?: import('../classes/Email').default[] | undefined): Promise<void>;
|
|
87
89
|
SetAll(items: import('../classes/Email').default[] | undefined): void;
|
|
88
|
-
SetAllWithCount(items
|
|
90
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/Email').default>): void;
|
|
89
91
|
RemoveItem(id: string): void;
|
|
90
92
|
AppendToAll(items?: import('../classes/Email').default | import('../classes/Email').default[] | undefined): void;
|
|
91
93
|
ResetState(): void;
|
|
@@ -114,6 +116,7 @@ export default abstract class S {
|
|
|
114
116
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
115
117
|
Get(id?: string | undefined): Promise<void>;
|
|
116
118
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
119
|
+
TestMethod(): Promise<void>;
|
|
117
120
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
118
121
|
Create(item?: import('../classes/FTSPPreset').default | undefined): Promise<void | import('../classes/FTSPPreset').default>;
|
|
119
122
|
CreateAndSet(item: import('../classes/FTSPPreset').default): Promise<void>;
|
|
@@ -124,7 +127,7 @@ export default abstract class S {
|
|
|
124
127
|
Remove(id: string | undefined): Promise<void>;
|
|
125
128
|
UpdateMany(items?: import('../classes/FTSPPreset').default[] | undefined): Promise<void>;
|
|
126
129
|
SetAll(items: import('../classes/FTSPPreset').default[] | undefined): void;
|
|
127
|
-
SetAllWithCount(items
|
|
130
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/FTSPPreset').default>): void;
|
|
128
131
|
RemoveItem(id: string): void;
|
|
129
132
|
AppendToAll(items?: import('../classes/FTSPPreset').default | import('../classes/FTSPPreset').default[] | undefined): void;
|
|
130
133
|
ResetState(): void;
|
|
@@ -152,6 +155,7 @@ export default abstract class S {
|
|
|
152
155
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
153
156
|
Get(id?: string | undefined): Promise<void>;
|
|
154
157
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
158
|
+
TestMethod(): Promise<void>;
|
|
155
159
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
156
160
|
Create(item?: import('../classes/Human').default | undefined): Promise<void | import('../classes/Human').default>;
|
|
157
161
|
CreateAndSet(item: import('../classes/Human').default): Promise<void>;
|
|
@@ -162,7 +166,7 @@ export default abstract class S {
|
|
|
162
166
|
Remove(id: string | undefined): Promise<void>;
|
|
163
167
|
UpdateMany(items?: import('../classes/Human').default[] | undefined): Promise<void>;
|
|
164
168
|
SetAll(items: import('../classes/Human').default[] | undefined): void;
|
|
165
|
-
SetAllWithCount(items
|
|
169
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/Human').default>): void;
|
|
166
170
|
RemoveItem(id: string): void;
|
|
167
171
|
AppendToAll(items?: import('../classes/Human').default | import('../classes/Human').default[] | undefined): void;
|
|
168
172
|
ResetState(): void;
|
|
@@ -190,6 +194,7 @@ export default abstract class S {
|
|
|
190
194
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
191
195
|
Get(id?: string | undefined): Promise<void>;
|
|
192
196
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
197
|
+
TestMethod(): Promise<void>;
|
|
193
198
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
194
199
|
Create(item?: import('../classes/Phone').default | undefined): Promise<void | import('../classes/Phone').default>;
|
|
195
200
|
CreateAndSet(item: import('../classes/Phone').default): Promise<void>;
|
|
@@ -200,7 +205,7 @@ export default abstract class S {
|
|
|
200
205
|
Remove(id: string | undefined): Promise<void>;
|
|
201
206
|
UpdateMany(items?: import('../classes/Phone').default[] | undefined): Promise<void>;
|
|
202
207
|
SetAll(items: import('../classes/Phone').default[] | undefined): void;
|
|
203
|
-
SetAllWithCount(items
|
|
208
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/Phone').default>): void;
|
|
204
209
|
RemoveItem(id: string): void;
|
|
205
210
|
AppendToAll(items?: import('../classes/Phone').default | import('../classes/Phone').default[] | undefined): void;
|
|
206
211
|
ResetState(): void;
|
|
@@ -228,6 +233,7 @@ export default abstract class S {
|
|
|
228
233
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
229
234
|
Get(id?: string | undefined): Promise<void>;
|
|
230
235
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
236
|
+
TestMethod(): Promise<void>;
|
|
231
237
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
232
238
|
Create(item?: import('../classes/Schema').default | undefined): Promise<void | import('../classes/Schema').default>;
|
|
233
239
|
CreateAndSet(item: import('../classes/Schema').default): Promise<void>;
|
|
@@ -238,7 +244,7 @@ export default abstract class S {
|
|
|
238
244
|
Remove(id: string | undefined): Promise<void>;
|
|
239
245
|
UpdateMany(items?: import('../classes/Schema').default[] | undefined): Promise<void>;
|
|
240
246
|
SetAll(items: import('../classes/Schema').default[] | undefined): void;
|
|
241
|
-
SetAllWithCount(items
|
|
247
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/Schema').default>): void;
|
|
242
248
|
RemoveItem(id: string): void;
|
|
243
249
|
AppendToAll(items?: import('../classes/Schema').default | import('../classes/Schema').default[] | undefined): void;
|
|
244
250
|
ResetState(): void;
|
|
@@ -266,6 +272,7 @@ export default abstract class S {
|
|
|
266
272
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
267
273
|
Get(id?: string | undefined): Promise<void>;
|
|
268
274
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
275
|
+
TestMethod(): Promise<void>;
|
|
269
276
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
270
277
|
Create(item?: import('../classes/UserAccount').default | undefined): Promise<void | import('../classes/UserAccount').default>;
|
|
271
278
|
CreateAndSet(item: import('../classes/UserAccount').default): Promise<void>;
|
|
@@ -276,7 +283,7 @@ export default abstract class S {
|
|
|
276
283
|
Remove(id: string | undefined): Promise<void>;
|
|
277
284
|
UpdateMany(items?: import('../classes/UserAccount').default[] | undefined): Promise<void>;
|
|
278
285
|
SetAll(items: import('../classes/UserAccount').default[] | undefined): void;
|
|
279
|
-
SetAllWithCount(items
|
|
286
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/UserAccount').default>): void;
|
|
280
287
|
RemoveItem(id: string): void;
|
|
281
288
|
AppendToAll(items?: import('../classes/UserAccount').default | import('../classes/UserAccount').default[] | undefined): void;
|
|
282
289
|
ResetState(): void;
|
|
@@ -304,6 +311,7 @@ export default abstract class S {
|
|
|
304
311
|
GetAll(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
305
312
|
Get(id?: string | undefined): Promise<void>;
|
|
306
313
|
GetBySlug(slug?: string | undefined): Promise<void>;
|
|
314
|
+
TestMethod(): Promise<void>;
|
|
307
315
|
FTSP(options?: import('../helpers/BaseStore').GetAllOptions | undefined): Promise<void>;
|
|
308
316
|
Create(item?: import('../classes/ValueType').default | undefined): Promise<void | import('../classes/ValueType').default>;
|
|
309
317
|
CreateAndSet(item: import('../classes/ValueType').default): Promise<void>;
|
|
@@ -314,7 +322,7 @@ export default abstract class S {
|
|
|
314
322
|
Remove(id: string | undefined): Promise<void>;
|
|
315
323
|
UpdateMany(items?: import('../classes/ValueType').default[] | undefined): Promise<void>;
|
|
316
324
|
SetAll(items: import('../classes/ValueType').default[] | undefined): void;
|
|
317
|
-
SetAllWithCount(items
|
|
325
|
+
SetAllWithCount(items: import('../interfaces/ItemsWithCount').default<import('../classes/ValueType').default>): void;
|
|
318
326
|
RemoveItem(id: string): void;
|
|
319
327
|
AppendToAll(items?: import('../classes/ValueType').default | import('../classes/ValueType').default[] | undefined): void;
|
|
320
328
|
ResetState(): void;
|
package/dist/core/ui/index.d.ts
CHANGED