velocious 1.0.469 → 1.0.471
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/README.md +4 -2
- package/build/configuration-types.js +1 -0
- package/build/configuration.js +27 -1
- package/build/controller.js +13 -1
- package/build/database/datetime-storage.js +49 -5
- package/build/database/record/index.js +14 -4
- package/build/environment-handlers/base.js +46 -0
- package/build/environment-handlers/node/cli/commands/generate/frontend-models.js +487 -40
- package/build/environment-handlers/node.js +84 -8
- package/build/frontend-model-controller.js +7 -7
- package/build/frontend-models/base.js +75 -9
- package/build/frontend-models/transport-serialization.js +41 -8
- package/build/frontend-models/websocket-channel.js +18 -1
- package/build/frontend-models/websocket-publishers.js +12 -1
- package/build/http-server/client/request-runner.js +13 -1
- package/build/src/configuration-types.d.ts +5 -0
- package/build/src/configuration-types.d.ts.map +1 -1
- package/build/src/configuration-types.js +2 -1
- package/build/src/configuration.d.ts +14 -1
- package/build/src/configuration.d.ts.map +1 -1
- package/build/src/configuration.js +25 -2
- package/build/src/controller.d.ts +5 -0
- package/build/src/controller.d.ts.map +1 -1
- package/build/src/controller.js +12 -2
- package/build/src/database/datetime-storage.d.ts +12 -4
- package/build/src/database/datetime-storage.d.ts.map +1 -1
- package/build/src/database/datetime-storage.js +48 -6
- package/build/src/database/record/index.d.ts +5 -0
- package/build/src/database/record/index.d.ts.map +1 -1
- package/build/src/database/record/index.js +13 -5
- package/build/src/environment-handlers/base.d.ts +19 -0
- package/build/src/environment-handlers/base.d.ts.map +1 -1
- package/build/src/environment-handlers/base.js +41 -1
- package/build/src/environment-handlers/node/cli/commands/generate/frontend-models.d.ts +253 -40
- package/build/src/environment-handlers/node/cli/commands/generate/frontend-models.d.ts.map +1 -1
- package/build/src/environment-handlers/node/cli/commands/generate/frontend-models.js +425 -41
- package/build/src/environment-handlers/node.d.ts +1 -0
- package/build/src/environment-handlers/node.d.ts.map +1 -1
- package/build/src/environment-handlers/node.js +76 -9
- package/build/src/frontend-model-controller.js +8 -8
- package/build/src/frontend-models/base.d.ts +4 -0
- package/build/src/frontend-models/base.d.ts.map +1 -1
- package/build/src/frontend-models/base.js +64 -9
- package/build/src/frontend-models/transport-serialization.d.ts +30 -1
- package/build/src/frontend-models/transport-serialization.d.ts.map +1 -1
- package/build/src/frontend-models/transport-serialization.js +34 -9
- package/build/src/frontend-models/websocket-channel.d.ts.map +1 -1
- package/build/src/frontend-models/websocket-channel.js +16 -2
- package/build/src/frontend-models/websocket-publishers.d.ts.map +1 -1
- package/build/src/frontend-models/websocket-publishers.js +12 -2
- package/build/src/http-server/client/request-runner.d.ts.map +1 -1
- package/build/src/http-server/client/request-runner.js +13 -2
- package/build/src/time-zone.d.ts +16 -0
- package/build/src/time-zone.d.ts.map +1 -0
- package/build/src/time-zone.js +56 -0
- package/build/time-zone.js +65 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
- package/scripts/test-browser.js +1 -0
- package/src/configuration-types.js +1 -0
- package/src/configuration.js +27 -1
- package/src/controller.js +13 -1
- package/src/database/datetime-storage.js +49 -5
- package/src/database/record/index.js +14 -4
- package/src/environment-handlers/base.js +46 -0
- package/src/environment-handlers/node/cli/commands/generate/frontend-models.js +487 -40
- package/src/environment-handlers/node.js +84 -8
- package/src/frontend-model-controller.js +7 -7
- package/src/frontend-models/base.js +75 -9
- package/src/frontend-models/transport-serialization.js +41 -8
- package/src/frontend-models/websocket-channel.js +18 -1
- package/src/frontend-models/websocket-publishers.js +12 -1
- package/src/http-server/client/request-runner.js +13 -1
- package/src/time-zone.js +65 -0
|
@@ -16,15 +16,33 @@
|
|
|
16
16
|
* Permit spec returned by frontend-model resources during generation.
|
|
17
17
|
* @typedef {Array<string | Record<string, FrontendModelGeneratorPermitSpec>>} FrontendModelGeneratorPermitSpec
|
|
18
18
|
*/
|
|
19
|
+
/**
|
|
20
|
+
* JSDoc import alias extracted from a backend resource source file.
|
|
21
|
+
* @typedef {object} ResourceJsDocImportAlias
|
|
22
|
+
* @property {string} importedName - Exported type name.
|
|
23
|
+
* @property {string} specifier - Import specifier from the source file.
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* JSDoc return type extracted from a backend resource method.
|
|
27
|
+
* @typedef {object} ResourceMethodReturnType
|
|
28
|
+
* @property {Map<string, ResourceJsDocImportAlias>} importAliases - Import aliases visible in the source file.
|
|
29
|
+
* @property {string | null} sourceFile - Source file that declared the method.
|
|
30
|
+
* @property {string} type - JSDoc return type.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* JSDoc parameter type extracted from a backend resource method.
|
|
34
|
+
* @typedef {object} ResourceMethodParameterType
|
|
35
|
+
* @property {Map<string, ResourceJsDocImportAlias>} importAliases - Import aliases visible in the source file.
|
|
36
|
+
* @property {string | null} name - Parameter name.
|
|
37
|
+
* @property {string | null} sourceFile - Source file that declared the method.
|
|
38
|
+
* @property {string} type - JSDoc parameter type.
|
|
39
|
+
*/
|
|
19
40
|
/** Node CLI command that generates frontend model classes from backend project resource config. */
|
|
20
41
|
export default class DbGenerateFrontendModels extends BaseCommand {
|
|
21
|
-
/** @type {Map<string,
|
|
22
|
-
_resourceMethodReturnTypes: Map<string,
|
|
23
|
-
/** @type {Map<string,
|
|
24
|
-
_resourceMethodParameterTypes: Map<string,
|
|
25
|
-
name: string | null;
|
|
26
|
-
type: string;
|
|
27
|
-
}>> | null;
|
|
42
|
+
/** @type {Map<string, ResourceMethodReturnType> | null} */
|
|
43
|
+
_resourceMethodReturnTypes: Map<string, ResourceMethodReturnType> | null;
|
|
44
|
+
/** @type {Map<string, ResourceMethodParameterType[]> | null} */
|
|
45
|
+
_resourceMethodParameterTypes: Map<string, ResourceMethodParameterType[]> | null;
|
|
28
46
|
/**
|
|
29
47
|
* Runs execute.
|
|
30
48
|
* @returns {Promise<void>} - Resolves when files are generated.
|
|
@@ -75,14 +93,16 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
75
93
|
* Runs build model file content.
|
|
76
94
|
* @param {object} args - Method args.
|
|
77
95
|
* @param {string} args.className - Model class name.
|
|
96
|
+
* @param {string} args.frontendModelFilePath - Generated frontend model file path.
|
|
78
97
|
* @param {string} args.importPath - Base class import path.
|
|
79
98
|
* @param {typeof import("../../../../../database/record/index.js").default | undefined} args.modelClass - Backend model class.
|
|
80
99
|
* @param {import("../../../../../configuration-types.js").NormalizedFrontendModelResourceConfiguration} args.modelConfig - Model configuration.
|
|
81
100
|
* @param {import("../../../../../configuration-types.js").FrontendModelResourceClassType | null} [args.resourceClass] - Resource class.
|
|
82
101
|
* @returns {Promise<string>} - Generated file content.
|
|
83
102
|
*/
|
|
84
|
-
buildModelFileContent({ className, importPath, modelClass, modelConfig, resourceClass }: {
|
|
103
|
+
buildModelFileContent({ className, frontendModelFilePath, importPath, modelClass, modelConfig, resourceClass }: {
|
|
85
104
|
className: string;
|
|
105
|
+
frontendModelFilePath: string;
|
|
86
106
|
importPath: string;
|
|
87
107
|
modelClass: typeof import("../../../../../database/record/index.js").default | undefined;
|
|
88
108
|
modelConfig: import("../../../../../configuration-types.js").NormalizedFrontendModelResourceConfiguration;
|
|
@@ -109,7 +129,7 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
109
129
|
/**
|
|
110
130
|
* Runs write attributes typedef.
|
|
111
131
|
* @param {object} args - Arguments.
|
|
112
|
-
* @param {Array<{jsDocType: string, name: string}>} args.attributes - Generated read attributes.
|
|
132
|
+
* @param {Array<{jsDocType: string, name: string, writeJsDocType: string}>} args.attributes - Generated read attributes.
|
|
113
133
|
* @param {string} args.attributesTypeName - Generated read attributes typedef name.
|
|
114
134
|
* @param {typeof import("../../../../../database/record/index.js").default | undefined} args.modelClass - Backend model class.
|
|
115
135
|
* @param {Array<{attributes: Array<{name: string, type: string}>, relationshipName: string, typeName: string}>} args.nestedWriteTypes - Nested write typedefs.
|
|
@@ -122,6 +142,7 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
122
142
|
attributes: Array<{
|
|
123
143
|
jsDocType: string;
|
|
124
144
|
name: string;
|
|
145
|
+
writeJsDocType: string;
|
|
125
146
|
}>;
|
|
126
147
|
attributesTypeName: string;
|
|
127
148
|
modelClass: typeof import("../../../../../database/record/index.js").default | undefined;
|
|
@@ -139,13 +160,14 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
139
160
|
}): Promise<string>;
|
|
140
161
|
/**
|
|
141
162
|
* Runs frontend write attribute type.
|
|
142
|
-
* @param {{attribute: {jsDocType: string, name: string} | undefined, attributeName: string, attributesTypeName: string, resourceClass: import("../../../../../configuration-types.js").FrontendModelResourceClassType | null | undefined}} args - Arguments.
|
|
163
|
+
* @param {{attribute: {jsDocType: string, name: string, writeJsDocType: string} | undefined, attributeName: string, attributesTypeName: string, resourceClass: import("../../../../../configuration-types.js").FrontendModelResourceClassType | null | undefined}} args - Arguments.
|
|
143
164
|
* @returns {Promise<string>} - JSDoc type for the permitted write field.
|
|
144
165
|
*/
|
|
145
166
|
frontendWriteAttributeType({ attribute, attributeName, attributesTypeName, resourceClass }: {
|
|
146
167
|
attribute: {
|
|
147
168
|
jsDocType: string;
|
|
148
169
|
name: string;
|
|
170
|
+
writeJsDocType: string;
|
|
149
171
|
} | undefined;
|
|
150
172
|
attributeName: string;
|
|
151
173
|
attributesTypeName: string;
|
|
@@ -293,7 +315,7 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
293
315
|
* @param {typeof import("../../../../../database/record/index.js").default | undefined} args.modelClass - Backend model class.
|
|
294
316
|
* @param {import("../../../../../configuration-types.js").NormalizedFrontendModelResourceConfiguration} args.modelConfig - Model configuration.
|
|
295
317
|
* @param {import("../../../../../configuration-types.js").FrontendModelResourceClassType | null} [args.resourceClass] - Resource class.
|
|
296
|
-
* @returns {Promise<Array<{jsDocType: string, name: string}>>} - Attribute definitions.
|
|
318
|
+
* @returns {Promise<Array<{jsDocType: string, name: string, writeJsDocType: string}>>} - Attribute definitions.
|
|
297
319
|
*/
|
|
298
320
|
attributeDefinitionsForModel({ className, modelClass, modelConfig, resourceClass }: {
|
|
299
321
|
className: string;
|
|
@@ -303,6 +325,7 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
303
325
|
}): Promise<Array<{
|
|
304
326
|
jsDocType: string;
|
|
305
327
|
name: string;
|
|
328
|
+
writeJsDocType: string;
|
|
306
329
|
}>>;
|
|
307
330
|
/**
|
|
308
331
|
* Runs frontend attribute config for generated attribute.
|
|
@@ -399,12 +422,33 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
399
422
|
jsDocTypeForFrontendAttribute({ attributeConfig }: {
|
|
400
423
|
attributeConfig: FrontendAttributeConfig | null | undefined;
|
|
401
424
|
}): string;
|
|
425
|
+
/**
|
|
426
|
+
* Runs js doc type for frontend write attribute.
|
|
427
|
+
* @param {object} args - Arguments.
|
|
428
|
+
* @param {FrontendAttributeConfig | null | undefined} args.attributeConfig - Attribute configuration value.
|
|
429
|
+
* @returns {string} - JSDoc type accepted by create/update payloads.
|
|
430
|
+
*/
|
|
431
|
+
jsDocTypeForFrontendWriteAttribute({ attributeConfig }: {
|
|
432
|
+
attributeConfig: FrontendAttributeConfig | null | undefined;
|
|
433
|
+
}): string;
|
|
434
|
+
/**
|
|
435
|
+
* Runs js doc type for frontend write attribute base type.
|
|
436
|
+
* @param {FrontendAttributeConfig | null | undefined} attributeConfig - Attribute configuration value.
|
|
437
|
+
* @returns {string} - Non-nullable JSDoc type accepted by create/update payloads.
|
|
438
|
+
*/
|
|
439
|
+
jsDocTypeForFrontendWriteAttributeBaseType(attributeConfig: FrontendAttributeConfig | null | undefined): string;
|
|
402
440
|
/**
|
|
403
441
|
* Runs js doc type for frontend attribute base type.
|
|
404
442
|
* @param {FrontendAttributeConfig | null | undefined} attributeConfig - Attribute configuration value.
|
|
405
443
|
* @returns {string} - Non-nullable JSDoc type.
|
|
406
444
|
*/
|
|
407
445
|
jsDocTypeForFrontendAttributeBaseType(attributeConfig: FrontendAttributeConfig | null | undefined): string;
|
|
446
|
+
/**
|
|
447
|
+
* Runs frontend attribute type is temporal.
|
|
448
|
+
* @param {FrontendAttributeConfig | null | undefined} attributeConfig - Attribute configuration value.
|
|
449
|
+
* @returns {boolean} - Whether the attribute represents a date/time value.
|
|
450
|
+
*/
|
|
451
|
+
frontendAttributeTypeIsTemporal(attributeConfig: FrontendAttributeConfig | null | undefined): boolean;
|
|
408
452
|
/**
|
|
409
453
|
* Runs frontend attribute can be null.
|
|
410
454
|
* @param {FrontendAttributeConfig | null | undefined} attributeConfig - Attribute configuration value.
|
|
@@ -484,15 +528,86 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
484
528
|
frontendResolvableTypeIdentifiers(): Set<string>;
|
|
485
529
|
/**
|
|
486
530
|
* Rewrites a custom-command param/return JSDoc type so it resolves in the generated
|
|
487
|
-
* frontend model:
|
|
488
|
-
*
|
|
489
|
-
*
|
|
490
|
-
*
|
|
491
|
-
*
|
|
492
|
-
* @param {string}
|
|
531
|
+
* frontend model: backend model imports are mapped to generated frontend model
|
|
532
|
+
* imports, and otherwise non-frontend-resolvable identifiers become `any` in place
|
|
533
|
+
* so sibling scalar fields keep their real types. The word boundary avoids matching
|
|
534
|
+
* the capitalized middle of a camelCase property name (e.g. `adjustedTotalCents`).
|
|
535
|
+
* @param {object} args - Arguments.
|
|
536
|
+
* @param {string | null} args.frontendModelFilePath - Generated frontend model file path.
|
|
537
|
+
* @param {Map<string, ResourceJsDocImportAlias>} args.importAliases - Import aliases visible to the source method.
|
|
538
|
+
* @param {string} args.jsDocType - Resolved (Promise-unwrapped) JSDoc type.
|
|
539
|
+
* @param {string | null} args.sourceFile - Source file that declared the method.
|
|
493
540
|
* @returns {string} - A frontend-resolvable JSDoc type.
|
|
494
541
|
*/
|
|
495
|
-
frontendResolvableCommandJsDocType(jsDocType
|
|
542
|
+
frontendResolvableCommandJsDocType({ frontendModelFilePath, importAliases, jsDocType, sourceFile }: {
|
|
543
|
+
frontendModelFilePath: string | null;
|
|
544
|
+
importAliases: Map<string, ResourceJsDocImportAlias>;
|
|
545
|
+
jsDocType: string;
|
|
546
|
+
sourceFile: string | null;
|
|
547
|
+
}): string;
|
|
548
|
+
/**
|
|
549
|
+
* Raises when a command JSDoc type references a backend-local helper expression.
|
|
550
|
+
* @param {string} jsDocType - Command JSDoc type.
|
|
551
|
+
* @returns {void} No return value.
|
|
552
|
+
*/
|
|
553
|
+
assertNoBackendLocalCommandTypeExpressions(jsDocType: string): void;
|
|
554
|
+
/**
|
|
555
|
+
* Runs frontend resolvable js doc import specifier.
|
|
556
|
+
* @param {object} args - Arguments.
|
|
557
|
+
* @param {string | null} args.frontendModelFilePath - Generated frontend model file path.
|
|
558
|
+
* @param {string | null} args.sourceFile - Source file that declared the JSDoc type.
|
|
559
|
+
* @param {string} args.specifier - Source-file import specifier.
|
|
560
|
+
* @returns {string | null} - Rewritten frontend-model import specifier, or null when backend-local.
|
|
561
|
+
*/
|
|
562
|
+
frontendResolvableJsDocImportSpecifier({ frontendModelFilePath, sourceFile, specifier }: {
|
|
563
|
+
frontendModelFilePath: string | null;
|
|
564
|
+
sourceFile: string | null;
|
|
565
|
+
specifier: string;
|
|
566
|
+
}): string | null;
|
|
567
|
+
/**
|
|
568
|
+
* Runs frontend model import specifier for backend model path.
|
|
569
|
+
* @param {object} args - Arguments.
|
|
570
|
+
* @param {string} args.frontendModelFilePath - Generated frontend model file path.
|
|
571
|
+
* @param {string} args.importedPath - Source-file import path resolved from JSDoc.
|
|
572
|
+
* @returns {string | null} - Generated frontend-model import specifier, or null when the path is not a registered model file.
|
|
573
|
+
*/
|
|
574
|
+
frontendModelImportSpecifierForBackendModelPath({ frontendModelFilePath, importedPath }: {
|
|
575
|
+
frontendModelFilePath: string;
|
|
576
|
+
importedPath: string;
|
|
577
|
+
}): string | null;
|
|
578
|
+
/**
|
|
579
|
+
* Runs generated frontend model file names.
|
|
580
|
+
* @returns {Set<string>} - Frontend model filenames that this generation run can emit.
|
|
581
|
+
*/
|
|
582
|
+
generatedFrontendModelFileNames(): Set<string>;
|
|
583
|
+
/**
|
|
584
|
+
* Runs relative import specifier.
|
|
585
|
+
* @param {object} args - Arguments.
|
|
586
|
+
* @param {string} args.fromFile - Source file that will contain the import expression.
|
|
587
|
+
* @param {string} args.toFile - File being imported.
|
|
588
|
+
* @returns {string} - Relative import specifier.
|
|
589
|
+
*/
|
|
590
|
+
relativeImportSpecifier({ fromFile, toFile }: {
|
|
591
|
+
fromFile: string;
|
|
592
|
+
toFile: string;
|
|
593
|
+
}): string;
|
|
594
|
+
/**
|
|
595
|
+
* Runs file path is within any directory.
|
|
596
|
+
* @param {object} args - Arguments.
|
|
597
|
+
* @param {string[]} args.directories - Candidate parent directories.
|
|
598
|
+
* @param {string} args.filePath - File path to test.
|
|
599
|
+
* @returns {boolean} - Whether the file path is under one candidate directory.
|
|
600
|
+
*/
|
|
601
|
+
filePathIsWithinAnyDirectory({ directories, filePath }: {
|
|
602
|
+
directories: string[];
|
|
603
|
+
filePath: string;
|
|
604
|
+
}): boolean;
|
|
605
|
+
/**
|
|
606
|
+
* Escapes text for use inside a RegExp.
|
|
607
|
+
* @param {string} value - Value to escape.
|
|
608
|
+
* @returns {string} - RegExp-safe value.
|
|
609
|
+
*/
|
|
610
|
+
escapeRegExp(value: string): string;
|
|
496
611
|
/**
|
|
497
612
|
* Builds the JSDoc param block, parameter list, payload-argument expression, and
|
|
498
613
|
* return type for a custom command method. With declared `args` each becomes a
|
|
@@ -518,6 +633,40 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
518
633
|
payloadArguments: string;
|
|
519
634
|
returnType: string;
|
|
520
635
|
};
|
|
636
|
+
/**
|
|
637
|
+
* Whether a single command-args JSDoc type is known to accept an empty object `{}`:
|
|
638
|
+
* a single balanced object literal whose top-level members are all optional (`name?:`)
|
|
639
|
+
* or index signatures (`[k: ...]:`). Anything else returns false so the parameter stays
|
|
640
|
+
* required — including a required member, a non-object-literal (a positional `number`,
|
|
641
|
+
* a `Record<...>` / `Partial<...>` whose key/wrapper may still require data), and any
|
|
642
|
+
* intersection/union (e.g. `{a?: x} & {b: string}`), where `{}` is not assignable.
|
|
643
|
+
* @param {string} type - The arg's JSDoc type string.
|
|
644
|
+
* @returns {boolean} - Whether the generated parameter can default to `{}`.
|
|
645
|
+
*/
|
|
646
|
+
argTypeAcceptsEmptyObject(type: string): boolean;
|
|
647
|
+
/**
|
|
648
|
+
* Splits the inner body of an object-literal type into its top-level members,
|
|
649
|
+
* respecting nested `{}` / `[]` / `<>` / `()` so field types like `string[] | null`
|
|
650
|
+
* or `{a: b}` aren't split mid-type. Members are separated by `,` or `;`.
|
|
651
|
+
* @param {string} inner - Object-literal body (without the outer braces).
|
|
652
|
+
* @returns {string[]} - Trimmed non-empty top-level members.
|
|
653
|
+
*/
|
|
654
|
+
splitTopLevelTypeMembers(inner: string): string[];
|
|
655
|
+
/**
|
|
656
|
+
* Index of the first top-level `:` in an object-literal member, ignoring colons
|
|
657
|
+
* nested inside `{}` / `[]` / `<>` / `()` (e.g. an index signature `[k: string]`).
|
|
658
|
+
* @param {string} member - A single object-literal member.
|
|
659
|
+
* @returns {number} - The colon index, or -1 when none is found at the top level.
|
|
660
|
+
*/
|
|
661
|
+
topLevelColonIndex(member: string): number;
|
|
662
|
+
/**
|
|
663
|
+
* Whether the type is a single balanced object literal — its leading `{` closes only
|
|
664
|
+
* at the final character. Rejects top-level intersections/unions like `{a?: x} & {b: y}`
|
|
665
|
+
* or `{a?: x} | string` whose brace depth returns to 0 before the end.
|
|
666
|
+
* @param {string} type - A trimmed type string that starts with `{` and ends with `}`.
|
|
667
|
+
* @returns {boolean} - Whether the braces wrap the whole type.
|
|
668
|
+
*/
|
|
669
|
+
isSingleBalancedObjectLiteral(type: string): boolean;
|
|
521
670
|
/**
|
|
522
671
|
* Enriches custom-command metadata by deriving a command's typed args and return
|
|
523
672
|
* type from the backend resource method's `@param`/`@returns` JSDoc when they are
|
|
@@ -529,10 +678,11 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
529
678
|
* @param {object} args - Arguments.
|
|
530
679
|
* @param {Record<string, {args: Array<{name: string, type: string}>, returnType: string | null}>} args.commandMetadata - Declared per-command metadata.
|
|
531
680
|
* @param {string[]} args.commandNames - Command method names to resolve.
|
|
681
|
+
* @param {string} args.frontendModelFilePath - Generated frontend model file path.
|
|
532
682
|
* @param {import("../../../../../configuration-types.js").FrontendModelResourceClassType | null | undefined} args.resourceClass - Resource class.
|
|
533
683
|
* @returns {Promise<Record<string, {args: Array<{name: string, type: string}>, returnType: string | null}>>} - Enriched metadata.
|
|
534
684
|
*/
|
|
535
|
-
commandMetadataWithResourceJsDoc({ commandMetadata, commandNames, resourceClass }: {
|
|
685
|
+
commandMetadataWithResourceJsDoc({ commandMetadata, commandNames, frontendModelFilePath, resourceClass }: {
|
|
536
686
|
commandMetadata: Record<string, {
|
|
537
687
|
args: Array<{
|
|
538
688
|
name: string;
|
|
@@ -541,6 +691,7 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
541
691
|
returnType: string | null;
|
|
542
692
|
}>;
|
|
543
693
|
commandNames: string[];
|
|
694
|
+
frontendModelFilePath: string;
|
|
544
695
|
resourceClass: import("../../../../../configuration-types.js").FrontendModelResourceClassType | null | undefined;
|
|
545
696
|
}): Promise<Record<string, {
|
|
546
697
|
args: Array<{
|
|
@@ -580,6 +731,17 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
580
731
|
methodName: string;
|
|
581
732
|
sourceClassName: string;
|
|
582
733
|
}): Promise<string | null>;
|
|
734
|
+
/**
|
|
735
|
+
* Runs resource method return type definition.
|
|
736
|
+
* @param {object} args - Arguments.
|
|
737
|
+
* @param {string} args.methodName - Method name.
|
|
738
|
+
* @param {string} args.sourceClassName - Source class name.
|
|
739
|
+
* @returns {Promise<ResourceMethodReturnType | null>} - JSDoc return type definition when documented.
|
|
740
|
+
*/
|
|
741
|
+
resourceMethodReturnTypeDefinition({ methodName, sourceClassName }: {
|
|
742
|
+
methodName: string;
|
|
743
|
+
sourceClassName: string;
|
|
744
|
+
}): Promise<ResourceMethodReturnType | null>;
|
|
583
745
|
/**
|
|
584
746
|
* Runs resource method parameter type.
|
|
585
747
|
* @param {{methodName: string, parameterIndex: number, sourceClassName: string}} args - Arguments.
|
|
@@ -593,28 +755,22 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
593
755
|
/**
|
|
594
756
|
* Runs resource method parameters.
|
|
595
757
|
* @param {{methodName: string, sourceClassName: string}} args - Arguments.
|
|
596
|
-
* @returns {Promise<
|
|
758
|
+
* @returns {Promise<ResourceMethodParameterType[] | null>} - JSDoc parameters (name + type) when documented.
|
|
597
759
|
*/
|
|
598
760
|
resourceMethodParameters({ methodName, sourceClassName }: {
|
|
599
761
|
methodName: string;
|
|
600
762
|
sourceClassName: string;
|
|
601
|
-
}): Promise<
|
|
602
|
-
name: string | null;
|
|
603
|
-
type: string;
|
|
604
|
-
}> | null>;
|
|
763
|
+
}): Promise<ResourceMethodParameterType[] | null>;
|
|
605
764
|
/**
|
|
606
765
|
* Runs resource method return types.
|
|
607
|
-
* @returns {Promise<Map<string,
|
|
766
|
+
* @returns {Promise<Map<string, ResourceMethodReturnType>>} - Resource method return types keyed by ClassName.methodName.
|
|
608
767
|
*/
|
|
609
|
-
resourceMethodReturnTypes(): Promise<Map<string,
|
|
768
|
+
resourceMethodReturnTypes(): Promise<Map<string, ResourceMethodReturnType>>;
|
|
610
769
|
/**
|
|
611
770
|
* Runs resource method parameter types.
|
|
612
|
-
* @returns {Promise<Map<string,
|
|
771
|
+
* @returns {Promise<Map<string, ResourceMethodParameterType[]>>} - Resource method parameters keyed by ClassName.methodName.
|
|
613
772
|
*/
|
|
614
|
-
resourceMethodParameterTypes(): Promise<Map<string,
|
|
615
|
-
name: string | null;
|
|
616
|
-
type: string;
|
|
617
|
-
}>>>;
|
|
773
|
+
resourceMethodParameterTypes(): Promise<Map<string, ResourceMethodParameterType[]>>;
|
|
618
774
|
/**
|
|
619
775
|
* Runs frontend model JSDoc source files.
|
|
620
776
|
* @returns {Promise<string[]>} - JavaScript source files that can define frontend-model resources and model accessors.
|
|
@@ -628,26 +784,32 @@ export default class DbGenerateFrontendModels extends BaseCommand {
|
|
|
628
784
|
/**
|
|
629
785
|
* Adds resource method return types from source.
|
|
630
786
|
* @param {object} args - Arguments.
|
|
631
|
-
* @param {Map<string,
|
|
787
|
+
* @param {Map<string, ResourceMethodReturnType>} args.returnTypes - Mutable return types map.
|
|
788
|
+
* @param {string | null} [args.sourceFile] - Source file path.
|
|
632
789
|
* @param {string} args.sourceText - Source text.
|
|
633
790
|
* @returns {void}
|
|
634
791
|
*/
|
|
635
|
-
addResourceMethodReturnTypesFromSource({ returnTypes, sourceText }: {
|
|
636
|
-
returnTypes: Map<string,
|
|
792
|
+
addResourceMethodReturnTypesFromSource({ returnTypes, sourceFile, sourceText }: {
|
|
793
|
+
returnTypes: Map<string, ResourceMethodReturnType>;
|
|
794
|
+
sourceFile?: string | null | undefined;
|
|
637
795
|
sourceText: string;
|
|
638
796
|
}): void;
|
|
639
797
|
/**
|
|
640
798
|
* Adds resource method parameter types from source.
|
|
641
|
-
* @param {{parameterTypes: Map<string,
|
|
799
|
+
* @param {{parameterTypes: Map<string, ResourceMethodParameterType[]>, sourceFile?: string | null, sourceText: string}} args - Arguments.
|
|
642
800
|
* @returns {void}
|
|
643
801
|
*/
|
|
644
|
-
addResourceMethodParameterTypesFromSource({ parameterTypes, sourceText }: {
|
|
645
|
-
parameterTypes: Map<string,
|
|
646
|
-
|
|
647
|
-
type: string;
|
|
648
|
-
}>>;
|
|
802
|
+
addResourceMethodParameterTypesFromSource({ parameterTypes, sourceFile, sourceText }: {
|
|
803
|
+
parameterTypes: Map<string, ResourceMethodParameterType[]>;
|
|
804
|
+
sourceFile?: string | null;
|
|
649
805
|
sourceText: string;
|
|
650
806
|
}): void;
|
|
807
|
+
/**
|
|
808
|
+
* Runs JSDoc import aliases from source.
|
|
809
|
+
* @param {string} sourceText - Source text.
|
|
810
|
+
* @returns {Map<string, ResourceJsDocImportAlias>} - Import aliases keyed by local name.
|
|
811
|
+
*/
|
|
812
|
+
jsDocImportAliasesFromSource(sourceText: string): Map<string, ResourceJsDocImportAlias>;
|
|
651
813
|
/**
|
|
652
814
|
* Runs js doc return type.
|
|
653
815
|
* @param {string} jsDocText - JSDoc text inside comment markers.
|
|
@@ -797,5 +959,56 @@ export type FrontendAttributeConfig = {
|
|
|
797
959
|
* Permit spec returned by frontend-model resources during generation.
|
|
798
960
|
*/
|
|
799
961
|
export type FrontendModelGeneratorPermitSpec = Array<string | Record<string, FrontendModelGeneratorPermitSpec>>;
|
|
962
|
+
/**
|
|
963
|
+
* JSDoc import alias extracted from a backend resource source file.
|
|
964
|
+
*/
|
|
965
|
+
export type ResourceJsDocImportAlias = {
|
|
966
|
+
/**
|
|
967
|
+
* - Exported type name.
|
|
968
|
+
*/
|
|
969
|
+
importedName: string;
|
|
970
|
+
/**
|
|
971
|
+
* - Import specifier from the source file.
|
|
972
|
+
*/
|
|
973
|
+
specifier: string;
|
|
974
|
+
};
|
|
975
|
+
/**
|
|
976
|
+
* JSDoc return type extracted from a backend resource method.
|
|
977
|
+
*/
|
|
978
|
+
export type ResourceMethodReturnType = {
|
|
979
|
+
/**
|
|
980
|
+
* - Import aliases visible in the source file.
|
|
981
|
+
*/
|
|
982
|
+
importAliases: Map<string, ResourceJsDocImportAlias>;
|
|
983
|
+
/**
|
|
984
|
+
* - Source file that declared the method.
|
|
985
|
+
*/
|
|
986
|
+
sourceFile: string | null;
|
|
987
|
+
/**
|
|
988
|
+
* - JSDoc return type.
|
|
989
|
+
*/
|
|
990
|
+
type: string;
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* JSDoc parameter type extracted from a backend resource method.
|
|
994
|
+
*/
|
|
995
|
+
export type ResourceMethodParameterType = {
|
|
996
|
+
/**
|
|
997
|
+
* - Import aliases visible in the source file.
|
|
998
|
+
*/
|
|
999
|
+
importAliases: Map<string, ResourceJsDocImportAlias>;
|
|
1000
|
+
/**
|
|
1001
|
+
* - Parameter name.
|
|
1002
|
+
*/
|
|
1003
|
+
name: string | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* - Source file that declared the method.
|
|
1006
|
+
*/
|
|
1007
|
+
sourceFile: string | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* - JSDoc parameter type.
|
|
1010
|
+
*/
|
|
1011
|
+
type: string;
|
|
1012
|
+
};
|
|
800
1013
|
import BaseCommand from "../../../../../cli/base-command.js";
|
|
801
1014
|
//# sourceMappingURL=frontend-models.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frontend-models.d.ts","sourceRoot":"","sources":["../../../../../../../src/environment-handlers/node/cli/commands/generate/frontend-models.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;GAaG;AACH;;;GAGG;AAEH,mGAAmG;AACnG;IACE,yCAAyC;IACzC,4BADW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CACJ;IAEjC,6EAA6E;IAC7E,+BADW,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC;QAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC,GAAG,IAAI,CACrC;IAEpC;;;OAGG;IACH,WAFa,OAAO,CAAC,IAAI,CAAC,CAwHzB;IAED;;;;;;;;OAQG;IACH,iGANG;QAA0B,gCAAgC,EAAlD,GAAG,CAAC,MAAM,CAAC;QACE,SAAS,EAAtB,MAAM;QAC6F,WAAW,EAA9G,OAAO,uCAAuC,EAAE,4CAA4C;QACC,aAAa;KAClH,GAAU,IAAI,CA+BhB;IAED;;;;OAIG;IACH,2CAHW,OAAO,uCAAuC,EAAE,2BAA2B,GACzE,MAAM,CAAC,MAAM,EAAE,OAAO,uCAAuC,EAAE,+BAA+B,CAAC,CAI3G;IAED;;;;OAIG;IACH,4CAHW,MAAM,C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G;QAAqB,aAAa,EAA1B,MAAM;QAC6E,UAAU,EAA7F,cAAc,yCAAyC,EAAE,OAAO,GAAG,SAAS;KACpF,GAAU,uBAAuB,GAAG,IAAI,CAoC1C;IAED;;;;;OAKG;IACH,6CAHG;QAA+E,MAAM,EAA7E,OAAO,gDAAgD,EAAE,OAAO;KACxE,GAAU,uBAAuB,CAanC;IAED;;;;;;;OAOG;IACH,iEALG;QAAqB,SAAS,EAAtB,MAAM;QAC6F,WAAW,EAA9G,OAAO,uCAAuC,EAAE,4CAA4C;QACC,aAAa;KAClH,GAAU,KAAK,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;KAAC,CAAC,CAc3J;IAED;;;;;;;OAOG;IACH,+EALG;QAAqB,SAAS,EAAtB,MAAM;QACO,gBAAgB,EAA7B,MAAM;QACuF,aAAa;KAClH,GAAU;QAAC,QAAQ,EAAE,OAAO,CAAC;QAAC,gBAAgB,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAA;KAAC,CAqCpJ;CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA7kEmB,MAAM;;;;qBACN,OAAO;;;;;+CAId,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAC;wBAvBrD,oCAAoC"}
|
|
1
|
+
{"version":3,"file":"frontend-models.d.ts","sourceRoot":"","sources":["../../../../../../../src/environment-handlers/node/cli/commands/generate/frontend-models.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;GAaG;AACH;;;GAGG;AACH;;;;;GAKG;AACH;;;;;;GAM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