create-feltkit 0.3.17 → 0.3.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +2 -1
- package/scaffold.d.ts +2 -2
- package/scaffold.js +4 -1
- package/template/package.json +1 -1
- package/template-foundation/README.md +24 -0
- package/template-foundation/_gitignore +12 -0
- package/template-foundation/feltkit/_generated/api.ts +7 -0
- package/template-foundation/feltkit/app.ts +11 -0
- package/template-foundation/index.html +15 -0
- package/template-foundation/package.json +31 -0
- package/template-foundation/public/apple-touch-icon.png +0 -0
- package/template-foundation/public/favicon.png +0 -0
- package/template-foundation/src/App.tsx +60 -0
- package/template-foundation/src/main.tsx +17 -0
- package/template-foundation/src/styles.css +38 -0
- package/template-foundation/tests/foundation.test.ts +24 -0
- package/template-foundation/tsconfig.json +16 -0
- package/template-foundation/vite.config.ts +6 -0
- package/template-managed/feltdb.contract.json +776 -23
- package/template-managed/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
+
|
|
3
|
+
> **Three starters.** `tasks` and `managed` are copied from `examples/tasks` and `examples/managed` by
|
|
4
|
+
> `sync-template.mjs`. `foundation` (`template-foundation/`) is the shell `npx feltkit create` composes
|
|
5
|
+
> into: FeltKit's sign-in, invitation, workspace and account screens, a placeholder `feltkit/app.ts` the
|
|
6
|
+
> composer replaces with yours, one foundation test, and no domain of its own. It is maintained here, by
|
|
7
|
+
> hand; the composer fills it in from your selections and generates the foundation with `feltkit compose`.
|
|
2
8
|
<picture>
|
|
3
9
|
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.jsdelivr.net/npm/@feltdb/feltkit/docs/assets/feltkit-logo-dark.png">
|
|
4
10
|
<img src="https://cdn.jsdelivr.net/npm/@feltdb/feltkit/docs/assets/feltkit-logo.png" alt="FeltKit" width="160">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-feltkit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.19",
|
|
4
4
|
"description": "Create a FeltKit application: npm create feltkit@latest my-app (add -- --template managed for Managed FeltDB)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
"scaffold.d.ts",
|
|
28
28
|
"template",
|
|
29
29
|
"template-managed",
|
|
30
|
+
"template-foundation",
|
|
30
31
|
"README.md"
|
|
31
32
|
],
|
|
32
33
|
"scripts": {
|
package/scaffold.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type TemplateName = "tasks" | "managed";
|
|
1
|
+
export type TemplateName = "tasks" | "managed" | "foundation";
|
|
2
2
|
export interface ScaffoldOptions {
|
|
3
3
|
/** Directory to create. Must not exist or be empty. */
|
|
4
4
|
target: string;
|
|
@@ -6,7 +6,7 @@ export interface ScaffoldOptions {
|
|
|
6
6
|
name?: string;
|
|
7
7
|
/** Version spec for feltkit; defaults to this package's version (released in lockstep). */
|
|
8
8
|
sdkSpec?: string;
|
|
9
|
-
/** Which starter: `tasks` (default, local FeltDB)
|
|
9
|
+
/** Which starter: `tasks` (default, local FeltDB), `managed` (Managed FeltDB), or `foundation` (the shell `feltkit create` composes into). */
|
|
10
10
|
template?: TemplateName;
|
|
11
11
|
}
|
|
12
12
|
export interface ScaffoldResult {
|
package/scaffold.js
CHANGED
|
@@ -6,7 +6,9 @@ import { fileURLToPath } from "node:url";
|
|
|
6
6
|
export const VERSION = JSON.parse(readFileSync(new URL("./package.json", import.meta.url), "utf8")).version;
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* The starters.
|
|
9
|
+
* The starters. All are the same FeltKit; they differ in where state lives and how it is deployed.
|
|
10
|
+
* foundation the shell `npx feltkit create` composes into: FeltKit's auth and workspace screens, a
|
|
11
|
+
* placeholder feltkit/app.ts that the composer replaces, no domain of its own.
|
|
10
12
|
* tasks a task manager with a React frontend, AppPort Services (files, intelligence) and an agent;
|
|
11
13
|
* state in local FeltDB (`.feltkit/<env>/state`), or a FeltDB server you run.
|
|
12
14
|
* managed an inventory API whose state lives in Managed FeltDB: no AppPort Services (Managed FeltDB
|
|
@@ -16,6 +18,7 @@ export const VERSION = JSON.parse(readFileSync(new URL("./package.json", import.
|
|
|
16
18
|
export const TEMPLATES = Object.freeze({
|
|
17
19
|
tasks: { dir: "template", description: "Task manager with a frontend; local FeltDB (default)" },
|
|
18
20
|
managed: { dir: "template-managed", description: "Inventory API on Managed FeltDB; contract, keys and deployment as code" },
|
|
21
|
+
foundation: { dir: "template-foundation", description: "A composed foundation (accounts, workspaces when the data belongs to organizations, your capabilities); `npx feltkit create` fills it in" },
|
|
19
22
|
});
|
|
20
23
|
|
|
21
24
|
export class ScaffoldError extends Error {
|
package/template/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# foundation
|
|
2
|
+
|
|
3
|
+
A FeltKit application composed with `npx feltkit create`. Its foundation (accounts, workspaces, roles,
|
|
4
|
+
invitations, and the capabilities you selected) is generated into `feltkit/_foundation/declaration.ts`
|
|
5
|
+
from `feltkit.composition.json`; `feltkit/app.ts` imports it and adds what is yours: your data, your
|
|
6
|
+
functions, your permissions on them.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install
|
|
10
|
+
npm run dev # backend, frontend and dashboard with hot reload
|
|
11
|
+
npm test # the foundation tests, and yours
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
Composition:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx feltkit compose --check # the generated foundation is what the record says
|
|
18
|
+
npx feltkit compose reconcile # how the foundation relates to feltkit/app.ts
|
|
19
|
+
npx feltkit compose plan --include <cap> # what adding a capability would change
|
|
20
|
+
npx feltkit compose apply … --approve <id> # apply exactly that plan
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Do not edit the three generated files (`feltkit/_foundation/declaration.ts`, `feltkit.composition.json`,
|
|
24
|
+
`feltkit.composition.lock.json`); change the composition with `feltkit compose`. Everything else is yours.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
node_modules/
|
|
2
|
+
dist/
|
|
3
|
+
.feltkit/
|
|
4
|
+
.feltkit-platform/
|
|
5
|
+
# Credentials and local deployment state: environment files (FELTKIT_*, FELTDB_* keys), and what
|
|
6
|
+
# `feltdb init-managed` / `feltdb managed keys` write if this app later moves to Managed FeltDB.
|
|
7
|
+
# Never commit.
|
|
8
|
+
.env
|
|
9
|
+
.env.*
|
|
10
|
+
!.env.example
|
|
11
|
+
.feltdb/
|
|
12
|
+
*.app/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/* Generated by `feltkit dev` / `feltkit codegen`. Do not edit; it is rewritten when feltkit/ changes. */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { createApi } from "@feltdb/feltkit/client";
|
|
4
|
+
import type * as app_module from "../app.js";
|
|
5
|
+
|
|
6
|
+
/** Typed references to every query and mutation. Type-only imports: no backend code reaches the browser. */
|
|
7
|
+
export const api = createApi<{ "app": typeof app_module }>();
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The application. `feltkit create` replaces this file with the one it composes from your selections:
|
|
3
|
+
* it imports the generated foundation (feltkit/_foundation/declaration.ts) and adds what is yours.
|
|
4
|
+
*/
|
|
5
|
+
import { feltkit } from "@feltdb/feltkit";
|
|
6
|
+
|
|
7
|
+
export const app = feltkit({
|
|
8
|
+
name: "foundation",
|
|
9
|
+
roles: { member: [] },
|
|
10
|
+
auth: { accounts: { roles: ["member"] } },
|
|
11
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<meta name="color-scheme" content="light dark" />
|
|
7
|
+
<link rel="icon" href="/favicon.png" type="image/png" />
|
|
8
|
+
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
|
|
9
|
+
<title>foundation · FeltKit</title>
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "feltkit-foundation",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"dev": "feltkit dev",
|
|
8
|
+
"build": "feltkit build",
|
|
9
|
+
"start": "feltkit start",
|
|
10
|
+
"test": "feltkit test",
|
|
11
|
+
"inspect": "feltkit inspect",
|
|
12
|
+
"deploy": "feltkit deploy",
|
|
13
|
+
"typecheck": "tsc --noEmit",
|
|
14
|
+
"compose:check": "feltkit compose --check",
|
|
15
|
+
"compose:reconcile": "feltkit compose reconcile",
|
|
16
|
+
"compose:plan": "feltkit compose plan"
|
|
17
|
+
},
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"@feltdb/feltkit": "0.3.18",
|
|
20
|
+
"react": "19.2.0",
|
|
21
|
+
"react-dom": "19.2.0"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@types/node": "22.19.1",
|
|
25
|
+
"@types/react": "19.2.2",
|
|
26
|
+
"@types/react-dom": "19.2.2",
|
|
27
|
+
"@vitejs/plugin-react": "5.1.0",
|
|
28
|
+
"typescript": "5.9.3",
|
|
29
|
+
"vite": "7.3.7"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The app shell. Sign-in, invitations, workspaces, members and account settings are FeltKit's
|
|
3
|
+
* components, driven by the foundation `feltkit create` composed; this file only arranges them.
|
|
4
|
+
* Your own screens go where <Home /> is: query and mutate your collections through
|
|
5
|
+
* feltkit/_generated/api (run `npx feltkit codegen` after adding functions under feltkit/).
|
|
6
|
+
*/
|
|
7
|
+
import { useState } from "react";
|
|
8
|
+
import {
|
|
9
|
+
AcceptInvitation, AccountSettings, AuthNotices, CreateTenant, SignIn, TenantSettings, TenantSwitcher, VerifyEmailBanner,
|
|
10
|
+
useAuth, useAuthRedirect, useTenant,
|
|
11
|
+
} from "@feltdb/feltkit/react";
|
|
12
|
+
|
|
13
|
+
type View = "home" | "workspace" | "account";
|
|
14
|
+
const BRAND = "foundation";
|
|
15
|
+
|
|
16
|
+
export function App() {
|
|
17
|
+
const auth = useAuth();
|
|
18
|
+
const tenant = useTenant();
|
|
19
|
+
const { redirect } = useAuthRedirect();
|
|
20
|
+
const [view, setView] = useState<View>("home");
|
|
21
|
+
|
|
22
|
+
if (auth.loading) return <div className="center" aria-busy="true">Loading…</div>;
|
|
23
|
+
if (redirect?.kind === "invitation") return <AcceptInvitation brand={{ name: BRAND }} onAccepted={() => setView("home")} />;
|
|
24
|
+
if (!auth.user) return <SignIn brand={{ name: BRAND, logo: "/favicon.png" }} />;
|
|
25
|
+
if (!tenant.current) return <CreateTenant />;
|
|
26
|
+
|
|
27
|
+
return (
|
|
28
|
+
<div className="shell">
|
|
29
|
+
<header className="topbar">
|
|
30
|
+
<div className="left">
|
|
31
|
+
<strong className="brand">{BRAND}</strong>
|
|
32
|
+
<TenantSwitcher onSwitched={() => setView("home")} />
|
|
33
|
+
</div>
|
|
34
|
+
<nav aria-label="Main">
|
|
35
|
+
{(["home", "workspace", "account"] as const).map((v) => (
|
|
36
|
+
<button key={v} type="button" className={view === v ? "on" : ""} aria-current={view === v ? "page" : undefined} onClick={() => setView(v)}>
|
|
37
|
+
{v === "home" ? "Home" : v === "workspace" ? "Workspace" : "Account"}
|
|
38
|
+
</button>
|
|
39
|
+
))}
|
|
40
|
+
</nav>
|
|
41
|
+
</header>
|
|
42
|
+
<main>
|
|
43
|
+
<AuthNotices />
|
|
44
|
+
<VerifyEmailBanner />
|
|
45
|
+
{view === "home" && <Home role={tenant.current.role} />}
|
|
46
|
+
{view === "workspace" && <TenantSettings />}
|
|
47
|
+
{view === "account" && <AccountSettings />}
|
|
48
|
+
</main>
|
|
49
|
+
</div>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function Home({ role }: { role: string }) {
|
|
54
|
+
return (
|
|
55
|
+
<section>
|
|
56
|
+
<h1>Welcome</h1>
|
|
57
|
+
<p className="muted">You are a {role} here. Accounts, workspaces, roles and invitations work already; the screens for your own data are yours to build.</p>
|
|
58
|
+
</section>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StrictMode } from "react";
|
|
2
|
+
import { createRoot } from "react-dom/client";
|
|
3
|
+
import { createClient } from "@feltdb/feltkit/client";
|
|
4
|
+
import { FeltKitProvider } from "@feltdb/feltkit/react";
|
|
5
|
+
import { App } from "./App";
|
|
6
|
+
import "./styles.css";
|
|
7
|
+
|
|
8
|
+
// Same origin as the page. In a browser the session is an HttpOnly cookie (never readable by scripts).
|
|
9
|
+
const client = createClient();
|
|
10
|
+
|
|
11
|
+
createRoot(document.getElementById("root")!).render(
|
|
12
|
+
<StrictMode>
|
|
13
|
+
<FeltKitProvider client={client}>
|
|
14
|
+
<App />
|
|
15
|
+
</FeltKitProvider>
|
|
16
|
+
</StrictMode>,
|
|
17
|
+
);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/* The app's own tokens. FeltKit's components pick them up (--accent, --surface, --ink, --muted, --line, --radius). */
|
|
2
|
+
:root {
|
|
3
|
+
color-scheme: light dark;
|
|
4
|
+
--bg: light-dark(#f6f6f4, #101211);
|
|
5
|
+
--surface: light-dark(#ffffff, #181b1a);
|
|
6
|
+
--ink: light-dark(#1b1d1c, #eceeed);
|
|
7
|
+
--muted: light-dark(#6b706d, #9aa19d);
|
|
8
|
+
--line: light-dark(#e4e5e1, #2a2f2c);
|
|
9
|
+
--accent: light-dark(#4338ca, #a5b4fc);
|
|
10
|
+
--accent-ink: light-dark(#ffffff, #111827);
|
|
11
|
+
--radius: 10px;
|
|
12
|
+
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
|
|
13
|
+
background: var(--bg);
|
|
14
|
+
color: var(--ink);
|
|
15
|
+
}
|
|
16
|
+
* { box-sizing: border-box; }
|
|
17
|
+
body { margin: 0; }
|
|
18
|
+
button, input, textarea { font: inherit; color: inherit; }
|
|
19
|
+
.center { display: grid; place-items: center; min-height: 100vh; color: var(--muted); }
|
|
20
|
+
.shell { min-height: 100vh; }
|
|
21
|
+
.topbar { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
|
|
22
|
+
.topbar .left { display: flex; align-items: center; gap: 12px; min-width: 0; }
|
|
23
|
+
.brand { font-size: 17px; }
|
|
24
|
+
nav { display: flex; gap: 4px; }
|
|
25
|
+
nav button { border: 0; background: transparent; padding: 8px 12px; border-radius: 8px; cursor: pointer; color: var(--muted); }
|
|
26
|
+
nav button.on { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--ink); font-weight: 600; }
|
|
27
|
+
main { max-width: 760px; margin: 0 auto; padding: 20px 16px 60px; display: flex; flex-direction: column; gap: 12px; }
|
|
28
|
+
h1 { font-size: 22px; margin: 4px 0 12px; }
|
|
29
|
+
.muted { color: var(--muted); }
|
|
30
|
+
.error { color: #c0262d; }
|
|
31
|
+
.compose { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
|
|
32
|
+
.compose input, .compose textarea { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
|
|
33
|
+
.compose button { align-self: flex-start; padding: 9px 16px; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 600; cursor: pointer; }
|
|
34
|
+
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
|
|
35
|
+
.list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
|
|
36
|
+
.list p { margin: 4px 0; white-space: pre-wrap; }
|
|
37
|
+
.ghost { border: 1px solid var(--line); background: transparent; border-radius: 8px; padding: 4px 10px; cursor: pointer; height: fit-content; }
|
|
38
|
+
@media (max-width: 560px) { .topbar { padding: 8px 12px; } nav button { padding: 6px 8px; } }
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The composed foundation, as executable guarantees: accounts exist, a workspace can be created and
|
|
3
|
+
* its members hold the roles the composition declared. Add your own tests beside this one.
|
|
4
|
+
* Run with `npm test` (`feltkit test`).
|
|
5
|
+
*/
|
|
6
|
+
import { test } from "node:test";
|
|
7
|
+
import assert from "node:assert/strict";
|
|
8
|
+
import { createTestApp } from "@feltdb/feltkit/testing";
|
|
9
|
+
|
|
10
|
+
test("the foundation: accounts, a workspace, and its declared roles", async () => {
|
|
11
|
+
const t = await createTestApp();
|
|
12
|
+
try {
|
|
13
|
+
const runtime = t.runtime;
|
|
14
|
+
assert.ok(runtime.accounts, "accounts are part of the foundation");
|
|
15
|
+
const created = await runtime.accounts!.signUp({ email: "owner@example.com", password: "a-long-password-1", name: "Owner" });
|
|
16
|
+
await runtime.accounts!.markVerified(created.id);
|
|
17
|
+
assert.ok(t.tenancy, "workspaces are part of the foundation");
|
|
18
|
+
const options = runtime.project.app.options as unknown as { roles: Record<string, string[]>; auth: { tenant: { roles: string[] } } };
|
|
19
|
+
assert.ok(options.auth.tenant.roles.length > 0, "the workspace declares its roles");
|
|
20
|
+
for (const role of options.auth.tenant.roles) assert.ok(role in options.roles, `role ${role} is declared`);
|
|
21
|
+
} finally {
|
|
22
|
+
await t.close();
|
|
23
|
+
}
|
|
24
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2022",
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "Bundler",
|
|
6
|
+
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
7
|
+
"jsx": "react-jsx",
|
|
8
|
+
"strict": true,
|
|
9
|
+
"noEmit": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"isolatedModules": true,
|
|
12
|
+
"verbatimModuleSyntax": true,
|
|
13
|
+
"types": ["node", "vite/client"]
|
|
14
|
+
},
|
|
15
|
+
"include": ["src", "feltkit", "tests", "vite.config.ts"]
|
|
16
|
+
}
|
|
@@ -116,6 +116,248 @@
|
|
|
116
116
|
}
|
|
117
117
|
]
|
|
118
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"name": "_feltkit_sequences",
|
|
121
|
+
"fields": [
|
|
122
|
+
{
|
|
123
|
+
"name": "id",
|
|
124
|
+
"type": "text",
|
|
125
|
+
"required": true,
|
|
126
|
+
"nullable": false
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "name",
|
|
130
|
+
"type": "json",
|
|
131
|
+
"required": false,
|
|
132
|
+
"nullable": true
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "value",
|
|
136
|
+
"type": "json",
|
|
137
|
+
"required": false,
|
|
138
|
+
"nullable": true
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "transactionId",
|
|
142
|
+
"type": "json",
|
|
143
|
+
"required": false,
|
|
144
|
+
"nullable": true
|
|
145
|
+
}
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "_feltkit_migrations",
|
|
150
|
+
"fields": [
|
|
151
|
+
{
|
|
152
|
+
"name": "id",
|
|
153
|
+
"type": "text",
|
|
154
|
+
"required": true,
|
|
155
|
+
"nullable": false
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "kind",
|
|
159
|
+
"type": "json",
|
|
160
|
+
"required": false,
|
|
161
|
+
"nullable": true
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"name": "from",
|
|
165
|
+
"type": "json",
|
|
166
|
+
"required": false,
|
|
167
|
+
"nullable": true
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "to",
|
|
171
|
+
"type": "json",
|
|
172
|
+
"required": false,
|
|
173
|
+
"nullable": true
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "changes",
|
|
177
|
+
"type": "json",
|
|
178
|
+
"required": false,
|
|
179
|
+
"nullable": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "migrations",
|
|
183
|
+
"type": "json",
|
|
184
|
+
"required": false,
|
|
185
|
+
"nullable": true
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "writes",
|
|
189
|
+
"type": "json",
|
|
190
|
+
"required": false,
|
|
191
|
+
"nullable": true
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "appliedAt",
|
|
195
|
+
"type": "json",
|
|
196
|
+
"required": false,
|
|
197
|
+
"nullable": true
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "by",
|
|
201
|
+
"type": "json",
|
|
202
|
+
"required": false,
|
|
203
|
+
"nullable": true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"name": "environment",
|
|
207
|
+
"type": "json",
|
|
208
|
+
"required": false,
|
|
209
|
+
"nullable": true
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "_feltkit_audit",
|
|
215
|
+
"fields": [
|
|
216
|
+
{
|
|
217
|
+
"name": "id",
|
|
218
|
+
"type": "text",
|
|
219
|
+
"required": true,
|
|
220
|
+
"nullable": false
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "at",
|
|
224
|
+
"type": "json",
|
|
225
|
+
"required": false,
|
|
226
|
+
"nullable": true
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "transactionId",
|
|
230
|
+
"type": "json",
|
|
231
|
+
"required": false,
|
|
232
|
+
"nullable": true
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "function",
|
|
236
|
+
"type": "json",
|
|
237
|
+
"required": false,
|
|
238
|
+
"nullable": true
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"name": "via",
|
|
242
|
+
"type": "json",
|
|
243
|
+
"required": false,
|
|
244
|
+
"nullable": true
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "requestId",
|
|
248
|
+
"type": "json",
|
|
249
|
+
"required": false,
|
|
250
|
+
"nullable": true
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"name": "principal",
|
|
254
|
+
"type": "json",
|
|
255
|
+
"required": false,
|
|
256
|
+
"nullable": true
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"name": "tenantId",
|
|
260
|
+
"type": "json",
|
|
261
|
+
"required": false,
|
|
262
|
+
"nullable": true
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "authority",
|
|
266
|
+
"type": "json",
|
|
267
|
+
"required": false,
|
|
268
|
+
"nullable": true
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"name": "writes",
|
|
272
|
+
"type": "json",
|
|
273
|
+
"required": false,
|
|
274
|
+
"nullable": true
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "effects",
|
|
278
|
+
"type": "json",
|
|
279
|
+
"required": false,
|
|
280
|
+
"nullable": true
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "_feltkit_outbox",
|
|
286
|
+
"fields": [
|
|
287
|
+
{
|
|
288
|
+
"name": "id",
|
|
289
|
+
"type": "text",
|
|
290
|
+
"required": true,
|
|
291
|
+
"nullable": false
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"name": "requestId",
|
|
295
|
+
"type": "json",
|
|
296
|
+
"required": false,
|
|
297
|
+
"nullable": true
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "function",
|
|
301
|
+
"type": "json",
|
|
302
|
+
"required": false,
|
|
303
|
+
"nullable": true
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "principalId",
|
|
307
|
+
"type": "json",
|
|
308
|
+
"required": false,
|
|
309
|
+
"nullable": true
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "effect",
|
|
313
|
+
"type": "json",
|
|
314
|
+
"required": false,
|
|
315
|
+
"nullable": true
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "state",
|
|
319
|
+
"type": "json",
|
|
320
|
+
"required": false,
|
|
321
|
+
"nullable": true
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"name": "createdAt",
|
|
325
|
+
"type": "json",
|
|
326
|
+
"required": false,
|
|
327
|
+
"nullable": true
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "updatedAt",
|
|
331
|
+
"type": "json",
|
|
332
|
+
"required": false,
|
|
333
|
+
"nullable": true
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
"name": "attempts",
|
|
337
|
+
"type": "json",
|
|
338
|
+
"required": false,
|
|
339
|
+
"nullable": true
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "error",
|
|
343
|
+
"type": "json",
|
|
344
|
+
"required": false,
|
|
345
|
+
"nullable": true
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "result",
|
|
349
|
+
"type": "json",
|
|
350
|
+
"required": false,
|
|
351
|
+
"nullable": true
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "retriedBy",
|
|
355
|
+
"type": "json",
|
|
356
|
+
"required": false,
|
|
357
|
+
"nullable": true
|
|
358
|
+
}
|
|
359
|
+
]
|
|
360
|
+
},
|
|
119
361
|
{
|
|
120
362
|
"name": "_feltkit_activity",
|
|
121
363
|
"fields": [
|
|
@@ -126,16 +368,323 @@
|
|
|
126
368
|
"nullable": false
|
|
127
369
|
},
|
|
128
370
|
{
|
|
129
|
-
"name": "at",
|
|
371
|
+
"name": "at",
|
|
372
|
+
"type": "json",
|
|
373
|
+
"required": false,
|
|
374
|
+
"nullable": true
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
"name": "kind",
|
|
378
|
+
"type": "json",
|
|
379
|
+
"required": false,
|
|
380
|
+
"nullable": true
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"name": "name",
|
|
384
|
+
"type": "json",
|
|
385
|
+
"required": false,
|
|
386
|
+
"nullable": true
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "capability",
|
|
390
|
+
"type": "json",
|
|
391
|
+
"required": false,
|
|
392
|
+
"nullable": true
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
"name": "via",
|
|
396
|
+
"type": "json",
|
|
397
|
+
"required": false,
|
|
398
|
+
"nullable": true
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"name": "requestId",
|
|
402
|
+
"type": "json",
|
|
403
|
+
"required": false,
|
|
404
|
+
"nullable": true
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "principal",
|
|
408
|
+
"type": "json",
|
|
409
|
+
"required": false,
|
|
410
|
+
"nullable": true
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
"name": "authority",
|
|
414
|
+
"type": "json",
|
|
415
|
+
"required": false,
|
|
416
|
+
"nullable": true
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"name": "outcome",
|
|
420
|
+
"type": "json",
|
|
421
|
+
"required": false,
|
|
422
|
+
"nullable": true
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"name": "error",
|
|
426
|
+
"type": "json",
|
|
427
|
+
"required": false,
|
|
428
|
+
"nullable": true
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"name": "durationMs",
|
|
432
|
+
"type": "json",
|
|
433
|
+
"required": false,
|
|
434
|
+
"nullable": true
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"name": "argKeys",
|
|
438
|
+
"type": "json",
|
|
439
|
+
"required": false,
|
|
440
|
+
"nullable": true
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"name": "reads",
|
|
444
|
+
"type": "json",
|
|
445
|
+
"required": false,
|
|
446
|
+
"nullable": true
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
"name": "services",
|
|
450
|
+
"type": "json",
|
|
451
|
+
"required": false,
|
|
452
|
+
"nullable": true
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"name": "writes",
|
|
456
|
+
"type": "json",
|
|
457
|
+
"required": false,
|
|
458
|
+
"nullable": true
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"name": "transactionId",
|
|
462
|
+
"type": "json",
|
|
463
|
+
"required": false,
|
|
464
|
+
"nullable": true
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
"name": "commitRevision",
|
|
468
|
+
"type": "json",
|
|
469
|
+
"required": false,
|
|
470
|
+
"nullable": true
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "revisionId",
|
|
474
|
+
"type": "json",
|
|
475
|
+
"required": false,
|
|
476
|
+
"nullable": true
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"name": "detail",
|
|
480
|
+
"type": "json",
|
|
481
|
+
"required": false,
|
|
482
|
+
"nullable": true
|
|
483
|
+
}
|
|
484
|
+
]
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
"name": "_feltkit_sessions",
|
|
488
|
+
"fields": [
|
|
489
|
+
{
|
|
490
|
+
"name": "id",
|
|
491
|
+
"type": "text",
|
|
492
|
+
"required": true,
|
|
493
|
+
"nullable": false
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"name": "principal",
|
|
497
|
+
"type": "json",
|
|
498
|
+
"required": false,
|
|
499
|
+
"nullable": true
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"name": "permissions",
|
|
503
|
+
"type": "json",
|
|
504
|
+
"required": false,
|
|
505
|
+
"nullable": true
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"name": "applicationId",
|
|
509
|
+
"type": "json",
|
|
510
|
+
"required": false,
|
|
511
|
+
"nullable": true
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "createdAt",
|
|
515
|
+
"type": "json",
|
|
516
|
+
"required": false,
|
|
517
|
+
"nullable": true
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"name": "expiresAt",
|
|
521
|
+
"type": "json",
|
|
522
|
+
"required": false,
|
|
523
|
+
"nullable": true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "attributes",
|
|
527
|
+
"type": "json",
|
|
528
|
+
"required": false,
|
|
529
|
+
"nullable": true
|
|
530
|
+
}
|
|
531
|
+
]
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "_feltkit_accounts",
|
|
535
|
+
"fields": [
|
|
536
|
+
{
|
|
537
|
+
"name": "id",
|
|
538
|
+
"type": "text",
|
|
539
|
+
"required": true,
|
|
540
|
+
"nullable": false
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
"name": "email",
|
|
544
|
+
"type": "json",
|
|
545
|
+
"required": false,
|
|
546
|
+
"nullable": true
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "name",
|
|
550
|
+
"type": "json",
|
|
551
|
+
"required": false,
|
|
552
|
+
"nullable": true
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "passwordHash",
|
|
556
|
+
"type": "json",
|
|
557
|
+
"required": false,
|
|
558
|
+
"nullable": true
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "roles",
|
|
562
|
+
"type": "json",
|
|
563
|
+
"required": false,
|
|
564
|
+
"nullable": true
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"name": "createdAt",
|
|
568
|
+
"type": "json",
|
|
569
|
+
"required": false,
|
|
570
|
+
"nullable": true
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "emailVerifiedAt",
|
|
574
|
+
"type": "json",
|
|
575
|
+
"required": false,
|
|
576
|
+
"nullable": true
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "identities",
|
|
580
|
+
"type": "json",
|
|
581
|
+
"required": false,
|
|
582
|
+
"nullable": true
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "disabledAt",
|
|
586
|
+
"type": "json",
|
|
587
|
+
"required": false,
|
|
588
|
+
"nullable": true
|
|
589
|
+
}
|
|
590
|
+
]
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "_feltkit_account_emails",
|
|
594
|
+
"fields": [
|
|
595
|
+
{
|
|
596
|
+
"name": "id",
|
|
597
|
+
"type": "text",
|
|
598
|
+
"required": true,
|
|
599
|
+
"nullable": false
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"name": "accountId",
|
|
603
|
+
"type": "json",
|
|
604
|
+
"required": false,
|
|
605
|
+
"nullable": true
|
|
606
|
+
}
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"name": "_feltkit_challenges",
|
|
611
|
+
"fields": [
|
|
612
|
+
{
|
|
613
|
+
"name": "id",
|
|
614
|
+
"type": "text",
|
|
615
|
+
"required": true,
|
|
616
|
+
"nullable": false
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "kind",
|
|
130
620
|
"type": "json",
|
|
131
621
|
"required": false,
|
|
132
622
|
"nullable": true
|
|
133
623
|
},
|
|
134
624
|
{
|
|
135
|
-
"name": "
|
|
625
|
+
"name": "purpose",
|
|
626
|
+
"type": "json",
|
|
627
|
+
"required": false,
|
|
628
|
+
"nullable": true
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
"name": "subject",
|
|
632
|
+
"type": "json",
|
|
633
|
+
"required": false,
|
|
634
|
+
"nullable": true
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "nonce",
|
|
638
|
+
"type": "json",
|
|
639
|
+
"required": false,
|
|
640
|
+
"nullable": true
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"name": "codeDigest",
|
|
644
|
+
"type": "json",
|
|
645
|
+
"required": false,
|
|
646
|
+
"nullable": true
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "expiresAt",
|
|
650
|
+
"type": "json",
|
|
651
|
+
"required": false,
|
|
652
|
+
"nullable": true
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "attempts",
|
|
656
|
+
"type": "json",
|
|
657
|
+
"required": false,
|
|
658
|
+
"nullable": true
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "data",
|
|
662
|
+
"type": "json",
|
|
663
|
+
"required": false,
|
|
664
|
+
"nullable": true
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
"name": "current",
|
|
668
|
+
"type": "json",
|
|
669
|
+
"required": false,
|
|
670
|
+
"nullable": true
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "issued",
|
|
136
674
|
"type": "json",
|
|
137
675
|
"required": false,
|
|
138
676
|
"nullable": true
|
|
677
|
+
}
|
|
678
|
+
]
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "_feltkit_tenants",
|
|
682
|
+
"fields": [
|
|
683
|
+
{
|
|
684
|
+
"name": "id",
|
|
685
|
+
"type": "text",
|
|
686
|
+
"required": true,
|
|
687
|
+
"nullable": false
|
|
139
688
|
},
|
|
140
689
|
{
|
|
141
690
|
"name": "name",
|
|
@@ -144,97 +693,108 @@
|
|
|
144
693
|
"nullable": true
|
|
145
694
|
},
|
|
146
695
|
{
|
|
147
|
-
"name": "
|
|
696
|
+
"name": "createdBy",
|
|
148
697
|
"type": "json",
|
|
149
698
|
"required": false,
|
|
150
699
|
"nullable": true
|
|
151
700
|
},
|
|
152
701
|
{
|
|
153
|
-
"name": "
|
|
702
|
+
"name": "createdAt",
|
|
154
703
|
"type": "json",
|
|
155
704
|
"required": false,
|
|
156
705
|
"nullable": true
|
|
157
706
|
},
|
|
158
707
|
{
|
|
159
|
-
"name": "
|
|
708
|
+
"name": "updatedAt",
|
|
160
709
|
"type": "json",
|
|
161
710
|
"required": false,
|
|
162
711
|
"nullable": true
|
|
712
|
+
}
|
|
713
|
+
]
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "_feltkit_memberships",
|
|
717
|
+
"fields": [
|
|
718
|
+
{
|
|
719
|
+
"name": "id",
|
|
720
|
+
"type": "text",
|
|
721
|
+
"required": true,
|
|
722
|
+
"nullable": false
|
|
163
723
|
},
|
|
164
724
|
{
|
|
165
|
-
"name": "
|
|
725
|
+
"name": "tenantId",
|
|
166
726
|
"type": "json",
|
|
167
727
|
"required": false,
|
|
168
728
|
"nullable": true
|
|
169
729
|
},
|
|
170
730
|
{
|
|
171
|
-
"name": "
|
|
731
|
+
"name": "principalId",
|
|
172
732
|
"type": "json",
|
|
173
733
|
"required": false,
|
|
174
734
|
"nullable": true
|
|
175
735
|
},
|
|
176
736
|
{
|
|
177
|
-
"name": "
|
|
737
|
+
"name": "principalType",
|
|
178
738
|
"type": "json",
|
|
179
739
|
"required": false,
|
|
180
740
|
"nullable": true
|
|
181
741
|
},
|
|
182
742
|
{
|
|
183
|
-
"name": "
|
|
743
|
+
"name": "role",
|
|
184
744
|
"type": "json",
|
|
185
745
|
"required": false,
|
|
186
746
|
"nullable": true
|
|
187
747
|
},
|
|
188
748
|
{
|
|
189
|
-
"name": "
|
|
749
|
+
"name": "claims",
|
|
190
750
|
"type": "json",
|
|
191
751
|
"required": false,
|
|
192
752
|
"nullable": true
|
|
193
753
|
},
|
|
194
754
|
{
|
|
195
|
-
"name": "
|
|
755
|
+
"name": "claimsProvenance",
|
|
196
756
|
"type": "json",
|
|
197
757
|
"required": false,
|
|
198
758
|
"nullable": true
|
|
199
759
|
},
|
|
200
760
|
{
|
|
201
|
-
"name": "
|
|
761
|
+
"name": "status",
|
|
202
762
|
"type": "json",
|
|
203
763
|
"required": false,
|
|
204
764
|
"nullable": true
|
|
205
765
|
},
|
|
206
766
|
{
|
|
207
|
-
"name": "
|
|
767
|
+
"name": "displayName",
|
|
208
768
|
"type": "json",
|
|
209
769
|
"required": false,
|
|
210
770
|
"nullable": true
|
|
211
771
|
},
|
|
212
772
|
{
|
|
213
|
-
"name": "
|
|
773
|
+
"name": "email",
|
|
214
774
|
"type": "json",
|
|
215
775
|
"required": false,
|
|
216
776
|
"nullable": true
|
|
217
777
|
},
|
|
218
778
|
{
|
|
219
|
-
"name": "
|
|
779
|
+
"name": "invitedBy",
|
|
220
780
|
"type": "json",
|
|
221
781
|
"required": false,
|
|
222
782
|
"nullable": true
|
|
223
783
|
},
|
|
224
784
|
{
|
|
225
|
-
"name": "
|
|
785
|
+
"name": "createdAt",
|
|
226
786
|
"type": "json",
|
|
227
787
|
"required": false,
|
|
228
788
|
"nullable": true
|
|
229
789
|
},
|
|
230
790
|
{
|
|
231
|
-
"name": "
|
|
791
|
+
"name": "updatedAt",
|
|
232
792
|
"type": "json",
|
|
233
793
|
"required": false,
|
|
234
794
|
"nullable": true
|
|
235
795
|
},
|
|
236
796
|
{
|
|
237
|
-
"name": "
|
|
797
|
+
"name": "lastUsedAt",
|
|
238
798
|
"type": "json",
|
|
239
799
|
"required": false,
|
|
240
800
|
"nullable": true
|
|
@@ -242,7 +802,7 @@
|
|
|
242
802
|
]
|
|
243
803
|
},
|
|
244
804
|
{
|
|
245
|
-
"name": "
|
|
805
|
+
"name": "_feltkit_invitations",
|
|
246
806
|
"fields": [
|
|
247
807
|
{
|
|
248
808
|
"name": "id",
|
|
@@ -251,19 +811,43 @@
|
|
|
251
811
|
"nullable": false
|
|
252
812
|
},
|
|
253
813
|
{
|
|
254
|
-
"name": "
|
|
814
|
+
"name": "tenantId",
|
|
255
815
|
"type": "json",
|
|
256
816
|
"required": false,
|
|
257
817
|
"nullable": true
|
|
258
818
|
},
|
|
259
819
|
{
|
|
260
|
-
"name": "
|
|
820
|
+
"name": "email",
|
|
261
821
|
"type": "json",
|
|
262
822
|
"required": false,
|
|
263
823
|
"nullable": true
|
|
264
824
|
},
|
|
265
825
|
{
|
|
266
|
-
"name": "
|
|
826
|
+
"name": "role",
|
|
827
|
+
"type": "json",
|
|
828
|
+
"required": false,
|
|
829
|
+
"nullable": true
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"name": "claims",
|
|
833
|
+
"type": "json",
|
|
834
|
+
"required": false,
|
|
835
|
+
"nullable": true
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"name": "nonce",
|
|
839
|
+
"type": "json",
|
|
840
|
+
"required": false,
|
|
841
|
+
"nullable": true
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "invitedBy",
|
|
845
|
+
"type": "json",
|
|
846
|
+
"required": false,
|
|
847
|
+
"nullable": true
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "inviterName",
|
|
267
851
|
"type": "json",
|
|
268
852
|
"required": false,
|
|
269
853
|
"nullable": true
|
|
@@ -281,7 +865,19 @@
|
|
|
281
865
|
"nullable": true
|
|
282
866
|
},
|
|
283
867
|
{
|
|
284
|
-
"name": "
|
|
868
|
+
"name": "status",
|
|
869
|
+
"type": "json",
|
|
870
|
+
"required": false,
|
|
871
|
+
"nullable": true
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "acceptedBy",
|
|
875
|
+
"type": "json",
|
|
876
|
+
"required": false,
|
|
877
|
+
"nullable": true
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
"name": "acceptedAt",
|
|
285
881
|
"type": "json",
|
|
286
882
|
"required": false,
|
|
287
883
|
"nullable": true
|
|
@@ -513,6 +1109,53 @@
|
|
|
513
1109
|
}
|
|
514
1110
|
]
|
|
515
1111
|
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "_feltkit_models",
|
|
1114
|
+
"fields": [
|
|
1115
|
+
{
|
|
1116
|
+
"name": "id",
|
|
1117
|
+
"type": "text",
|
|
1118
|
+
"required": true,
|
|
1119
|
+
"nullable": false
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "provider",
|
|
1123
|
+
"type": "json",
|
|
1124
|
+
"required": false,
|
|
1125
|
+
"nullable": true
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "model",
|
|
1129
|
+
"type": "json",
|
|
1130
|
+
"required": false,
|
|
1131
|
+
"nullable": true
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "endpoint",
|
|
1135
|
+
"type": "json",
|
|
1136
|
+
"required": false,
|
|
1137
|
+
"nullable": true
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"name": "credentialRef",
|
|
1141
|
+
"type": "json",
|
|
1142
|
+
"required": false,
|
|
1143
|
+
"nullable": true
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "savedAt",
|
|
1147
|
+
"type": "json",
|
|
1148
|
+
"required": false,
|
|
1149
|
+
"nullable": true
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "savedBy",
|
|
1153
|
+
"type": "json",
|
|
1154
|
+
"required": false,
|
|
1155
|
+
"nullable": true
|
|
1156
|
+
}
|
|
1157
|
+
]
|
|
1158
|
+
},
|
|
516
1159
|
{
|
|
517
1160
|
"name": "_feltdb.AgentTask",
|
|
518
1161
|
"fields": [
|
|
@@ -1008,6 +1651,46 @@
|
|
|
1008
1651
|
"state:write"
|
|
1009
1652
|
]
|
|
1010
1653
|
},
|
|
1654
|
+
{
|
|
1655
|
+
"name": "_feltkit_sequences",
|
|
1656
|
+
"resource": "_feltkit_sequences",
|
|
1657
|
+
"read": "authenticated",
|
|
1658
|
+
"write": "authenticated",
|
|
1659
|
+
"capabilities": [
|
|
1660
|
+
"state:read",
|
|
1661
|
+
"state:write"
|
|
1662
|
+
]
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"name": "_feltkit_migrations",
|
|
1666
|
+
"resource": "_feltkit_migrations",
|
|
1667
|
+
"read": "authenticated",
|
|
1668
|
+
"write": "authenticated",
|
|
1669
|
+
"capabilities": [
|
|
1670
|
+
"state:read",
|
|
1671
|
+
"state:write"
|
|
1672
|
+
]
|
|
1673
|
+
},
|
|
1674
|
+
{
|
|
1675
|
+
"name": "_feltkit_audit",
|
|
1676
|
+
"resource": "_feltkit_audit",
|
|
1677
|
+
"read": "authenticated",
|
|
1678
|
+
"write": "authenticated",
|
|
1679
|
+
"capabilities": [
|
|
1680
|
+
"state:read",
|
|
1681
|
+
"state:write"
|
|
1682
|
+
]
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "_feltkit_outbox",
|
|
1686
|
+
"resource": "_feltkit_outbox",
|
|
1687
|
+
"read": "authenticated",
|
|
1688
|
+
"write": "authenticated",
|
|
1689
|
+
"capabilities": [
|
|
1690
|
+
"state:read",
|
|
1691
|
+
"state:write"
|
|
1692
|
+
]
|
|
1693
|
+
},
|
|
1011
1694
|
{
|
|
1012
1695
|
"name": "_feltkit_activity",
|
|
1013
1696
|
"resource": "_feltkit_activity",
|
|
@@ -1028,6 +1711,66 @@
|
|
|
1028
1711
|
"state:write"
|
|
1029
1712
|
]
|
|
1030
1713
|
},
|
|
1714
|
+
{
|
|
1715
|
+
"name": "_feltkit_accounts",
|
|
1716
|
+
"resource": "_feltkit_accounts",
|
|
1717
|
+
"read": "authenticated",
|
|
1718
|
+
"write": "authenticated",
|
|
1719
|
+
"capabilities": [
|
|
1720
|
+
"state:read",
|
|
1721
|
+
"state:write"
|
|
1722
|
+
]
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"name": "_feltkit_account_emails",
|
|
1726
|
+
"resource": "_feltkit_account_emails",
|
|
1727
|
+
"read": "authenticated",
|
|
1728
|
+
"write": "authenticated",
|
|
1729
|
+
"capabilities": [
|
|
1730
|
+
"state:read",
|
|
1731
|
+
"state:write"
|
|
1732
|
+
]
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"name": "_feltkit_challenges",
|
|
1736
|
+
"resource": "_feltkit_challenges",
|
|
1737
|
+
"read": "authenticated",
|
|
1738
|
+
"write": "authenticated",
|
|
1739
|
+
"capabilities": [
|
|
1740
|
+
"state:read",
|
|
1741
|
+
"state:write"
|
|
1742
|
+
]
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "_feltkit_tenants",
|
|
1746
|
+
"resource": "_feltkit_tenants",
|
|
1747
|
+
"read": "authenticated",
|
|
1748
|
+
"write": "authenticated",
|
|
1749
|
+
"capabilities": [
|
|
1750
|
+
"state:read",
|
|
1751
|
+
"state:write"
|
|
1752
|
+
]
|
|
1753
|
+
},
|
|
1754
|
+
{
|
|
1755
|
+
"name": "_feltkit_memberships",
|
|
1756
|
+
"resource": "_feltkit_memberships",
|
|
1757
|
+
"read": "authenticated",
|
|
1758
|
+
"write": "authenticated",
|
|
1759
|
+
"capabilities": [
|
|
1760
|
+
"state:read",
|
|
1761
|
+
"state:write"
|
|
1762
|
+
]
|
|
1763
|
+
},
|
|
1764
|
+
{
|
|
1765
|
+
"name": "_feltkit_invitations",
|
|
1766
|
+
"resource": "_feltkit_invitations",
|
|
1767
|
+
"read": "authenticated",
|
|
1768
|
+
"write": "authenticated",
|
|
1769
|
+
"capabilities": [
|
|
1770
|
+
"state:read",
|
|
1771
|
+
"state:write"
|
|
1772
|
+
]
|
|
1773
|
+
},
|
|
1031
1774
|
{
|
|
1032
1775
|
"name": "_feltkit_idempotency",
|
|
1033
1776
|
"resource": "_feltkit_idempotency",
|
|
@@ -1058,6 +1801,16 @@
|
|
|
1058
1801
|
"state:write"
|
|
1059
1802
|
]
|
|
1060
1803
|
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "_feltkit_models",
|
|
1806
|
+
"resource": "_feltkit_models",
|
|
1807
|
+
"read": "authenticated",
|
|
1808
|
+
"write": "authenticated",
|
|
1809
|
+
"capabilities": [
|
|
1810
|
+
"state:read",
|
|
1811
|
+
"state:write"
|
|
1812
|
+
]
|
|
1813
|
+
},
|
|
1061
1814
|
{
|
|
1062
1815
|
"name": "_feltdb.AgentTask",
|
|
1063
1816
|
"resource": "_feltdb.AgentTask",
|