@jskit-ai/agent-docs 0.1.368 → 0.1.369
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-conversation.md +12 -2
- package/guide/agent/app-extras/assistant-voice.md +2 -1
- package/guide/agent/framework/client-features.md +40 -0
- package/guide/agent/framework/crud-form-actions.md +14 -0
- package/guide/agent/framework/data-access.md +4 -2
- package/guide/agent/framework/security-pass.md +4 -2
- package/guide/agent/framework/typed-features.md +41 -2
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/AGENTS.md +9 -7
- package/patterns/minimal-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/AGENTS.md +9 -7
- package/patterns/shell-foundation/example/package.json +5 -5
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/PATTERN_INDEX.md +40 -40
- package/reference/autogen/packages/assistant-runtime.md +1 -0
- package/reference/autogen/packages/http-web.md +22 -1
- package/reference/autogen/packages/kernel.md +4 -0
- package/reference/autogen/packages/resource-runtime.md +1 -0
- package/reference/autogen/tooling/config-eslint.md +7 -0
- package/reference/autogen/tooling/jskit-catalog.md +13 -7
- package/skills/jskit/references/client-features.md +40 -0
- package/skills/jskit/references/crud-form-actions.md +14 -0
- package/skills/jskit/references/data-access.md +4 -2
- package/skills/jskit/references/pattern-index.md +40 -40
- package/skills/jskit/references/patterns/app/minimal-foundation/example/AGENTS.md +9 -7
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/AGENTS.md +9 -7
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +5 -5
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
- package/skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md +7 -0
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
- package/skills/jskit/references/patterns/users/account-settings/PATTERN.md +12 -1
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +16 -2
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +33 -7
- package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +11 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
- package/skills/jskit/references/security-pass.md +4 -2
- package/skills/jskit/references/typed-features.md +41 -2
|
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
|
|
|
15
15
|
|
|
16
16
|
- Id: `app/minimal-foundation`
|
|
17
17
|
- Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
|
|
18
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.369`
|
|
19
19
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](../../skills/jskit/references/patterns/app/minimal-foundation/example/)
|
|
21
21
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
|
|
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
|
|
|
26
26
|
|
|
27
27
|
- Id: `app/shell-foundation`
|
|
28
28
|
- Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
|
|
29
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.369`
|
|
30
30
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](../../skills/jskit/references/patterns/app/shell-foundation/example/)
|
|
32
32
|
- Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
|
|
|
37
37
|
|
|
38
38
|
- Id: `assistant/assistant-surface`
|
|
39
39
|
- Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
|
|
40
|
-
- Owner: `@jskit-ai/assistant-runtime@0.2.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.103`
|
|
41
41
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](../../skills/jskit/references/patterns/assistant/assistant-surface/example/)
|
|
43
43
|
- Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
|
|
@@ -48,7 +48,7 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
|
|
|
48
48
|
|
|
49
49
|
- Id: `auth/accounts-hub`
|
|
50
50
|
- Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
51
|
-
- Owner: `@jskit-ai/oidc-issuer-core@0.1.
|
|
51
|
+
- Owner: `@jskit-ai/oidc-issuer-core@0.1.62`
|
|
52
52
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/accounts-hub/PATTERN.md)
|
|
53
53
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/accounts-hub/example/)
|
|
54
54
|
- Requires: `@jskit-ai/oidc-issuer-core`
|
|
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
|
|
|
59
59
|
|
|
60
60
|
- Id: `auth/auth-surface`
|
|
61
61
|
- Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
|
|
62
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
62
|
+
- Owner: `@jskit-ai/auth-web@0.2.66`
|
|
63
63
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
|
|
64
64
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/auth-surface/example/)
|
|
65
65
|
- Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
|
|
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
|
|
|
70
70
|
|
|
71
71
|
- Id: `auth/oidc-sign-in`
|
|
72
72
|
- Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
|
|
73
|
-
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.75`
|
|
74
74
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -81,7 +81,7 @@ Write the sign-in screen and the second-factor prompt in an application's own de
|
|
|
81
81
|
|
|
82
82
|
- Id: `auth/own-design-sign-in`
|
|
83
83
|
- Keywords: `auth`, `custom design`, `design system`, `login`, `own look`, `second factor`, `sign in`, `step up`, `style`, `without vuetify`
|
|
84
|
-
- Owner: `@jskit-ai/auth-web@0.2.
|
|
84
|
+
- Owner: `@jskit-ai/auth-web@0.2.66`
|
|
85
85
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md)
|
|
86
86
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/own-design-sign-in/example/)
|
|
87
87
|
- Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
|
|
@@ -92,7 +92,7 @@ Add Supabase authentication through normal npm composition, explicit environment
|
|
|
92
92
|
|
|
93
93
|
- Id: `auth/supabase-auth`
|
|
94
94
|
- Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
|
|
95
|
-
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.
|
|
95
|
+
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.44`
|
|
96
96
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/supabase-auth/PATTERN.md)
|
|
97
97
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/supabase-auth/example/)
|
|
98
98
|
- Requires: `@jskit-ai/auth-provider-supabase-core`
|
|
@@ -103,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
|
|
|
103
103
|
|
|
104
104
|
- Id: `connectors/ai-connections`
|
|
105
105
|
- Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
|
|
106
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
107
107
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/ai-connections/PATTERN.md)
|
|
108
108
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/ai-connections/example/)
|
|
109
109
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -114,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
|
|
|
114
114
|
|
|
115
115
|
- Id: `connectors/api-key-connection`
|
|
116
116
|
- Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
|
|
117
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
118
118
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/api-key-connection/PATTERN.md)
|
|
119
119
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/api-key-connection/example/)
|
|
120
120
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -125,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
|
|
|
125
125
|
|
|
126
126
|
- Id: `connectors/assistant-mcp`
|
|
127
127
|
- Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
|
|
128
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
129
129
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp/PATTERN.md)
|
|
130
130
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp/example/)
|
|
131
131
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -136,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
|
|
|
136
136
|
|
|
137
137
|
- Id: `connectors/assistant-mcp-oauth`
|
|
138
138
|
- Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
|
|
139
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
140
140
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/PATTERN.md)
|
|
141
141
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/example/)
|
|
142
142
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -147,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
|
|
|
147
147
|
|
|
148
148
|
- Id: `connectors/aws-storage-queries`
|
|
149
149
|
- Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
|
|
150
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
150
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
151
151
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/aws-storage-queries/PATTERN.md)
|
|
152
152
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/aws-storage-queries/example/)
|
|
153
153
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -158,7 +158,7 @@ Compose reusable connection libraries with portable configuration, application o
|
|
|
158
158
|
|
|
159
159
|
- Id: `connectors/calendar-cli`
|
|
160
160
|
- Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
|
|
161
|
-
- Owner: `@jskit-ai/connector-google-calendar@0.2.
|
|
161
|
+
- Owner: `@jskit-ai/connector-google-calendar@0.2.61`
|
|
162
162
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/calendar-cli/PATTERN.md)
|
|
163
163
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/calendar-cli/example/)
|
|
164
164
|
- Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
|
|
@@ -169,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
|
|
|
169
169
|
|
|
170
170
|
- Id: `connectors/event-delivery`
|
|
171
171
|
- Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
|
|
172
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
173
173
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/event-delivery/PATTERN.md)
|
|
174
174
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/event-delivery/example/)
|
|
175
175
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -180,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
|
|
|
180
180
|
|
|
181
181
|
- Id: `connectors/firebase-messaging`
|
|
182
182
|
- Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
|
|
183
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
184
184
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/firebase-messaging/PATTERN.md)
|
|
185
185
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/firebase-messaging/example/)
|
|
186
186
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -191,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
|
|
|
191
191
|
|
|
192
192
|
- Id: `connectors/google-ads-search`
|
|
193
193
|
- Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
|
|
194
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
195
195
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/google-ads-search/PATTERN.md)
|
|
196
196
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/google-ads-search/example/)
|
|
197
197
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -202,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
|
|
|
202
202
|
|
|
203
203
|
- Id: `connectors/oauth-connection`
|
|
204
204
|
- Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
|
|
205
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
206
206
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md)
|
|
207
207
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/oauth-connection/example/)
|
|
208
208
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -213,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
|
|
|
213
213
|
|
|
214
214
|
- Id: `connectors/paddle-catalogue`
|
|
215
215
|
- Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
|
|
216
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
217
217
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/paddle-catalogue/PATTERN.md)
|
|
218
218
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/paddle-catalogue/example/)
|
|
219
219
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -224,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
|
|
|
224
224
|
|
|
225
225
|
- Id: `connectors/public-image`
|
|
226
226
|
- Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
|
|
227
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
228
228
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/public-image/PATTERN.md)
|
|
229
229
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/public-image/example/)
|
|
230
230
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -235,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
|
|
|
235
235
|
|
|
236
236
|
- Id: `connectors/redshift-queries`
|
|
237
237
|
- Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
|
|
238
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
239
239
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md)
|
|
240
240
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/redshift-queries/example/)
|
|
241
241
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -246,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
|
|
|
246
246
|
|
|
247
247
|
- Id: `connectors/source-scanning`
|
|
248
248
|
- Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
|
|
249
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
249
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.64`
|
|
250
250
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/source-scanning/PATTERN.md)
|
|
251
251
|
- Examples: [example/](../../skills/jskit/references/patterns/connectors/source-scanning/example/)
|
|
252
252
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -257,7 +257,7 @@ Add a protected administration surface, settings shell, and semantic navigation
|
|
|
257
257
|
|
|
258
258
|
- Id: `console/console-surface`
|
|
259
259
|
- Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
|
|
260
|
-
- Owner: `@jskit-ai/console-web@0.1.
|
|
260
|
+
- Owner: `@jskit-ai/console-web@0.1.308`
|
|
261
261
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
|
|
262
262
|
- Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
|
|
263
263
|
- Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
|
|
@@ -268,7 +268,7 @@ Define an application table resource whose records belong to the current user, a
|
|
|
268
268
|
|
|
269
269
|
- Id: `crud/crud-contract`
|
|
270
270
|
- Keywords: `authenticated`, `crud`, `database`, `owner-scoped`, `resource`, `table`, `user`
|
|
271
|
-
- Owner: `@jskit-ai/resource-crud-core@0.1.
|
|
271
|
+
- Owner: `@jskit-ai/resource-crud-core@0.1.229`
|
|
272
272
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-contract/PATTERN.md)
|
|
273
273
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-contract/example/)
|
|
274
274
|
- Requires: `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -279,7 +279,7 @@ Build a complete application-owned CRUD server package from a migration, a table
|
|
|
279
279
|
|
|
280
280
|
- Id: `crud/crud-feature-package`
|
|
281
281
|
- Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
|
|
282
|
-
- Owner: `@jskit-ai/crud-core@0.2.
|
|
282
|
+
- Owner: `@jskit-ai/crud-core@0.2.62`
|
|
283
283
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md)
|
|
284
284
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-feature-package/example/)
|
|
285
285
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -290,7 +290,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
|
|
|
290
290
|
|
|
291
291
|
- Id: `crud/crud-screen-set`
|
|
292
292
|
- Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
|
|
293
|
-
- Owner: `@jskit-ai/http-web@0.2.
|
|
293
|
+
- Owner: `@jskit-ai/http-web@0.2.67`
|
|
294
294
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
|
|
295
295
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
|
|
296
296
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -301,7 +301,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
|
|
|
301
301
|
|
|
302
302
|
- Id: `database/mysql-application`
|
|
303
303
|
- Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
|
|
304
|
-
- Owner: `@jskit-ai/database-runtime-mysql@0.1.
|
|
304
|
+
- Owner: `@jskit-ai/database-runtime-mysql@0.1.291`
|
|
305
305
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/database/mysql-application/PATTERN.md)
|
|
306
306
|
- Examples: [example/](../../skills/jskit/references/patterns/database/mysql-application/example/)
|
|
307
307
|
- Requires: `@jskit-ai/database-runtime-mysql`
|
|
@@ -312,7 +312,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
|
|
|
312
312
|
|
|
313
313
|
- Id: `database/postgres-application`
|
|
314
314
|
- Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
|
|
315
|
-
- Owner: `@jskit-ai/database-runtime-postgres@0.1.
|
|
315
|
+
- Owner: `@jskit-ai/database-runtime-postgres@0.1.290`
|
|
316
316
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/database/postgres-application/PATTERN.md)
|
|
317
317
|
- Examples: [example/](../../skills/jskit/references/patterns/database/postgres-application/example/)
|
|
318
318
|
- Requires: `@jskit-ai/database-runtime-postgres`
|
|
@@ -323,7 +323,7 @@ Describe one database table once (its fields, columns, ownership, search and sor
|
|
|
323
323
|
|
|
324
324
|
- Id: `database/table-resource`
|
|
325
325
|
- Keywords: `database`, `defaultTo`, `defineTableResource`, `lockVersionField`, `lookup`, `ownership`, `owns`, `resource`, `system`, `table`, `workspace_or_shared`
|
|
326
|
-
- Owner: `@jskit-ai/resource-core@0.1.
|
|
326
|
+
- Owner: `@jskit-ai/resource-core@0.1.227`
|
|
327
327
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/database/table-resource/PATTERN.md)
|
|
328
328
|
- Examples: [example/](../../skills/jskit/references/patterns/database/table-resource/example/)
|
|
329
329
|
- Requires: `@jskit-ai/resource-core`
|
|
@@ -334,7 +334,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
|
|
|
334
334
|
|
|
335
335
|
- Id: `mobile/android-application`
|
|
336
336
|
- Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
|
|
337
|
-
- Owner: `@jskit-ai/mobile-capacitor@0.2.
|
|
337
|
+
- Owner: `@jskit-ai/mobile-capacitor@0.2.58`
|
|
338
338
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/mobile/android-application/PATTERN.md)
|
|
339
339
|
- Examples: [example/](../../skills/jskit/references/patterns/mobile/android-application/example/)
|
|
340
340
|
- Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
|
|
@@ -345,7 +345,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
|
|
|
345
345
|
|
|
346
346
|
- Id: `realtime/realtime-application`
|
|
347
347
|
- Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
|
|
348
|
-
- Owner: `@jskit-ai/realtime@0.2.
|
|
348
|
+
- Owner: `@jskit-ai/realtime@0.2.61`
|
|
349
349
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md)
|
|
350
350
|
- Examples: [example/](../../skills/jskit/references/patterns/realtime/realtime-application/example/)
|
|
351
351
|
- Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
|
|
@@ -356,7 +356,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
|
|
|
356
356
|
|
|
357
357
|
- Id: `rewards/google-rewarded`
|
|
358
358
|
- Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
|
|
359
|
-
- Owner: `@jskit-ai/rewarded-web@0.2.
|
|
359
|
+
- Owner: `@jskit-ai/rewarded-web@0.2.84`
|
|
360
360
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
|
|
361
361
|
- Examples: [example/](../../skills/jskit/references/patterns/rewards/google-rewarded/example/)
|
|
362
362
|
- Requires: `@jskit-ai/rewarded-web`
|
|
@@ -367,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
367
367
|
|
|
368
368
|
- Id: `server/feature-package`
|
|
369
369
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
370
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
370
|
+
- Owner: `@jskit-ai/agent-docs@0.1.369`
|
|
371
371
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
|
|
372
372
|
- Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
|
|
373
373
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -378,7 +378,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
|
|
|
378
378
|
|
|
379
379
|
- Id: `shell/application-shell`
|
|
380
380
|
- Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
|
|
381
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
381
|
+
- Owner: `@jskit-ai/shell-web@0.2.58`
|
|
382
382
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/shell/application-shell/PATTERN.md)
|
|
383
383
|
- Examples: [example/](../../skills/jskit/references/patterns/shell/application-shell/example/)
|
|
384
384
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -389,7 +389,7 @@ Add product routes and shell extensions through file routing, semantic placement
|
|
|
389
389
|
|
|
390
390
|
- Id: `ui/page-and-placement`
|
|
391
391
|
- Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
|
|
392
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
392
|
+
- Owner: `@jskit-ai/shell-web@0.2.58`
|
|
393
393
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/ui/page-and-placement/PATTERN.md)
|
|
394
394
|
- Examples: [example/](../../skills/jskit/references/patterns/ui/page-and-placement/example/)
|
|
395
395
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -400,10 +400,10 @@ Compose an account settings route and profile, preference, notification, and sig
|
|
|
400
400
|
|
|
401
401
|
- Id: `users/account-settings`
|
|
402
402
|
- Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
|
|
403
|
-
- Owner: `@jskit-ai/users-web@0.2.
|
|
403
|
+
- Owner: `@jskit-ai/users-web@0.2.92`
|
|
404
404
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
|
|
405
405
|
- Examples: [example/](../../skills/jskit/references/patterns/users/account-settings/example/)
|
|
406
|
-
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
406
|
+
- Requires: `@jskit-ai/http-web`, `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
407
407
|
|
|
408
408
|
## User administration server package
|
|
409
409
|
|
|
@@ -411,7 +411,7 @@ Expose user administration and workspace-scoped member operations through app-ow
|
|
|
411
411
|
|
|
412
412
|
- Id: `users/user-administration-server`
|
|
413
413
|
- Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
|
|
414
|
-
- Owner: `@jskit-ai/users-core@0.2.
|
|
414
|
+
- Owner: `@jskit-ai/users-core@0.2.73`
|
|
415
415
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/users/user-administration-server/PATTERN.md)
|
|
416
416
|
- Examples: [example/](../../skills/jskit/references/patterns/users/user-administration-server/example/)
|
|
417
417
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
|
|
@@ -422,7 +422,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
|
|
|
422
422
|
|
|
423
423
|
- Id: `workspaces/workspace-server`
|
|
424
424
|
- Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
|
|
425
|
-
- Owner: `@jskit-ai/workspaces-core@0.2.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-core@0.2.73`
|
|
426
426
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md)
|
|
427
427
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-server/example/)
|
|
428
428
|
- Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
|
|
@@ -433,7 +433,7 @@ Compose workspace selection, invitation, member administration, settings, and re
|
|
|
433
433
|
|
|
434
434
|
- Id: `workspaces/workspace-surfaces`
|
|
435
435
|
- Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
|
|
436
|
-
- Owner: `@jskit-ai/workspaces-web@0.2.
|
|
436
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.92`
|
|
437
437
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
438
438
|
- Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
|
|
439
439
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|
|
@@ -23,6 +23,7 @@ Exports
|
|
|
23
23
|
- None
|
|
24
24
|
Local functions
|
|
25
25
|
- `resolveFieldErrors(fieldKey)`
|
|
26
|
+
- `lookupLabel(field, value)`
|
|
26
27
|
- `resolveCancelTo(target = cancelTo.value)`
|
|
27
28
|
- `cancel()`
|
|
28
29
|
|
|
@@ -107,6 +108,12 @@ Local functions
|
|
|
107
108
|
Exports
|
|
108
109
|
- None
|
|
109
110
|
|
|
111
|
+
### `src/client/components/EditConflictNotice.vue`
|
|
112
|
+
Exports
|
|
113
|
+
- None
|
|
114
|
+
Local functions
|
|
115
|
+
- `message(item)`
|
|
116
|
+
|
|
110
117
|
### `src/client/components/SelectField.vue`
|
|
111
118
|
Exports
|
|
112
119
|
- None
|
|
@@ -169,6 +176,7 @@ Exports
|
|
|
169
176
|
- `createCrudFormModel(fields = [])`
|
|
170
177
|
- `buildCrudFormPayload(fields = [], model = {})`
|
|
171
178
|
- `applyCrudPayloadToForm(fields = [], model = {}, payload = {})`
|
|
179
|
+
- `describeCrudFieldValue(field, value, { yes, no, lookupLabel })`
|
|
172
180
|
- `resolveCrudRouteBoundFieldValues(fields = [], routeParams = {})`
|
|
173
181
|
- `applyCrudRouteBoundFieldValues(fields = [], target = {}, routeParams = {})`
|
|
174
182
|
- `resolveCrudFieldErrors(fieldErrors = {}, fieldKey = "")`
|
|
@@ -284,7 +292,7 @@ Exports
|
|
|
284
292
|
|
|
285
293
|
### `src/client/composables/runtime/useAddEditCore.js`
|
|
286
294
|
Exports
|
|
287
|
-
- `useAddEditCore({ model, resource, queryKey, canSave, fieldBag, feedback, input, mapLoadedToModel = ignoreLoadedPayload, buildRawPayload = emptyRecord, buildSavePayload = saveParsedInput, onSaveSuccess, validationFeedback = true, messages = {} })`
|
|
295
|
+
- `useAddEditCore({ // readable-check: allow required-collaborators - data: the form's record, empty for a form whose fields live elsewhere model = {}, resource, queryKey, canSave, fieldBag, feedback, input, mapLoadedToModel = ignoreLoadedPayload, buildRawPayload = emptyRecord, buildSavePayload = saveParsedInput, onSaveSuccess, validationFeedback = true, messages = {} })`
|
|
288
296
|
Local functions
|
|
289
297
|
- `saveParsedInput(parsedInput)`
|
|
290
298
|
|
|
@@ -319,6 +327,15 @@ Local functions
|
|
|
319
327
|
Exports
|
|
320
328
|
- `useUiFeedback({ initialType = "success", source = "http-web.ui-feedback", successChannel = "", warningChannel = "", errorChannel = "", dedupeWindowMs = 2000 } = {})`
|
|
321
329
|
|
|
330
|
+
### `src/client/composables/runtime/useUnsavedEdits.js`
|
|
331
|
+
Exports
|
|
332
|
+
- `useUnsavedEdits({ model })`
|
|
333
|
+
Local functions
|
|
334
|
+
- `isPlainRecord(value)`
|
|
335
|
+
- `copyValue(value)`
|
|
336
|
+
- `sameValue(left, right)`
|
|
337
|
+
- `copyFields(fields)`
|
|
338
|
+
|
|
322
339
|
### `src/client/composables/runtime/useViewCore.js`
|
|
323
340
|
Exports
|
|
324
341
|
- `useViewCore({ resource, model, canView, mapLoadedToModel, notFoundStatuses = [404], notFoundMessage = "" })`
|
|
@@ -573,6 +590,7 @@ Exports
|
|
|
573
590
|
- `CrudListFilterSurface`
|
|
574
591
|
- `CrudListScreen`
|
|
575
592
|
- `CrudViewScreen`
|
|
593
|
+
- `EditConflictNotice`
|
|
576
594
|
- `defineCrudListBulkActions`
|
|
577
595
|
- `defineCrudListFilters`
|
|
578
596
|
- `defineCrudListRowActions`
|
|
@@ -584,6 +602,7 @@ Exports
|
|
|
584
602
|
- `usePagedCollection`
|
|
585
603
|
- `useRealtimeQueryInvalidation`
|
|
586
604
|
- `useUiFeedback`
|
|
605
|
+
- `useUnsavedEdits`
|
|
587
606
|
- `useView`
|
|
588
607
|
- `configureHttpWebClient`
|
|
589
608
|
- `createHttpWebClient`
|
|
@@ -655,6 +674,8 @@ Exports
|
|
|
655
674
|
- `type RequestRecovery`
|
|
656
675
|
- `type RequestQueryParams`
|
|
657
676
|
- `type MapLoadedToModel`
|
|
677
|
+
- `type EditConflict`
|
|
678
|
+
- `type EditConflictItem`
|
|
658
679
|
- `type OperationRealtime`
|
|
659
680
|
- `type RealtimeQueryInvalidationOptions`
|
|
660
681
|
- `type OperationRealtimeOptions`
|
|
@@ -740,6 +740,7 @@ Local functions
|
|
|
740
740
|
|
|
741
741
|
### `server/actions/policies.js`
|
|
742
742
|
Exports
|
|
743
|
+
- `ensureActionAllowed(definition, context)`
|
|
743
744
|
- `ensureActionChannelAllowed(definition, context)`
|
|
744
745
|
- `ensureActionSurfaceAllowed(definition, context)`
|
|
745
746
|
- `ensureActionPermissionAllowed(definition, context)`
|
|
@@ -805,10 +806,12 @@ Local functions
|
|
|
805
806
|
### `server/http/directRequestActionExecutor.js`
|
|
806
807
|
Exports
|
|
807
808
|
- `attachDirectRequestActionExecutor({ actions, request, defaultChannel = "api", defaultSurfaceId = "" })`
|
|
809
|
+
- `authorizeRouteAction({ actions, request, actionId, defaultChannel = "api", defaultSurfaceId = "" })`
|
|
808
810
|
- `type ActionCatalogue`
|
|
809
811
|
Local functions
|
|
810
812
|
- `resolveSurface(request, explicitSurface, defaultSurfaceId)`
|
|
811
813
|
- `routeVisibility(request, payload)`
|
|
814
|
+
- `requestActionContext(request, source, { defaultChannel, defaultSurfaceId })`
|
|
812
815
|
|
|
813
816
|
### `server/http/errorHandling.js`
|
|
814
817
|
Exports
|
|
@@ -906,6 +909,7 @@ Local functions
|
|
|
906
909
|
- `buildRequestInput(request, { inputTransforms, transportInputTransforms })`
|
|
907
910
|
- `executeMiddlewareStack(middleware, request, reply, sending)`
|
|
908
911
|
- `wrapReplySend({ reply, request, route, outputTransform, transport })`
|
|
912
|
+
- `authorizesActionFirst(route)`
|
|
909
913
|
|
|
910
914
|
### `server/http/lib/routeSupport.js`
|
|
911
915
|
Exports
|
|
@@ -94,6 +94,7 @@ Exports
|
|
|
94
94
|
- `requireConditionValues(name, method, options, keys)`
|
|
95
95
|
- `requireDefinedFilters(name, caller, filters, path = "filters")`
|
|
96
96
|
- `requireOwners(name, ownership, context)`
|
|
97
|
+
- `requireOnlyIfValue(name, schemaStructure, field, value)`
|
|
97
98
|
- `requirePatchConditions(name, lockVersionField, attributes, options)`
|
|
98
99
|
- `requireReadParams(name, params)`
|
|
99
100
|
- `requireUpsertRows(name, rows, onConflict, idProperty)`
|
|
@@ -401,6 +401,13 @@ Exports
|
|
|
401
401
|
Local functions
|
|
402
402
|
- `positionalCollaboratorDefaults(fn, visitorKeys)`
|
|
403
403
|
|
|
404
|
+
### `plugin/rules/routeActionId.js`
|
|
405
|
+
Exports
|
|
406
|
+
- `routeActionId`
|
|
407
|
+
Local functions
|
|
408
|
+
- `isRouterRegister(callee)`
|
|
409
|
+
- `handlerActions(handler, sourceCode)`
|
|
410
|
+
|
|
404
411
|
### `plugin/rules/searchOnServer.js`
|
|
405
412
|
Exports
|
|
406
413
|
- `searchOnServer`
|
|
@@ -99,18 +99,11 @@ Local functions
|
|
|
99
99
|
|
|
100
100
|
### `scripts/data-access-files.mjs`
|
|
101
101
|
Exports
|
|
102
|
-
- `ROOT`
|
|
103
|
-
- `lintIgnores({ governed, config })`
|
|
104
102
|
- `sourceFiles(root)`
|
|
105
|
-
- `vueFiles(root)`
|
|
106
103
|
Local functions
|
|
107
104
|
- `skipsDirectory(name)`
|
|
108
105
|
- `walk(root, directory, files, pattern = SOURCE_FILE)`
|
|
109
106
|
- `frameworkPackages(root)`
|
|
110
|
-
- `appEslint(root)`
|
|
111
|
-
- `configIgnoredBy(root, { eslint, ESLint })`
|
|
112
|
-
- `lintConfigs(root, files)`
|
|
113
|
-
- `skippedPaths(files, skipped)`
|
|
114
107
|
|
|
115
108
|
### `scripts/data-access-source.mjs`
|
|
116
109
|
Exports
|
|
@@ -213,6 +206,18 @@ Local functions
|
|
|
213
206
|
- `runI18n({ subcommand, locale, projectRoot })`
|
|
214
207
|
- `readCatalog()`
|
|
215
208
|
|
|
209
|
+
### `scripts/lint-ignores.mjs`
|
|
210
|
+
Exports
|
|
211
|
+
- `ROOT`
|
|
212
|
+
- `formatSkipped(paths)`
|
|
213
|
+
- `lintIgnores({ governed, config })`
|
|
214
|
+
- `lintSkipped(root, files)`
|
|
215
|
+
Local functions
|
|
216
|
+
- `appEslint(root)`
|
|
217
|
+
- `configIgnoredBy(root, { eslint, ESLint })`
|
|
218
|
+
- `lintConfigs(root, files)`
|
|
219
|
+
- `skippedPaths(files, skipped)`
|
|
220
|
+
|
|
216
221
|
### `scripts/manifest-capabilities.mjs`
|
|
217
222
|
Exports
|
|
218
223
|
- `checkManifestCapabilities({ projectRoot, manifests })`
|
|
@@ -542,6 +547,7 @@ Local functions
|
|
|
542
547
|
- `workflowPairs(lines)`
|
|
543
548
|
- `checkWorkflow(file, lines, report)`
|
|
544
549
|
- `checkViteConfig(file, contents, report)`
|
|
550
|
+
- `kindOf(file)`
|
|
545
551
|
|
|
546
552
|
### `scripts/test-time-report.mjs`
|
|
547
553
|
Exports
|
|
@@ -565,6 +565,46 @@ const sites = useList({ resource: sitesResource, requestRecovery: true, requestR
|
|
|
565
565
|
const contacts = useCrudListScreen({ resource: contactsResource, requestRecoveryLabel: "Contacts" });
|
|
566
566
|
```
|
|
567
567
|
|
|
568
|
+
### Unsaved edits
|
|
569
|
+
|
|
570
|
+
**Fetched data reaches a form's fields only through its form runtime, which
|
|
571
|
+
keeps what the person changed and has not saved. `useAddEdit` and the CRUD
|
|
572
|
+
composables built on it write each read of the record, a save's answer and
|
|
573
|
+
`applyLoaded(payload)` through `mapLoadedToModel` into a copy of the form, and
|
|
574
|
+
the form takes each field the person has not changed. A form that reads its
|
|
575
|
+
record itself does the same with `useUnsavedEdits` from
|
|
576
|
+
`@jskit-ai/http-web/client/composables/useUnsavedEdits`. Its fields stay
|
|
577
|
+
editable while the record is read again, and it shows its `conflicts`, the
|
|
578
|
+
fields whose server value changed under the person's change, with
|
|
579
|
+
`EditConflictNotice` after its fields.**
|
|
580
|
+
|
|
581
|
+
Why: a record is read again on a realtime event, when the window regains focus
|
|
582
|
+
and on Retry; a write straight into the form replaced what the person had typed
|
|
583
|
+
and not saved, without a word, and a field locked during the read dropped what
|
|
584
|
+
they typed meanwhile.
|
|
585
|
+
|
|
586
|
+
```js
|
|
587
|
+
// good: the settings read hands each form its fields through the form's runtime
|
|
588
|
+
const profile = useAddEdit({ model: profileForm, mapLoadedToModel: writeProfileFields, readEnabled: false /* ... */ });
|
|
589
|
+
const settings = useView({ mapLoadedToModel: (_model, payload) => profile.applyLoaded(payload) /* ... */ });
|
|
590
|
+
|
|
591
|
+
// good: a form that reads its record itself
|
|
592
|
+
const edits = useUnsavedEdits({ model: form });
|
|
593
|
+
watch(() => query.data.value, (payload) => {
|
|
594
|
+
if (payload) edits.merge((target) => { target.prompt = payload.prompt; }, JSON.stringify(queryKey.value));
|
|
595
|
+
else edits.reset();
|
|
596
|
+
});
|
|
597
|
+
|
|
598
|
+
// bad: every read again overwrites what the person typed
|
|
599
|
+
watch(() => query.data.value, (payload) => { form.prompt = payload.prompt; });
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
```vue
|
|
603
|
+
<!-- good: the notice after the fields, the fields open while the record is read again -->
|
|
604
|
+
<v-text-field v-model="form.prompt" :readonly="!canSave || isSaving" />
|
|
605
|
+
<EditConflictNotice :items="conflictItems" @accept="edits.acceptServerValue" @keep="edits.keepOwnValue" />
|
|
606
|
+
```
|
|
607
|
+
|
|
568
608
|
## Helpers and sizes
|
|
569
609
|
|
|
570
610
|
### One helper per package
|
|
@@ -30,6 +30,20 @@ submissions remain blocked during both.
|
|
|
30
30
|
- `resetValidation()`: clears the attempt flag and field-error bag. It does not
|
|
31
31
|
change the form model. Route changes also reset validation
|
|
32
32
|
unless `clearOnRouteChange: false` is configured.
|
|
33
|
+
- `conflicts`: the fields whose server value changed while the person was
|
|
34
|
+
editing them, as `{ key, value }` with the server's value. A read of the
|
|
35
|
+
record again (a realtime event, the window regaining focus, Retry) keeps
|
|
36
|
+
every field the person changed and has not saved and takes the rest; a save's
|
|
37
|
+
answer replaces the fields it sent and keeps one changed while it ran.
|
|
38
|
+
`acceptServerValue(key)` takes the server's value and `keepOwnValue(key)`
|
|
39
|
+
keeps the person's until the server's changes again; saving the field, or
|
|
40
|
+
typing the server's value, ends its conflict too. `CrudAddEditScreen` shows
|
|
41
|
+
them after its fields. Fields stay editable while the record is read again
|
|
42
|
+
(`isFieldLocked` is the save and the person's permission); Save waits for
|
|
43
|
+
the read.
|
|
44
|
+
- `applyLoaded(payload)`: gives the form a record another read loaded, as the
|
|
45
|
+
account settings' one read of all its forms does, keeping unsaved edits the
|
|
46
|
+
same way.
|
|
33
47
|
|
|
34
48
|
For guidance beside a custom button, set `addEditOptions.validationFeedback`
|
|
35
49
|
to `false` on `useCrudAddEditScreen()` or `useCrudAddEdit()`. With `useAddEdit()`,
|
|
@@ -2177,5 +2177,7 @@ copy with the catalog.
|
|
|
2177
2177
|
`src/jobs/` with it), `server/`, `scripts/`, `bin/` and `config/`.
|
|
2178
2178
|
|
|
2179
2179
|
It reads none of what the app's ESLint config ignores outside server code,
|
|
2180
|
-
such as a vendored copy of old code kept beside the
|
|
2181
|
-
it either, and lists each directory and file it
|
|
2180
|
+
Vue components included, such as a vendored copy of old code kept beside the
|
|
2181
|
+
app, since no lint reads it either, and lists each directory and file it
|
|
2182
|
+
skipped; the [test-source rules](typed-features.md#test-source-rules)
|
|
2183
|
+
skip the same.
|