@jskit-ai/agent-docs 0.1.130 → 0.1.132
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/guide/agent/app-extras/assistant.md +29 -605
- package/guide/agent/app-extras/mobile-capacitor.md +29 -362
- package/guide/agent/app-extras/realtime.md +29 -277
- package/guide/agent/app-setup/a-more-interesting-shell.md +44 -815
- package/guide/agent/app-setup/authentication.md +43 -1073
- package/guide/agent/app-setup/console.md +26 -298
- package/guide/agent/app-setup/database-layer.md +110 -790
- package/guide/agent/app-setup/initial-scaffolding.md +50 -784
- package/guide/agent/app-setup/multi-homing.md +39 -712
- package/guide/agent/app-setup/quickstart.md +43 -179
- package/guide/agent/app-setup/users.md +34 -353
- package/guide/agent/index.md +16 -23
- package/package.json +2 -2
- package/patterns/INDEX.md +7 -7
- package/patterns/child-cruds.md +3 -3
- package/patterns/client-requests.md +6 -6
- package/patterns/crud-authoring.md +94 -0
- package/patterns/crud-links.md +1 -1
- package/patterns/feature-package/PATTERN.md +108 -0
- package/patterns/feature-package/example/booking-engine/package.json +48 -0
- package/patterns/feature-package/example/booking-engine/src/server/BookingEngineProvider.js +33 -0
- package/patterns/feature-package/example/booking-engine/src/server/actions.js +26 -0
- package/patterns/feature-package/example/booking-engine/src/server/inputSchemas.js +19 -0
- package/patterns/feature-package/example/variations/AvailabilityEngineProvider.js +31 -0
- package/patterns/feature-package/example/variations/InvoiceRollupProvider.js +36 -0
- package/patterns/feature-package/example/variations/customKnexRepository.js +34 -0
- package/patterns/feature-package/example/variations/orchestratorService.js +23 -0
- package/patterns/filters.md +8 -8
- package/patterns/live-actions.md +5 -18
- package/patterns/minimal-foundation/PATTERN.md +98 -0
- package/patterns/minimal-foundation/example/.nvmrc +1 -0
- package/patterns/minimal-foundation/example/AGENTS.md +17 -0
- package/patterns/minimal-foundation/example/Procfile +2 -0
- package/patterns/minimal-foundation/example/app.json +14 -0
- package/patterns/minimal-foundation/example/bin/develop.js +71 -0
- package/patterns/minimal-foundation/example/bin/server.js +8 -0
- package/patterns/minimal-foundation/example/config/public.js +40 -0
- package/patterns/minimal-foundation/example/config/server.js +1 -0
- package/patterns/minimal-foundation/example/config/surfaceAccessPolicies.js +3 -0
- package/patterns/minimal-foundation/example/eslint.config.mjs +19 -0
- package/patterns/minimal-foundation/example/favicon.svg +7 -0
- package/patterns/minimal-foundation/example/gitignore +9 -0
- package/patterns/minimal-foundation/example/index.html +13 -0
- package/patterns/minimal-foundation/example/jsconfig.json +8 -0
- package/patterns/minimal-foundation/example/package.json +57 -0
- package/patterns/minimal-foundation/example/packages/main/package.json +42 -0
- package/patterns/minimal-foundation/example/packages/main/src/shared/index.js +10 -0
- package/patterns/minimal-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
- package/patterns/minimal-foundation/example/playwright.config.mjs +31 -0
- package/patterns/minimal-foundation/example/server/lib/runtimeEnv.js +45 -0
- package/patterns/minimal-foundation/example/server/lib/surfaceRuntime.js +10 -0
- package/patterns/minimal-foundation/example/server.js +195 -0
- package/patterns/minimal-foundation/example/src/App.vue +13 -0
- package/patterns/minimal-foundation/example/src/main.js +85 -0
- package/patterns/minimal-foundation/example/src/pages/home/index.vue +48 -0
- package/patterns/minimal-foundation/example/src/pages/home.vue +13 -0
- package/patterns/minimal-foundation/example/src/views/NotFound.vue +13 -0
- package/patterns/minimal-foundation/example/tests/client/smoke.vitest.js +7 -0
- package/patterns/minimal-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
- package/patterns/minimal-foundation/example/tests/server/smoke.test.js +16 -0
- package/patterns/minimal-foundation/example/vite.config.mjs +81 -0
- package/patterns/page-scaffolding.md +20 -17
- package/patterns/placements.md +17 -15
- package/patterns/row-policies.md +4 -5
- package/patterns/server-search.md +3 -3
- package/patterns/shell-foundation/PATTERN.md +104 -0
- package/patterns/shell-foundation/example/.nvmrc +1 -0
- package/patterns/shell-foundation/example/AGENTS.md +17 -0
- package/patterns/shell-foundation/example/Procfile +2 -0
- package/patterns/shell-foundation/example/app.json +14 -0
- package/patterns/shell-foundation/example/bin/develop.js +71 -0
- package/patterns/shell-foundation/example/bin/server.js +8 -0
- package/patterns/shell-foundation/example/config/public.js +40 -0
- package/patterns/shell-foundation/example/config/server.js +1 -0
- package/patterns/shell-foundation/example/config/surfaceAccessPolicies.js +3 -0
- package/patterns/shell-foundation/example/eslint.config.mjs +19 -0
- package/patterns/shell-foundation/example/favicon.svg +7 -0
- package/patterns/shell-foundation/example/gitignore +9 -0
- package/patterns/shell-foundation/example/index.html +13 -0
- package/patterns/shell-foundation/example/jsconfig.json +8 -0
- package/patterns/shell-foundation/example/package.json +59 -0
- package/patterns/shell-foundation/example/packages/main/package.json +56 -0
- package/patterns/shell-foundation/example/packages/main/src/client/index.js +9 -0
- package/patterns/shell-foundation/example/packages/main/src/client/providers/MainClientProvider.js +18 -0
- package/patterns/shell-foundation/example/packages/main/src/shared/index.js +10 -0
- package/patterns/shell-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
- package/patterns/shell-foundation/example/playwright.config.mjs +31 -0
- package/patterns/shell-foundation/example/server/lib/runtimeEnv.js +45 -0
- package/patterns/shell-foundation/example/server/lib/surfaceRuntime.js +10 -0
- package/patterns/shell-foundation/example/server.js +195 -0
- package/patterns/shell-foundation/example/src/App.vue +11 -0
- package/patterns/shell-foundation/example/src/components/ShellLayout.vue +12 -0
- package/patterns/shell-foundation/example/src/components/menus/MenuLinkItem.vue +30 -0
- package/patterns/shell-foundation/example/src/components/menus/SurfaceAwareMenuLinkItem.vue +42 -0
- package/patterns/shell-foundation/example/src/components/menus/TabLinkItem.vue +42 -0
- package/patterns/shell-foundation/example/src/error.js +19 -0
- package/patterns/shell-foundation/example/src/main.js +85 -0
- package/patterns/shell-foundation/example/src/pages/home/index.vue +116 -0
- package/patterns/shell-foundation/example/src/pages/home/settings/general/index.vue +40 -0
- package/patterns/shell-foundation/example/src/pages/home/settings/index.vue +7 -0
- package/patterns/shell-foundation/example/src/pages/home/settings.vue +109 -0
- package/patterns/shell-foundation/example/src/pages/home.vue +20 -0
- package/patterns/shell-foundation/example/src/placement.js +56 -0
- package/patterns/shell-foundation/example/src/placementTopology.js +149 -0
- package/patterns/shell-foundation/example/src/views/NotFound.vue +13 -0
- package/patterns/shell-foundation/example/tests/client/smoke.vitest.js +7 -0
- package/patterns/shell-foundation/example/tests/e2e/adaptive-shell.spec.ts +10 -0
- package/patterns/shell-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
- package/patterns/shell-foundation/example/tests/server/smoke.test.js +16 -0
- package/patterns/shell-foundation/example/vite.config.mjs +81 -0
- package/patterns/ui-contract.md +56 -0
- package/patterns/ui-testing.md +10 -12
- package/reference/autogen/KERNEL_MAP.md +29 -107
- package/reference/autogen/PATTERN_INDEX.md +230 -0
- package/reference/autogen/README.md +4 -8
- package/reference/autogen/packages/agent-docs.md +259 -0
- package/reference/autogen/packages/assistant-core.md +3 -3
- package/reference/autogen/packages/assistant-runtime.md +32 -17
- package/reference/autogen/packages/auth-core.md +31 -33
- package/reference/autogen/packages/auth-provider-local-core.md +4 -12
- package/reference/autogen/packages/auth-provider-local-db-core.md +4 -4
- package/reference/autogen/packages/auth-provider-supabase-core.md +14 -18
- package/reference/autogen/packages/auth-web.md +42 -22
- package/reference/autogen/packages/console-core.md +8 -25
- package/reference/autogen/packages/console-web.md +5 -5
- package/reference/autogen/packages/crud-core.md +61 -17
- package/reference/autogen/packages/database-runtime-mysql.md +12 -2
- package/reference/autogen/packages/database-runtime-postgres.md +12 -2
- package/reference/autogen/packages/database-runtime.md +26 -25
- package/reference/autogen/packages/google-rewarded-core.md +19 -104
- package/reference/autogen/packages/http-runtime.md +4 -8
- package/reference/autogen/packages/http-web.md +32 -0
- package/reference/autogen/packages/json-rest-api-core.md +4 -6
- package/reference/autogen/packages/kernel.md +109 -390
- package/reference/autogen/packages/mobile-capacitor.md +2 -13
- package/reference/autogen/packages/realtime.md +29 -26
- package/reference/autogen/packages/resource-crud-core.md +6 -0
- package/reference/autogen/packages/shell-web.md +69 -54
- package/reference/autogen/packages/storage-runtime.md +3 -3
- package/reference/autogen/packages/uploads-image-web.md +0 -1
- package/reference/autogen/packages/uploads-runtime.md +3 -3
- package/reference/autogen/packages/users-core.md +45 -90
- package/reference/autogen/packages/users-web.md +5 -7
- package/reference/autogen/packages/workspaces-core.md +53 -74
- package/reference/autogen/packages/workspaces-web.md +15 -16
- package/reference/autogen/tooling/jskit-catalog.md +34 -0
- package/reference/autogen/tooling/testUtils.md +4 -4
- package/skills/jskit/SKILL.md +36 -28
- package/skills/jskit/agents/openai.yaml +2 -2
- package/skills/jskit/references/app-operations.md +68 -53
- package/skills/jskit/references/crud-operations.md +58 -106
- package/skills/jskit/references/material-3.md +105 -0
- package/skills/jskit/references/ui-operations.md +41 -44
- package/templates/app/AGENTS.md +7 -3
- package/guide/agent/app-setup/upgrade-beta-1-to-final.md +0 -252
- package/guide/agent/app-setup/working-with-the-jskit-cli.md +0 -325
- package/guide/agent/generators/advanced-cruds.md +0 -1935
- package/guide/agent/generators/crud-generators.md +0 -948
- package/guide/agent/generators/intro.md +0 -65
- package/guide/agent/generators/row-policies.md +0 -537
- package/guide/agent/generators/ui-generators.md +0 -690
- package/patterns/crud-scaffolding.md +0 -198
- package/patterns/generated-ui-contract-tracking.md +0 -66
- package/reference/autogen/packages/assistant.md +0 -68
- package/reference/autogen/packages/crud-server-generator.md +0 -215
- package/reference/autogen/packages/crud-ui-generator.md +0 -192
- package/reference/autogen/packages/feature-server-generator.md +0 -65
- package/reference/autogen/packages/ui-generator.md +0 -127
- package/reference/autogen/tooling/create-app.md +0 -317
- package/reference/autogen/tooling/jskit-cli.md +0 -933
- package/reference/autogen/tooling/test-support.md +0 -27
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
# packages/crud-ui-generator
|
|
2
|
-
|
|
3
|
-
Generated by `npm run agent-docs:build`.
|
|
4
|
-
Do not edit manually.
|
|
5
|
-
|
|
6
|
-
Generated inventory for `packages/crud-ui-generator`.
|
|
7
|
-
Use this on demand; do not load the full index at startup.
|
|
8
|
-
|
|
9
|
-
## Scope
|
|
10
|
-
- Source: `packages/crud-ui-generator/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
|
|
12
|
-
|
|
13
|
-
## Sections
|
|
14
|
-
|
|
15
|
-
### src
|
|
16
|
-
|
|
17
|
-
### `src/server/buildTemplateContext.js`
|
|
18
|
-
Exports
|
|
19
|
-
- `buildUiTemplateContext({ appRoot, options } = {})`
|
|
20
|
-
Local functions
|
|
21
|
-
- `resolveAllowedValues(schema = {}, fallbackValues = [])`
|
|
22
|
-
- `splitTextIntoWords(value = "")`
|
|
23
|
-
- `wordsToKebab(words = [])`
|
|
24
|
-
- `wordsToTitle(words = [])`
|
|
25
|
-
- `toSingularKebab(value = "")`
|
|
26
|
-
- `toPluralKebab(value = "")`
|
|
27
|
-
- `toTitleFromKebab(value = "", fallback = "")`
|
|
28
|
-
- `buildCrudListCopy(resourceLabels = {})`
|
|
29
|
-
- `normalizeRelativeAppPath(value = "")`
|
|
30
|
-
- `requireTargetRootOption(options = {})`
|
|
31
|
-
- `resolveListTargetFile(targetRoot = "")`
|
|
32
|
-
- `resolveFormHelperPaths(targetRoot = "")`
|
|
33
|
-
- `parseOperationsOption(options)`
|
|
34
|
-
- `parseDisplayFieldsOption(options)`
|
|
35
|
-
- `parseParentTitleOption(options)`
|
|
36
|
-
- `resolveBooleanFlagOption(options = {}, optionName = "")`
|
|
37
|
-
- `shouldCreateNavigationLink(options = {}, inferenceContext = {})`
|
|
38
|
-
- `resolveNavigationRoleLinkPlacement(options = {}, inferenceContext = {})`
|
|
39
|
-
- `validateDisplayFieldsForOperation(selectedFieldKeys, fields, operationName)`
|
|
40
|
-
- `filterDisplayFields(selectedFieldKeys, fields)`
|
|
41
|
-
- `rewriteGeneratedBlockIndent(source = "", { trimPrefix = "", addPrefix = "" } = {})`
|
|
42
|
-
- `hasLookupFormFields(fields = [])`
|
|
43
|
-
- `hasLookupDisplayFields(fields = [])`
|
|
44
|
-
- `buildListCardSlotProps(fields = [])`
|
|
45
|
-
- `buildListRowSlotProps(fields = [])`
|
|
46
|
-
- `buildCrudFieldsSlotProps(fields = [], { includeMode = false } = {})`
|
|
47
|
-
- `buildLookupImportLine(fields = [])`
|
|
48
|
-
- `buildLookupRuntimeSetup(fields = [], { formFieldsVariable = "", resourceNamespace = "", mode = "" } = {})`
|
|
49
|
-
- `buildLookupFormProps(fields = [], { sourcePrefix = "" } = {})`
|
|
50
|
-
- `buildLookupFormPropDefinitions({ createFields = [], editFields = [] } = {})`
|
|
51
|
-
- `filterDefaultHiddenListFields(selectedFieldKeys, fields, { recordIdFieldKey = "" } = {})`
|
|
52
|
-
- `ensureFields(fields, fallbackFields = createFieldDefinitions({}))`
|
|
53
|
-
- `resolveViewTitleFallbackFieldKey(fields = [], { recordIdFieldKey = "" } = {})`
|
|
54
|
-
- `resolveResourceNamespace(resource = {}, pageTarget = {}, options = {})`
|
|
55
|
-
- `resolveResourceLabels(namespace = "", pageTarget = {})`
|
|
56
|
-
- `resolveTargetRootRelativeRoutePath(pageTarget = {})`
|
|
57
|
-
- `resolveNavigationInferenceRoutePath(pageTarget = {})`
|
|
58
|
-
- `resolveMenuToPropLine(linkTo = "")`
|
|
59
|
-
- `resolveMenuOwnerLine(owner = "")`
|
|
60
|
-
- `buildMenuAppendBlock({ hasListOperation = false, menuMarker = "", pageLinkTarget = null, pageTarget = {} } = {})`
|
|
61
|
-
- `resolveCrudRelativePath(namespace = "")`
|
|
62
|
-
- `buildListParentTitleImportLine(parentTitleMode = "contextual")`
|
|
63
|
-
- `buildListHeadingTitleSetup({ parentTitleMode = "contextual", resourceNamespace = "", routeTitle = "Records" } = {})`
|
|
64
|
-
- `buildViewDeleteActionSlot({ resourceSingularTitle = "Record" } = {})`
|
|
65
|
-
- `buildViewDeleteSetup({ resourceNamespace = "resource" } = {})`
|
|
66
|
-
|
|
67
|
-
### `src/server/resourceSupport.js`
|
|
68
|
-
Exports
|
|
69
|
-
- `normalizeText`
|
|
70
|
-
- `requireOption(options, optionName, { context = "ui-generator" } = {})`
|
|
71
|
-
- `resolveResourceModulePath(appRoot, resourceFile, { context = "ui-generator" } = {})`
|
|
72
|
-
- `loadResourceDefinition({ appRoot, options = {}, context = "ui-generator" } = {})`
|
|
73
|
-
- `requireOperation(resource, operationName, { context = "ui-generator" } = {})`
|
|
74
|
-
- `resolveOperationRealtimeEvents(operation = {}, { defaultEvents = [], context = "ui-generator" } = {})`
|
|
75
|
-
- `requireOutputSchema(operation, operationName, { context = "ui-generator" } = {})`
|
|
76
|
-
- `requireBodySchema(operation, operationName, { context = "ui-generator" } = {})`
|
|
77
|
-
- `requireObjectProperties(schema, contextLabel, { context = "ui-generator", rootSchema = schema } = {})`
|
|
78
|
-
- `resolveListItemProperties(listOutputSchema, { context = "ui-generator" } = {})`
|
|
79
|
-
- `resolveLookupContainerKey(resource = {}, { context = "ui-generator" } = {})`
|
|
80
|
-
- `buildResourceFieldContractMap(resource = {})`
|
|
81
|
-
- `createFieldDefinitions(properties = {}, { fieldContractMap = {}, lookupContainerKey = "lookups" } = {})`
|
|
82
|
-
- `createFormFieldDefinitions(properties = {}, { fieldContractMap = {}, lookupContainerKey = "lookups", parentRouteParamKey = "" } = {})`
|
|
83
|
-
- `resolveNearestParentRouteParamKey(routePath = "", { recordIdParam = "recordId" } = {})`
|
|
84
|
-
- `buildListHeaderColumns(fields = [])`
|
|
85
|
-
- `buildListRowColumns(fields = [])`
|
|
86
|
-
- `buildListCardFields(fields = [])`
|
|
87
|
-
- `buildViewColumns(fields = [])`
|
|
88
|
-
- `buildFormColumns(fields = [])`
|
|
89
|
-
- `resolveRecordIdFieldKey(fields = [])`
|
|
90
|
-
- `renderObjectArrayEntryLines(entries = [], { indent = " " } = {})`
|
|
91
|
-
- `resolveRecordChangedEventName`
|
|
92
|
-
- `resolveRecordIdExpression(fields = [])`
|
|
93
|
-
Local functions
|
|
94
|
-
- `normalizeRealtimeEventList(events = [])`
|
|
95
|
-
- `resolveOperationTransportSchema(definition, { context = "ui-generator", defaultMode = "replace", label = "schema definition" } = {})`
|
|
96
|
-
- `resolveUnionSchemaVariant(schema = {})`
|
|
97
|
-
- `decodeJsonPointerSegment(segment = "")`
|
|
98
|
-
- `resolveSchemaReference(ref = "", rootSchema = {}, { context = "ui-generator", contextLabel = "schema" } = {})`
|
|
99
|
-
- `resolveObjectSchema(schema = {}, contextLabel, { context = "ui-generator", rootSchema = schema } = {})`
|
|
100
|
-
- `resolveJsonRestCastType(schema = {})`
|
|
101
|
-
- `resolveTemporalPrecision(...schemas)`
|
|
102
|
-
- `resolveSchemaType(schema)`
|
|
103
|
-
- `toFieldLabel(key)`
|
|
104
|
-
- `isSupportedSelectOptionValue(value)`
|
|
105
|
-
- `toSelectOptionLabel(value)`
|
|
106
|
-
- `toSelectOptionIdentity(value)`
|
|
107
|
-
- `normalizeFieldUiOptions(rawOptions, { context = "resource field ui.options" } = {})`
|
|
108
|
-
- `stripLookupIdSuffix(key = "")`
|
|
109
|
-
- `resolveFieldLabel(key = "", relation = null)`
|
|
110
|
-
- `extractDynamicRouteParamKeys(routePath = "")`
|
|
111
|
-
- `normalizeLookupRelation(relation = {})`
|
|
112
|
-
- `toLookupRelation(fieldContractMap = {}, fieldKey = "", { lookupContainerKey = "lookups" } = {})`
|
|
113
|
-
- `resolveFormInputType(fieldType, fieldFormat)`
|
|
114
|
-
- `resolveFormFieldComponent(fieldType, relation = null)`
|
|
115
|
-
- `resolveTemporalInputStep(field = {})`
|
|
116
|
-
- `buildDefaultNullableBooleanOptions()`
|
|
117
|
-
- `toPositiveInteger(value)`
|
|
118
|
-
- `toAccessorExpression(baseName, fieldKey)`
|
|
119
|
-
- `toOptionalAccessorExpression(baseName, fieldKey)`
|
|
120
|
-
- `escapeHtml(value)`
|
|
121
|
-
- `serializeTemplateBindingValue(value)`
|
|
122
|
-
- `renderTemplateJsStringLiteral(value)`
|
|
123
|
-
- `isLookupField(field = {})`
|
|
124
|
-
- `toLookupDisplayFieldDescriptor(field = {})`
|
|
125
|
-
- `toLookupDisplayFieldExpression(field = {})`
|
|
126
|
-
|
|
127
|
-
### `src/server/subcommands/addField.js`
|
|
128
|
-
Exports
|
|
129
|
-
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
130
|
-
Local functions
|
|
131
|
-
- `toPosixPath(value = "")`
|
|
132
|
-
- `resolveOperation(rawOperation = "")`
|
|
133
|
-
- `resolveTargetFilePath(appRoot, targetFile)`
|
|
134
|
-
- `resolvePathWithinAppRoot(appRoot, absolutePath)`
|
|
135
|
-
- `inferResourceOptionsFromSource(screenSource = "")`
|
|
136
|
-
- `resolveResourceOptions(options = {}, inferredOptions = {})`
|
|
137
|
-
- `resolveOperationFields(resource, operationName)`
|
|
138
|
-
- `resolveFieldDefinition(fields = [], fieldKey = "")`
|
|
139
|
-
- `insertBeforeAnchor(source, { anchor = "", snippet = "" } = {})`
|
|
140
|
-
- `findMatchingDelimiter(sourceText = "", openIndex = -1, openChar = "[", closeChar = "]")`
|
|
141
|
-
- `resolveAnchorLineIndex(sourceText = "", anchor = "")`
|
|
142
|
-
- `findArrayDeclarationBeforeIndex(sourceText = "", arrayName = "", index = -1)`
|
|
143
|
-
- `insertFormFieldDefinition(source, insertion = {})`
|
|
144
|
-
- `resolveAnchorScopeStart(source = "", { anchorIndex = -1, anchor = "" } = {})`
|
|
145
|
-
- `buildAnchorInsertions(operationName, field)`
|
|
146
|
-
- `resolveGeneratedTargetComment(source = "", commentName = "")`
|
|
147
|
-
- `resolveGeneratedTargetPath(appRoot, targetAbsolutePath, generatedTarget = "")`
|
|
148
|
-
- `resolveOperationTargetFiles({ appRoot, operationName, targetAbsolutePath, source = "" } = {})`
|
|
149
|
-
- `parseSubcommandArgs(args = [])`
|
|
150
|
-
|
|
151
|
-
### templates
|
|
152
|
-
|
|
153
|
-
### `templates/src/pages/admin/ui-generator/AddEditForm.vue`
|
|
154
|
-
Exports
|
|
155
|
-
- None
|
|
156
|
-
|
|
157
|
-
### `templates/src/pages/admin/ui-generator/AddEditFormFields.js`
|
|
158
|
-
Exports
|
|
159
|
-
- `UI_CREATE_FORM_FIELDS`
|
|
160
|
-
- `UI_EDIT_FORM_FIELDS`
|
|
161
|
-
|
|
162
|
-
### `templates/src/pages/admin/ui-generator/EditElement.vue`
|
|
163
|
-
Exports
|
|
164
|
-
- None
|
|
165
|
-
|
|
166
|
-
### `templates/src/pages/admin/ui-generator/EditWrapperElement.vue`
|
|
167
|
-
Exports
|
|
168
|
-
- None
|
|
169
|
-
|
|
170
|
-
### `templates/src/pages/admin/ui-generator/listBulkActions.js`
|
|
171
|
-
Exports
|
|
172
|
-
- `listBulkActions`
|
|
173
|
-
|
|
174
|
-
### `templates/src/pages/admin/ui-generator/ListElement.vue`
|
|
175
|
-
Exports
|
|
176
|
-
- None
|
|
177
|
-
|
|
178
|
-
### `templates/src/pages/admin/ui-generator/listFilters.js`
|
|
179
|
-
Exports
|
|
180
|
-
- `listFilters`
|
|
181
|
-
|
|
182
|
-
### `templates/src/pages/admin/ui-generator/NewElement.vue`
|
|
183
|
-
Exports
|
|
184
|
-
- None
|
|
185
|
-
|
|
186
|
-
### `templates/src/pages/admin/ui-generator/NewWrapperElement.vue`
|
|
187
|
-
Exports
|
|
188
|
-
- None
|
|
189
|
-
|
|
190
|
-
### `templates/src/pages/admin/ui-generator/ViewElement.vue`
|
|
191
|
-
Exports
|
|
192
|
-
- None
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
# packages/feature-server-generator
|
|
2
|
-
|
|
3
|
-
Generated by `npm run agent-docs:build`.
|
|
4
|
-
Do not edit manually.
|
|
5
|
-
|
|
6
|
-
Generated inventory for `packages/feature-server-generator`.
|
|
7
|
-
Use this on demand; do not load the full index at startup.
|
|
8
|
-
|
|
9
|
-
## Scope
|
|
10
|
-
- Source: `packages/feature-server-generator/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
|
|
12
|
-
|
|
13
|
-
## Sections
|
|
14
|
-
|
|
15
|
-
### src
|
|
16
|
-
|
|
17
|
-
### `src/server/buildTemplateContext.js`
|
|
18
|
-
Exports
|
|
19
|
-
- `buildTemplateContext({ options = {} } = {})`
|
|
20
|
-
Local functions
|
|
21
|
-
- `runtimeDependencyVersion(packageName)`
|
|
22
|
-
- `splitTextIntoWords(value)`
|
|
23
|
-
- `wordsToPascal(words = [])`
|
|
24
|
-
- `wordsToKebab(words = [])`
|
|
25
|
-
- `wordsToCamel(words = [])`
|
|
26
|
-
- `normalizeFeatureName(value)`
|
|
27
|
-
- `normalizeSurfaceId(value)`
|
|
28
|
-
- `normalizeRoutePrefix(value)`
|
|
29
|
-
- `quoteArray(values = [])`
|
|
30
|
-
- `buildProviderContext({ featureName, mode, routePrefix, surface })`
|
|
31
|
-
- `buildActionsContext({ surface })`
|
|
32
|
-
- `buildServiceContext({ featureName, mode })`
|
|
33
|
-
- `buildRouteContext({ surface })`
|
|
34
|
-
- `buildManifestContext({ featureName, mode })`
|
|
35
|
-
|
|
36
|
-
### templates
|
|
37
|
-
|
|
38
|
-
### `templates/src/local-package/server/actions.js`
|
|
39
|
-
Exports
|
|
40
|
-
- `featureActions`
|
|
41
|
-
|
|
42
|
-
### `templates/src/local-package/server/FeatureProvider.js`
|
|
43
|
-
Exports
|
|
44
|
-
- `${option:feature-name|pascal`
|
|
45
|
-
|
|
46
|
-
### `templates/src/local-package/server/inputSchemas.js`
|
|
47
|
-
Exports
|
|
48
|
-
- `statusQueryInputValidator`
|
|
49
|
-
- `executeCommandInputValidator`
|
|
50
|
-
|
|
51
|
-
### `templates/src/local-package/server/registerRoutes.js`
|
|
52
|
-
Exports
|
|
53
|
-
- `registerRoutes(app, { routeSurface = "", routeRelativePath = "" } = {})`
|
|
54
|
-
|
|
55
|
-
### `templates/src/local-package/server/repositoryCustomKnex.js`
|
|
56
|
-
Exports
|
|
57
|
-
- `createRepository({ knex } = {})`
|
|
58
|
-
|
|
59
|
-
### `templates/src/local-package/server/repositoryJsonRest.js`
|
|
60
|
-
Exports
|
|
61
|
-
- `createRepository({ api } = {})`
|
|
62
|
-
|
|
63
|
-
### `templates/src/local-package/server/service.js`
|
|
64
|
-
Exports
|
|
65
|
-
- `createService({ featureRepository } = {})`
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
# packages/ui-generator
|
|
2
|
-
|
|
3
|
-
Generated by `npm run agent-docs:build`.
|
|
4
|
-
Do not edit manually.
|
|
5
|
-
|
|
6
|
-
Generated inventory for `packages/ui-generator`.
|
|
7
|
-
Use this on demand; do not load the full index at startup.
|
|
8
|
-
|
|
9
|
-
## Scope
|
|
10
|
-
- Source: `packages/ui-generator/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `.vitepress/cache/`, `.vitepress/dist/`
|
|
12
|
-
|
|
13
|
-
## Sections
|
|
14
|
-
|
|
15
|
-
### src
|
|
16
|
-
|
|
17
|
-
### `src/server/buildTemplateContext.js`
|
|
18
|
-
Exports
|
|
19
|
-
- `buildUiPageTemplateContext({ appRoot, targetFile = "", options = {} } = {})`
|
|
20
|
-
- `normalizeNavigationRole`
|
|
21
|
-
- `resolveNavigationInferenceRoutePath(pageTarget = {})`
|
|
22
|
-
- `resolveNavigationRoleLinkPlacement(options = {}, inferenceContext = {})`
|
|
23
|
-
- `shouldCreateNavigationLink(options = {}, inferenceContext = {})`
|
|
24
|
-
Local functions
|
|
25
|
-
- `resolveLinkToPropLine(linkTo = "")`
|
|
26
|
-
- `resolveOwnerLine(owner = "")`
|
|
27
|
-
|
|
28
|
-
### `src/server/subcommands/addSubpages.js`
|
|
29
|
-
Exports
|
|
30
|
-
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
31
|
-
Local functions
|
|
32
|
-
- `resolveOutletOwner(target = "")`
|
|
33
|
-
- `renderSectionNavTopologyBlock({ marker = "", owner = "", surface = "", target = "" } = {})`
|
|
34
|
-
- `resolveSubpagesOutletTarget(options = {}, pageTarget = {})`
|
|
35
|
-
|
|
36
|
-
### `src/server/subcommands/element.js`
|
|
37
|
-
Exports
|
|
38
|
-
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
39
|
-
Local functions
|
|
40
|
-
- `renderElementComponentSource(elementName = "")`
|
|
41
|
-
- `resolvePlacedElementSurface({ appRoot, placementTarget = {}, surface = "", context = "ui-generator placed-element" } = {})`
|
|
42
|
-
|
|
43
|
-
### `src/server/subcommands/outlet.js`
|
|
44
|
-
Exports
|
|
45
|
-
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
46
|
-
Local functions
|
|
47
|
-
- `hasShellOutletTarget(source = "", { target = "" } = {})`
|
|
48
|
-
- `applyScriptImports(source = "")`
|
|
49
|
-
- `createOutletBlock({ target = "" } = {})`
|
|
50
|
-
- `resolveOutletOwner(target = "")`
|
|
51
|
-
- `resolveSemanticPlacementOption(options = {}, { context = "ui-generator outlet" } = {})`
|
|
52
|
-
- `resolveOptionalSemanticPlacementOption(options = {}, { context = "ui-generator outlet" } = {})`
|
|
53
|
-
- `resolveVariantOwners(variantTargets = {})`
|
|
54
|
-
- `resolveSemanticPlacementOwner({ placementId = "", targetId = "", variantTargets = null, owner = "", context = "ui-generator outlet" } = {})`
|
|
55
|
-
- `resolveTopologyKind(options = {}, { context = "ui-generator outlet", defaultKind = "", required = false } = {})`
|
|
56
|
-
- `resolveTopologyVariantTargets(options = {}, { context = "ui-generator topology", fallbackTarget = "" } = {})`
|
|
57
|
-
- `hasTopologyOptions(options = {})`
|
|
58
|
-
- `resolveTopologySurfaces(options = {})`
|
|
59
|
-
- `renderTopologyOwnerLine(owner = "")`
|
|
60
|
-
- `renderLinkRendererBlock(rendererToken = "")`
|
|
61
|
-
- `renderTopologyVariantBlock({ layoutClass = "", target = "", kind = "", rendererToken = "" } = {})`
|
|
62
|
-
- `renderOutletTopologyBlock({ marker = "", placementId = "", owner = "", surfaces = ["*"], description = "", target = "", variantTargets = null, kind = "link", rendererToken = "" } = {})`
|
|
63
|
-
- `findLastTemplateCloseTag(source = "")`
|
|
64
|
-
- `applyOutletTemplateBlock(source = "", { target = "" } = {})`
|
|
65
|
-
- `prepareTopologyBlock({ appRoot, topologyPath = null, context = "ui-generator topology", placementId = "", owner = "", surfaces = ["*"], description = "", target = "", variantTargets = null, kind = "", rendererToken = "" } = {})`
|
|
66
|
-
- `applyTopologyBlock(options = {})`
|
|
67
|
-
- `runTopologySubcommand({ appRoot, options = {}, dryRun = false } = {})`
|
|
68
|
-
|
|
69
|
-
### `src/server/subcommands/page.js`
|
|
70
|
-
Exports
|
|
71
|
-
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
72
|
-
Local functions
|
|
73
|
-
- `renderPageLinkPlacementBlock({ marker = "", context = {}, label = "", surface = "" } = {})`
|
|
74
|
-
|
|
75
|
-
### `src/server/subcommands/pageSupport.js`
|
|
76
|
-
Exports
|
|
77
|
-
- `DEFAULT_SUBPAGES_POSITION`
|
|
78
|
-
- `DEFAULT_COMPONENT_DIRECTORY`
|
|
79
|
-
- `SECTION_CONTAINER_SHELL_COMPONENT`
|
|
80
|
-
- `SUBPAGES_LINK_COMPONENT`
|
|
81
|
-
- `SUBPAGES_LINK_COMPONENT_TOKEN`
|
|
82
|
-
- `resolvePageTargetDetails`
|
|
83
|
-
- `resolveNearestParentSubpagesHost`
|
|
84
|
-
- `deriveDefaultSubpagesHost`
|
|
85
|
-
- `renderPlainPageSource(pageTitle = "", { surfaceId = "", routePath = "" } = {})`
|
|
86
|
-
- `ensureSubpagesSupportScaffold({ appRoot, componentDirectory = DEFAULT_COMPONENT_DIRECTORY, dryRun = false } = {})`
|
|
87
|
-
- `applySubpagesUpgradeToPageSource(source = "", { target = "", title = "", subtitle = "", sectionContainerComponentImportPath = "/src/components/SectionContainerShell.vue", preserveExistingContent = true } = {})`
|
|
88
|
-
- `upgradePageFileToSubpages({ appRoot, targetFile, target = "", title = "", subtitle = "", componentDirectory = DEFAULT_COMPONENT_DIRECTORY, preserveExistingContent = true, dryRun = false } = {})`
|
|
89
|
-
Local functions
|
|
90
|
-
- `resolveGeneratedPageSurfaceProfile({ surfaceId = "", routePath = "" } = {})`
|
|
91
|
-
- `trimEdgeBlankLines(source = "")`
|
|
92
|
-
- `renderSectionContainerShellSource()`
|
|
93
|
-
- `findTemplateBlock(source = "")`
|
|
94
|
-
- `unwrapSectionContainerShell(source = "")`
|
|
95
|
-
- `stripExistingSubpagesStructure(source = "")`
|
|
96
|
-
- `renderSectionContainerOpenTag({ title = "", subtitle = "" } = {})`
|
|
97
|
-
- `renderSubpagesTemplate({ bodyContent = "", title = "", subtitle = "", target = "" } = {})`
|
|
98
|
-
- `applySubpagesScriptImports(source = "", { sectionContainerComponentImportPath = "" } = {})`
|
|
99
|
-
- `hasExistingSubpagesRouting(source = "")`
|
|
100
|
-
|
|
101
|
-
### `src/server/subcommands/support.js`
|
|
102
|
-
Exports
|
|
103
|
-
- `DEFAULT_COMPONENT_DIRECTORY`
|
|
104
|
-
- `MAIN_CLIENT_PROVIDER_FILE`
|
|
105
|
-
- `PLACEMENT_FILE`
|
|
106
|
-
- `PLACEMENT_TOPOLOGY_FILE`
|
|
107
|
-
- `toKebabCase(value = "")`
|
|
108
|
-
- `toPascalCase(value = "")`
|
|
109
|
-
- `requireOption(options = {}, optionName = "", { context = "ui-generator" } = {})`
|
|
110
|
-
- `requireSinglePositionalTargetFile(args = [], { context = "ui-generator" } = {})`
|
|
111
|
-
- `resolveOutletTargetId(rawTarget = "", { context = "ui-generator", optionName = "target" } = {})`
|
|
112
|
-
- `rejectUnexpectedOptions(options = {}, allowedOptionNames = [], { context = "ui-generator" } = {})`
|
|
113
|
-
- `resolvePathWithinApp(appRoot, targetPath, { context = "ui-generator" } = {})`
|
|
114
|
-
- `ensureTrailingNewline(value = "")`
|
|
115
|
-
- `appendBlockIfMarkerMissing(source = "", marker = "", block = "")`
|
|
116
|
-
- `insertImportIfMissing(source = "", importLine = "")`
|
|
117
|
-
- `insertBeforeClassDeclaration(source = "", line = "", { className = "", contextFile = "" } = {})`
|
|
118
|
-
- `findScriptSetupBlock(source = "")`
|
|
119
|
-
- `insertScriptSetupBlock(source = "", content = "")`
|
|
120
|
-
- `appendTopologyBlockIfPlacementMissing({ topologyPath = {}, source = "", marker = "", block = "", placementId = "", owner = "", variantTargets = null, context = "ui-generator topology" } = {})`
|
|
121
|
-
- `parseTagAttributes(attributesSource = "")`
|
|
122
|
-
- `indentBlock(source = "", indent = "")`
|
|
123
|
-
Local functions
|
|
124
|
-
- `loadPlacementTopologyDefinitionFromPath(topologyPath = {}, { context = "ui-generator topology" } = {})`
|
|
125
|
-
- `normalizeExpectedTopologyVariantTargets(variantTargets = null)`
|
|
126
|
-
- `describeTopologyVariantTargets(variantTargets = {})`
|
|
127
|
-
- `placementMatchesExpectedVariantTargets(placement = {}, expectedVariantTargets = null)`
|