@kukeon/console 0.0.0-stage → 0.10.0-edge.g4f69f964
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/dist/assignments-Biqg1AT0.js +257 -0
- package/dist/assignments-tab.d.ts +4 -0
- package/dist/assignments.d.mts +40 -0
- package/dist/auth.d.ts +39 -0
- package/dist/bulk-ui.d.ts +49 -0
- package/dist/bulk.d.mts +14 -0
- package/dist/catalog-B29wwZiy.js +1949 -0
- package/dist/catalog-url-Dr9e92Yq.js +19 -0
- package/dist/catalog-url.d.mts +4 -0
- package/dist/catalog.d.ts +40 -0
- package/dist/cell-filter.d.ts +10 -0
- package/dist/cell-sidebar.d.ts +26 -0
- package/dist/cells.d.mts +29 -0
- package/dist/cgroup-format.d.ts +17 -0
- package/dist/cgroup.d.ts +4 -0
- package/dist/config-form.d.mts +66 -0
- package/dist/connector-ui-CG9kLZ5s.js +2716 -0
- package/dist/connector-ui.d.ts +129 -0
- package/dist/connectors-page-ZyuSRdHC.js +241 -0
- package/dist/connectors-page.d.ts +8 -0
- package/dist/connectors.d.mts +154 -0
- package/dist/container-log.d.ts +11 -0
- package/dist/create.d.ts +11 -0
- package/dist/creation-schema.d.mts +15 -0
- package/dist/daemon-CLdOLhDb.js +394 -0
- package/dist/daemon.d.ts +24 -0
- package/dist/display-name.d.ts +10 -0
- package/dist/drift-diff.d.ts +4 -0
- package/dist/exec.d.ts +15 -0
- package/dist/extensions.d.ts +111 -0
- package/dist/get-started.d.ts +9 -0
- package/dist/health.d.ts +22 -0
- package/dist/identities-page-CyW0d5n2.js +2137 -0
- package/dist/identities-page.d.ts +15 -0
- package/dist/identities.d.mts +24 -0
- package/dist/image-format.d.ts +6 -0
- package/dist/image-inventory.d.ts +12 -0
- package/dist/images.d.ts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5241 -0
- package/dist/initialize-CAOkMhlL.js +146 -0
- package/dist/initialize.d.ts +21 -0
- package/dist/inventory.d.ts +66 -0
- package/dist/lifecycle-policy.d.ts +11 -0
- package/dist/lifecycle.d.ts +24 -0
- package/dist/log-buffer.d.ts +8 -0
- package/dist/main.d.ts +13 -0
- package/dist/majordomo-p7giptj3.js +3782 -0
- package/dist/majordomo.d.ts +102 -0
- package/dist/manage-nav.d.ts +4 -0
- package/dist/manifest-diff.d.mts +11 -0
- package/dist/merged-values-CBzWsNOS.js +739 -0
- package/dist/merged-values.d.ts +24 -0
- package/dist/network-format.d.ts +30 -0
- package/dist/network.d.ts +13 -0
- package/dist/new-agent-BweyzBnY.js +201 -0
- package/dist/new-agent.d.ts +27 -0
- package/dist/new-cell-Iceq2Zfv.js +1985 -0
- package/dist/new-cell.d.ts +29 -0
- package/dist/new-config-C9NSC9Ou.js +1541 -0
- package/dist/new-config.d.ts +7 -0
- package/dist/notifications.d.ts +26 -0
- package/dist/onboarding-oZBJXTy0.js +395 -0
- package/dist/onboarding.d.mts +40 -0
- package/dist/panel-cells.d.mts +8 -0
- package/dist/recording-source.d.ts +37 -0
- package/dist/recording.d.mts +24 -0
- package/dist/registry-credentials.d.ts +13 -0
- package/dist/relationships.d.mts +12 -0
- package/dist/replay.d.ts +14 -0
- package/dist/request.d.ts +16 -0
- package/dist/router.d.ts +12 -0
- package/dist/routes.d.ts +43 -0
- package/dist/schedule-DzQ3Homi.js +113 -0
- package/dist/schedule-format.d.mts +9 -0
- package/dist/schedule.d.ts +16 -0
- package/dist/scope-actions.d.ts +9 -0
- package/dist/screens.d.ts +6 -0
- package/dist/secret-form.d.ts +24 -0
- package/dist/settings-nav.d.ts +5 -0
- package/dist/settings-page.d.ts +4 -0
- package/dist/settings-values.d.mts +18 -0
- package/dist/settings.d.ts +50 -0
- package/dist/sidebar-shell.d.ts +55 -0
- package/dist/sources-page-CxMSM-sz.js +423 -0
- package/dist/sources-page.d.ts +5 -0
- package/dist/space-subnets.d.ts +3 -0
- package/dist/style.css +2 -0
- package/dist/team-form.d.mts +56 -0
- package/dist/team-plan-CFOIv1lN.js +735 -0
- package/dist/team-plan.d.ts +22 -0
- package/dist/team-wizard.d.ts +8 -0
- package/dist/teams-page-C6UGy4Fw.js +2216 -0
- package/dist/teams-page.d.ts +9 -0
- package/dist/teams.d.mts +114 -0
- package/dist/terminal-palette.d.ts +8 -0
- package/dist/terminal.d.ts +98 -0
- package/dist/unread.d.mts +19 -0
- package/dist/use-unread.d.ts +4 -0
- package/dist/user-menu.d.ts +7 -0
- package/dist/views.d.mts +8 -0
- package/dist/workbench.d.ts +16 -0
- package/package.json +45 -4
- package/README.md +0 -3
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { Draft, DraftSource, FormConnector, FormRoleConnector, FormSource, RoleConnectorView, TeamForm } from "./teams.mjs";
|
|
2
|
+
|
|
3
|
+
export const projectAlias: string;
|
|
4
|
+
export const projectModes: string[];
|
|
5
|
+
|
|
6
|
+
export type Step = { key: string; title: string };
|
|
7
|
+
export type ProjectInput = { mode: string; address: string; stored: string; file: string; refKind: string; ref: string; identity: string; name: string; useRepoFile: boolean };
|
|
8
|
+
export type Available = { alias: string; stored: string; url: string; refKind: string; ref: string; identity: string; declared: boolean };
|
|
9
|
+
export type TaskHarnessRow = { name: string; switch: string; schedule: string };
|
|
10
|
+
export type TaskRow = { name: string; selected: boolean; schedule: string; switch: string; args: string; roleSchedule: string; roleSuspend: boolean; roleArgs: string; harnesses: TaskHarnessRow[] };
|
|
11
|
+
export type WizardState = { project?: ProjectInput; draft?: Draft; form?: TeamForm };
|
|
12
|
+
|
|
13
|
+
export function stepsFor(mode: "new" | "edit"): Step[];
|
|
14
|
+
export function emptyProject(): ProjectInput;
|
|
15
|
+
export function draftPayload(project: Partial<ProjectInput>): Record<string, unknown>;
|
|
16
|
+
export function projectErrors(project: Partial<ProjectInput>): string[];
|
|
17
|
+
export function sourceRef(source: Partial<FormSource> | undefined): string;
|
|
18
|
+
export function sourcesErrors(form: TeamForm | undefined, draftSources: DraftSource[] | undefined): string[];
|
|
19
|
+
export function storedName(source: Partial<FormSource> | undefined): string;
|
|
20
|
+
export function emptySource(stored?: { name: string }): FormSource;
|
|
21
|
+
export function withSource(form: TeamForm, index: number | undefined, patch: Partial<FormSource> | null): TeamForm;
|
|
22
|
+
export function withProject(form: TeamForm, patch: Partial<FormSource>): TeamForm;
|
|
23
|
+
export function availableSources(form: TeamForm | undefined, stored: { name: string; url: string; identity?: string; branch?: string; tag?: string; commit?: string }[] | undefined): Available[];
|
|
24
|
+
export function inspectRequest(source: Partial<Available>): { path: string; body: Record<string, unknown> };
|
|
25
|
+
export function cleanPath(value: string | undefined): string;
|
|
26
|
+
export function sameAddress(a: string, b: string): boolean;
|
|
27
|
+
export function sameRepository(a: Available | undefined, b: Available | undefined): boolean;
|
|
28
|
+
export function selectedIndex(items: { source: string; path: string }[] | undefined, source: string, path: string, available?: Available[]): number;
|
|
29
|
+
type ConnectorSeed = { name: string; harness?: string; delivery?: string }[];
|
|
30
|
+
export function withInherit(form: TeamForm, field: "roles" | "harnesses", inherit: boolean, inherited?: unknown[], seed?: ConnectorSeed): TeamForm;
|
|
31
|
+
export function seededRole<T extends { connectors?: FormRoleConnector[] }>(role: T, seed?: ConnectorSeed): T;
|
|
32
|
+
export function withRole(form: TeamForm, role: { name: string; source: string; path: string }, on: boolean, inherited?: unknown[], seed?: ConnectorSeed, available?: Available[]): TeamForm;
|
|
33
|
+
export function withRolePatch(form: TeamForm, index: number, patch: Record<string, unknown>): TeamForm;
|
|
34
|
+
export function withHarness(form: TeamForm, harness: { name: string; source: string; path: string }, on: boolean, inherited?: unknown[], available?: Available[]): TeamForm;
|
|
35
|
+
export function imageList(value: string): string[];
|
|
36
|
+
export function switchOf(task: { suspend?: boolean | null } | undefined): string;
|
|
37
|
+
export function suspendOf(state: string): boolean | null;
|
|
38
|
+
export function roleHarnesses(form: TeamForm, role: TeamForm["roles"]["items"][number], offeredRole: { harnesses?: string[] } | undefined, inherited?: { name: string }[], configured?: { role?: string; harness?: string }[]): string[];
|
|
39
|
+
export function taskRows(role: TeamForm["roles"]["items"][number], offered: unknown[] | undefined, configured: unknown[] | undefined, harnesses?: string[]): TaskRow[];
|
|
40
|
+
export function withTask(form: TeamForm, roleIndex: number, name: string, patch: { selected?: boolean; schedule?: string; args?: string; switch?: string; harness?: string }, known: string[]): TeamForm;
|
|
41
|
+
export function withAllTasks(form: TeamForm, roleIndex: number): TeamForm;
|
|
42
|
+
export function cronErrors(value: string | undefined): string[];
|
|
43
|
+
export function rolesErrors(form: TeamForm | undefined): string[];
|
|
44
|
+
export function initialPathValid(value: string): boolean;
|
|
45
|
+
export function tasksErrors(form: TeamForm | undefined): string[];
|
|
46
|
+
export function stepErrors(key: string, state: WizardState): string[];
|
|
47
|
+
export function withConnector(form: TeamForm, name: string, patch: { method?: string; identity?: string }, inherited?: Record<string, FormConnector>): TeamForm;
|
|
48
|
+
export function withConnectorsInherit(form: TeamForm, inherit: boolean, inherited?: Record<string, FormConnector>): TeamForm;
|
|
49
|
+
export type RoleConnectorRow = { name: string; title: string; enabled: boolean; identity: string; required: boolean; states: { config: string; state: string; fill: string }[] };
|
|
50
|
+
export function togglable(connector: { harness?: string; delivery?: string } | undefined): boolean;
|
|
51
|
+
export function roleConnectorRows(role: { name: string; connectors?: FormRoleConnector[] } | undefined, connectors: { name: string; title?: string; harness?: string; delivery?: string }[] | undefined, viewRows?: RoleConnectorView[]): RoleConnectorRow[];
|
|
52
|
+
export function withRoleConnector(form: TeamForm, roleIndex: number, name: string, patch: { enabled?: boolean; identity?: string }): TeamForm;
|
|
53
|
+
export function createBody(project: Partial<ProjectInput>, draft: Draft | undefined, form: TeamForm, force?: boolean): Record<string, unknown>;
|
|
54
|
+
export function editBody(name: string, form: TeamForm): { name: string; form: TeamForm };
|
|
55
|
+
export function gitIdentities(secrets: unknown, connectors: unknown): string[];
|
|
56
|
+
export function stateLabel(state: string): string;
|