@auxilium/datalynk-client 1.2.2 → 1.2.4

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.
@@ -1,62 +0,0 @@
1
- import { Api } from './api';
2
- /** Styling options for login prompt */
3
- export type LoginPromptOptions = {
4
- /** Add links to top of page */
5
- addLinks?: {
6
- text: string;
7
- url: string;
8
- }[];
9
- /** Background image URL */
10
- background?: string;
11
- /** Use background color instead of image */
12
- backgroundColor?: string;
13
- /** Primary color as hex: `#000000` */
14
- color?: string;
15
- /** Change glow color, defaults to color or set to falsy to disable */
16
- glow?: string;
17
- /** Hide app links */
18
- hideApps?: boolean;
19
- /** Logo URL */
20
- logo?: string;
21
- /** Allow users to stay logged in */
22
- persist?: boolean;
23
- /** Header string or HTML: <img alt="logo" src="...">*/
24
- title?: string;
25
- /** Color of headers & links */
26
- textColor?: string;
27
- /** Custom font for title */
28
- titleFontFamily?: string;
29
- /** Import URL for custom font */
30
- titleFontUrl?: string;
31
- /** Text shadow for the title */
32
- titleTextShadow?: string;
33
- };
34
- /** Create a login prompt */
35
- export declare class LoginPrompt {
36
- private readonly api;
37
- readonly spoke: string;
38
- options: LoginPromptOptions;
39
- /** Dynamically create CSS style */
40
- private static css;
41
- /** Dynamically create HTML */
42
- private static template;
43
- private alert;
44
- private button;
45
- private form;
46
- private password;
47
- private persist;
48
- private username;
49
- private _done;
50
- /** Promise which resolves once login is complete */
51
- done: Promise<void>;
52
- constructor(api: Api, spoke: string, options?: LoginPromptOptions);
53
- private render;
54
- private themeDefaults;
55
- /** Close the login prompt */
56
- close(): void;
57
- /** Check if login prompt is still open */
58
- isOpen(): boolean;
59
- /** Login form submit event */
60
- login(event: any): Promise<void | import('./auth').User>;
61
- }
62
- //# sourceMappingURL=login-prompt.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"login-prompt.d.ts","sourceRoot":"","sources":["../src/login-prompt.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,GAAG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AAO;IAEvB,OAAO,CAAC,KAAK,CAAY;IACzB,oDAAoD;IACpD,IAAI,gBAAmD;gBAE1B,GAAG,EAAE,GAAG,EAAkB,KAAK,EAAE,MAAM,EAAS,OAAO,GAAE,kBAAuB;YAI/F,MAAM;YAkBN,aAAa;IAS3B,6BAA6B;IAC7B,KAAK;IAKL,0CAA0C;IAC1C,MAAM;IAIN,8BAA8B;IAC9B,KAAK,CAAC,KAAK,EAAE,GAAG;CA4BhB"}
package/dist/meta.d.ts DELETED
@@ -1,464 +0,0 @@
1
- /** Row metadata */
2
- export type Meta = {
3
- readonly id: number;
4
- readonly created: Date;
5
- readonly creatorRef: number;
6
- readonly modified: Date;
7
- readonly modifierRef: number;
8
- };
9
- /**
10
- * Metadata information for a data entity.
11
- */
12
- export type SliceInfo = {
13
- /** Unique ID */
14
- "id": number;
15
- /** Name of the entity */
16
- "name": string;
17
- /** Category of the entity */
18
- "category": string;
19
- /** Optional parent ID */
20
- "parent"?: number;
21
- /** Optional role identifier */
22
- "role"?: string | null;
23
- /** Author's user ID */
24
- "author": number;
25
- /** Owner permissions */
26
- "owner_perms": number;
27
- /** Connection string or identifier */
28
- "connect": string;
29
- /** Source database name */
30
- "source_db": string;
31
- /** Source table name */
32
- "source_table": string;
33
- /** Source primary column */
34
- "source_pcol": string;
35
- /** Optional primary column */
36
- "pcol": string | null;
37
- /** Broken flag (0/1) */
38
- "broken": number;
39
- /** Last modified date */
40
- "modified": Date;
41
- /** Data fingerprint */
42
- "fingerprint": string;
43
- /** Name of the author */
44
- "author_name": string;
45
- /**
46
- * Additional metadata and presentation settings.
47
- */
48
- "meta": {
49
- /**
50
- * Presentation and view configuration.
51
- */
52
- "presentation": {
53
- /** Report type */
54
- "reportType": string;
55
- /** Bold title flag */
56
- "titleBold": number;
57
- /** Description text */
58
- "description": string;
59
- /** Hide view button */
60
- "hideView": number;
61
- /** Hide edit button */
62
- "hideEdit": number;
63
- /** Hide add related button */
64
- "hideAddRelated": number;
65
- /** Hide header */
66
- "hideHeader": number;
67
- /** Hide header buttons */
68
- "hideHeaderButtons": number;
69
- /** Hide header title */
70
- "hideHeaderTitle": number;
71
- /** Hide add record button */
72
- "hideAddRecord": number;
73
- /** Hide export button */
74
- "hideExport": number;
75
- /** Hide subscribe button */
76
- "hideSubscribe": number;
77
- /** Hide delete data button */
78
- "hideDeleteData": number;
79
- /** Hide print button */
80
- "hidePrint": number;
81
- /** Show description flag */
82
- "showDescription": number;
83
- /** Hide on left navigation */
84
- "hideOnLeftNav": number;
85
- /** Refresh interval in seconds, or null */
86
- "refreshInterval": number | null;
87
- /** Auto-refresh flag */
88
- "refreshAuto": number;
89
- /** Summary grid flag */
90
- "summaryGrid": number;
91
- /** IDs to include in presentation */
92
- "include_in": number[];
93
- /** Gantt chart configuration */
94
- "gantt": {
95
- /** Name of start date field */
96
- "startDateField": string;
97
- /** Name of end date field */
98
- "endDateField": string;
99
- /** Clock format */
100
- "clockFormat": string;
101
- /** Y-axis field name */
102
- "yAxis": string;
103
- /** Label for gantt chart */
104
- "label": string;
105
- /** Value for period */
106
- "periodValue": number;
107
- /** Start value (number) */
108
- "startValue": number;
109
- };
110
- /** Calendar configuration */
111
- "calendar": {
112
- /** Start time attribute */
113
- "startTimeAttr": string;
114
- /** All-day event flag */
115
- "allDay": number;
116
- /** End time attribute */
117
- "endTimeAttr": string;
118
- /** Event summary attribute */
119
- "summaryAttr": string;
120
- /** Show label time flag */
121
- "showLabelTime": number;
122
- /** First day of week (0=Sun) */
123
- "firstDayOfWeek": number;
124
- /** Date interval string */
125
- "dateInterval": string;
126
- /** Action on row click */
127
- "onRowClick": string;
128
- /** Open row click in new tab */
129
- "onRowClickNewTab": number;
130
- /** Action for empty row click */
131
- "onEmptyRowClick": string;
132
- /** Enable color backfill */
133
- "colorBackfill": number;
134
- };
135
- /** Chart configuration */
136
- "chart": {
137
- /** Chart subtitle */
138
- "subtitle": string;
139
- /** Data expression */
140
- "expression": string;
141
- };
142
- /** Pie chart options */
143
- "pie": {
144
- /** Pie subtitle */
145
- "subtitle": string;
146
- /** Show total in subtitle */
147
- "subtitleIncludeTotal": number;
148
- /** Decimal places */
149
- "decimalPlaces": number;
150
- /** Outer label config */
151
- "outer": {
152
- /** Label text */
153
- "label": string;
154
- /** Show percent value */
155
- "showPercent": number;
156
- /** Show count value */
157
- "showCount": number;
158
- /** Show total value */
159
- "showTotal": number;
160
- };
161
- /** Tooltip config */
162
- "tooltip": {
163
- /** Tooltip label */
164
- "label": string;
165
- /** Show percent in tooltip */
166
- "showPercent": number;
167
- /** Show count in tooltip */
168
- "showCount": number;
169
- /** Show total in tooltip */
170
- "showTotal": number;
171
- };
172
- };
173
- /** Graph configuration */
174
- "graph": {
175
- /** Graph header info */
176
- "header": {
177
- /** Graph title */
178
- "title": string;
179
- /** X summary */
180
- "xSummary": string;
181
- /** Y summary */
182
- "ySummary": string;
183
- /** Summary expression */
184
- "summaryExpr": string;
185
- /** Total count */
186
- "count": number;
187
- };
188
- /** Graph type */
189
- "type": string;
190
- /** X axis field */
191
- "x": string;
192
- /** X-axis aggregation */
193
- "xAggregate": string;
194
- /** Y axis field */
195
- "y": string;
196
- /** Y-axis aggregation */
197
- "yAggregate": string;
198
- /** Y axis currency flag */
199
- "yCurrency": number;
200
- /** Y axis precision */
201
- "yPrecision": number;
202
- /** Angle for the chart */
203
- "angle": string;
204
- /** Depth value */
205
- "depth": number;
206
- /** Random fill flag */
207
- "randomizeFill": number;
208
- };
209
- /** Zone map settings */
210
- "zoneMap": {
211
- /** Key field */
212
- "keyField": string;
213
- /** Rotation (nullable) */
214
- "rotate": null;
215
- /** Zone expression */
216
- "expression": string;
217
- /** Hover action */
218
- "onHoverAction": string;
219
- /** Hover template HTML */
220
- "hoverTemplate": string;
221
- /** Custom CSS */
222
- "css": string;
223
- /** Custom HTML */
224
- "html": string;
225
- /** X ratio (nullable) */
226
- "ratioX": null;
227
- /** Y ratio (nullable) */
228
- "ratioY": null;
229
- };
230
- /** Map display settings */
231
- "map": {
232
- /** Refresh rate */
233
- "refreshrate": number;
234
- /** Clear markers flag */
235
- "clearmarkers": number;
236
- /** Center coordinates */
237
- "center": string;
238
- /** Auto-fit markers flag */
239
- "autoFitMarkers": number;
240
- /** Map zoom level */
241
- "zoom": number;
242
- /** Latitude field */
243
- "latfield": string;
244
- /** Longitude field */
245
- "longfield": string;
246
- /** Address field */
247
- "addressfield": string;
248
- /** Show directions flag */
249
- "showDirections": number;
250
- /** Optimize route flag */
251
- "optimizeRoute": number;
252
- };
253
- /** Pivot table settings */
254
- "pivot": {
255
- /** Column field */
256
- "column": string;
257
- /** Key field */
258
- "key": string;
259
- /** Cell value */
260
- "cell": string;
261
- };
262
- /**
263
- * Settings for each field.
264
- */
265
- "fields": {
266
- [key: string]: {
267
- /** Allow other values */
268
- allowOther?: boolean;
269
- /** Append mode flag */
270
- append?: boolean;
271
- /** Change case setting */
272
- changecase?: string | 'normal';
273
- /** CSS classes */
274
- css?: string;
275
- /** Default value */
276
- defaultValue?: string;
277
- /** Type for default value */
278
- defaultValueType?: string;
279
- /** Description */
280
- description?: string;
281
- /** Disallow duplicate */
282
- doNotDuplicate?: boolean;
283
- /** Grid display options */
284
- grid?: {
285
- /** Column order index */
286
- columnOrder: number;
287
- /** Column width */
288
- width: number;
289
- };
290
- /** Hide field flag */
291
- hide?: boolean;
292
- /** Additional hint text */
293
- hint?: string;
294
- /** Field ID */
295
- id?: string;
296
- /** Label alignment */
297
- labelAlign?: 'Left' | 'Right' | 'Center';
298
- /** Label width */
299
- labelWidth?: string;
300
- /** Maximum size */
301
- maxsize?: string;
302
- /** Field name */
303
- name?: string;
304
- /** New line flag */
305
- newLine?: boolean;
306
- /** Allowed options */
307
- options?: string[];
308
- /** Order index */
309
- order?: number;
310
- /** Password field flag */
311
- password?: boolean;
312
- /** Column protected flag */
313
- protectedColumn?: boolean;
314
- /** Query ID */
315
- qid?: number;
316
- /** Readonly flag */
317
- readonly?: boolean;
318
- /** Report label */
319
- reportLabel?: string;
320
- /** Required flag */
321
- required?: boolean;
322
- /** Selected value */
323
- selected?: string;
324
- /** Show audit flag */
325
- showAudit?: boolean;
326
- /** Shrink flag */
327
- shrink?: boolean;
328
- /** Size constraint */
329
- size?: string;
330
- /** Special type */
331
- special?: string | 'None';
332
- /** Spread columns value */
333
- spreadCols?: string;
334
- /** Custom style */
335
- style?: string;
336
- /** Field text */
337
- text?: string;
338
- /** Field type */
339
- type?: 'boolean' | 'string' | 'string[]' | 'number' | 'Date';
340
- /** Enforce unique values */
341
- unique?: boolean;
342
- /** Validation rule */
343
- validation?: string | 'None';
344
- };
345
- };
346
- /** Grid styling settings */
347
- "grid": {
348
- /** Total rows */
349
- "totals": string[];
350
- /** Cell color settings */
351
- "cellColor": string[];
352
- /** Row color settings */
353
- "rowColor": string[];
354
- };
355
- /** Export settings */
356
- "export": {
357
- /** File name */
358
- "fileName": string;
359
- /** Value delimiter */
360
- "delimiter": string;
361
- /** Date format */
362
- "dateFormat": string;
363
- /** Time format */
364
- "timeFormat": string;
365
- /** Date/time format */
366
- "dateTimeFormat": string;
367
- /** Text enclosure character */
368
- "enclosure": string;
369
- /** First row as labels flag */
370
- "firstRowLabels": number;
371
- /** Remove special characters */
372
- "removeSpecialsCharacters": number;
373
- /** Pretty print relations */
374
- "prettyRelations": number;
375
- /** Include raw with prettys flag */
376
- "includeRawWithPrettys": number;
377
- };
378
- };
379
- /** Metadata last modified (timestamp) */
380
- "modified": number;
381
- /** Field mixins (IDs) */
382
- "mixinFids": number[];
383
- };
384
- /**
385
- * Parameters for field IDs.
386
- */
387
- "fid_params": {
388
- /** Field configs */
389
- "fields": {
390
- [key: string]: [string, any];
391
- };
392
- /** Group by fields */
393
- "group": string[] | null;
394
- /** Order by fields */
395
- "order": string[] | null;
396
- /** Where filters */
397
- "where": string[] | null;
398
- };
399
- /**
400
- * Query parameters.
401
- */
402
- "query_params": {
403
- /** Query fields */
404
- "fields": {
405
- [key: string]: [string, any];
406
- };
407
- /** Group by fields */
408
- "group": string[] | null;
409
- /** Order by fields */
410
- "order": string[] | null;
411
- /** Where filters */
412
- "where": string[] | null;
413
- };
414
- /**
415
- * Primary query.
416
- */
417
- "query": {
418
- /** Query fields */
419
- "fields": {
420
- [key: string]: [string, any];
421
- };
422
- /** Main table reference */
423
- "tables": {
424
- "self": string;
425
- };
426
- /** Join relations */
427
- "join": string | string[] | null;
428
- };
429
- /**
430
- * Query settings for members.
431
- */
432
- "query_members": {
433
- /** Fields for member queries */
434
- "fields": {
435
- [key: string]: [string, any];
436
- };
437
- /** Group by fields */
438
- "group": string | string[] | null;
439
- /** Order by fields */
440
- "order": string | string[] | null;
441
- /** Member tables */
442
- "tables": {
443
- "self": string;
444
- };
445
- /** Join relations */
446
- "join": string | string[];
447
- /** Where filters */
448
- "where": string | string[] | null;
449
- };
450
- /** Typescript type definitions */
451
- types: {
452
- /** Property name */
453
- key: string;
454
- /** Value options */
455
- options?: string[];
456
- /** Readonly value */
457
- readonly: boolean;
458
- /** Required value */
459
- required: boolean;
460
- /** Typescript type */
461
- type: string;
462
- }[];
463
- };
464
- //# sourceMappingURL=meta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../src/meta.ts"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,MAAM,MAAM,IAAI,GAAG;IAClB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC7B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACvB,gBAAgB;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,6BAA6B;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB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GAAG,MAAM,EAAE,GAAG,IAAI,CAAC;KAClC,CAAC;IACF,kCAAkC;IAClC,KAAK,EAAE;QACN,oBAAoB;QACpB,GAAG,EAAE,MAAM,CAAC;QACZ,oBAAoB;QACpB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB,qBAAqB;QACrB,QAAQ,EAAE,OAAO,CAAC;QAClB,qBAAqB;QACrB,QAAQ,EAAE,OAAO,CAAC;QAClB,sBAAsB;QACtB,IAAI,EAAE,MAAM,CAAC;KACb,EAAE,CAAA;CACH,CAAA"}
package/dist/pdf.d.ts DELETED
@@ -1,42 +0,0 @@
1
- import { Api } from './api';
2
- /** Options when creating a PDF */
3
- export type PdfOptions = {
4
- /** Cookies PDF server should use */
5
- cookies?: {
6
- name: string;
7
- value: string;
8
- domain?: string;
9
- path?: string;
10
- }[];
11
- /** Display page header/footer (The URL, page count, etc) */
12
- displayHeaderFooter?: boolean;
13
- /** Uploaded filename */
14
- filename?: string;
15
- /** Wait for x'ms of idle network traffic before creating PDF */
16
- idleTime?: number;
17
- /** Create the PDF in landscape orientation instead of portrait */
18
- landscape?: boolean;
19
- /** Change the CSS media type */
20
- mediaType?: 'screen' | 'print';
21
- /** Max amount of time request will wait before timing out */
22
- timeout?: number;
23
- /** Wait for the URL to emit a javascript event before creating PDF */
24
- waitForEvent?: string;
25
- };
26
- export declare class Pdf {
27
- private readonly api;
28
- constructor(api: Api);
29
- /**
30
- * Create a PDF from a public URL
31
- * @param {string} url Target URL address
32
- * @param {{slice: number, row: number, field: string} | null} associate Optionally associate PDF with a slice row
33
- * @param {PdfOptions} options PDF options for rendering & uploading
34
- * @return {Promise<any>} Either the PDF file number or the updated slice row response if associated
35
- */
36
- fromUrl(url: string, associate?: {
37
- slice: number;
38
- row: number;
39
- field: string;
40
- } | null, options?: PdfOptions): Promise<any>;
41
- }
42
- //# sourceMappingURL=pdf.d.ts.map
package/dist/pdf.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../src/pdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,kCAAkC;AAClC,MAAM,MAAM,UAAU,GAAG;IACxB,oCAAoC;IACpC,OAAO,CAAC,EAAE;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAC,EAAE,CAAC;IAC1E,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,wBAAwB;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gCAAgC;IAChC,SAAS,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC/B,6DAA6D;IAC7D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;CACtB,CAAA;AAED,qBAAa,GAAG;IACH,OAAO,CAAC,QAAQ,CAAC,GAAG;gBAAH,GAAG,EAAE,GAAG;IAErC;;;;;;OAMG;IACG,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,IAAI,EAAE,OAAO,GAAE,UAAe;CAMnH"}
package/dist/pwa.d.ts DELETED
@@ -1,14 +0,0 @@
1
- import { Api } from './api';
2
- export declare class PWA {
3
- private readonly api;
4
- get iframe(): boolean;
5
- get mobile(): boolean;
6
- get platform(): 'android' | 'ios' | 'mac' | 'windows' | 'linux' | 'unknown';
7
- get pwa(): boolean;
8
- constructor(api: Api);
9
- /** Setup the PWA */
10
- setup(manifest?: any): Promise<void>;
11
- /** Prompt user to install the app */
12
- prompt(platform?: 'android' | 'ios'): Promise<void>;
13
- }
14
- //# sourceMappingURL=pwa.d.ts.map
package/dist/pwa.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"pwa.d.ts","sourceRoot":"","sources":["../src/pwa.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAE1B,qBAAa,GAAG;IAoBH,OAAO,CAAC,QAAQ,CAAC,GAAG;IAlBhC,IAAI,MAAM,IAAI,OAAO,CAAyC;IAE9D,IAAI,MAAM,IAAI,OAAO,CAAuD;IAE5E,IAAI,QAAQ,IAAI,SAAS,GAAG,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAQ1E;IAED,IAAI,GAAG,IAAI,OAAO,CAEjB;gBAE4B,GAAG,EAAE,GAAG;IAErC,oBAAoB;IACd,KAAK,CAAC,QAAQ,GAAE,GAAQ;IAsC9B,qCAAqC;IAC/B,MAAM,CAAC,QAAQ,CAAC,EAAE,SAAS,GAAG,KAAK;CAiIzC"}
@@ -1,55 +0,0 @@
1
- /**
2
- * List of functions to handle conversions to and from datalynk syntax
3
- */
4
- export declare const Serializer: {
5
- /**
6
- * From Datalynk syntax to JS
7
- */
8
- deserialize: {
9
- /**
10
- * Convert date time string to javascript date object
11
- *
12
- * @param {string} datetime datetime string (YYYY/MM/DD hh:mm:ss)
13
- * @returns {Date} JS Date object
14
- */
15
- '$/tools/date': (datetime: string) => Date;
16
- /**
17
- * Convert date string to javascript date object
18
- *
19
- * @param {string} date date string (YYYY/MM/DD)
20
- * @returns {Date} JS Date object
21
- */
22
- '$/tools/date_strict': (date: string) => Date;
23
- /**
24
- * Convert time string to javascript date object
25
- *
26
- * @param {string} time time string (YYYY/MM/DD)
27
- * @returns {Date} JS Date object
28
- */
29
- '$/tools/time_strict': (time: string) => Date;
30
- /**
31
- * Convert string to constant
32
- *
33
- * @param {string} constant string to be converted
34
- * @returns {any} the actual constant
35
- */
36
- '$/tools/const': (constant: string) => any;
37
- /**
38
- * Large requests are formatted into parallel arrays
39
- *
40
- * @param {object} obj Object of metadata and data
41
- * @returns {Array} Actual object reconstructed
42
- */
43
- '$/tools/dltable': (obj: any) => never[];
44
- };
45
- /**
46
- * From JS to Datalynk syntax
47
- */
48
- serialize: {
49
- /**
50
- * Convert JS date to datalynk datetime string
51
- */
52
- Date: (date: Date) => Object;
53
- };
54
- };
55
- //# sourceMappingURL=serializer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"serializer.d.ts","sourceRoot":"","sources":["../src/serializer.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,UAAU;IAEtB;;OAEG;;QAEF;;;;;WAKG;mCACwB,MAAM,KAAG,IAAI;QAIxC;;;;;WAKG;sCAC2B,MAAM,KAAG,IAAI;QAM3C;;;;;WAKG;sCAC2B,MAAM,KAAG,IAAI;QAS3C;;;;;WAKG;oCACyB,MAAM;QAalC;;;;;WAKG;iCAC8B,GAAG;;IAkErC;;OAEG;;QAEF;;WAEG;qBACY,IAAI,KAAG,MAAM;;CAO7B,CAAC"}
@@ -1,2 +0,0 @@
1
- declare const cache = "datalynk";
2
- //# sourceMappingURL=service.worker.d.ts.map