@mccaskie-labs/workbench-config 0.3.1 → 0.4.0
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/CHANGELOG.md +12 -0
- package/capabilities/ai.json +212 -7
- package/capabilities/intake.json +212 -0
- package/capabilities/schema.json +4 -2
- package/dist/capabilities.gen.d.ts +471 -6
- package/dist/capabilities.gen.js +589 -6
- package/dist/capability-schema.d.ts +3 -1
- package/dist/capability-schema.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const COMPONENTS: readonly ["gateway", "ai", "images", "image-search", "config", "email", "email-inbound", "email-sending", "database", "workers", "domains", "dns", "analytics", "country", "pdf", "access", "r2", "kv", "github", "strings", "ui", "forms", "sign-in", "availability"];
|
|
2
|
+
export declare const COMPONENTS: readonly ["gateway", "ai", "images", "image-search", "config", "email", "email-inbound", "email-sending", "database", "workers", "domains", "dns", "analytics", "country", "pdf", "access", "r2", "kv", "github", "strings", "ui", "forms", "sign-in", "availability", "intake"];
|
|
3
3
|
export type Component = (typeof COMPONENTS)[number];
|
|
4
4
|
export declare const allowedSchemas: {
|
|
5
5
|
gateway: z.ZodObject<{
|
|
@@ -177,6 +177,7 @@ export declare const capabilitySchema: z.ZodObject<{
|
|
|
177
177
|
github: "github";
|
|
178
178
|
"image-search": "image-search";
|
|
179
179
|
images: "images";
|
|
180
|
+
intake: "intake";
|
|
180
181
|
kv: "kv";
|
|
181
182
|
pdf: "pdf";
|
|
182
183
|
r2: "r2";
|
|
@@ -309,6 +310,7 @@ export declare const capabilitySchema: z.ZodObject<{
|
|
|
309
310
|
github: "github";
|
|
310
311
|
"image-search": "image-search";
|
|
311
312
|
images: "images";
|
|
313
|
+
intake: "intake";
|
|
312
314
|
kv: "kv";
|
|
313
315
|
pdf: "pdf";
|
|
314
316
|
r2: "r2";
|
|
@@ -27,6 +27,7 @@ export const COMPONENTS = [
|
|
|
27
27
|
"forms",
|
|
28
28
|
"sign-in",
|
|
29
29
|
"availability",
|
|
30
|
+
"intake",
|
|
30
31
|
];
|
|
31
32
|
const id = z.string().regex(/^[a-z0-9][a-z0-9.-]*$/, "lower case, digits, dots and hyphens");
|
|
32
33
|
const code = z.string().regex(/^[a-z][a-z0-9_]*$/, "a snake_case error code");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-config",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Workbench app configuration: WORKBENCH_ENV, typed variables that fail by name, secrets that are never printed, and the capabilities manifest.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|