@jskit-ai/agent-docs 0.1.319 → 0.1.320
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-setup/authentication.md +9 -4
- package/guide/agent/framework/data-access.md +165 -13
- package/guide/agent/framework/typed-features.md +51 -9
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/package.json +5 -5
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/reference/autogen/KERNEL_MAP.md +4 -2
- package/reference/autogen/PATTERN_INDEX.md +38 -38
- package/reference/autogen/packages/auth-web.md +2 -0
- package/reference/autogen/packages/kernel.md +7 -4
- package/reference/autogen/packages/resource-runtime.md +6 -1
- package/skills/jskit/references/data-access.md +165 -13
- package/skills/jskit/references/heuristics/INDEX.md +2 -2
- package/skills/jskit/references/heuristics/row-policies.md +3 -0
- package/skills/jskit/references/heuristics/typed-features.md +2 -0
- package/skills/jskit/references/pattern-index.md +38 -38
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +4 -4
- 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 +4 -4
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
- 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/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/typed-features.md +51 -9
|
@@ -430,10 +430,13 @@ request, `{ kind: "anonymous" }` for one by no one, and `{ kind: "system" }` or
|
|
|
430
430
|
`reason`, for background work. A job names a user only as `actorId`, the
|
|
431
431
|
person it works for ([below](#background-work)), so never read a missing actor
|
|
432
432
|
as an anonymous request. The owner's policy also receives the capabilities its
|
|
433
|
-
feature requires (and its optional ones), by local name, as
|
|
434
|
-
same ones its setup receives: a policy that needs another
|
|
435
|
-
declares that feature's capability in `requires` and reads
|
|
436
|
-
|
|
433
|
+
feature requires (and its optional and late ones), by local name, as
|
|
434
|
+
`requires`, the same ones its setup receives: a policy that needs another
|
|
435
|
+
feature's answer declares that feature's capability in `requires` and reads
|
|
436
|
+
`requires.<name>`. When that feature requires the policy's own feature, the
|
|
437
|
+
two form a ring; the policy's feature declares the capability `late` instead
|
|
438
|
+
([Capability cycles](#capability-cycles)). A policy runs on every read, so
|
|
439
|
+
what it asks there must be cheap.
|
|
437
440
|
|
|
438
441
|
```js
|
|
439
442
|
// good: one predicate on the row being read
|
|
@@ -468,7 +471,12 @@ subquery to the row with `whereExists`: over `ownTable(name)`, which may join
|
|
|
468
471
|
the owner's other tables, or over another owner's join source. A policy is told
|
|
469
472
|
the call's `options`, `{ context, trx }` as the caller passed them, and passes
|
|
470
473
|
them on unchanged to `joinSource({ alias }, options)`, so the join source reads
|
|
471
|
-
in the caller's scope and transaction; never build them by hand.
|
|
474
|
+
in the caller's scope and transaction; never build them by hand. `options.trx`
|
|
475
|
+
names the transaction the read runs in: the caller's, or, for a write whose
|
|
476
|
+
caller named none, the one json-rest-api opens for it, which the lookup before
|
|
477
|
+
a patch and the read-back after a create run in. So an owner API the policy
|
|
478
|
+
calls with its `options` (a join source, or a handle read such as a role check)
|
|
479
|
+
joins that transaction and never waits for a second connection.
|
|
472
480
|
|
|
473
481
|
```js
|
|
474
482
|
// good: a member of the document's team sees it, through the teams owner's join source
|
|
@@ -490,6 +498,45 @@ function teamDocumentsPolicy({ query, caller, column }) {
|
|
|
490
498
|
}
|
|
491
499
|
```
|
|
492
500
|
|
|
501
|
+
A policy whose rule reads another owner's rows as stored (a document is
|
|
502
|
+
visible while its folder is open, whether or not the reader may see the folder
|
|
503
|
+
itself) reads them through that owner's API, never through a context it builds.
|
|
504
|
+
The owner answers a join source of its rows under its own `systemScope`,
|
|
505
|
+
narrowed to the call's workspace, so the rows stay that workspace's and `jskit
|
|
506
|
+
check` lists the reason. The policy passes its `options` on unchanged, as
|
|
507
|
+
always, and returns early for background work, whose own context already
|
|
508
|
+
decides. It still only narrows: the stored rows feed its predicate and are
|
|
509
|
+
never answered, so the reader sees no folder it could not see before.
|
|
510
|
+
|
|
511
|
+
```js
|
|
512
|
+
// good: the folders' owner API, in the folders feature, whose setup receives systemContext
|
|
513
|
+
function storedSource({ alias }, options) {
|
|
514
|
+
const context = systemContext("the documents' row policy reads each folder's status as stored")
|
|
515
|
+
.forWorkspace(resolveWorkspaceScopeValue(options.context));
|
|
516
|
+
return folders.joinSource({ alias }, { ...passedOn(options), context });
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// good: the documents' policy, which requires the folders' owner API
|
|
520
|
+
async function openFolderDocuments({ query, caller, column, options, requires }) {
|
|
521
|
+
if (caller.kind !== "user") {
|
|
522
|
+
return caller.kind !== "anonymous";
|
|
523
|
+
}
|
|
524
|
+
const folder = await requires.folders.storedSource({ alias: "f" }, options);
|
|
525
|
+
query.whereExists(folder.query.select(1).whereColumn(folder.column("id"), column("folderId")).where(folder.column("status"), "open"));
|
|
526
|
+
return true;
|
|
527
|
+
}
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
A policy never walks a tree with a recursive query (`withRecursive`). No builder
|
|
531
|
+
it holds takes a common table expression, and a walk that starts at the row
|
|
532
|
+
being read does not compile on MariaDB, which lets no outer column into a
|
|
533
|
+
recursive query's first member; a walk that starts elsewhere (the reader's
|
|
534
|
+
grants, walking down) reads the reader's whole subtree on every read. Keep the
|
|
535
|
+
tree's ancestry stored instead: its owner writes a closure table (each node's
|
|
536
|
+
ancestors, one row each, with their depth) in the same transaction that adds
|
|
537
|
+
or moves a node, and the policy ties one `whereExists` over that table's join
|
|
538
|
+
source to the row, on indexed columns, on every database.
|
|
539
|
+
|
|
493
540
|
A rule that depends on the caller's role reads `context.permissions` with
|
|
494
541
|
`hasPermission(context.permissions, "bookings.view-all")` from
|
|
495
542
|
`@jskit-ai/kernel/shared/support`, never with `includes()`. A role may hold
|
|
@@ -722,6 +769,21 @@ or a counter row taken with `lock(id)`. Every lock needs a transaction; SQLite
|
|
|
722
769
|
runs one transaction at a time, so there is no row lock to take. Take locks in
|
|
723
770
|
one order on every path, a parent before its children.
|
|
724
771
|
|
|
772
|
+
`lockWhere` takes that order from `sort` too: `lockWhere({ batchId }, {
|
|
773
|
+
...txOptions, sort: ["moduleKey"] })` locks the rows in `sort` order
|
|
774
|
+
(fields, `"-moduleKey"` for descending), then by id, and answers them in it,
|
|
775
|
+
so two paths that lock overlapping rows wait for each other instead of
|
|
776
|
+
deadlocking. `limit` locks only the first rows of that order, by id without a
|
|
777
|
+
`sort`: a check whether any row matches, or the lock of one row by a unique key
|
|
778
|
+
other than its id, takes `limit: 1`, one statement as `lock(id)` is
|
|
779
|
+
(`workspaces.memberships.lockByWorkspaceIdAndUserId` locks its membership so).
|
|
780
|
+
Without either, `lockWhere` locks every match in id order (on MySQL and MariaDB
|
|
781
|
+
in the order of the index it reads, below), at most 1,000 (more throw), and
|
|
782
|
+
PostgreSQL reads them once more under its locks, for a row that started to
|
|
783
|
+
match while it waited; with a `limit` it stops once it holds that many. A
|
|
784
|
+
`limit` outside 1 to 1,000, or a `sort` on no stored field, is refused before
|
|
785
|
+
any statement.
|
|
786
|
+
|
|
725
787
|
A lock answers the rows it locks, with the fields `fields` names. Its
|
|
726
788
|
`include` names belongs-to relationships (`include: ["customer"]`, or
|
|
727
789
|
`"batch.yard"` a level further): after its own rows, the lock locks the
|
|
@@ -767,7 +829,12 @@ from a request: every id listed is locked, a hidden one too, before it is left
|
|
|
767
829
|
out. And `lockWhere` needs an index that starts with the ownership columns (on
|
|
768
830
|
a table with no owners, with a column the filters compare); without one it
|
|
769
831
|
refuses with `RestApiBulkWriteUnsupportedError` naming the index to add in a
|
|
770
|
-
migration.
|
|
832
|
+
migration. With `sort` or `limit` the index must also read the rows in the
|
|
833
|
+
lock's order, since the database locks them in the order it reads them: after
|
|
834
|
+
the ownership columns and the columns the filters fix to one value, it holds
|
|
835
|
+
the sort's columns, ascending, and then nothing but the id, and the sort's
|
|
836
|
+
fields go one way (all ascending or all descending). A unique key the filters
|
|
837
|
+
fix whole, as a membership's workspace and user are, needs nothing more.
|
|
771
838
|
|
|
772
839
|
A worker taking the next job uses `claim({ filters, sort, take }, txOptions)`,
|
|
773
840
|
which skips rows another worker holds. A record that serializes work on a key
|
|
@@ -822,8 +889,15 @@ await memberships.patch(input.membershipId, { lastFiledAt: new Date() }, txOptio
|
|
|
822
889
|
```
|
|
823
890
|
|
|
824
891
|
Locks stay on the owner's handle and its owner API. A `scopedQuery()` or
|
|
825
|
-
`joinSource()` builder takes no lock,
|
|
826
|
-
|
|
892
|
+
`joinSource()` builder takes no lock, not even a shared one: PostgreSQL's `FOR
|
|
893
|
+
SHARE OF` an alias would lock only that source's rows, but MariaDB has no `FOR
|
|
894
|
+
SHARE OF` at all, and its `LOCK IN SHARE MODE` covers every row the statement
|
|
895
|
+
examines, in every table. A report that needs another
|
|
896
|
+
owner's rows unchanged until it commits first locks them through that owner's
|
|
897
|
+
handle or owner API with `lockMode: "share"` (by a unique key with `limit:
|
|
898
|
+
1`), then reads its join. A row policy is not told a read's lock mode, and
|
|
899
|
+
never takes a lock: it says which rows a caller may see, the same for every
|
|
900
|
+
read, and the lock call it narrows takes its own mode. Rows
|
|
827
901
|
of several owners are never locked in one statement over a join, which on
|
|
828
902
|
MySQL and MariaDB locks every joined row the read examines: lock each owner's
|
|
829
903
|
rows with its own `lock`, `lockMany` or `lockWhere`, the owners in one fixed
|
|
@@ -1243,8 +1317,11 @@ const SettlementFeature = defineFeature({
|
|
|
1243
1317
|
another feature's CRUD repository too (see [Layer
|
|
1244
1318
|
1](#layer-1-the-table-resource)). Never unhide it for the job.
|
|
1245
1319
|
- A request uses its own context. The exceptions are a console report
|
|
1246
|
-
behind a console permission, with bounded output,
|
|
1247
|
-
row it has proved it reaches ([Layer 1](#layer-1-the-table-resource))
|
|
1320
|
+
behind a console permission, with bounded output, the write of a shared
|
|
1321
|
+
row it has proved it reaches ([Layer 1](#layer-1-the-table-resource)), and
|
|
1322
|
+
an owner API that answers its own rows as stored to another owner's row
|
|
1323
|
+
policy, narrowed to the call's workspace ([Layer
|
|
1324
|
+
1](#layer-1-the-table-resource)).
|
|
1248
1325
|
- `jskit check` lists every system scope and every `systemContext` call with
|
|
1249
1326
|
its reason, read from the string literal at the call: a reason kept in a
|
|
1250
1327
|
constant reads as none.
|
|
@@ -1420,7 +1497,8 @@ without it.
|
|
|
1420
1497
|
|
|
1421
1498
|
A capability cycle is a ring of requires: feature A requires a capability that
|
|
1422
1499
|
feature B provides while B, directly or through others, requires one that A
|
|
1423
|
-
provides. An `optional` require closes a ring as a required one does
|
|
1500
|
+
provides. An `optional` require closes a ring as a required one does; a
|
|
1501
|
+
`late` one does not ([below](#late-requirements)). The
|
|
1424
1502
|
kernel sets features up in the order their requires give, so it cannot start a
|
|
1425
1503
|
ring: boot fails before any setup, naming it,
|
|
1426
1504
|
`Provider capability cycle detected: children -> parents -> children.`
|
|
@@ -1444,10 +1522,74 @@ Keep every require pointing one way:
|
|
|
1444
1522
|
definitions, move those table resources into a package of their own that
|
|
1445
1523
|
holds only shared definitions and depends on neither.
|
|
1446
1524
|
- Never break a ring with a value handed over later (a setter, a capability
|
|
1447
|
-
looked up at call time): a call's destination then depends on what
|
|
1448
|
-
before. A setter kept until the split carries typed features' `cycle:`
|
|
1525
|
+
looked up by name at call time): a call's destination then depends on what
|
|
1526
|
+
ran before. A setter kept until the split carries typed features' `cycle:`
|
|
1449
1527
|
exception ([Optional tokens](typed-features.md#optional-tokens)).
|
|
1450
1528
|
|
|
1529
|
+
### Late requirements
|
|
1530
|
+
|
|
1531
|
+
A ring that only a read at call time closes, most often a row policy's, and
|
|
1532
|
+
that you cannot or do not want to split, is broken with a late requirement:
|
|
1533
|
+
the kernel's declared alternative to a setter. An audit history whose row
|
|
1534
|
+
policy narrows through the evidence files' owner, while the evidence owner
|
|
1535
|
+
records each change in the audit history, is one: the evidence feature
|
|
1536
|
+
requires `audit.history` as usual, and the audit feature declares
|
|
1537
|
+
`late: { evidence: "evidence.files" }`.
|
|
1538
|
+
|
|
1539
|
+
- A late requirement takes no part in the order features start in, nor in the
|
|
1540
|
+
cycle check, so the ring starts. The kernel resolves it once, after every
|
|
1541
|
+
feature's `boot()`: its destination is declared, so it never depends on what
|
|
1542
|
+
ran before.
|
|
1543
|
+
- It is read at call time only: in a row policy (`requires.evidence`), a
|
|
1544
|
+
request handler, or a method setup builds that runs later, which keeps the
|
|
1545
|
+
capabilities object and reads the name when it runs. A read before every
|
|
1546
|
+
feature has booted (in setup or boot, or a late name destructured in setup's
|
|
1547
|
+
parameters) throws `Provider "audit" read its late requirement "evidence"
|
|
1548
|
+
(capability "evidence.files") before every provider booted: ...`, which
|
|
1549
|
+
says where it may be read. A shutdown reads it only after a start that
|
|
1550
|
+
finished.
|
|
1551
|
+
- It is required: when no feature or runtime input provides it, start fails at
|
|
1552
|
+
the end of boot, `Provider "audit" late-requires missing capability
|
|
1553
|
+
"evidence.files": no provider or runtime input provides it.`, and stops what
|
|
1554
|
+
started, as any startup failure does. The package manifest lists it under
|
|
1555
|
+
`requires`.
|
|
1556
|
+
- A feature never late-requires a capability it provides, nor one it already
|
|
1557
|
+
requires or takes as optional.
|
|
1558
|
+
- The one-way rules above still come first: split the ring when you can. A
|
|
1559
|
+
ring that both features' setup or boot needs cannot be broken this way,
|
|
1560
|
+
since a late requirement is never read there.
|
|
1561
|
+
|
|
1562
|
+
```js
|
|
1563
|
+
// good: the audit history's row policy reads the evidence owner's join source at call time
|
|
1564
|
+
const AuditFeature = defineFeature({
|
|
1565
|
+
id: "audit",
|
|
1566
|
+
owns: [{ resource: auditEntryResource, rowPolicy: auditEntriesPolicy }],
|
|
1567
|
+
late: {
|
|
1568
|
+
evidence: "evidence.files"
|
|
1569
|
+
},
|
|
1570
|
+
provides: {
|
|
1571
|
+
history: "audit.history"
|
|
1572
|
+
},
|
|
1573
|
+
setup({ resources }) {
|
|
1574
|
+
return { history: createAuditHistory({ entries: resources.auditEntries }) };
|
|
1575
|
+
}
|
|
1576
|
+
});
|
|
1577
|
+
|
|
1578
|
+
async function auditEntriesPolicy({ query, caller, column, options, requires }) {
|
|
1579
|
+
if (caller.kind !== "user") {
|
|
1580
|
+
return caller.kind !== "anonymous";
|
|
1581
|
+
}
|
|
1582
|
+
const file = await requires.evidence.joinSource({ alias: "ef" }, options);
|
|
1583
|
+
query.whereExists(file.query.select(1).whereColumn(file.column("id"), column("evidenceFileId")));
|
|
1584
|
+
return true;
|
|
1585
|
+
}
|
|
1586
|
+
|
|
1587
|
+
// bad: the late name destructured in setup, before every feature has booted; boot fails
|
|
1588
|
+
setup({ resources, evidence }) {
|
|
1589
|
+
return { history: createAuditHistory({ entries: resources.auditEntries, evidence }) };
|
|
1590
|
+
}
|
|
1591
|
+
```
|
|
1592
|
+
|
|
1451
1593
|
## Check and judge
|
|
1452
1594
|
|
|
1453
1595
|
Before calling data work done, apply the
|
|
@@ -1604,6 +1746,16 @@ server code is server code. Neither `eslint-disable`, an inline
|
|
|
1604
1746
|
|
|
1605
1747
|
### Exceptions
|
|
1606
1748
|
|
|
1749
|
+
A data-access rule that refuses a statement points at a missing API, never at a
|
|
1750
|
+
statement to excuse: no rule takes a per-statement exception. When no owner
|
|
1751
|
+
API does what the work needs (locks in a given order, one row by a unique key,
|
|
1752
|
+
a check the row policy cannot write), ask for one: from the feature that owns
|
|
1753
|
+
the table, or from JSKIT for its own packages and for the handle itself. Only
|
|
1754
|
+
statements that are data access themselves go under an exception, in a file
|
|
1755
|
+
of their own declared as infrastructure (below), kept small and holding only
|
|
1756
|
+
those statements, so the exception hides nothing else: a repository, a row
|
|
1757
|
+
policy or a report never moves into such a file to pass lint.
|
|
1758
|
+
|
|
1607
1759
|
A module whose job is data access itself (a database runtime, a migration
|
|
1608
1760
|
runner, test-database setup, an operator's data import or cutover tool, a
|
|
1609
1761
|
database console that runs the person's own SQL) may opt out of
|
|
@@ -44,9 +44,9 @@ How to use it:
|
|
|
44
44
|
- [table-resource-fields.md](./table-resource-fields.md)
|
|
45
45
|
- data access, database table, knex, raw, SQL, repository, bulk, batch, many rows, set write, upsert, lock, claim, totals, report, aggregate, newest per group, transaction, `trx`, background job, system scope, `systemContext`, owner, owns, owner API, another feature's table, scope test, `expectFlatQueries`, `requireTestDatabase`, `jskit/no-direct-knex`, `jskit/no-transaction-reader`, `jskit/no-hand-scope`, `jskit/sql-literal`, `jskit/knex-reason`, `infrastructure:`
|
|
46
46
|
- [data-access.md](./data-access.md)
|
|
47
|
-
- row policy, permission filtering, visibility before pagination, recursive CTE, descendants, package cycle, `RowPolicyPlugin`, row policy cost, slow writes through a policy, access check per history item
|
|
47
|
+
- row policy, permission filtering, visibility before pagination, recursive CTE, descendants, package cycle, capability cycle a row policy closes, `late`, `RowPolicyPlugin`, row policy cost, slow writes through a policy, access check per history item
|
|
48
48
|
- [row-policies.md](./row-policies.md)
|
|
49
|
-
- typed features, server feature, provider, service, repository, collaborator, `typeof`, `= null`, `setProvider`, `register`, `input || {}`, `payload = {}`, `async execute`, `Object.freeze`, `requires`, `optional`, `types.js`, `RuntimeKnex`, `silentLogger`, `create<Name>Actions`, `ActionSpecifications`, request context, `handle.query`, `queryAll`, every row, list stops at one page, `jskit/*` lint findings, `readable-check: allow`, `optional operation:`, `process.env`, `AppError` code, `Object.assign(new Error`, `idempotency`, `…ForTests` export, file or function size, read per row, N+1 queries, slow endpoint, query budget, realistic row counts, slow tests, raised timeout, `migrate.latest()` in tests, test database snapshot, `--test-concurrency=1`, `node --test`, `jskit test`, `testConcurrency()`, `V64_TEST_CONCURRENCY`, Playwright `workers`, Vitest `maxWorkers`, tests one file at a time, test files colliding in parallel, `jskit-test: alone`, `test/*` findings of `jskit check`
|
|
49
|
+
- typed features, server feature, provider, service, repository, collaborator, `typeof`, `= null`, `setProvider`, `register`, `input || {}`, `payload = {}`, `async execute`, `Object.freeze`, `requires`, `optional`, `late`, `Provider capability cycle detected`, `types.js`, `RuntimeKnex`, `silentLogger`, `create<Name>Actions`, `ActionSpecifications`, request context, `handle.query`, `queryAll`, every row, list stops at one page, `jskit/*` lint findings, `readable-check: allow`, `optional operation:`, `process.env`, `AppError` code, `Object.assign(new Error`, `idempotency`, `…ForTests` export, file or function size, read per row, N+1 queries, slow endpoint, query budget, realistic row counts, slow tests, raised timeout, `migrate.latest()` in tests, test database snapshot, `--test-concurrency=1`, `node --test`, `jskit test`, `testConcurrency()`, `V64_TEST_CONCURRENCY`, Playwright `workers`, Vitest `maxWorkers`, tests one file at a time, test files colliding in parallel, `jskit-test: alone`, `test/*` findings of `jskit check`
|
|
50
50
|
- [typed-features.md](./typed-features.md)
|
|
51
51
|
- client features, composable, `use<Name>`, Vue component, client provider, props, emits, `inject`, `provide`, `ref`, `reactive`, `watch`, `addEventListener`, `setInterval`, module state, `Object.freeze` on a composable, `?.()` in a template, `jskit/typed-inject`, `jskit/collaborator-props`, `jskit/fixed-result-shape`, `jskit/released-listeners`, `jskit/no-module-state`, `jskit/no-frozen-vue-state`, `clientFeaturesConfig`, `shared resource:`
|
|
52
52
|
- [client-features.md](./client-features.md)
|
|
@@ -38,6 +38,8 @@ Package composition:
|
|
|
38
38
|
- a package that narrows visibility further depends on the resource owner and calls `resources.contributeRowPolicy(name, policy)` on the handles its own `owns` gave it; a contribution is ANDed with the owner's policy inside its own group, so it can only narrow
|
|
39
39
|
- a contribution never grants visibility: wider visibility (shared rows, grants another package records) is a rule in the owner's own policy over its own tables, and a contribution narrows every read of the table, every feature's included, so a rule for one surface is an owner API method instead
|
|
40
40
|
- the resource owner does not import contributing packages
|
|
41
|
+
- a policy that narrows through another owner's join source, when that owner requires the policy's own feature, declares the owner's capability `late` and reads `requires.<name>` at call time: the kernel resolves it once every feature has booted ([Late requirements](../data-access.md#late-requirements))
|
|
42
|
+
- a policy whose rule reads another owner's rows as stored, whether or not the reader may see them, reads them through that owner's API, which answers a join source under its own `systemScope` narrowed to the call's workspace; never through a context the policy builds
|
|
41
43
|
- do not use module-global mutable registries
|
|
42
44
|
|
|
43
45
|
Example, "your rooms or shared rooms":
|
|
@@ -68,6 +70,7 @@ Cost:
|
|
|
68
70
|
- never load the subject's whole history (every source, notice or grant they were ever linked to) to build an `IN` list, and never call another owner's access check per item of it; another package's restriction is a predicate contribution, and another package's grant is a predicate in the owner's policy over facts the owner keeps
|
|
69
71
|
- the policy runs on every single-record read, including the read-back after a handle's `create()` and `patch()` (`returning: "record"`, their default) and the lookup before `patch` and `delete`, so a write pays it once per row it writes; the many-row writes check access once per statement
|
|
70
72
|
- a write decides access once, inside its transaction; a batch write that would pay an expensive read-back per row follows the data access guide's [Layer 3](../data-access.md#layer-3-many-rows-at-once)
|
|
73
|
+
- a hierarchy (descendants, ancestors) is read through a closure table the tree's owner keeps, with one `whereExists` correlated with the row: no builder a policy holds takes a recursive CTE, and MariaDB compiles none that starts at the row being read
|
|
71
74
|
|
|
72
75
|
Child-resource rules:
|
|
73
76
|
|
|
@@ -29,6 +29,8 @@ ends with the same link.
|
|
|
29
29
|
- [Environment from the caller](../typed-features.md#environment-from-the-caller)
|
|
30
30
|
- `setProvider`, `attach*`, any `set<Name>()` that fills a slot, `X | null` below the hook, `deferred until boot: <reason>` (`jskit/no-slot-setter`)
|
|
31
31
|
- [Optional tokens](../typed-features.md#optional-tokens)
|
|
32
|
+
- `Provider capability cycle detected` that only a row policy or another call-time read closes, `late:`, `read its late requirement ... before every provider booted`, `late-requires missing capability`
|
|
33
|
+
- [Late requirements](../typed-features.md#late-requirements)
|
|
32
34
|
- a module-level `register<Name>()`, `let x` or a `WeakMap` filled in `boot()` (`jskit/no-module-registry`)
|
|
33
35
|
- [Owned state](../typed-features.md#owned-state)
|
|
34
36
|
- `shutdown()` with `?.()` or `?? []`
|
|
@@ -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.320`
|
|
19
19
|
- Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
|
|
20
20
|
- Examples: [example/](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.320`
|
|
30
30
|
- Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
|
|
31
31
|
- Examples: [example/](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.60`
|
|
41
41
|
- Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
|
|
42
42
|
- Examples: [example/](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.35`
|
|
52
52
|
- Read: [PATTERN.md](patterns/auth/accounts-hub/PATTERN.md)
|
|
53
53
|
- Examples: [example/](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.36`
|
|
63
63
|
- Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
|
|
64
64
|
- Examples: [example/](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.40`
|
|
74
74
|
- Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
|
|
75
75
|
- Examples: [example/](patterns/auth/oidc-sign-in/example/)
|
|
76
76
|
- Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
|
|
@@ -81,7 +81,7 @@ Add Supabase authentication through normal npm composition, explicit environment
|
|
|
81
81
|
|
|
82
82
|
- Id: `auth/supabase-auth`
|
|
83
83
|
- Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
|
|
84
|
-
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.
|
|
84
|
+
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.27`
|
|
85
85
|
- Read: [PATTERN.md](patterns/auth/supabase-auth/PATTERN.md)
|
|
86
86
|
- Examples: [example/](patterns/auth/supabase-auth/example/)
|
|
87
87
|
- Requires: `@jskit-ai/auth-provider-supabase-core`
|
|
@@ -92,7 +92,7 @@ Resolve an administrator environment key or an individual user's grant, then use
|
|
|
92
92
|
|
|
93
93
|
- Id: `connectors/ai-connections`
|
|
94
94
|
- Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
|
|
95
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
95
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
96
96
|
- Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
|
|
97
97
|
- Examples: [example/](patterns/connectors/ai-connections/example/)
|
|
98
98
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -103,7 +103,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
|
|
|
103
103
|
|
|
104
104
|
- Id: `connectors/api-key-connection`
|
|
105
105
|
- Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
|
|
106
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
107
107
|
- Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
|
|
108
108
|
- Examples: [example/](patterns/connectors/api-key-connection/example/)
|
|
109
109
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -114,7 +114,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
|
|
|
114
114
|
|
|
115
115
|
- Id: `connectors/assistant-mcp`
|
|
116
116
|
- Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
|
|
117
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
118
118
|
- Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
|
|
119
119
|
- Examples: [example/](patterns/connectors/assistant-mcp/example/)
|
|
120
120
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -125,7 +125,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
|
|
|
125
125
|
|
|
126
126
|
- Id: `connectors/assistant-mcp-oauth`
|
|
127
127
|
- Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
|
|
128
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
129
129
|
- Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
|
|
130
130
|
- Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
|
|
131
131
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -136,7 +136,7 @@ Compose signed AWS operations, file configuration and application authorization
|
|
|
136
136
|
|
|
137
137
|
- Id: `connectors/aws-storage-queries`
|
|
138
138
|
- Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
|
|
139
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
140
140
|
- Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
|
|
141
141
|
- Examples: [example/](patterns/connectors/aws-storage-queries/example/)
|
|
142
142
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -147,7 +147,7 @@ Compose reusable connection libraries with portable configuration, application o
|
|
|
147
147
|
|
|
148
148
|
- Id: `connectors/calendar-cli`
|
|
149
149
|
- Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
|
|
150
|
-
- Owner: `@jskit-ai/connector-google-calendar@0.2.
|
|
150
|
+
- Owner: `@jskit-ai/connector-google-calendar@0.2.33`
|
|
151
151
|
- Read: [PATTERN.md](patterns/connectors/calendar-cli/PATTERN.md)
|
|
152
152
|
- Examples: [example/](patterns/connectors/calendar-cli/example/)
|
|
153
153
|
- Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
|
|
@@ -158,7 +158,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
|
|
|
158
158
|
|
|
159
159
|
- Id: `connectors/event-delivery`
|
|
160
160
|
- Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
|
|
161
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
161
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
162
162
|
- Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
|
|
163
163
|
- Examples: [example/](patterns/connectors/event-delivery/example/)
|
|
164
164
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -169,7 +169,7 @@ Wire service-account grants, file storage, explicit message actions and public b
|
|
|
169
169
|
|
|
170
170
|
- Id: `connectors/firebase-messaging`
|
|
171
171
|
- Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
|
|
172
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
173
173
|
- Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
|
|
174
174
|
- Examples: [example/](patterns/connectors/firebase-messaging/example/)
|
|
175
175
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -180,7 +180,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
|
|
|
180
180
|
|
|
181
181
|
- Id: `connectors/google-ads-search`
|
|
182
182
|
- Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
|
|
183
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
184
184
|
- Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
|
|
185
185
|
- Examples: [example/](patterns/connectors/google-ads-search/example/)
|
|
186
186
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -191,7 +191,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
|
|
|
191
191
|
|
|
192
192
|
- Id: `connectors/oauth-connection`
|
|
193
193
|
- 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`
|
|
194
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
195
195
|
- Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
|
|
196
196
|
- Examples: [example/](patterns/connectors/oauth-connection/example/)
|
|
197
197
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -202,7 +202,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
|
|
|
202
202
|
|
|
203
203
|
- Id: `connectors/paddle-catalogue`
|
|
204
204
|
- Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
|
|
205
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
206
206
|
- Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
|
|
207
207
|
- Examples: [example/](patterns/connectors/paddle-catalogue/example/)
|
|
208
208
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -213,7 +213,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
|
|
|
213
213
|
|
|
214
214
|
- Id: `connectors/public-image`
|
|
215
215
|
- Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
|
|
216
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
217
217
|
- Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
|
|
218
218
|
- Examples: [example/](patterns/connectors/public-image/example/)
|
|
219
219
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -224,7 +224,7 @@ Compose file configuration, Redshift Data API operations and application query o
|
|
|
224
224
|
|
|
225
225
|
- Id: `connectors/redshift-queries`
|
|
226
226
|
- Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
|
|
227
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
228
228
|
- Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
|
|
229
229
|
- Examples: [example/](patterns/connectors/redshift-queries/example/)
|
|
230
230
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -235,7 +235,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
|
|
|
235
235
|
|
|
236
236
|
- Id: `connectors/source-scanning`
|
|
237
237
|
- Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
|
|
238
|
-
- Owner: `@jskit-ai/connectors-catalog@0.2.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.33`
|
|
239
239
|
- Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
|
|
240
240
|
- Examples: [example/](patterns/connectors/source-scanning/example/)
|
|
241
241
|
- Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
|
|
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
|
|
|
246
246
|
|
|
247
247
|
- Id: `console/console-surface`
|
|
248
248
|
- Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
|
|
249
|
-
- Owner: `@jskit-ai/console-web@0.1.
|
|
249
|
+
- Owner: `@jskit-ai/console-web@0.1.268`
|
|
250
250
|
- Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
|
|
251
251
|
- Examples: [example/](patterns/console/console-surface/example/)
|
|
252
252
|
- Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
|
|
@@ -257,7 +257,7 @@ Define an application table resource whose records belong to the current user, a
|
|
|
257
257
|
|
|
258
258
|
- Id: `crud/crud-contract`
|
|
259
259
|
- Keywords: `authenticated`, `crud`, `database`, `owner-scoped`, `resource`, `table`, `user`
|
|
260
|
-
- Owner: `@jskit-ai/resource-crud-core@0.1.
|
|
260
|
+
- Owner: `@jskit-ai/resource-crud-core@0.1.216`
|
|
261
261
|
- Read: [PATTERN.md](patterns/crud/crud-contract/PATTERN.md)
|
|
262
262
|
- Examples: [example/](patterns/crud/crud-contract/example/)
|
|
263
263
|
- Requires: `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -268,7 +268,7 @@ Build a complete application-owned CRUD server package from a migration, a table
|
|
|
268
268
|
|
|
269
269
|
- Id: `crud/crud-feature-package`
|
|
270
270
|
- Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
|
|
271
|
-
- Owner: `@jskit-ai/crud-core@0.2.
|
|
271
|
+
- Owner: `@jskit-ai/crud-core@0.2.34`
|
|
272
272
|
- Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
|
|
273
273
|
- Examples: [example/](patterns/crud/crud-feature-package/example/)
|
|
274
274
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
|
|
|
279
279
|
|
|
280
280
|
- Id: `crud/crud-screen-set`
|
|
281
281
|
- Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
|
|
282
|
-
- Owner: `@jskit-ai/http-web@0.2.
|
|
282
|
+
- Owner: `@jskit-ai/http-web@0.2.39`
|
|
283
283
|
- Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
|
|
284
284
|
- Examples: [example/](patterns/crud/crud-screen-set/example/)
|
|
285
285
|
- Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -290,7 +290,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
|
|
|
290
290
|
|
|
291
291
|
- Id: `database/mysql-application`
|
|
292
292
|
- Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
|
|
293
|
-
- Owner: `@jskit-ai/database-runtime-mysql@0.1.
|
|
293
|
+
- Owner: `@jskit-ai/database-runtime-mysql@0.1.270`
|
|
294
294
|
- Read: [PATTERN.md](patterns/database/mysql-application/PATTERN.md)
|
|
295
295
|
- Examples: [example/](patterns/database/mysql-application/example/)
|
|
296
296
|
- Requires: `@jskit-ai/database-runtime-mysql`
|
|
@@ -301,7 +301,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
|
|
|
301
301
|
|
|
302
302
|
- Id: `database/postgres-application`
|
|
303
303
|
- Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
|
|
304
|
-
- Owner: `@jskit-ai/database-runtime-postgres@0.1.
|
|
304
|
+
- Owner: `@jskit-ai/database-runtime-postgres@0.1.269`
|
|
305
305
|
- Read: [PATTERN.md](patterns/database/postgres-application/PATTERN.md)
|
|
306
306
|
- Examples: [example/](patterns/database/postgres-application/example/)
|
|
307
307
|
- Requires: `@jskit-ai/database-runtime-postgres`
|
|
@@ -312,7 +312,7 @@ Describe one database table once (its fields, columns, ownership, search and sor
|
|
|
312
312
|
|
|
313
313
|
- Id: `database/table-resource`
|
|
314
314
|
- Keywords: `database`, `defaultTo`, `defineTableResource`, `lockVersionField`, `lookup`, `ownership`, `owns`, `resource`, `system`, `table`, `workspace_or_shared`
|
|
315
|
-
- Owner: `@jskit-ai/resource-core@0.1.
|
|
315
|
+
- Owner: `@jskit-ai/resource-core@0.1.214`
|
|
316
316
|
- Read: [PATTERN.md](patterns/database/table-resource/PATTERN.md)
|
|
317
317
|
- Examples: [example/](patterns/database/table-resource/example/)
|
|
318
318
|
- Requires: `@jskit-ai/resource-core`
|
|
@@ -323,7 +323,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
|
|
|
323
323
|
|
|
324
324
|
- Id: `mobile/android-application`
|
|
325
325
|
- Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
|
|
326
|
-
- Owner: `@jskit-ai/mobile-capacitor@0.2.
|
|
326
|
+
- Owner: `@jskit-ai/mobile-capacitor@0.2.32`
|
|
327
327
|
- Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
|
|
328
328
|
- Examples: [example/](patterns/mobile/android-application/example/)
|
|
329
329
|
- Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
|
|
@@ -334,7 +334,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
|
|
|
334
334
|
|
|
335
335
|
- Id: `realtime/realtime-application`
|
|
336
336
|
- Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
|
|
337
|
-
- Owner: `@jskit-ai/realtime@0.2.
|
|
337
|
+
- Owner: `@jskit-ai/realtime@0.2.35`
|
|
338
338
|
- Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
|
|
339
339
|
- Examples: [example/](patterns/realtime/realtime-application/example/)
|
|
340
340
|
- Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
|
|
@@ -345,7 +345,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
|
|
|
345
345
|
|
|
346
346
|
- Id: `rewards/google-rewarded`
|
|
347
347
|
- Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
|
|
348
|
-
- Owner: `@jskit-ai/rewarded-web@0.2.
|
|
348
|
+
- Owner: `@jskit-ai/rewarded-web@0.2.45`
|
|
349
349
|
- Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
|
|
350
350
|
- Examples: [example/](patterns/rewards/google-rewarded/example/)
|
|
351
351
|
- Requires: `@jskit-ai/rewarded-web`
|
|
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
|
|
|
356
356
|
|
|
357
357
|
- Id: `server/feature-package`
|
|
358
358
|
- Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
|
|
359
|
-
- Owner: `@jskit-ai/agent-docs@0.1.
|
|
359
|
+
- Owner: `@jskit-ai/agent-docs@0.1.320`
|
|
360
360
|
- Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
|
|
361
361
|
- Examples: [example/](patterns/server/feature-package/example/)
|
|
362
362
|
- Requires: `@jskit-ai/kernel`
|
|
@@ -367,7 +367,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
|
|
|
367
367
|
|
|
368
368
|
- Id: `shell/application-shell`
|
|
369
369
|
- Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
|
|
370
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
370
|
+
- Owner: `@jskit-ai/shell-web@0.2.32`
|
|
371
371
|
- Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
|
|
372
372
|
- Examples: [example/](patterns/shell/application-shell/example/)
|
|
373
373
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -378,7 +378,7 @@ Add product routes and shell extensions through file routing, semantic placement
|
|
|
378
378
|
|
|
379
379
|
- Id: `ui/page-and-placement`
|
|
380
380
|
- Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
|
|
381
|
-
- Owner: `@jskit-ai/shell-web@0.2.
|
|
381
|
+
- Owner: `@jskit-ai/shell-web@0.2.32`
|
|
382
382
|
- Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
|
|
383
383
|
- Examples: [example/](patterns/ui/page-and-placement/example/)
|
|
384
384
|
- Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
|
|
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
|
|
|
389
389
|
|
|
390
390
|
- Id: `users/account-settings`
|
|
391
391
|
- Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
|
|
392
|
-
- Owner: `@jskit-ai/users-web@0.2.
|
|
392
|
+
- Owner: `@jskit-ai/users-web@0.2.51`
|
|
393
393
|
- Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
|
|
394
394
|
- Examples: [example/](patterns/users/account-settings/example/)
|
|
395
395
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
|
|
@@ -400,7 +400,7 @@ Expose user administration and workspace-scoped member operations through app-ow
|
|
|
400
400
|
|
|
401
401
|
- Id: `users/user-administration-server`
|
|
402
402
|
- Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
|
|
403
|
-
- Owner: `@jskit-ai/users-core@0.2.
|
|
403
|
+
- Owner: `@jskit-ai/users-core@0.2.39`
|
|
404
404
|
- Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
|
|
405
405
|
- Examples: [example/](patterns/users/user-administration-server/example/)
|
|
406
406
|
- Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
|
|
@@ -411,7 +411,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
|
|
|
411
411
|
|
|
412
412
|
- Id: `workspaces/workspace-server`
|
|
413
413
|
- Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
|
|
414
|
-
- Owner: `@jskit-ai/workspaces-core@0.2.
|
|
414
|
+
- Owner: `@jskit-ai/workspaces-core@0.2.39`
|
|
415
415
|
- Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
|
|
416
416
|
- Examples: [example/](patterns/workspaces/workspace-server/example/)
|
|
417
417
|
- Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
|
|
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
|
|
|
422
422
|
|
|
423
423
|
- Id: `workspaces/workspace-surfaces`
|
|
424
424
|
- Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
|
|
425
|
-
- Owner: `@jskit-ai/workspaces-web@0.2.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.51`
|
|
426
426
|
- Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
|
|
427
427
|
- Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
|
|
428
428
|
- Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
|