@jskit-ai/agent-docs 0.1.1
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/DISTR_AGENT.md +25 -0
- package/guide/agent/app-extras/assistant.md +636 -0
- package/guide/agent/app-extras/realtime.md +223 -0
- package/guide/agent/app-setup/a-more-interesting-shell.md +643 -0
- package/guide/agent/app-setup/authentication.md +948 -0
- package/guide/agent/app-setup/console.md +316 -0
- package/guide/agent/app-setup/database-layer.md +775 -0
- package/guide/agent/app-setup/initial-scaffolding.md +714 -0
- package/guide/agent/app-setup/multi-homing.md +655 -0
- package/guide/agent/app-setup/users.md +355 -0
- package/guide/agent/app-setup/working-with-the-jskit-cli.md +983 -0
- package/guide/agent/generators/advanced-cruds.md +923 -0
- package/guide/agent/generators/crud-generators.md +556 -0
- package/guide/agent/generators/intro.md +63 -0
- package/guide/agent/generators/ui-generators.md +648 -0
- package/guide/agent/index.md +39 -0
- package/guide/human/app-extras/assistant.md +695 -0
- package/guide/human/app-extras/realtime.md +270 -0
- package/guide/human/app-setup/a-more-interesting-shell.md +734 -0
- package/guide/human/app-setup/authentication.md +963 -0
- package/guide/human/app-setup/console.md +352 -0
- package/guide/human/app-setup/database-layer.md +822 -0
- package/guide/human/app-setup/initial-scaffolding.md +738 -0
- package/guide/human/app-setup/multi-homing.md +795 -0
- package/guide/human/app-setup/users.md +404 -0
- package/guide/human/app-setup/working-with-the-jskit-cli.md +997 -0
- package/guide/human/generators/advanced-cruds.md +923 -0
- package/guide/human/generators/crud-generators.md +556 -0
- package/guide/human/generators/intro.md +109 -0
- package/guide/human/generators/ui-generators.md +665 -0
- package/guide/human/index.md +39 -0
- package/package.json +28 -0
- package/reference/autogen/KERNEL_MAP.md +536 -0
- package/reference/autogen/README.md +44 -0
- package/reference/autogen/packages/agent-docs.md +13 -0
- package/reference/autogen/packages/assistant-core.md +310 -0
- package/reference/autogen/packages/assistant-runtime.md +219 -0
- package/reference/autogen/packages/assistant.md +73 -0
- package/reference/autogen/packages/auth-core.md +352 -0
- package/reference/autogen/packages/auth-provider-supabase-core.md +223 -0
- package/reference/autogen/packages/auth-web.md +267 -0
- package/reference/autogen/packages/console-core.md +116 -0
- package/reference/autogen/packages/console-web.md +37 -0
- package/reference/autogen/packages/crud-core.md +283 -0
- package/reference/autogen/packages/crud-server-generator.md +220 -0
- package/reference/autogen/packages/crud-ui-generator.md +154 -0
- package/reference/autogen/packages/database-runtime-mysql.md +61 -0
- package/reference/autogen/packages/database-runtime-postgres.md +39 -0
- package/reference/autogen/packages/database-runtime.md +216 -0
- package/reference/autogen/packages/http-runtime.md +213 -0
- package/reference/autogen/packages/kernel.md +1350 -0
- package/reference/autogen/packages/realtime.md +95 -0
- package/reference/autogen/packages/shell-web.md +349 -0
- package/reference/autogen/packages/storage-runtime.md +39 -0
- package/reference/autogen/packages/ui-generator.md +101 -0
- package/reference/autogen/packages/uploads-image-web.md +76 -0
- package/reference/autogen/packages/uploads-runtime.md +85 -0
- package/reference/autogen/packages/users-core.md +307 -0
- package/reference/autogen/packages/users-web.md +473 -0
- package/reference/autogen/packages/workspaces-core.md +415 -0
- package/reference/autogen/packages/workspaces-web.md +372 -0
- package/reference/autogen/tooling/config-eslint.md +52 -0
- package/reference/autogen/tooling/create-app.md +194 -0
- package/reference/autogen/tooling/jskit-catalog.md +27 -0
- package/reference/autogen/tooling/jskit-cli.md +624 -0
- package/reference/autogen/tooling/test-support.md +27 -0
- package/reference/autogen/tooling/testUtils.md +31 -0
- package/templates/APP_BLUEPRINT.md +57 -0
- package/workflow/app-state.md +33 -0
- package/workflow/bootstrap.md +24 -0
- package/workflow/feature-delivery.md +21 -0
- package/workflow/review.md +22 -0
- package/workflow/scoping.md +26 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
# packages/realtime
|
|
2
|
+
|
|
3
|
+
Generated by `npm run agent-docs:build`.
|
|
4
|
+
Do not edit manually.
|
|
5
|
+
|
|
6
|
+
Generated inventory for `packages/realtime`.
|
|
7
|
+
Use this on demand; do not load the full index at startup.
|
|
8
|
+
|
|
9
|
+
## Scope
|
|
10
|
+
- Source: `packages/realtime/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
+
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `LEGACY/`
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### src
|
|
16
|
+
|
|
17
|
+
### `src/client/components/RealtimeConnectionIndicator.js`
|
|
18
|
+
Exports
|
|
19
|
+
- `RealtimeConnectionIndicator`
|
|
20
|
+
Local functions
|
|
21
|
+
- `resolveTooltipText({ realtimeAvailable, connected })`
|
|
22
|
+
|
|
23
|
+
### `src/client/composables/useRealtimeEvent.js`
|
|
24
|
+
Exports
|
|
25
|
+
- `EMPTY_REALTIME_SOCKET`
|
|
26
|
+
- `useRealtimeSocket({ required = false } = {})`
|
|
27
|
+
- `useRealtimeEvent({ event = "*", enabled = true, matches = null, onEvent } = {})`
|
|
28
|
+
Local functions
|
|
29
|
+
- `isRealtimeSocket(socket)`
|
|
30
|
+
- `resolveEnabled(value)`
|
|
31
|
+
- `resolveEventName(value)`
|
|
32
|
+
|
|
33
|
+
### `src/client/listeners.js`
|
|
34
|
+
Exports
|
|
35
|
+
- `normalizeRealtimeClientListener(entry)`
|
|
36
|
+
- `registerRealtimeClientListener(app, token, factory)`
|
|
37
|
+
- `resolveRealtimeClientListeners(scope)`
|
|
38
|
+
Local functions
|
|
39
|
+
- `normalizeListenerEntries(value)`
|
|
40
|
+
|
|
41
|
+
### `src/client/RealtimeClientProvider.js`
|
|
42
|
+
Exports
|
|
43
|
+
- `RealtimeClientProvider`
|
|
44
|
+
Local functions
|
|
45
|
+
- `resolveRealtimeClientConfig(app)`
|
|
46
|
+
|
|
47
|
+
### `src/client/runtime.js`
|
|
48
|
+
Exports
|
|
49
|
+
- `createSocketIoClient({ url = "", options = {}, connect = connectSocketIoClient } = {})`
|
|
50
|
+
- `disconnectSocketIoClient(socket)`
|
|
51
|
+
|
|
52
|
+
### `src/server/RealtimeServiceProvider.js`
|
|
53
|
+
Exports
|
|
54
|
+
- `RealtimeServiceProvider`
|
|
55
|
+
Local functions
|
|
56
|
+
- `normalizeArray(value)`
|
|
57
|
+
- `roomForUser(userId)`
|
|
58
|
+
- `roomForWorkspace(workspaceId)`
|
|
59
|
+
- `roomForWorkspaceUser(workspaceId, userId)`
|
|
60
|
+
- `parseCookieHeader(value = "")`
|
|
61
|
+
- `createProviderLogger(scope, { debugEnabled = false } = {})`
|
|
62
|
+
- `parseDebugFlag(value, fallback = null)`
|
|
63
|
+
- `resolveRealtimeServerDebugEnabled(scope)`
|
|
64
|
+
- `buildRealtimeDispatchIndex(registrations = [])`
|
|
65
|
+
- `mergeRealtimePayload(event, payloadPatch)`
|
|
66
|
+
- `resolveScopeWorkspaceId(scope = {})`
|
|
67
|
+
- `resolveScopeUserId(scope = {})`
|
|
68
|
+
- `applyAudiencePreset(preset, { event, rooms, flags, logger } = {})`
|
|
69
|
+
- `addAudienceRoomsFromObject(selection, { event, rooms, flags, logger } = {})`
|
|
70
|
+
- `collectUserIdsFromQueryRows(rows = [])`
|
|
71
|
+
- `resolveAudienceQueryRooms(userQuery, { scope, event, logger } = {})`
|
|
72
|
+
- `resolveAudienceTargets(dispatcher, event, { scope, logger } = {})`
|
|
73
|
+
- `resolveSocketActorId(authService, socket)`
|
|
74
|
+
- `resolveActorWorkspaceIds(workspaceMembershipsRepository, actorId)`
|
|
75
|
+
- `registerRealtimeSocketAudienceBootstrap(scope, io, logger)`
|
|
76
|
+
|
|
77
|
+
### `src/server/runtime.js`
|
|
78
|
+
Exports
|
|
79
|
+
- `createSocketIoServer({ httpServer = null, fastify = null, options = {}, ServerCtor = SocketIoServer } = {})`
|
|
80
|
+
- `closeSocketIoServer(io)`
|
|
81
|
+
- `REDIS_URL_ENV_KEY`
|
|
82
|
+
- `REDIS_NAMESPACE_ENV_KEY`
|
|
83
|
+
- `resolveRealtimeRedisUrl(env = {})`
|
|
84
|
+
- `resolveRealtimeRedisNamespace(env = {})`
|
|
85
|
+
- `configureSocketIoRedisAdapter(io, { redisUrl = "", redisNamespace = "", createRedisAdapter = createSocketIoRedisAdapter, createRedisConnection = createRedisClient } = {})`
|
|
86
|
+
- `closeSocketIoRedisConnections({ pubClient = null, subClient = null } = {})`
|
|
87
|
+
Local functions
|
|
88
|
+
- `resolveHttpServer({ httpServer = null, fastify = null } = {})`
|
|
89
|
+
- `buildSocketIoRedisAdapterKey(redisNamespace = "")`
|
|
90
|
+
|
|
91
|
+
### root
|
|
92
|
+
|
|
93
|
+
### `package.descriptor.mjs`
|
|
94
|
+
Exports
|
|
95
|
+
- None
|
|
@@ -0,0 +1,349 @@
|
|
|
1
|
+
# packages/shell-web
|
|
2
|
+
|
|
3
|
+
Generated by `npm run agent-docs:build`.
|
|
4
|
+
Do not edit manually.
|
|
5
|
+
|
|
6
|
+
Generated inventory for `packages/shell-web`.
|
|
7
|
+
Use this on demand; do not load the full index at startup.
|
|
8
|
+
|
|
9
|
+
## Scope
|
|
10
|
+
- Source: `packages/shell-web/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
+
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `LEGACY/`
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### src
|
|
16
|
+
|
|
17
|
+
### `src/client/components/ShellErrorHost.vue`
|
|
18
|
+
Exports
|
|
19
|
+
- None
|
|
20
|
+
Local functions
|
|
21
|
+
- `resolveSeverityColor(severity = "error")`
|
|
22
|
+
- `resolveTimeout(entry)`
|
|
23
|
+
- `dismiss(entry)`
|
|
24
|
+
- `runAction(entry)`
|
|
25
|
+
- `onSnackbarModelValue(nextValue)`
|
|
26
|
+
- `onDialogModelValue(nextValue)`
|
|
27
|
+
|
|
28
|
+
### `src/client/components/ShellLayout.vue`
|
|
29
|
+
Exports
|
|
30
|
+
- None
|
|
31
|
+
|
|
32
|
+
### `src/client/components/ShellMenuLinkItem.vue`
|
|
33
|
+
Exports
|
|
34
|
+
- None
|
|
35
|
+
|
|
36
|
+
### `src/client/components/ShellOutlet.vue`
|
|
37
|
+
Exports
|
|
38
|
+
- None
|
|
39
|
+
|
|
40
|
+
### `src/client/components/ShellOutletMenuWidget.vue`
|
|
41
|
+
Exports
|
|
42
|
+
- None
|
|
43
|
+
|
|
44
|
+
### `src/client/components/ShellSurfaceAwareMenuLinkItem.vue`
|
|
45
|
+
Exports
|
|
46
|
+
- None
|
|
47
|
+
|
|
48
|
+
### `src/client/components/ShellTabLinkItem.vue`
|
|
49
|
+
Exports
|
|
50
|
+
- None
|
|
51
|
+
|
|
52
|
+
### `src/client/composables/shellLayoutDrawerPreference.js`
|
|
53
|
+
Exports
|
|
54
|
+
- `SHELL_LAYOUT_DRAWER_DEFAULT_OPEN_STORAGE_KEY`
|
|
55
|
+
- `readDrawerDefaultOpenPreference({ storage = typeof window === "object" ? window?.localStorage : null } = {})`
|
|
56
|
+
- `writeDrawerDefaultOpenPreference(open, { storage = typeof window === "object" ? window?.localStorage : null } = {})`
|
|
57
|
+
|
|
58
|
+
### `src/client/composables/useShellLayoutState.js`
|
|
59
|
+
Exports
|
|
60
|
+
- `useShellLayoutState(props = {})`
|
|
61
|
+
Local functions
|
|
62
|
+
- `toSurfaceLabel(surfaceId = "")`
|
|
63
|
+
|
|
64
|
+
### `src/client/error/index.js`
|
|
65
|
+
Exports
|
|
66
|
+
- `createDefaultErrorPolicy`
|
|
67
|
+
- `useShellWebErrorRuntime`
|
|
68
|
+
- `useShellErrorPresentationStore`
|
|
69
|
+
|
|
70
|
+
### `src/client/error/inject.js`
|
|
71
|
+
Exports
|
|
72
|
+
- `EMPTY_ERROR_RUNTIME`
|
|
73
|
+
- `useShellWebErrorRuntime({ required = false } = {})`
|
|
74
|
+
|
|
75
|
+
### `src/client/error/normalize.js`
|
|
76
|
+
Exports
|
|
77
|
+
- `ERROR_CHANNELS`
|
|
78
|
+
- `ERROR_SEVERITIES`
|
|
79
|
+
- `isRecord`
|
|
80
|
+
- `normalizeText(value, fallback = "")`
|
|
81
|
+
- `normalizeChannel(value, fallback = "")`
|
|
82
|
+
- `normalizeSeverity(value, fallback = "error")`
|
|
83
|
+
- `normalizeNonNegativeInteger(value, fallback = 0)`
|
|
84
|
+
- `normalizeAction(value)`
|
|
85
|
+
|
|
86
|
+
### `src/client/error/policy.js`
|
|
87
|
+
Exports
|
|
88
|
+
- `createDefaultErrorPolicy({ defaultChannel = "snackbar", unauthorizedChannel = "banner", serverErrorChannel = "dialog", defaultSeverity = "error" } = {})`
|
|
89
|
+
|
|
90
|
+
### `src/client/error/presentationDefaults.js`
|
|
91
|
+
Exports
|
|
92
|
+
- `EMPTY_PRESENTATION_STATE`
|
|
93
|
+
- `EMPTY_PRESENTATION_STORE`
|
|
94
|
+
|
|
95
|
+
### `src/client/error/presenters.js`
|
|
96
|
+
Exports
|
|
97
|
+
- `createStoreBackedPresenter({ id, channel, store, defaultPersist = false } = {})`
|
|
98
|
+
- `createMaterialSnackbarPresenter({ store } = {})`
|
|
99
|
+
- `createMaterialBannerPresenter({ store } = {})`
|
|
100
|
+
- `createMaterialDialogPresenter({ store } = {})`
|
|
101
|
+
- `createDefaultMaterialErrorPresenters({ store } = {})`
|
|
102
|
+
|
|
103
|
+
### `src/client/error/runtime.js`
|
|
104
|
+
Exports
|
|
105
|
+
- `createErrorRuntime({ presenters = [], policy = null, defaultPresenterId = "", moduleDefaultPresenterId = "", logger = null } = {})`
|
|
106
|
+
- `normalizeErrorEvent(rawEvent = {})`
|
|
107
|
+
Local functions
|
|
108
|
+
- `createRuntimeLogger(logger = null)`
|
|
109
|
+
- `normalizePolicyDecision(policyDecision = {}, event = {})`
|
|
110
|
+
- `normalizePresenter(candidate = {})`
|
|
111
|
+
|
|
112
|
+
### `src/client/error/store.js`
|
|
113
|
+
Exports
|
|
114
|
+
- `PRESENTATION_CHANNELS`
|
|
115
|
+
- `createErrorPresentationStore({ now = () => Date.now() } = {})`
|
|
116
|
+
Local functions
|
|
117
|
+
- `createEmptyChannelState()`
|
|
118
|
+
- `cloneEntry(entry = {})`
|
|
119
|
+
|
|
120
|
+
### `src/client/index.js`
|
|
121
|
+
Exports
|
|
122
|
+
- `ShellWebClientProvider`
|
|
123
|
+
- `ShellLayout`
|
|
124
|
+
- `ShellOutlet`
|
|
125
|
+
- `ShellOutletMenuWidget`
|
|
126
|
+
- `ShellErrorHost`
|
|
127
|
+
- `ShellMenuLinkItem`
|
|
128
|
+
- `ShellSurfaceAwareMenuLinkItem`
|
|
129
|
+
- `ShellTabLinkItem`
|
|
130
|
+
- `useShellLayoutState`
|
|
131
|
+
- `useShellLayoutStore`
|
|
132
|
+
- `useShellErrorPresentationStore`
|
|
133
|
+
- `clientProviders`
|
|
134
|
+
|
|
135
|
+
### `src/client/lib/menuIcons.js`
|
|
136
|
+
Exports
|
|
137
|
+
- `resolveMenuLinkIcon({ icon = "", label = "", to = "" } = {})`
|
|
138
|
+
- `resolveSurfaceSwitchIcon(surfaceId = "", explicitIcon = "")`
|
|
139
|
+
Local functions
|
|
140
|
+
- `resolveExplicitIconValue(explicitIcon = "")`
|
|
141
|
+
- `normalizePathname(value = "")`
|
|
142
|
+
- `resolveSurfaceSwitchIdFromLabel(label = "")`
|
|
143
|
+
|
|
144
|
+
### `src/client/navigation/linkResolver.js`
|
|
145
|
+
Exports
|
|
146
|
+
- `resolveShellLinkPath({ context = null, surface = "", explicitTo = "", relativePath = "/", surfaceRelativePath = "", params = {}, strictParams = true } = {})`
|
|
147
|
+
- `useShellLinkResolver({ surface = "" } = {})`
|
|
148
|
+
Local functions
|
|
149
|
+
- `normalizeParamsMap(params = null)`
|
|
150
|
+
- `materializeSurfaceRouteBase(routeBaseTemplate = "/", { params = {}, strictParams = true, surface = "" } = {})`
|
|
151
|
+
- `resolveSurfaceBasePath(context = null, surface = "", { params = {}, strictParams = true } = {})`
|
|
152
|
+
|
|
153
|
+
### `src/client/placement/debug.js`
|
|
154
|
+
Exports
|
|
155
|
+
- `DEFAULT_DEBUG_DEPTH`
|
|
156
|
+
- `explodePayload(value, depth = DEFAULT_DEBUG_DEPTH)`
|
|
157
|
+
Local functions
|
|
158
|
+
- `describeFunction(fn)`
|
|
159
|
+
- `describeSymbol(value)`
|
|
160
|
+
|
|
161
|
+
### `src/client/placement/index.js`
|
|
162
|
+
Exports
|
|
163
|
+
- `createPlacementRegistry`
|
|
164
|
+
- `useWebPlacementContext`
|
|
165
|
+
- `resolveRuntimePathname`
|
|
166
|
+
- `readPlacementSurfaceConfig`
|
|
167
|
+
- `resolveSurfaceDefinitionFromPlacementContext`
|
|
168
|
+
- `joinSurfacePath`
|
|
169
|
+
- `resolveSurfaceIdFromPlacementPathname`
|
|
170
|
+
- `resolveSurfaceRootPathFromPlacementContext`
|
|
171
|
+
- `resolveSurfacePathFromPlacementContext`
|
|
172
|
+
- `normalizeSurfaceOrigin`
|
|
173
|
+
- `resolveSurfaceNavigationTargetFromPlacementContext`
|
|
174
|
+
|
|
175
|
+
### `src/client/placement/inject.js`
|
|
176
|
+
Exports
|
|
177
|
+
- `EMPTY_WEB_PLACEMENT_RUNTIME`
|
|
178
|
+
- `EMPTY_WEB_PLACEMENT_CONTEXT`
|
|
179
|
+
- `useWebPlacementRuntime({ required = false } = {})`
|
|
180
|
+
- `useWebPlacementContext({ required = false } = {})`
|
|
181
|
+
|
|
182
|
+
### `src/client/placement/pathname.js`
|
|
183
|
+
Exports
|
|
184
|
+
- `resolveRuntimePathname(candidate = "")`
|
|
185
|
+
|
|
186
|
+
### `src/client/placement/registry.js`
|
|
187
|
+
Exports
|
|
188
|
+
- `createPlacementRegistry({ entries = [] } = {})`
|
|
189
|
+
|
|
190
|
+
### `src/client/placement/runtime.js`
|
|
191
|
+
Exports
|
|
192
|
+
- `createWebPlacementRuntime({ app, logger = null } = {})`
|
|
193
|
+
Local functions
|
|
194
|
+
- `ensureArray(value)`
|
|
195
|
+
- `NOOP()`
|
|
196
|
+
- `isPlacementDebugEnabled()`
|
|
197
|
+
- `debugLog(message, payload = null)`
|
|
198
|
+
- `createRuntimeLogger(logger)`
|
|
199
|
+
- `normalizePlacementList(placements, context = {})`
|
|
200
|
+
- `matchesSurface(placementSurfaces, requestedSurface)`
|
|
201
|
+
- `resolveContextContributors(app, baseContext = {}, logger)`
|
|
202
|
+
- `resolvePlacementComponent(app, placement, logger, missingTokens, invalidComponentTokens, failedTokens)`
|
|
203
|
+
- `shouldIncludePlacement(placement, placementContext, logger)`
|
|
204
|
+
|
|
205
|
+
### `src/client/placement/surfaceContext.js`
|
|
206
|
+
Exports
|
|
207
|
+
- `EMPTY_SURFACE_CONFIG`
|
|
208
|
+
- `buildSurfaceConfigContext(surfaceRuntime = null, { tenancyMode = "" } = {})`
|
|
209
|
+
- `readPlacementSurfaceConfig(contextValue = null)`
|
|
210
|
+
- `resolveSurfaceDefinitionFromPlacementContext(contextValue = null, surfaceId = "")`
|
|
211
|
+
- `joinSurfacePath(surfacePrefix = "", pathname = "")`
|
|
212
|
+
- `resolveSurfaceIdFromPlacementPathname(contextValue = null, pathname = "")`
|
|
213
|
+
- `resolveSurfaceRootPathFromPlacementContext(contextValue = null, surfaceId = "")`
|
|
214
|
+
- `resolveSurfacePathFromPlacementContext(contextValue = null, surfaceId = "", pathname = "")`
|
|
215
|
+
- `normalizeSurfaceOrigin(originValue = "")`
|
|
216
|
+
- `resolveSurfaceNavigationTargetFromPlacementContext(contextValue = null, { path = "/", surfaceId = "", currentOrigin = "" } = {})`
|
|
217
|
+
Local functions
|
|
218
|
+
- `normalizeSurfaceIdList(value)`
|
|
219
|
+
- `normalizeSurfaceConfig(surfaceConfig = {})`
|
|
220
|
+
- `resolveRuntimeOrigin(currentOrigin = "")`
|
|
221
|
+
- `createPlacementSurfacePathHelpers(surfaceConfig = EMPTY_SURFACE_CONFIG)`
|
|
222
|
+
|
|
223
|
+
### `src/client/placement/validators.js`
|
|
224
|
+
Exports
|
|
225
|
+
- `isRecord`
|
|
226
|
+
- `isRenderableComponent(value)`
|
|
227
|
+
- `normalizeSurface(value)`
|
|
228
|
+
- `normalizePlacementSurface(value, { strict = false, source = "placement" } = {})`
|
|
229
|
+
- `normalizePlacementTarget(value, { strict = false, source = "placement" } = {})`
|
|
230
|
+
- `normalizePlacementSurfaces(value, { strict = false, source = "placement" } = {})`
|
|
231
|
+
- `normalizePlacementDefinition(value, { strict = false, source = "placement" } = {})`
|
|
232
|
+
- `definePlacement(value = {})`
|
|
233
|
+
Local functions
|
|
234
|
+
- `isValidSurfaceIdToken(value = "")`
|
|
235
|
+
- `toInteger(value, fallback = 1000)`
|
|
236
|
+
|
|
237
|
+
### `src/client/providers/ShellWebClientProvider.js`
|
|
238
|
+
Exports
|
|
239
|
+
- `ShellWebClientProvider`
|
|
240
|
+
Local functions
|
|
241
|
+
- `createShellWebQueryClient()`
|
|
242
|
+
- `isMissingDynamicModule(error, moduleSpecifier)`
|
|
243
|
+
- `loadAppPlacementDefinitions(logger)`
|
|
244
|
+
- `createErrorConfigToolkit(errorRuntime)`
|
|
245
|
+
- `loadAppErrorConfig(logger, errorRuntime)`
|
|
246
|
+
- `applyAppErrorConfig(errorRuntime, errorConfig = {})`
|
|
247
|
+
- `installVueErrorBridge(vueApp, errorRuntime, logger)`
|
|
248
|
+
- `installRouterErrorBridge(app, errorRuntime, logger)`
|
|
249
|
+
|
|
250
|
+
### `src/client/stores/useShellErrorPresentationStore.js`
|
|
251
|
+
Exports
|
|
252
|
+
- `useShellErrorPresentationStore`
|
|
253
|
+
Local functions
|
|
254
|
+
- `normalizePresentationState(nextState)`
|
|
255
|
+
- `isPresentationRuntimeStore(value)`
|
|
256
|
+
|
|
257
|
+
### `src/client/stores/useShellLayoutStore.js`
|
|
258
|
+
Exports
|
|
259
|
+
- `useShellLayoutStore`
|
|
260
|
+
|
|
261
|
+
### `src/client/support/menuLinkTarget.js`
|
|
262
|
+
Exports
|
|
263
|
+
- `normalizeMenuLinkPathname(pathname = "")`
|
|
264
|
+
- `resolveMenuLinkTarget({ to = "", surface = "", currentSurfaceId = "", placementContext = null, scopedSuffix = "/", unscopedSuffix = "/", routeParams = {}, resolvePagePath = null } = {})`
|
|
265
|
+
Local functions
|
|
266
|
+
- `resolveMenuLinkSurfaceId(surface = "", fallbackSurfaceId = "")`
|
|
267
|
+
- `interpolateBracketParams(pathTemplate = "", params = {})`
|
|
268
|
+
- `isRelativeMenuLinkTarget(target = "")`
|
|
269
|
+
- `surfaceRequiresWorkspaceFromPlacementContext(contextValue = null, surfaceId = "")`
|
|
270
|
+
|
|
271
|
+
### `src/server/support/localLinkItemScaffolds.js`
|
|
272
|
+
Exports
|
|
273
|
+
- `LOCAL_LINK_ITEM_COMPONENT_DEFINITIONS`
|
|
274
|
+
- `LOCAL_LINK_ITEM_COMPONENT_TOKENS`
|
|
275
|
+
- `findLocalLinkItemDefinition(componentToken = "")`
|
|
276
|
+
- `readLocalLinkItemComponentSource(componentTokenOrDefinition = "")`
|
|
277
|
+
- `resolveLocalLinkItemTemplateAbsolutePath(componentTokenOrDefinition = "")`
|
|
278
|
+
Local functions
|
|
279
|
+
- `createLocalLinkItemDefinition({ token = "", componentFile = "", componentName = "", templateFile = "" } = {})`
|
|
280
|
+
- `resolveLocalLinkItemDefinition(componentTokenOrDefinition = "")`
|
|
281
|
+
|
|
282
|
+
### templates
|
|
283
|
+
|
|
284
|
+
### `templates/expected-existing/src/App.vue`
|
|
285
|
+
Exports
|
|
286
|
+
- None
|
|
287
|
+
|
|
288
|
+
### `templates/expected-existing/src/pages/home.vue`
|
|
289
|
+
Exports
|
|
290
|
+
- None
|
|
291
|
+
|
|
292
|
+
### `templates/expected-existing/src/pages/home/index.vue`
|
|
293
|
+
Exports
|
|
294
|
+
- None
|
|
295
|
+
|
|
296
|
+
### `templates/src/App.vue`
|
|
297
|
+
Exports
|
|
298
|
+
- None
|
|
299
|
+
|
|
300
|
+
### `templates/src/components/menus/MenuLinkItem.vue`
|
|
301
|
+
Exports
|
|
302
|
+
- None
|
|
303
|
+
|
|
304
|
+
### `templates/src/components/menus/SurfaceAwareMenuLinkItem.vue`
|
|
305
|
+
Exports
|
|
306
|
+
- None
|
|
307
|
+
|
|
308
|
+
### `templates/src/components/menus/TabLinkItem.vue`
|
|
309
|
+
Exports
|
|
310
|
+
- None
|
|
311
|
+
|
|
312
|
+
### `templates/src/components/ShellLayout.vue`
|
|
313
|
+
Exports
|
|
314
|
+
- None
|
|
315
|
+
|
|
316
|
+
### `templates/src/error.js`
|
|
317
|
+
Exports
|
|
318
|
+
- None
|
|
319
|
+
|
|
320
|
+
### `templates/src/pages/home.vue`
|
|
321
|
+
Exports
|
|
322
|
+
- None
|
|
323
|
+
|
|
324
|
+
### `templates/src/pages/home/index.vue`
|
|
325
|
+
Exports
|
|
326
|
+
- None
|
|
327
|
+
|
|
328
|
+
### `templates/src/pages/home/settings.vue`
|
|
329
|
+
Exports
|
|
330
|
+
- None
|
|
331
|
+
|
|
332
|
+
### `templates/src/pages/home/settings/general/index.vue`
|
|
333
|
+
Exports
|
|
334
|
+
- None
|
|
335
|
+
|
|
336
|
+
### `templates/src/pages/home/settings/index.vue`
|
|
337
|
+
Exports
|
|
338
|
+
- None
|
|
339
|
+
|
|
340
|
+
### `templates/src/placement.js`
|
|
341
|
+
Exports
|
|
342
|
+
- `addPlacement`
|
|
343
|
+
- `getPlacements()`
|
|
344
|
+
|
|
345
|
+
### root
|
|
346
|
+
|
|
347
|
+
### `package.descriptor.mjs`
|
|
348
|
+
Exports
|
|
349
|
+
- None
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# packages/storage-runtime
|
|
2
|
+
|
|
3
|
+
Generated by `npm run agent-docs:build`.
|
|
4
|
+
Do not edit manually.
|
|
5
|
+
|
|
6
|
+
Generated inventory for `packages/storage-runtime`.
|
|
7
|
+
Use this on demand; do not load the full index at startup.
|
|
8
|
+
|
|
9
|
+
## Scope
|
|
10
|
+
- Source: `packages/storage-runtime/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
+
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `LEGACY/`
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### src
|
|
16
|
+
|
|
17
|
+
### `src/client/index.js`
|
|
18
|
+
Exports
|
|
19
|
+
- None
|
|
20
|
+
|
|
21
|
+
### `src/server/providers/StorageRuntimeServiceProvider.js`
|
|
22
|
+
Exports
|
|
23
|
+
- `StorageRuntimeServiceProvider`
|
|
24
|
+
|
|
25
|
+
### `src/server/storageBinding.js`
|
|
26
|
+
Exports
|
|
27
|
+
- `STORAGE_DRIVER_ENV_KEY`
|
|
28
|
+
- `STORAGE_FS_BASE_PATH_ENV_KEY`
|
|
29
|
+
- `DEFAULT_STORAGE_DRIVER`
|
|
30
|
+
- `normalizeStorageDriver(value)`
|
|
31
|
+
- `createStorageBinding(scope, { rootDir = process.cwd() } = {})`
|
|
32
|
+
Local functions
|
|
33
|
+
- `resolveFsBasePath(fsBasePath, { rootDir } = {})`
|
|
34
|
+
|
|
35
|
+
### root
|
|
36
|
+
|
|
37
|
+
### `package.descriptor.mjs`
|
|
38
|
+
Exports
|
|
39
|
+
- None
|
|
@@ -0,0 +1,101 @@
|
|
|
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/`, `LEGACY/`
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### src
|
|
16
|
+
|
|
17
|
+
### `src/server/buildTemplateContext.js`
|
|
18
|
+
Exports
|
|
19
|
+
- `buildUiPageTemplateContext({ appRoot, targetFile = "", options = {} } = {})`
|
|
20
|
+
Local functions
|
|
21
|
+
- `resolveLinkToPropLine(linkTo = "")`
|
|
22
|
+
|
|
23
|
+
### `src/server/subcommands/addSubpages.js`
|
|
24
|
+
Exports
|
|
25
|
+
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
26
|
+
Local functions
|
|
27
|
+
- `resolveSubpagesOutletTarget(options = {}, pageTarget = {})`
|
|
28
|
+
|
|
29
|
+
### `src/server/subcommands/element.js`
|
|
30
|
+
Exports
|
|
31
|
+
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
32
|
+
Local functions
|
|
33
|
+
- `renderElementComponentSource(elementName = "")`
|
|
34
|
+
- `resolvePlacedElementSurface({ appRoot, placementTarget = {}, surface = "", context = "ui-generator placed-element" } = {})`
|
|
35
|
+
|
|
36
|
+
### `src/server/subcommands/outlet.js`
|
|
37
|
+
Exports
|
|
38
|
+
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
39
|
+
Local functions
|
|
40
|
+
- `hasShellOutletTarget(source = "", { target = "" } = {})`
|
|
41
|
+
- `applyScriptImports(source = "")`
|
|
42
|
+
- `createOutletBlock({ target = "" } = {})`
|
|
43
|
+
- `findLastTemplateCloseTag(source = "")`
|
|
44
|
+
- `applyOutletTemplateBlock(source = "", { target = "" } = {})`
|
|
45
|
+
|
|
46
|
+
### `src/server/subcommands/page.js`
|
|
47
|
+
Exports
|
|
48
|
+
- `runGeneratorSubcommand({ appRoot, subcommand = "", args = [], options = {}, dryRun = false } = {})`
|
|
49
|
+
Local functions
|
|
50
|
+
- `renderPageLinkPlacementBlock({ marker = "", context = {}, label = "", surface = "" } = {})`
|
|
51
|
+
|
|
52
|
+
### `src/server/subcommands/pageSupport.js`
|
|
53
|
+
Exports
|
|
54
|
+
- `DEFAULT_SUBPAGES_POSITION`
|
|
55
|
+
- `DEFAULT_COMPONENT_DIRECTORY`
|
|
56
|
+
- `SECTION_CONTAINER_SHELL_COMPONENT`
|
|
57
|
+
- `TAB_LINK_COMPONENT`
|
|
58
|
+
- `TAB_LINK_COMPONENT_TOKEN`
|
|
59
|
+
- `resolvePageTargetDetails`
|
|
60
|
+
- `resolveNearestParentSubpagesHost`
|
|
61
|
+
- `deriveDefaultSubpagesHost`
|
|
62
|
+
- `renderPlainPageSource(pageTitle = "")`
|
|
63
|
+
- `ensureSubpagesSupportScaffold({ appRoot, componentDirectory = DEFAULT_COMPONENT_DIRECTORY, dryRun = false } = {})`
|
|
64
|
+
- `applySubpagesUpgradeToPageSource(source = "", { target = "", title = "", subtitle = "", sectionContainerComponentImportPath = "/src/components/SectionContainerShell.vue", preserveExistingContent = true } = {})`
|
|
65
|
+
- `upgradePageFileToSubpages({ appRoot, targetFile, target = "", title = "", subtitle = "", componentDirectory = DEFAULT_COMPONENT_DIRECTORY, preserveExistingContent = true, dryRun = false } = {})`
|
|
66
|
+
Local functions
|
|
67
|
+
- `trimEdgeBlankLines(source = "")`
|
|
68
|
+
- `renderSectionContainerShellSource()`
|
|
69
|
+
- `findTemplateBlock(source = "")`
|
|
70
|
+
- `unwrapSectionContainerShell(source = "")`
|
|
71
|
+
- `stripExistingSubpagesStructure(source = "")`
|
|
72
|
+
- `renderSectionContainerOpenTag({ title = "", subtitle = "" } = {})`
|
|
73
|
+
- `renderSubpagesTemplate({ bodyContent = "", title = "", subtitle = "", target = "" } = {})`
|
|
74
|
+
- `applySubpagesScriptImports(source = "", { sectionContainerComponentImportPath = "" } = {})`
|
|
75
|
+
- `hasExistingSubpagesRouting(source = "")`
|
|
76
|
+
|
|
77
|
+
### `src/server/subcommands/support.js`
|
|
78
|
+
Exports
|
|
79
|
+
- `DEFAULT_COMPONENT_DIRECTORY`
|
|
80
|
+
- `MAIN_CLIENT_PROVIDER_FILE`
|
|
81
|
+
- `PLACEMENT_FILE`
|
|
82
|
+
- `toKebabCase(value = "")`
|
|
83
|
+
- `toPascalCase(value = "")`
|
|
84
|
+
- `requireOption(options = {}, optionName = "", { context = "ui-generator" } = {})`
|
|
85
|
+
- `requireSinglePositionalTargetFile(args = [], { context = "ui-generator" } = {})`
|
|
86
|
+
- `resolveOutletTargetId(rawTarget = "", { context = "ui-generator", optionName = "target" } = {})`
|
|
87
|
+
- `rejectUnexpectedOptions(options = {}, allowedOptionNames = [], { context = "ui-generator" } = {})`
|
|
88
|
+
- `resolvePathWithinApp(appRoot, targetPath, { context = "ui-generator" } = {})`
|
|
89
|
+
- `ensureTrailingNewline(value = "")`
|
|
90
|
+
- `appendBlockIfMarkerMissing(source = "", marker = "", block = "")`
|
|
91
|
+
- `insertImportIfMissing(source = "", importLine = "")`
|
|
92
|
+
- `insertBeforeClassDeclaration(source = "", line = "", { className = "", contextFile = "" } = {})`
|
|
93
|
+
- `findScriptBlock(source = "")`
|
|
94
|
+
- `parseTagAttributes(attributesSource = "")`
|
|
95
|
+
- `indentBlock(source = "", indent = "")`
|
|
96
|
+
|
|
97
|
+
### root
|
|
98
|
+
|
|
99
|
+
### `package.descriptor.mjs`
|
|
100
|
+
Exports
|
|
101
|
+
- None
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# packages/uploads-image-web
|
|
2
|
+
|
|
3
|
+
Generated by `npm run agent-docs:build`.
|
|
4
|
+
Do not edit manually.
|
|
5
|
+
|
|
6
|
+
Generated inventory for `packages/uploads-image-web`.
|
|
7
|
+
Use this on demand; do not load the full index at startup.
|
|
8
|
+
|
|
9
|
+
## Scope
|
|
10
|
+
- Source: `packages/uploads-image-web/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
+
- Excludes: `test/`, `tests/`, `__tests__/`, `*.test.*`, `*.spec.*`, `*.vitest.*`, `node_modules/`, `dist/`, `coverage/`, `docs/`, `LEGACY/`
|
|
12
|
+
|
|
13
|
+
## Sections
|
|
14
|
+
|
|
15
|
+
### src
|
|
16
|
+
|
|
17
|
+
### `src/client/composables/createImageUploadRuntime.js`
|
|
18
|
+
Exports
|
|
19
|
+
- `createImageUploadRuntime({ endpoint = "", method = "POST", fieldName = "file", withCredentials = true, maxNumberOfFiles = 1, allowedMimeTypes = DEFAULT_IMAGE_UPLOAD_ALLOWED_MIME_TYPES, maxUploadBytes = DEFAULT_IMAGE_UPLOAD_MAX_BYTES, note = "", dashboardOptions = {}, imageEditorOptions = {}, compressorOptions = {}, parseResponse = parseUploadResponse, resolveRequestHeaders = null, onSelectedFileNameChanged = null, onUploadSuccess = null, onInvalidResponse = null, onUploadError = null, onRestrictionFailed = null, onUnavailable = null, dependencies = {} } = {})`
|
|
20
|
+
Local functions
|
|
21
|
+
- `normalizeObject(value)`
|
|
22
|
+
|
|
23
|
+
### `src/client/composables/createManagedImageAssetRuntime.js`
|
|
24
|
+
Exports
|
|
25
|
+
- `createManagedImageAssetRuntime({ uploadEndpoint = "", deleteEndpoint = "", fieldName = "file", hasAsset = false, assetVersion = "", selectedFileName = null, resolveAssetUrl = null, resolveRequestHeaders = null, onUploadSuccess = null, onDeleteSuccess = null, resolveUploadErrorMessage = null, resolveDeleteErrorMessage = null, deleteRequest = null, reportFeedback = null, messages = {}, uploadOptions = {}, deleteMethod = "DELETE", source = "uploads-image-web.managed-image-asset", dependencies = {} } = {})`
|
|
26
|
+
- `DEFAULT_MANAGED_IMAGE_ASSET_MESSAGES`
|
|
27
|
+
Local functions
|
|
28
|
+
- `normalizeText(value)`
|
|
29
|
+
- `normalizeObject(value)`
|
|
30
|
+
- `normalizeWritableRef(value, fallbackValue = "")`
|
|
31
|
+
- `closeDashboard(uppy)`
|
|
32
|
+
- `readJsonResponse(response)`
|
|
33
|
+
- `resolveMessage(value, fallback)`
|
|
34
|
+
- `resolveUploadErrorFallback({ error, response, fallbackMessage })`
|
|
35
|
+
- `resolveDeleteErrorFallback({ error, body, fallbackMessage })`
|
|
36
|
+
- `normalizeDeleteResult(result)`
|
|
37
|
+
|
|
38
|
+
### `src/client/index.js`
|
|
39
|
+
Exports
|
|
40
|
+
- `createImageUploadRuntime`
|
|
41
|
+
- `createManagedImageAssetRuntime`
|
|
42
|
+
- `clientProviders`
|
|
43
|
+
|
|
44
|
+
### `src/client/styles/index.js`
|
|
45
|
+
Exports
|
|
46
|
+
- None
|
|
47
|
+
|
|
48
|
+
### `src/client/support/parseUploadResponse.js`
|
|
49
|
+
Exports
|
|
50
|
+
- `parseUploadResponse(xhr)`
|
|
51
|
+
|
|
52
|
+
### `src/client/support/stopImageEditor.js`
|
|
53
|
+
Exports
|
|
54
|
+
- `stopImageEditor(uppy)`
|
|
55
|
+
|
|
56
|
+
### `src/shared/imageUploadDefaults.js`
|
|
57
|
+
Exports
|
|
58
|
+
- `DEFAULT_IMAGE_COMPRESSOR_OPTIONS`
|
|
59
|
+
- `DEFAULT_IMAGE_DASHBOARD_OPTIONS`
|
|
60
|
+
- `DEFAULT_IMAGE_EDITOR_OPTIONS`
|
|
61
|
+
- `DEFAULT_IMAGE_UPLOAD_ALLOWED_MIME_TYPES`
|
|
62
|
+
- `DEFAULT_IMAGE_UPLOAD_MAX_BYTES`
|
|
63
|
+
|
|
64
|
+
### `src/shared/index.js`
|
|
65
|
+
Exports
|
|
66
|
+
- `DEFAULT_IMAGE_COMPRESSOR_OPTIONS`
|
|
67
|
+
- `DEFAULT_IMAGE_DASHBOARD_OPTIONS`
|
|
68
|
+
- `DEFAULT_IMAGE_EDITOR_OPTIONS`
|
|
69
|
+
- `DEFAULT_IMAGE_UPLOAD_ALLOWED_MIME_TYPES`
|
|
70
|
+
- `DEFAULT_IMAGE_UPLOAD_MAX_BYTES`
|
|
71
|
+
|
|
72
|
+
### root
|
|
73
|
+
|
|
74
|
+
### `package.descriptor.mjs`
|
|
75
|
+
Exports
|
|
76
|
+
- None
|