@kitsuden/shared 0.0.0-stage → 0.9.0-beta
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/LICENSE +21 -0
- package/README.md +65 -2
- package/dist/admin-registry-contract.d.ts +99 -0
- package/dist/admin-registry-contract.d.ts.map +1 -0
- package/dist/admin-view.d.ts +123 -0
- package/dist/admin-view.d.ts.map +1 -0
- package/dist/agent-permission.d.ts +161 -0
- package/dist/agent-permission.d.ts.map +1 -0
- package/dist/approvals.d.ts +164 -0
- package/dist/approvals.d.ts.map +1 -0
- package/dist/automation.d.ts +175 -0
- package/dist/automation.d.ts.map +1 -0
- package/dist/block-keys.d.ts +82 -0
- package/dist/block-keys.d.ts.map +1 -0
- package/dist/code-scan.d.ts +64 -0
- package/dist/code-scan.d.ts.map +1 -0
- package/dist/comment-subjects.d.ts +129 -0
- package/dist/comment-subjects.d.ts.map +1 -0
- package/dist/connections.d.ts +96 -0
- package/dist/connections.d.ts.map +1 -0
- package/dist/constants.d.ts +37 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/content-publishing.d.ts +34 -0
- package/dist/content-publishing.d.ts.map +1 -0
- package/dist/contracts.d.ts +87 -0
- package/dist/contracts.d.ts.map +1 -0
- package/dist/dataset-catalog.d.ts +91 -0
- package/dist/dataset-catalog.d.ts.map +1 -0
- package/dist/deck-analysis.d.ts +63 -0
- package/dist/deck-analysis.d.ts.map +1 -0
- package/dist/env.d.ts +2 -0
- package/dist/env.d.ts.map +1 -0
- package/dist/errors.d.ts +275 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/field-types.d.ts +304 -0
- package/dist/field-types.d.ts.map +1 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7785 -0
- package/dist/kon-api.d.ts +914 -0
- package/dist/kon-api.d.ts.map +1 -0
- package/dist/kon-entities.d.ts +204 -0
- package/dist/kon-entities.d.ts.map +1 -0
- package/dist/kon-events.d.ts +103 -0
- package/dist/kon-events.d.ts.map +1 -0
- package/dist/kon-package.d.ts +124 -0
- package/dist/kon-package.d.ts.map +1 -0
- package/dist/link-relations.d.ts +73 -0
- package/dist/link-relations.d.ts.map +1 -0
- package/dist/meta-levels.d.ts +81 -0
- package/dist/meta-levels.d.ts.map +1 -0
- package/dist/models-sql.d.ts +110 -0
- package/dist/models-sql.d.ts.map +1 -0
- package/dist/models.d.ts +354 -0
- package/dist/models.d.ts.map +1 -0
- package/dist/operations.d.ts +428 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/promotion.d.ts +244 -0
- package/dist/promotion.d.ts.map +1 -0
- package/dist/public-site.d.ts +106 -0
- package/dist/public-site.d.ts.map +1 -0
- package/dist/render-blocks.d.ts +150 -0
- package/dist/render-blocks.d.ts.map +1 -0
- package/dist/reports.d.ts +109 -0
- package/dist/reports.d.ts.map +1 -0
- package/dist/rls-builder.d.ts +136 -0
- package/dist/rls-builder.d.ts.map +1 -0
- package/dist/safe-pattern.d.ts +47 -0
- package/dist/safe-pattern.d.ts.map +1 -0
- package/dist/schemas.d.ts +977 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/sensitivity.d.ts +37 -0
- package/dist/sensitivity.d.ts.map +1 -0
- package/dist/signer.d.ts +67 -0
- package/dist/signer.d.ts.map +1 -0
- package/dist/tier-ranges.d.ts +37 -0
- package/dist/tier-ranges.d.ts.map +1 -0
- package/dist/types.d.ts +261 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +71 -0
- package/dist/utils.d.ts.map +1 -0
- package/dist/wiki-links.d.ts +56 -0
- package/dist/wiki-links.d.ts.map +1 -0
- package/package.json +53 -3
|
@@ -0,0 +1,304 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ============================================================================
|
|
3
|
+
* SINGLE REGISTRY OF FIELD TYPES
|
|
4
|
+
* ============================================================================
|
|
5
|
+
*
|
|
6
|
+
* This information used to be spread across four places that had to be touched
|
|
7
|
+
* at once and had already diverged:
|
|
8
|
+
*
|
|
9
|
+
* - `FieldTypeSchema` (which types exist)
|
|
10
|
+
* - the `switch` in `fieldTypeToZod` (how each one validates)
|
|
11
|
+
* - `FIELD_TYPE_OPTIONS` in the admin (which ones can be created)
|
|
12
|
+
* - `shouldIndexByDefault` / `shouldSearchByDefault` (how they are indexed)
|
|
13
|
+
*
|
|
14
|
+
* The divergence was not theoretical: `multiselect`, `textarea`, `datetime` and
|
|
15
|
+
* `media` validated correctly in the backend but did not exist for the
|
|
16
|
+
* user, because nobody added them to the admin's list. Four working types
|
|
17
|
+
* that nobody could create.
|
|
18
|
+
*
|
|
19
|
+
* From here on, a new type is declared ONCE, in this file.
|
|
20
|
+
*
|
|
21
|
+
* It does NOT define: how the concrete widget is drawn (that is the admin's job) nor a
|
|
22
|
+
* kon's business rules. Only what EVERYONE needs to know about a type.
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Value family on which validation is built.
|
|
26
|
+
*
|
|
27
|
+
* It is deliberately short: if this grew to have one entry per type we would
|
|
28
|
+
* be back to the `switch` we came to eliminate, just somewhere else.
|
|
29
|
+
*/
|
|
30
|
+
export type FieldValueKind = "string" | "number" | "boolean" | "date" | "uuid"
|
|
31
|
+
/** A media item: media library id OR http(s) address. See `image`. */
|
|
32
|
+
| "mediaRef" | "json" | "stringArray" | "rows";
|
|
33
|
+
/** Refinements on `string` that add format validation. */
|
|
34
|
+
export type FieldStringFormat = "email" | "url";
|
|
35
|
+
export interface FieldTypeSpec {
|
|
36
|
+
/** Value family: the base validator comes from here. */
|
|
37
|
+
kind: FieldValueKind;
|
|
38
|
+
/** Format refinement, only for `kind: "string"`. */
|
|
39
|
+
format?: FieldStringFormat;
|
|
40
|
+
label: string;
|
|
41
|
+
description: string;
|
|
42
|
+
/** Name of the lucide icon. */
|
|
43
|
+
icon: string;
|
|
44
|
+
/** Accent color in the palette. */
|
|
45
|
+
color: string;
|
|
46
|
+
/**
|
|
47
|
+
* `false` leaves the type usable through the API but out of the palette. It is used
|
|
48
|
+
* for legacy aliases, which still validate but are not offered as a new
|
|
49
|
+
* option: having them in the palette would offer two names for the same
|
|
50
|
+
* thing.
|
|
51
|
+
*/
|
|
52
|
+
creatable: boolean;
|
|
53
|
+
/** Supports `options[]` (lists of values). */
|
|
54
|
+
supportsOptions?: boolean;
|
|
55
|
+
/** Supports `subFields[]` (repeater). */
|
|
56
|
+
supportsSubFields?: boolean;
|
|
57
|
+
/** Supports `relation{}`. */
|
|
58
|
+
supportsRelation?: boolean;
|
|
59
|
+
/** Often filtered by exact value → index by default. */
|
|
60
|
+
indexByDefault: boolean;
|
|
61
|
+
/** Contains prose → search index by default. */
|
|
62
|
+
searchByDefault: boolean;
|
|
63
|
+
}
|
|
64
|
+
export declare const FIELD_TYPES: {
|
|
65
|
+
readonly text: {
|
|
66
|
+
readonly kind: "string";
|
|
67
|
+
readonly label: "Text";
|
|
68
|
+
readonly description: "Single or multi-line text";
|
|
69
|
+
readonly icon: "Type";
|
|
70
|
+
readonly color: "#00E5FF";
|
|
71
|
+
readonly creatable: true;
|
|
72
|
+
readonly indexByDefault: false;
|
|
73
|
+
readonly searchByDefault: true;
|
|
74
|
+
};
|
|
75
|
+
readonly textarea: {
|
|
76
|
+
readonly kind: "string";
|
|
77
|
+
readonly label: "Long text";
|
|
78
|
+
readonly description: "Multi-line prose";
|
|
79
|
+
readonly icon: "Pilcrow";
|
|
80
|
+
readonly color: "#00B8D4";
|
|
81
|
+
readonly creatable: true;
|
|
82
|
+
readonly indexByDefault: false;
|
|
83
|
+
readonly searchByDefault: true;
|
|
84
|
+
};
|
|
85
|
+
readonly number: {
|
|
86
|
+
readonly kind: "number";
|
|
87
|
+
readonly label: "Number";
|
|
88
|
+
readonly description: "Integer or decimal";
|
|
89
|
+
readonly icon: "Hash";
|
|
90
|
+
readonly color: "#76FF03";
|
|
91
|
+
readonly creatable: true;
|
|
92
|
+
readonly indexByDefault: false;
|
|
93
|
+
readonly searchByDefault: false;
|
|
94
|
+
};
|
|
95
|
+
readonly boolean: {
|
|
96
|
+
readonly kind: "boolean";
|
|
97
|
+
readonly label: "Boolean";
|
|
98
|
+
readonly description: "True / False toggle";
|
|
99
|
+
readonly icon: "ToggleLeft";
|
|
100
|
+
readonly color: "#FFD600";
|
|
101
|
+
readonly creatable: true;
|
|
102
|
+
readonly indexByDefault: false;
|
|
103
|
+
readonly searchByDefault: false;
|
|
104
|
+
};
|
|
105
|
+
readonly date: {
|
|
106
|
+
readonly kind: "date";
|
|
107
|
+
readonly label: "Date";
|
|
108
|
+
readonly description: "Date or datetime";
|
|
109
|
+
readonly icon: "Calendar";
|
|
110
|
+
readonly color: "#E040FB";
|
|
111
|
+
readonly creatable: true;
|
|
112
|
+
readonly indexByDefault: false;
|
|
113
|
+
readonly searchByDefault: false;
|
|
114
|
+
};
|
|
115
|
+
readonly datetime: {
|
|
116
|
+
readonly kind: "date";
|
|
117
|
+
readonly label: "Date & time";
|
|
118
|
+
readonly description: "Timestamp with time of day";
|
|
119
|
+
readonly icon: "Clock";
|
|
120
|
+
readonly color: "#D500F9";
|
|
121
|
+
readonly creatable: true;
|
|
122
|
+
readonly indexByDefault: false;
|
|
123
|
+
readonly searchByDefault: false;
|
|
124
|
+
};
|
|
125
|
+
readonly image: {
|
|
126
|
+
/**
|
|
127
|
+
* Media library id OR http(s) URL.
|
|
128
|
+
*
|
|
129
|
+
* With a plain `uuid`, a dataset with external images could not be saved
|
|
130
|
+
* (the URL failed validation), and consumers —tier lists,
|
|
131
|
+
* catalogs, the public grid— only knew how to draw URLs: no image
|
|
132
|
+
* field worked for both validating and drawing.
|
|
133
|
+
*/
|
|
134
|
+
readonly kind: "mediaRef";
|
|
135
|
+
readonly label: "Image";
|
|
136
|
+
readonly description: "Reference to a media item, or an absolute image URL";
|
|
137
|
+
readonly icon: "Image";
|
|
138
|
+
readonly color: "#FF9100";
|
|
139
|
+
readonly creatable: true;
|
|
140
|
+
readonly indexByDefault: false;
|
|
141
|
+
readonly searchByDefault: false;
|
|
142
|
+
};
|
|
143
|
+
readonly media: {
|
|
144
|
+
readonly kind: "mediaRef";
|
|
145
|
+
readonly label: "File";
|
|
146
|
+
readonly description: "Any media item — PDF, video, document";
|
|
147
|
+
readonly icon: "Paperclip";
|
|
148
|
+
readonly color: "#FF6E40";
|
|
149
|
+
readonly creatable: true;
|
|
150
|
+
readonly indexByDefault: false;
|
|
151
|
+
readonly searchByDefault: false;
|
|
152
|
+
};
|
|
153
|
+
readonly url: {
|
|
154
|
+
readonly kind: "string";
|
|
155
|
+
readonly format: "url";
|
|
156
|
+
readonly label: "URL";
|
|
157
|
+
readonly description: "Validated web address";
|
|
158
|
+
readonly icon: "Link";
|
|
159
|
+
readonly color: "#40C4FF";
|
|
160
|
+
readonly creatable: true;
|
|
161
|
+
readonly indexByDefault: true;
|
|
162
|
+
readonly searchByDefault: false;
|
|
163
|
+
};
|
|
164
|
+
readonly email: {
|
|
165
|
+
readonly kind: "string";
|
|
166
|
+
readonly format: "email";
|
|
167
|
+
readonly label: "Email";
|
|
168
|
+
readonly description: "Validated email address";
|
|
169
|
+
readonly icon: "Mail";
|
|
170
|
+
readonly color: "#B388FF";
|
|
171
|
+
readonly creatable: true;
|
|
172
|
+
readonly indexByDefault: true;
|
|
173
|
+
readonly searchByDefault: false;
|
|
174
|
+
};
|
|
175
|
+
readonly select: {
|
|
176
|
+
readonly kind: "string";
|
|
177
|
+
readonly label: "Select";
|
|
178
|
+
readonly description: "One value from a list";
|
|
179
|
+
readonly icon: "List";
|
|
180
|
+
readonly color: "#1DE9B6";
|
|
181
|
+
readonly creatable: true;
|
|
182
|
+
readonly supportsOptions: true;
|
|
183
|
+
readonly indexByDefault: true;
|
|
184
|
+
readonly searchByDefault: false;
|
|
185
|
+
};
|
|
186
|
+
readonly multiselect: {
|
|
187
|
+
readonly kind: "stringArray";
|
|
188
|
+
readonly label: "Multi-select";
|
|
189
|
+
readonly description: "Several values from a list";
|
|
190
|
+
readonly icon: "ListChecks";
|
|
191
|
+
readonly color: "#00BFA5";
|
|
192
|
+
readonly creatable: true;
|
|
193
|
+
readonly supportsOptions: true;
|
|
194
|
+
readonly indexByDefault: false;
|
|
195
|
+
readonly searchByDefault: false;
|
|
196
|
+
};
|
|
197
|
+
readonly json: {
|
|
198
|
+
readonly kind: "json";
|
|
199
|
+
readonly label: "JSON";
|
|
200
|
+
readonly description: "Free-form structured data";
|
|
201
|
+
readonly icon: "Braces";
|
|
202
|
+
readonly color: "#8D99AE";
|
|
203
|
+
readonly creatable: true;
|
|
204
|
+
readonly indexByDefault: false;
|
|
205
|
+
readonly searchByDefault: false;
|
|
206
|
+
};
|
|
207
|
+
readonly richtext: {
|
|
208
|
+
readonly kind: "string";
|
|
209
|
+
readonly label: "Rich text";
|
|
210
|
+
readonly description: "Formatted content";
|
|
211
|
+
readonly icon: "FileText";
|
|
212
|
+
readonly color: "#FF4081";
|
|
213
|
+
readonly creatable: true;
|
|
214
|
+
readonly indexByDefault: false;
|
|
215
|
+
readonly searchByDefault: false;
|
|
216
|
+
};
|
|
217
|
+
readonly relation: {
|
|
218
|
+
readonly kind: "uuid";
|
|
219
|
+
readonly label: "Relation";
|
|
220
|
+
readonly description: "Link to another dataset";
|
|
221
|
+
readonly icon: "GitBranch";
|
|
222
|
+
readonly color: "#536DFE";
|
|
223
|
+
readonly creatable: true;
|
|
224
|
+
readonly supportsRelation: true;
|
|
225
|
+
readonly indexByDefault: true;
|
|
226
|
+
readonly searchByDefault: false;
|
|
227
|
+
};
|
|
228
|
+
readonly kpi: {
|
|
229
|
+
readonly kind: "number";
|
|
230
|
+
readonly label: "KPI / Formula";
|
|
231
|
+
readonly description: "Calculated metric";
|
|
232
|
+
readonly icon: "Calculator";
|
|
233
|
+
readonly color: "#FF1493";
|
|
234
|
+
readonly creatable: true;
|
|
235
|
+
readonly indexByDefault: false;
|
|
236
|
+
readonly searchByDefault: false;
|
|
237
|
+
};
|
|
238
|
+
readonly repeater: {
|
|
239
|
+
readonly kind: "rows";
|
|
240
|
+
readonly label: "Repeater";
|
|
241
|
+
readonly description: "Repeating group of subfields";
|
|
242
|
+
readonly icon: "Rows3";
|
|
243
|
+
readonly color: "#FF6D00";
|
|
244
|
+
readonly creatable: true;
|
|
245
|
+
readonly supportsSubFields: true;
|
|
246
|
+
readonly indexByDefault: false;
|
|
247
|
+
readonly searchByDefault: false;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
export type FieldTypeName = keyof typeof FIELD_TYPES;
|
|
251
|
+
/** All type names, to derive the Zod enum without repeating the list. */
|
|
252
|
+
export declare const FIELD_TYPE_NAMES: [FieldTypeName, ...FieldTypeName[]];
|
|
253
|
+
/**
|
|
254
|
+
* Legacy aliases that appear in old schemas and in other vocabularies
|
|
255
|
+
* of the repo (SQL columns in `AutoFormModal`, kon-esports' `CustomFieldType`).
|
|
256
|
+
* They are resolved to the canonical type instead of duplicating entries.
|
|
257
|
+
*
|
|
258
|
+
* Map instead of branching: when a new vocabulary appears, it is added
|
|
259
|
+
* here and no validator is touched.
|
|
260
|
+
*/
|
|
261
|
+
export declare const FIELD_TYPE_ALIASES: {
|
|
262
|
+
readonly string: "text";
|
|
263
|
+
readonly integer: "number";
|
|
264
|
+
readonly float: "number";
|
|
265
|
+
readonly numeric: "number";
|
|
266
|
+
readonly jsonb: "json";
|
|
267
|
+
readonly object: "json";
|
|
268
|
+
readonly timestamp: "datetime";
|
|
269
|
+
readonly checkbox: "boolean";
|
|
270
|
+
readonly file: "media";
|
|
271
|
+
readonly longtext: "textarea";
|
|
272
|
+
readonly bool: "boolean";
|
|
273
|
+
};
|
|
274
|
+
export type FieldTypeAlias = keyof typeof FIELD_TYPE_ALIASES;
|
|
275
|
+
/**
|
|
276
|
+
* Resolves any name —canonical, alias or unknown— to a type in the
|
|
277
|
+
* registry.
|
|
278
|
+
*
|
|
279
|
+
* An unknown type falls back to `text` instead of blowing up: a schema with a type
|
|
280
|
+
* this build does not know yet must keep storing its data as text,
|
|
281
|
+
* not take down the whole form. It is the same reason the entry validator
|
|
282
|
+
* uses `passthrough()`.
|
|
283
|
+
*/
|
|
284
|
+
export declare function resolveFieldType(type: string | undefined | null): FieldTypeName;
|
|
285
|
+
/** Spec of a type, resolving aliases. Never returns `undefined`. */
|
|
286
|
+
export declare function fieldTypeSpec(type: string | undefined | null): FieldTypeSpec;
|
|
287
|
+
/** Types that can be offered in the admin palette, in declaration order. */
|
|
288
|
+
export declare function creatableFieldTypes(): Array<{
|
|
289
|
+
type: FieldTypeName;
|
|
290
|
+
} & FieldTypeSpec>;
|
|
291
|
+
export declare function shouldIndexByDefault(type: string): boolean;
|
|
292
|
+
export declare function shouldSearchByDefault(type: string): boolean;
|
|
293
|
+
/**
|
|
294
|
+
* The fields of `data_sets.schema`, whatever shape it comes in.
|
|
295
|
+
*
|
|
296
|
+
* The column has been written in TWO shapes: a list of fields ("lite" routes,
|
|
297
|
+
* validation, kon catalogs, the `/data` table) and a `{fields}` object
|
|
298
|
+
* (the public grid, bulk import, kon-datasets' POST, MCP).
|
|
299
|
+
* Each consumer expected only one, so no dataset worked for all of them:
|
|
300
|
+
* validation blew up with `{fields}` and the grid drew 0 columns with
|
|
301
|
+
* a list. Everyone now reads through here.
|
|
302
|
+
*/
|
|
303
|
+
export declare function schemaFields(schema: unknown): Record<string, unknown>[];
|
|
304
|
+
//# sourceMappingURL=field-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field-types.d.ts","sourceRoot":"","sources":["../src/field-types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAMH;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GACtB,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,MAAM;AACR,sEAAsE;GACpE,UAAU,GACV,MAAM,GACN,aAAa,GACb,MAAM,CAAC;AAEX,0DAA0D;AAC1D,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,KAAK,CAAC;AAEhD,MAAM,WAAW,aAAa;IA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E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,aAAa,CAE5E;AAED,4EAA4E;AAC5E,wBAAgB,mBAAmB,IAAI,KAAK,CAAC;IAAE,IAAI,EAAE,aAAa,CAAA;CAAE,GAAG,aAAa,CAAC,CAIpF;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE1D;AAED,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE3D;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAOvE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
export { SITE_CONFIG, BREAKPOINTS, NEON_COLORS } from "./constants";
|
|
2
|
+
export { defineKon, createKonRouter, KonError, KonErrors, konSetting } from "./kon-api";
|
|
3
|
+
export type { KonCache, KonEvents, KonRealtime, KonAuth, KonStorage, KonDatabase, KonContext, KonRouterFactory, KonDefinition, KonRateLimit, KonSchedule, KonWorker, KonWorkerRuntime, KonQueue, KonQueueJob, KonAgentRun, KonAgentEvent, KonAgentResult, ContentTarget, ContentTargetInfo, KonContentPublishing, PromotionData, PromotionOptions, PromotionSource, PublishResult, KonOpenApiSpec, KonOpenApiPath, KonOpenApiTag, OpenApiMethod, } from "./kon-api";
|
|
4
|
+
export { formatDate, truncate, buildCmsUrl, buildApiUrl, gameJsonLd, articleJsonLd, createPaginatedResponse, } from "./utils";
|
|
5
|
+
export type { PageBlock, BlockEditorial, Game, BlogPost, DataSet, DataEntry, Platform, Tag, Streamer, SiteSettings, SEOMeta, MediaItem, PaginatedResponse, } from "./types";
|
|
6
|
+
export { COMMON_BLOCK_KEYS, BLOCK_KEYS_BY_TYPE, FIELD_KEYS, ITEM_KEYS, LINKED_DATASET_KEYS, LABEL_KEYS, BLOCK_VALUES_BY_TYPE, EDITORIAL_KEYS, readBlockData, readEditorial, findSpanishBlockKeys, findSpanishEditorialKeys, spanishKeysError, } from "./block-keys";
|
|
7
|
+
export type { KeyRenames, SpanishKey } from "./block-keys";
|
|
8
|
+
export type { KonPackage, KonPackageMinimal, KonDependencies, KonMountConfig, KonTableConfig, KonLifecycleHooks, } from "./kon-package";
|
|
9
|
+
export { isValidKonPackage } from "./kon-package";
|
|
10
|
+
export { renderBlocks, escapeHtml, safeUrl, embedUrl, STATIC_TYPES, INTERACTIVE_TYPES, type ContentBlock, type RenderOptions, type RenderResult, } from "./render-blocks";
|
|
11
|
+
export { DECK_BARS, SKILL_MEASURES, CARD_MEASURES, DECK_TYPES, GRADES, LEARNING_CURVES, CARD_ROLES, ENDURANCE_PHASES, GRADE_FACTORS, weightedScore, type AnalysisMeasure, } from "./deck-analysis";
|
|
12
|
+
export { FieldTypeSchema, RelationTypeSchema, RelationTargetSchema, RelationConfigSchema, SelectOptionSchema, FieldDefinitionSchema, DatasetPolicySchema, DatasetWorkflowSchema, DatasetDefinitionSchema, DatasetEntrySchema, CreateDatasetPayloadSchema, UpdateDatasetPayloadSchema, validateDatasetDefinition, safeValidateDataset, generateFieldId, createEmptyField, } from "./schemas";
|
|
13
|
+
export type { FieldType, RelationType, RelationTarget, RelationConfig, SelectOption, FieldDefinition, DatasetPolicy, DatasetWorkflow, DatasetDefinition, DatasetEntry, CreateDatasetPayload, UpdateDatasetPayload, } from "./schemas";
|
|
14
|
+
export { buildDrizzleWhere, buildDatasetWhere, checkReadAccess, checkWriteAccess, createRLSFilter, publishedOrOwn, publishedOrOwnQl, } from "./rls-builder";
|
|
15
|
+
export type { RLSType, RLSRule, PolicyJson, RLSUser } from "./rls-builder";
|
|
16
|
+
export { isValidElementName, isSafeAssetPath, isDeclaredAdminAsset, declaredViewSources, ADMIN_ASSET_DIR, isValidKonId, adminAssetUrl, resolveCustomView, descriptorFromView, createViewContext, CustomViewError, } from "./admin-view";
|
|
17
|
+
export type { CustomViewDescriptor, ResolvedCustomView, AdminViewContext } from "./admin-view";
|
|
18
|
+
export { ADMIN_REGISTRY_VERSION, CONTRACT_HEADER, assertSupportedContract, } from "./admin-registry-contract";
|
|
19
|
+
export type { AdminRegistryResponse, AdminRegistryKonResponse, AdminRegistryKon, AdminRegistryTable, AdminRegistryView, } from "./admin-registry-contract";
|
|
20
|
+
export { FIELD_TYPES, FIELD_TYPE_NAMES, FIELD_TYPE_ALIASES, resolveFieldType, fieldTypeSpec, creatableFieldTypes, shouldIndexByDefault, shouldSearchByDefault, } from "./field-types";
|
|
21
|
+
export type { FieldTypeName, FieldTypeSpec, FieldValueKind, FieldStringFormat, } from "./field-types";
|
|
22
|
+
export type { FieldTypeAlias } from "./field-types";
|
|
23
|
+
export { readDatasetCatalog, datasetImageUrl, datasetNumber, DATASET_MAX_ROWS, } from "./dataset-catalog";
|
|
24
|
+
export type { DatasetCatalog,
|
|
25
|
+
/**
|
|
26
|
+
* `DatasetEntry` is already exported by `./schemas` (the one inferred from zod), and re-exporting
|
|
27
|
+
* both with the same name broke the build of the entire package:
|
|
28
|
+
*
|
|
29
|
+
* src/index.ts(129,3): error TS2300: Duplicate identifier 'DatasetEntry'.
|
|
30
|
+
*
|
|
31
|
+
* Without `.d.ts`, anyone importing `@kitsuden/shared` silently gets `any` —that is
|
|
32
|
+
* why the build script treats it as an error and not a warning—. It is disambiguated
|
|
33
|
+
* here, in the barrel, without touching either module: nobody imported
|
|
34
|
+
* this type by its short name yet.
|
|
35
|
+
*/
|
|
36
|
+
DatasetEntry as DatasetCatalogEntry, DatasetField, DatasetReader, } from "./dataset-catalog";
|
|
37
|
+
export { COMMENTABLE_SUBJECTS, SUBJECT_TYPES, isSubjectType, commentableSubject, } from "./comment-subjects";
|
|
38
|
+
export type { CommentableSubject, SubjectType } from "./comment-subjects";
|
|
39
|
+
export { RESERVED_SITE_SEGMENTS, readReservedSegments, invalidGameSlugReason, invalidWikiSlugReason, gameSlug, } from "./public-site";
|
|
40
|
+
export { wikiPageSlug, extractWikiLinks, renderWikiLinks } from "./wiki-links";
|
|
41
|
+
export type { WikiLink } from "./wiki-links";
|
|
42
|
+
export { safeMarkdown } from "./render-blocks";
|
|
43
|
+
export { renderWikiPage } from "./wiki-links";
|
|
44
|
+
export { DEFAULT_PUBLIC_URL, effectivePublicUrl } from "./public-site";
|
|
45
|
+
export { DEFAULT_SITE_NAMES, effectiveSiteName } from "./public-site";
|
|
46
|
+
export { schemaFields } from "./field-types";
|
|
47
|
+
export { SENSITIVITY_LEVELS, isSensitivity, markedDatasetFields, droppedSensitivity, konSensitivity, } from "./sensitivity";
|
|
48
|
+
export type { Sensitivity } from "./sensitivity";
|
|
49
|
+
export { TIERS, BRACKETS, bracketByPosition } from "./tier-ranges";
|
|
50
|
+
export type { TierBracket } from "./tier-ranges";
|
|
51
|
+
export { LETTERS, TAGS, LEVELS, LEVELS_NOTE, minForLetter, metaLevels } from "./meta-levels";
|
|
52
|
+
export type { MetaLevel, GradableArchetype } from "./meta-levels";
|
|
53
|
+
export { CONTRACTS, SDKS, KITSUDEN_VERSION } from "./contracts";
|
|
54
|
+
export type { ContractName, VersionResponse } from "./contracts";
|
|
55
|
+
export { KITSUDEN_ERRORS, ERROR_DOCS, PROBLEM_JSON, isKitsudenErrorCode, errorDocsUrl, errorCodeForStatus, errorCodeFromLegacy, buildProblem, parseRetryAfter, } from "./errors";
|
|
56
|
+
export type { ErrorCatalogEntry, KitsudenErrorCode, ProblemDetails } from "./errors";
|
|
57
|
+
export { KONS_SDK_VERSION, defineOperation, checkOperations, checkDeprecations, dayToTime, deprecationHeaders, deprecationNote, isSensitive, isReadOnly, isIdempotent, exclusionMcp, operationErrors, konShortName, operationFineScope, toolName, operationIdOf, scopeCovers, scopesThatGrant, grantsByScopes, operationCost, operationIdentities, operationDenial, whyGranted, dateSchema, uuidSchema, MCP_BODY_ARGUMENT, MCP_IDEMPOTENCY_ARGUMENT, routeParameters, shortGuide, isRedirect, REDIRECT_STATUSES, } from "./operations";
|
|
58
|
+
export type { OperationDeprecation, OperationGuide, OperationMethod, OperationAccess, OperationPermission, OperationOutput, OperationInput, OperationMcp, ValidatedInput, OperationUser, OperationContext, KonOperation, GrantByScope, SuccessStatus, RedirectStatus, } from "./operations";
|
|
59
|
+
export { DENIAL_PREFIX, isDenial, splitScopes, patternCovers, denialThatCovers, grantThatCovers, concedeScope, agentActsAsUser, opensWholeKon, SCOPE_ACT_AS_USER, invalidScopeReason, normalizeScopes, MAX_SCOPES_PER_AGENT, DATASET_ACTIONS, datasetScope, accessToDataset, agentWritesByPolicy, AGENT_PRESETS, BROAD_CORE_SCOPES, } from "./agent-permission";
|
|
60
|
+
export type { DatasetAction, AgentPreset } from "./agent-permission";
|
|
61
|
+
export { APPROVAL_MODES, isApprovalMode, PROPOSAL_RETENTIONS, isProposalRetention, DEFAULT_APPROVALS_CONFIG, TTL_MIN_HOURS, TTL_MAX_HOURS, PROPOSAL_STATUSES, isWriteMethod, decideApproval, patternRegex, legacyHouseRule, invalidRuleReason, mergeApprovalsConfig, readApprovalsConfig, mcpToolKey, defaultSensitiveMcpTool, UNATTENDED_MODES, isUnattendedMode, ALTERNATIVE_MAX, DEFAULT_UNATTENDED_ALTERNATIVE, decideUnattended, pickAlternative, invalidAlternativeReason, } from "./approvals";
|
|
62
|
+
export type { UnattendedMode, ApprovalMode, ProposalRetention, LegacyApprovalRule, ApprovalsConfig, ProposalStatus, ProposalReason, } from "./approvals";
|
|
63
|
+
export { SIGNER_ROLES, canSign, agentSignature } from "./signer";
|
|
64
|
+
export type { AgentSigner, SignatureResolved } from "./signer";
|
|
65
|
+
export { safePattern, testPattern, MAX_PATTERN_LENGTH, MAX_LENGTH_TO_TEST } from "./safe-pattern";
|
|
66
|
+
export { PROMOTION_MODES, isPromotionMode, DEFAULT_PROMOTION_CONFIG, PROMOTION_CONFIG_LIMITS, mergePromotionConfig, readPromotionConfig, VERSION_STATUSES, DEFAULT_CODE_LIMITS, capabilitiesOf, egressRulesOf, hostCovers, reachCovers, capabilitiesDiff, pathTouch, scopeTouch, secretName, FALLBACK_REASONS, decidePromotion, MAX_TESTS_PER_DRAFT, MAX_CODE_BYTES, } from "./promotion";
|
|
67
|
+
export type { PromotionMode, PromotionConfig, VersionStatus, CodeCapabilities, CodeEgressRule, CapabilitiesDiff, SensitiveTouch, FallbackReason, TestsSummary, DecisionInput, PromotionDecision, MockResponse, TestCase, } from "./promotion";
|
|
68
|
+
export { scanCode, MAX_SCANNABLE_BYTES } from "./code-scan";
|
|
69
|
+
export type { FindingSeverity, ScanFinding, ApiCallInfo, ScanReport, ScanOptions, } from "./code-scan";
|
|
70
|
+
export * from "./models";
|
|
71
|
+
export * from "./models-sql";
|
|
72
|
+
export * from "./env";
|
|
73
|
+
export * from "./kon-events";
|
|
74
|
+
export * from "./link-relations";
|
|
75
|
+
export * from "./automation";
|
|
76
|
+
export * from "./reports";
|
|
77
|
+
export * from "./kon-entities";
|
|
78
|
+
export * from "./connections";
|
|
79
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAMpE,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAExF,YAAY,EACV,QAAQ,EACR,SAAS,EACT,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,UAAU,EACV,gBAAgB,EAChB,aAAa,EACb,YAAY,EACZ,WAAW,EACX,SAAS,EACT,gBAAgB,EAEhB,QAAQ,EACR,WAAW,EAEX,WAAW,EACX,aAAa,EACb,cAAc,EAEd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,aAAa,EAEb,cAAc,EACd,cAAc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