@adminiumjs/manifest 0.3.81 → 0.3.83
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/index.d.ts +4 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/instance.d.ts +2 -1
- package/dist/instance.d.ts.map +1 -1
- package/dist/instance.js +1 -0
- package/dist/instance.js.map +1 -1
- package/dist/marketplace-wire.d.ts +10 -0
- package/dist/marketplace-wire.d.ts.map +1 -1
- package/dist/marketplace-wire.js +11 -0
- package/dist/marketplace-wire.js.map +1 -1
- package/dist/modules.d.ts.map +1 -1
- package/dist/modules.js +11 -0
- package/dist/modules.js.map +1 -1
- package/dist/people.d.ts +24 -4
- package/dist/people.d.ts.map +1 -1
- package/dist/people.js +72 -8
- package/dist/people.js.map +1 -1
- package/dist/plan-context.d.ts.map +1 -1
- package/dist/plan-context.js +80 -0
- package/dist/plan-context.js.map +1 -1
- package/dist/plan-model.d.ts +27 -0
- package/dist/plan-model.d.ts.map +1 -1
- package/dist/public-access.d.ts +2 -0
- package/dist/public-access.d.ts.map +1 -1
- package/dist/public-access.js +6 -0
- package/dist/public-access.js.map +1 -1
- package/dist/retired.d.ts +94 -0
- package/dist/retired.d.ts.map +1 -0
- package/dist/retired.js +139 -0
- package/dist/retired.js.map +1 -0
- package/dist/schema.d.ts +106 -2
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +29 -0
- package/dist/schema.js.map +1 -1
- package/dist/validate.d.ts +2 -2
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +35 -5
- package/dist/validate.js.map +1 -1
- package/dist/words.d.ts +6 -1
- package/dist/words.d.ts.map +1 -1
- package/dist/words.js +16 -0
- package/dist/words.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A COLUMN AN APP NO LONGER DECLARES, KEPT IN THE DATABASE (`retired`).
|
|
3
|
+
*
|
|
4
|
+
* An update is additive: a column a new version leaves out stays in the
|
|
5
|
+
* table, holding what it held, and keeps requiring a value where it did. A
|
|
6
|
+
* closed list of values that becomes a table of its own (a product's six
|
|
7
|
+
* crafts, now the shop's own categories) leaves the old column behind, still
|
|
8
|
+
* NOT NULL, while the new link starts empty on every row. A table says so:
|
|
9
|
+
*
|
|
10
|
+
* retired: [{
|
|
11
|
+
* column: 'category',
|
|
12
|
+
* link: {
|
|
13
|
+
* to: 'category_id', // a nullable link of this table
|
|
14
|
+
* by: 'slug', // the linked table's key or unique column
|
|
15
|
+
* rows: [{ slug: 'coasters', name: { '@t': { 'en-US': 'Coasters' } }, position: 1 }, …],
|
|
16
|
+
* },
|
|
17
|
+
* }]
|
|
18
|
+
*
|
|
19
|
+
* On the update that brings it, Adminium makes the old column optional (the
|
|
20
|
+
* app no longer fills it), writes `rows` into the linked table when that
|
|
21
|
+
* table is still empty (texts in the updating person's language, as seeds
|
|
22
|
+
* are), and links each row whose old value names a row by `by`. A value
|
|
23
|
+
* that names none is left unlinked. A fresh install never runs it: what a
|
|
24
|
+
* new install starts with is the app's `seeds`.
|
|
25
|
+
*
|
|
26
|
+
* Only an app's table says it: an add-on's update does not run the step.
|
|
27
|
+
*
|
|
28
|
+
* Pure.
|
|
29
|
+
*/
|
|
30
|
+
import { z } from 'zod';
|
|
31
|
+
/** The most columns one table retires, and the most rows one link writes. */
|
|
32
|
+
export declare const RETIRED_MAX = 8;
|
|
33
|
+
export declare const RETIRED_ROWS_MAX = 200;
|
|
34
|
+
export declare const retiredLinkSchema: z.ZodObject<{
|
|
35
|
+
to: z.ZodString;
|
|
36
|
+
by: z.ZodString;
|
|
37
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
38
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
39
|
+
}, z.core.$strict>]>>>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
export declare const retiredColumnSchema: z.ZodObject<{
|
|
42
|
+
column: z.ZodString;
|
|
43
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
to: z.ZodString;
|
|
45
|
+
by: z.ZodString;
|
|
46
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
47
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
48
|
+
}, z.core.$strict>]>>>>;
|
|
49
|
+
}, z.core.$strict>>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
export type RetiredColumn = z.infer<typeof retiredColumnSchema>;
|
|
52
|
+
export declare const retiredSchema: z.ZodArray<z.ZodObject<{
|
|
53
|
+
column: z.ZodString;
|
|
54
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
55
|
+
to: z.ZodString;
|
|
56
|
+
by: z.ZodString;
|
|
57
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
58
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
59
|
+
}, z.core.$strict>]>>>>;
|
|
60
|
+
}, z.core.$strict>>;
|
|
61
|
+
}, z.core.$strict>>;
|
|
62
|
+
export type Retired = z.infer<typeof retiredSchema>;
|
|
63
|
+
interface RetiredTableShape {
|
|
64
|
+
ref: string;
|
|
65
|
+
builtOn?: string | undefined;
|
|
66
|
+
private?: boolean | undefined;
|
|
67
|
+
retired?: Retired | undefined;
|
|
68
|
+
columns: readonly {
|
|
69
|
+
ref: string;
|
|
70
|
+
type: string;
|
|
71
|
+
role?: string | undefined;
|
|
72
|
+
references?: string | undefined;
|
|
73
|
+
nullable?: boolean | undefined;
|
|
74
|
+
unique?: boolean | undefined;
|
|
75
|
+
}[];
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Everything wrong with the tables' `retired`, across the manifest: a column
|
|
79
|
+
* still declared, retired twice, a link that is not a nullable link of the
|
|
80
|
+
* table, a `by` that does not find one row, a row that names a column the
|
|
81
|
+
* linked table lacks or carries no `by` value, two rows with the same one,
|
|
82
|
+
* and a linked table seeds may not fill either. On an add-on, any `retired`.
|
|
83
|
+
*/
|
|
84
|
+
export declare function retiredIssues(m: {
|
|
85
|
+
kind: string;
|
|
86
|
+
requiredSchema?: {
|
|
87
|
+
tables: readonly RetiredTableShape[];
|
|
88
|
+
} | undefined;
|
|
89
|
+
}): {
|
|
90
|
+
path: (string | number)[];
|
|
91
|
+
message: string;
|
|
92
|
+
}[];
|
|
93
|
+
export {};
|
|
94
|
+
//# sourceMappingURL=retired.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired.d.ts","sourceRoot":"","sources":["../src/retired.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,6EAA6E;AAC7E,eAAO,MAAM,WAAW,IAAI,CAAC;AAC7B,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAWpC,eAAO,MAAM,iBAAiB;;;;;;kBASnB,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;;;kBAMrB,CAAC;AACZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,aAAa;;;;;;;;;mBAAuD,CAAC;AAClF,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,UAAU,iBAAiB;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,EAAE,SAAS;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,EAAE,CAAC;CAC7K;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,cAAc,CAAC,EAAE;QAAE,MAAM,EAAE,SAAS,iBAAiB,EAAE,CAAA;KAAE,GAAG,SAAS,CAAA;CAAE,GAAG;IAAE,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,EAAE,CAyD1K"}
|
package/dist/retired.js
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-only
|
|
2
|
+
/**
|
|
3
|
+
* A COLUMN AN APP NO LONGER DECLARES, KEPT IN THE DATABASE (`retired`).
|
|
4
|
+
*
|
|
5
|
+
* An update is additive: a column a new version leaves out stays in the
|
|
6
|
+
* table, holding what it held, and keeps requiring a value where it did. A
|
|
7
|
+
* closed list of values that becomes a table of its own (a product's six
|
|
8
|
+
* crafts, now the shop's own categories) leaves the old column behind, still
|
|
9
|
+
* NOT NULL, while the new link starts empty on every row. A table says so:
|
|
10
|
+
*
|
|
11
|
+
* retired: [{
|
|
12
|
+
* column: 'category',
|
|
13
|
+
* link: {
|
|
14
|
+
* to: 'category_id', // a nullable link of this table
|
|
15
|
+
* by: 'slug', // the linked table's key or unique column
|
|
16
|
+
* rows: [{ slug: 'coasters', name: { '@t': { 'en-US': 'Coasters' } }, position: 1 }, …],
|
|
17
|
+
* },
|
|
18
|
+
* }]
|
|
19
|
+
*
|
|
20
|
+
* On the update that brings it, Adminium makes the old column optional (the
|
|
21
|
+
* app no longer fills it), writes `rows` into the linked table when that
|
|
22
|
+
* table is still empty (texts in the updating person's language, as seeds
|
|
23
|
+
* are), and links each row whose old value names a row by `by`. A value
|
|
24
|
+
* that names none is left unlinked. A fresh install never runs it: what a
|
|
25
|
+
* new install starts with is the app's `seeds`.
|
|
26
|
+
*
|
|
27
|
+
* Only an app's table says it: an add-on's update does not run the step.
|
|
28
|
+
*
|
|
29
|
+
* Pure.
|
|
30
|
+
*/
|
|
31
|
+
import { z } from 'zod';
|
|
32
|
+
import { bcp47TagSchema, refSchema, scalarSchema } from './refs.js';
|
|
33
|
+
/** The most columns one table retires, and the most rows one link writes. */
|
|
34
|
+
export const RETIRED_MAX = 8;
|
|
35
|
+
export const RETIRED_ROWS_MAX = 200;
|
|
36
|
+
/** A value of a row the step writes: a plain value, or a text in several languages (`{"@t": {…}}`), picked as seeds pick one. */
|
|
37
|
+
const retiredValueSchema = z.union([
|
|
38
|
+
scalarSchema,
|
|
39
|
+
z.null(),
|
|
40
|
+
z
|
|
41
|
+
.object({ '@t': z.record(bcp47TagSchema, z.string().min(1).max(1000)).refine((texts) => texts['en-US'] !== undefined, { message: 'a text in several languages includes en-US' }) })
|
|
42
|
+
.strict(),
|
|
43
|
+
]);
|
|
44
|
+
export const retiredLinkSchema = z
|
|
45
|
+
.object({
|
|
46
|
+
/** A nullable link (`fk`) of this table, filled for the rows already there. */
|
|
47
|
+
to: refSchema,
|
|
48
|
+
/** The column of the linked table an old value is compared with: its key, or a unique column. */
|
|
49
|
+
by: refSchema,
|
|
50
|
+
/** Rows written into the linked table while it is empty. */
|
|
51
|
+
rows: z.array(z.record(z.string(), retiredValueSchema)).min(1).max(RETIRED_ROWS_MAX).optional(),
|
|
52
|
+
})
|
|
53
|
+
.strict();
|
|
54
|
+
export const retiredColumnSchema = z
|
|
55
|
+
.object({
|
|
56
|
+
/** The column as the table keeps it: no longer one of the table's `columns`. */
|
|
57
|
+
column: refSchema,
|
|
58
|
+
link: retiredLinkSchema.optional(),
|
|
59
|
+
})
|
|
60
|
+
.strict();
|
|
61
|
+
export const retiredSchema = z.array(retiredColumnSchema).min(1).max(RETIRED_MAX);
|
|
62
|
+
/**
|
|
63
|
+
* Everything wrong with the tables' `retired`, across the manifest: a column
|
|
64
|
+
* still declared, retired twice, a link that is not a nullable link of the
|
|
65
|
+
* table, a `by` that does not find one row, a row that names a column the
|
|
66
|
+
* linked table lacks or carries no `by` value, two rows with the same one,
|
|
67
|
+
* and a linked table seeds may not fill either. On an add-on, any `retired`.
|
|
68
|
+
*/
|
|
69
|
+
export function retiredIssues(m) {
|
|
70
|
+
const out = [];
|
|
71
|
+
const tables = m.requiredSchema?.tables ?? [];
|
|
72
|
+
const byRef = new Map(tables.map((table) => [table.ref, table]));
|
|
73
|
+
tables.forEach((table, t) => {
|
|
74
|
+
if (table.retired === undefined)
|
|
75
|
+
return;
|
|
76
|
+
const here = (...path) => ['requiredSchema', 'tables', t, 'retired', ...path];
|
|
77
|
+
if (m.kind !== 'app') {
|
|
78
|
+
out.push({ path: here(), message: "only an app's table retires a column: an add-on's update does not run that step" });
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
const seen = new Set();
|
|
82
|
+
const targets = new Set();
|
|
83
|
+
table.retired.forEach((entry, r) => {
|
|
84
|
+
if (table.columns.some((column) => column.ref === entry.column)) {
|
|
85
|
+
out.push({ path: here(r, 'column'), message: `"${entry.column}" is still one of the table's columns: a retired column is one the app no longer declares` });
|
|
86
|
+
}
|
|
87
|
+
if (seen.has(entry.column))
|
|
88
|
+
out.push({ path: here(r, 'column'), message: `"${entry.column}" is retired twice` });
|
|
89
|
+
seen.add(entry.column);
|
|
90
|
+
const link = entry.link;
|
|
91
|
+
if (link === undefined)
|
|
92
|
+
return;
|
|
93
|
+
if (targets.has(link.to))
|
|
94
|
+
out.push({ path: here(r, 'link', 'to'), message: `"${link.to}" is filled from two retired columns` });
|
|
95
|
+
targets.add(link.to);
|
|
96
|
+
const to = table.columns.find((column) => column.ref === link.to);
|
|
97
|
+
if (to === undefined || to.type !== 'fk' || to.references === undefined) {
|
|
98
|
+
out.push({ path: here(r, 'link', 'to'), message: `"${link.to}" is not a link (fk) of this table` });
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (to.nullable !== true)
|
|
102
|
+
out.push({ path: here(r, 'link', 'to'), message: `"${link.to}" is filled for the rows already there, so it may be empty: make it nullable` });
|
|
103
|
+
const linked = byRef.get(to.references);
|
|
104
|
+
if (linked === undefined)
|
|
105
|
+
return;
|
|
106
|
+
const by = linked.columns.find((column) => column.ref === link.by);
|
|
107
|
+
if (by === undefined) {
|
|
108
|
+
out.push({ path: here(r, 'link', 'by'), message: `"${linked.ref}" has no column "${link.by}"` });
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
if (by.role !== 'pk' && by.unique !== true)
|
|
112
|
+
out.push({ path: here(r, 'link', 'by'), message: `"${link.by}" must find one row of "${linked.ref}": its key, or a unique column` });
|
|
113
|
+
if (link.rows === undefined)
|
|
114
|
+
return;
|
|
115
|
+
if (linked.builtOn !== undefined)
|
|
116
|
+
out.push({ path: here(r, 'link', 'rows'), message: `"${linked.ref}" is built on an add-on's shape, which numbers its own rows: no rows are written into it` });
|
|
117
|
+
if (linked.private === true)
|
|
118
|
+
out.push({ path: here(r, 'link', 'rows'), message: `"${linked.ref}" is private: only the people its rows belong to write it` });
|
|
119
|
+
const columns = new Set(linked.columns.map((column) => column.ref));
|
|
120
|
+
const values = new Set();
|
|
121
|
+
link.rows.forEach((row, w) => {
|
|
122
|
+
for (const name of Object.keys(row)) {
|
|
123
|
+
if (!columns.has(name))
|
|
124
|
+
out.push({ path: here(r, 'link', 'rows', w, name), message: `"${linked.ref}" has no column "${name}"` });
|
|
125
|
+
}
|
|
126
|
+
const value = row[link.by];
|
|
127
|
+
if (typeof value !== 'string' && typeof value !== 'number') {
|
|
128
|
+
out.push({ path: here(r, 'link', 'rows', w), message: `each row carries its "${link.by}" as a plain text or number: it is what an old value is compared with` });
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
if (values.has(String(value)))
|
|
132
|
+
out.push({ path: here(r, 'link', 'rows', w, link.by), message: `"${String(value)}" is given to two rows` });
|
|
133
|
+
values.add(String(value));
|
|
134
|
+
});
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
return out;
|
|
138
|
+
}
|
|
139
|
+
//# sourceMappingURL=retired.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retired.js","sourceRoot":"","sources":["../src/retired.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEpE,6EAA6E;AAC7E,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC;AAC7B,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CAAC;AAEpC,iIAAiI;AACjI,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC;IACjC,YAAY;IACZ,CAAC,CAAC,IAAI,EAAE;IACR,CAAC;SACE,MAAM,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK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|
* only where the caller says so, and only for an app.
|
|
81
81
|
*/
|
|
82
82
|
export declare const LOCAL_PUBLISHER_ID = "local";
|
|
83
|
+
/**
|
|
84
|
+
* The key prefix of a package made on this install and put there from a file.
|
|
85
|
+
* An uploaded add-on carries the publisher `local` and a key that starts with
|
|
86
|
+
* this, so no upload can take a catalogue add-on's key; the prefix belongs to
|
|
87
|
+
* the publisher `local` alone, and a catalogue never delivers it.
|
|
88
|
+
*/
|
|
89
|
+
export declare const LOCAL_KEY_PREFIX = "local-";
|
|
83
90
|
export declare const publisherSchema: z.ZodObject<{
|
|
84
91
|
id: z.ZodString;
|
|
85
92
|
name: z.ZodString;
|
|
@@ -2836,6 +2843,16 @@ export declare const requiredTableSchema: z.ZodObject<{
|
|
|
2836
2843
|
forgotten: z.ZodString;
|
|
2837
2844
|
}, z.core.$strict>>;
|
|
2838
2845
|
}, z.core.$strict>>;
|
|
2846
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2847
|
+
column: z.ZodString;
|
|
2848
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
2849
|
+
to: z.ZodString;
|
|
2850
|
+
by: z.ZodString;
|
|
2851
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
2852
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2853
|
+
}, z.core.$strict>]>>>>;
|
|
2854
|
+
}, z.core.$strict>>;
|
|
2855
|
+
}, z.core.$strict>>>;
|
|
2839
2856
|
}, z.core.$strict>;
|
|
2840
2857
|
/**
|
|
2841
2858
|
* Everything wrong with a table's declared indexes: a column it lacks, a
|
|
@@ -4226,6 +4243,16 @@ export declare const requiredSchemaSchema: z.ZodObject<{
|
|
|
4226
4243
|
forgotten: z.ZodString;
|
|
4227
4244
|
}, z.core.$strict>>;
|
|
4228
4245
|
}, z.core.$strict>>;
|
|
4246
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4247
|
+
column: z.ZodString;
|
|
4248
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
4249
|
+
to: z.ZodString;
|
|
4250
|
+
by: z.ZodString;
|
|
4251
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
4252
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
4253
|
+
}, z.core.$strict>]>>>>;
|
|
4254
|
+
}, z.core.$strict>>;
|
|
4255
|
+
}, z.core.$strict>>>;
|
|
4229
4256
|
}, z.core.$strict>>;
|
|
4230
4257
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4231
4258
|
}, z.core.$strict>;
|
|
@@ -7275,6 +7302,9 @@ export declare const frontendSchema: z.ZodObject<{
|
|
|
7275
7302
|
floating: "floating";
|
|
7276
7303
|
}>>>;
|
|
7277
7304
|
}, z.core.$strict>>;
|
|
7305
|
+
skin: z.ZodOptional<z.ZodObject<{
|
|
7306
|
+
contract: z.ZodString;
|
|
7307
|
+
}, z.core.$strict>>;
|
|
7278
7308
|
}, z.core.$strict>;
|
|
7279
7309
|
/** A heading in the app's own sidebar section; pages name it in `nav.group`. */
|
|
7280
7310
|
/**
|
|
@@ -7587,6 +7617,9 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7587
7617
|
floating: "floating";
|
|
7588
7618
|
}>>>;
|
|
7589
7619
|
}, z.core.$strict>>;
|
|
7620
|
+
skin: z.ZodOptional<z.ZodObject<{
|
|
7621
|
+
contract: z.ZodString;
|
|
7622
|
+
}, z.core.$strict>>;
|
|
7590
7623
|
}, z.core.$strict>>;
|
|
7591
7624
|
navLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7592
7625
|
ref: z.ZodString;
|
|
@@ -7668,7 +7701,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7668
7701
|
phone: "phone";
|
|
7669
7702
|
details: "details";
|
|
7670
7703
|
}>;
|
|
7671
|
-
via: z.ZodOptional<z.ZodString
|
|
7704
|
+
via: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7672
7705
|
from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7673
7706
|
evenIfKept: z.ZodOptional<z.ZodLiteral<true>>;
|
|
7674
7707
|
}, z.core.$strict>>>;
|
|
@@ -7905,6 +7938,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
7905
7938
|
"email-change-confirm": "email-change-confirm";
|
|
7906
7939
|
"person-link-confirm": "person-link-confirm";
|
|
7907
7940
|
"sign-in-link": "sign-in-link";
|
|
7941
|
+
"surface-invite": "surface-invite";
|
|
7908
7942
|
"details-deleted": "details-deleted";
|
|
7909
7943
|
"payment-link": "payment-link";
|
|
7910
7944
|
"payment-receipt": "payment-receipt";
|
|
@@ -8570,6 +8604,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8570
8604
|
yes: "yes";
|
|
8571
8605
|
no: "no";
|
|
8572
8606
|
}>>;
|
|
8607
|
+
confirm: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<"by-country">]>>;
|
|
8573
8608
|
wording: z.ZodObject<{
|
|
8574
8609
|
version: z.ZodNumber;
|
|
8575
8610
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -8993,6 +9028,7 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
8993
9028
|
}, z.core.$strict>>>;
|
|
8994
9029
|
}, z.core.$strict>>;
|
|
8995
9030
|
}, z.core.$strict>>;
|
|
9031
|
+
everySurface: z.ZodOptional<z.ZodLiteral<true>>;
|
|
8996
9032
|
}, z.core.$strict>>>;
|
|
8997
9033
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
8998
9034
|
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
@@ -12308,6 +12344,16 @@ export declare const appManifestSchema: z.ZodObject<{
|
|
|
12308
12344
|
forgotten: z.ZodString;
|
|
12309
12345
|
}, z.core.$strict>>;
|
|
12310
12346
|
}, z.core.$strict>>;
|
|
12347
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12348
|
+
column: z.ZodString;
|
|
12349
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
12350
|
+
to: z.ZodString;
|
|
12351
|
+
by: z.ZodString;
|
|
12352
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
12353
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
12354
|
+
}, z.core.$strict>]>>>>;
|
|
12355
|
+
}, z.core.$strict>>;
|
|
12356
|
+
}, z.core.$strict>>>;
|
|
12311
12357
|
}, z.core.$strict>>;
|
|
12312
12358
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
12313
12359
|
}, z.core.$strict>;
|
|
@@ -12880,6 +12926,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
12880
12926
|
yes: "yes";
|
|
12881
12927
|
no: "no";
|
|
12882
12928
|
}>>;
|
|
12929
|
+
confirm: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<"by-country">]>>;
|
|
12883
12930
|
wording: z.ZodObject<{
|
|
12884
12931
|
version: z.ZodNumber;
|
|
12885
12932
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -13303,6 +13350,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
13303
13350
|
}, z.core.$strict>>>;
|
|
13304
13351
|
}, z.core.$strict>>;
|
|
13305
13352
|
}, z.core.$strict>>;
|
|
13353
|
+
everySurface: z.ZodOptional<z.ZodLiteral<true>>;
|
|
13306
13354
|
}, z.core.$strict>>>;
|
|
13307
13355
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13308
13356
|
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
@@ -15235,6 +15283,7 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
15235
15283
|
payments: "payments";
|
|
15236
15284
|
data: "data";
|
|
15237
15285
|
marketing: "marketing";
|
|
15286
|
+
skin: "skin";
|
|
15238
15287
|
}>>;
|
|
15239
15288
|
compatibility: z.ZodObject<{
|
|
15240
15289
|
minAdminiumVersion: z.ZodString;
|
|
@@ -15264,6 +15313,14 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
15264
15313
|
range: z.ZodOptional<z.ZodString>;
|
|
15265
15314
|
table: z.ZodOptional<z.ZodString>;
|
|
15266
15315
|
}, z.core.$strict>>;
|
|
15316
|
+
skin: z.ZodOptional<z.ZodObject<{
|
|
15317
|
+
of: z.ZodObject<{
|
|
15318
|
+
app: z.ZodString;
|
|
15319
|
+
contract: z.ZodString;
|
|
15320
|
+
}, z.core.$strict>;
|
|
15321
|
+
data: z.ZodString;
|
|
15322
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
15323
|
+
}, z.core.$strict>>;
|
|
15267
15324
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
15268
15325
|
server: "server";
|
|
15269
15326
|
}>>;
|
|
@@ -17028,6 +17085,16 @@ export declare const addOnManifestSchema: z.ZodObject<{
|
|
|
17028
17085
|
forgotten: z.ZodString;
|
|
17029
17086
|
}, z.core.$strict>>;
|
|
17030
17087
|
}, z.core.$strict>>;
|
|
17088
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17089
|
+
column: z.ZodString;
|
|
17090
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
17091
|
+
to: z.ZodString;
|
|
17092
|
+
by: z.ZodString;
|
|
17093
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
17094
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
17095
|
+
}, z.core.$strict>]>>>>;
|
|
17096
|
+
}, z.core.$strict>>;
|
|
17097
|
+
}, z.core.$strict>>>;
|
|
17031
17098
|
}, z.core.$strict>>;
|
|
17032
17099
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17033
17100
|
}, z.core.$strict>>;
|
|
@@ -17254,6 +17321,9 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
17254
17321
|
floating: "floating";
|
|
17255
17322
|
}>>>;
|
|
17256
17323
|
}, z.core.$strict>>;
|
|
17324
|
+
skin: z.ZodOptional<z.ZodObject<{
|
|
17325
|
+
contract: z.ZodString;
|
|
17326
|
+
}, z.core.$strict>>;
|
|
17257
17327
|
}, z.core.$strict>>;
|
|
17258
17328
|
navLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17259
17329
|
ref: z.ZodString;
|
|
@@ -17335,7 +17405,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
17335
17405
|
phone: "phone";
|
|
17336
17406
|
details: "details";
|
|
17337
17407
|
}>;
|
|
17338
|
-
via: z.ZodOptional<z.ZodString
|
|
17408
|
+
via: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
17339
17409
|
from: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17340
17410
|
evenIfKept: z.ZodOptional<z.ZodLiteral<true>>;
|
|
17341
17411
|
}, z.core.$strict>>>;
|
|
@@ -17572,6 +17642,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
17572
17642
|
"email-change-confirm": "email-change-confirm";
|
|
17573
17643
|
"person-link-confirm": "person-link-confirm";
|
|
17574
17644
|
"sign-in-link": "sign-in-link";
|
|
17645
|
+
"surface-invite": "surface-invite";
|
|
17575
17646
|
"details-deleted": "details-deleted";
|
|
17576
17647
|
"payment-link": "payment-link";
|
|
17577
17648
|
"payment-receipt": "payment-receipt";
|
|
@@ -18237,6 +18308,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
18237
18308
|
yes: "yes";
|
|
18238
18309
|
no: "no";
|
|
18239
18310
|
}>>;
|
|
18311
|
+
confirm: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<"by-country">]>>;
|
|
18240
18312
|
wording: z.ZodObject<{
|
|
18241
18313
|
version: z.ZodNumber;
|
|
18242
18314
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -18660,6 +18732,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
18660
18732
|
}, z.core.$strict>>>;
|
|
18661
18733
|
}, z.core.$strict>>;
|
|
18662
18734
|
}, z.core.$strict>>;
|
|
18735
|
+
everySurface: z.ZodOptional<z.ZodLiteral<true>>;
|
|
18663
18736
|
}, z.core.$strict>>>;
|
|
18664
18737
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
18665
18738
|
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
@@ -21975,6 +22048,16 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
21975
22048
|
forgotten: z.ZodString;
|
|
21976
22049
|
}, z.core.$strict>>;
|
|
21977
22050
|
}, z.core.$strict>>;
|
|
22051
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22052
|
+
column: z.ZodString;
|
|
22053
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
22054
|
+
to: z.ZodString;
|
|
22055
|
+
by: z.ZodString;
|
|
22056
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
22057
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
22058
|
+
}, z.core.$strict>]>>>>;
|
|
22059
|
+
}, z.core.$strict>>;
|
|
22060
|
+
}, z.core.$strict>>>;
|
|
21978
22061
|
}, z.core.$strict>>;
|
|
21979
22062
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
21980
22063
|
}, z.core.$strict>;
|
|
@@ -22528,6 +22611,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
22528
22611
|
yes: "yes";
|
|
22529
22612
|
no: "no";
|
|
22530
22613
|
}>>;
|
|
22614
|
+
confirm: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<true>, z.ZodLiteral<"by-country">]>>;
|
|
22531
22615
|
wording: z.ZodObject<{
|
|
22532
22616
|
version: z.ZodNumber;
|
|
22533
22617
|
text: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
@@ -22951,6 +23035,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
22951
23035
|
}, z.core.$strict>>>;
|
|
22952
23036
|
}, z.core.$strict>>;
|
|
22953
23037
|
}, z.core.$strict>>;
|
|
23038
|
+
everySurface: z.ZodOptional<z.ZodLiteral<true>>;
|
|
22954
23039
|
}, z.core.$strict>>>;
|
|
22955
23040
|
publicKeys: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
22956
23041
|
requiresStaff: z.ZodOptional<z.ZodObject<{
|
|
@@ -24883,6 +24968,7 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
24883
24968
|
payments: "payments";
|
|
24884
24969
|
data: "data";
|
|
24885
24970
|
marketing: "marketing";
|
|
24971
|
+
skin: "skin";
|
|
24886
24972
|
}>>;
|
|
24887
24973
|
compatibility: z.ZodObject<{
|
|
24888
24974
|
minAdminiumVersion: z.ZodString;
|
|
@@ -24912,6 +24998,14 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
24912
24998
|
range: z.ZodOptional<z.ZodString>;
|
|
24913
24999
|
table: z.ZodOptional<z.ZodString>;
|
|
24914
25000
|
}, z.core.$strict>>;
|
|
25001
|
+
skin: z.ZodOptional<z.ZodObject<{
|
|
25002
|
+
of: z.ZodObject<{
|
|
25003
|
+
app: z.ZodString;
|
|
25004
|
+
contract: z.ZodString;
|
|
25005
|
+
}, z.core.$strict>;
|
|
25006
|
+
data: z.ZodString;
|
|
25007
|
+
assets: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
25008
|
+
}, z.core.$strict>>;
|
|
24915
25009
|
scope: z.ZodOptional<z.ZodEnum<{
|
|
24916
25010
|
server: "server";
|
|
24917
25011
|
}>>;
|
|
@@ -26676,6 +26770,16 @@ export declare const manifestSchema: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.
|
|
|
26676
26770
|
forgotten: z.ZodString;
|
|
26677
26771
|
}, z.core.$strict>>;
|
|
26678
26772
|
}, z.core.$strict>>;
|
|
26773
|
+
retired: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
26774
|
+
column: z.ZodString;
|
|
26775
|
+
link: z.ZodOptional<z.ZodObject<{
|
|
26776
|
+
to: z.ZodString;
|
|
26777
|
+
by: z.ZodString;
|
|
26778
|
+
rows: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>, z.ZodNull, z.ZodObject<{
|
|
26779
|
+
'@t': z.ZodRecord<z.ZodString, z.ZodString>;
|
|
26780
|
+
}, z.core.$strict>]>>>>;
|
|
26781
|
+
}, z.core.$strict>>;
|
|
26782
|
+
}, z.core.$strict>>>;
|
|
26679
26783
|
}, z.core.$strict>>;
|
|
26680
26784
|
prefixed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
26681
26785
|
}, z.core.$strict>>;
|