@makehq/forman-schema 1.7.0 → 1.7.1
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.cjs +3 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -67,7 +67,7 @@ var API_ENDPOINTS = {
|
|
|
67
67
|
aiagent: "api://ai-agents/v1/agents",
|
|
68
68
|
datastore: "api://data-stores",
|
|
69
69
|
hook: "api://hooks/{{kind}}",
|
|
70
|
-
device: "api://devices",
|
|
70
|
+
device: "api://devices/{{kind}}",
|
|
71
71
|
keychain: "api://keys/{{kind}}",
|
|
72
72
|
udt: "api://data-structures",
|
|
73
73
|
scenario: "api://scenario-list"
|
|
@@ -310,6 +310,7 @@ function toJSONSchemaInternal(field, context = createDefaultContext()) {
|
|
|
310
310
|
case "select":
|
|
311
311
|
case "account":
|
|
312
312
|
case "hook":
|
|
313
|
+
case "device":
|
|
313
314
|
case "keychain":
|
|
314
315
|
case "datastore":
|
|
315
316
|
case "aiagent":
|
|
@@ -572,6 +573,7 @@ function handlePrimitiveType(field, result) {
|
|
|
572
573
|
var FORMAN_TYPE_MAP2 = {
|
|
573
574
|
account: "number",
|
|
574
575
|
hook: "number",
|
|
576
|
+
device: "number",
|
|
575
577
|
keychain: "number",
|
|
576
578
|
datastore: "number",
|
|
577
579
|
aiagent: "string",
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { JSONSchema7 } from 'json-schema';
|
|
|
3
3
|
/**
|
|
4
4
|
* Valid Forman Schema field types
|
|
5
5
|
*/
|
|
6
|
-
type FormanSchemaFieldType = 'aiagent' | 'account' | 'hook' | 'device' | 'keychain' | 'datastore' | 'udt' | 'scenario' | 'array' | 'collection' | 'text' | 'number' | 'boolean' | 'date' | 'json' | 'buffer' | 'cert' | 'color' | 'email' | 'filename' | 'file' | 'filter' | 'folder' | 'hidden' | 'integer' | 'uinteger' | 'path' | 'pkey' | 'port' | 'select' | 'time' | 'timestamp' | 'timezone' | 'url' | 'uuid' | `account:${string}` | `hook:${string}` | `keychain:${string}` | 'banner' | 'markdown' | 'html' | 'separator' | string;
|
|
6
|
+
type FormanSchemaFieldType = 'aiagent' | 'account' | 'hook' | 'device' | 'keychain' | 'datastore' | 'udt' | 'scenario' | 'array' | 'collection' | 'text' | 'number' | 'boolean' | 'date' | 'json' | 'buffer' | 'cert' | 'color' | 'email' | 'filename' | 'file' | 'filter' | 'folder' | 'hidden' | 'integer' | 'uinteger' | 'path' | 'pkey' | 'port' | 'select' | 'time' | 'timestamp' | 'timezone' | 'url' | 'uuid' | `account:${string}` | `hook:${string}` | `keychain:${string}` | `device:${string}` | 'banner' | 'markdown' | 'html' | 'separator' | string;
|
|
7
7
|
/**
|
|
8
8
|
* Validation configuration for Forman Schema fields
|
|
9
9
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { JSONSchema7 } from 'json-schema';
|
|
|
3
3
|
/**
|
|
4
4
|
* Valid Forman Schema field types
|
|
5
5
|
*/
|
|
6
|
-
type FormanSchemaFieldType = 'aiagent' | 'account' | 'hook' | 'device' | 'keychain' | 'datastore' | 'udt' | 'scenario' | 'array' | 'collection' | 'text' | 'number' | 'boolean' | 'date' | 'json' | 'buffer' | 'cert' | 'color' | 'email' | 'filename' | 'file' | 'filter' | 'folder' | 'hidden' | 'integer' | 'uinteger' | 'path' | 'pkey' | 'port' | 'select' | 'time' | 'timestamp' | 'timezone' | 'url' | 'uuid' | `account:${string}` | `hook:${string}` | `keychain:${string}` | 'banner' | 'markdown' | 'html' | 'separator' | string;
|
|
6
|
+
type FormanSchemaFieldType = 'aiagent' | 'account' | 'hook' | 'device' | 'keychain' | 'datastore' | 'udt' | 'scenario' | 'array' | 'collection' | 'text' | 'number' | 'boolean' | 'date' | 'json' | 'buffer' | 'cert' | 'color' | 'email' | 'filename' | 'file' | 'filter' | 'folder' | 'hidden' | 'integer' | 'uinteger' | 'path' | 'pkey' | 'port' | 'select' | 'time' | 'timestamp' | 'timezone' | 'url' | 'uuid' | `account:${string}` | `hook:${string}` | `keychain:${string}` | `device:${string}` | 'banner' | 'markdown' | 'html' | 'separator' | string;
|
|
7
7
|
/**
|
|
8
8
|
* Validation configuration for Forman Schema fields
|
|
9
9
|
*/
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var API_ENDPOINTS = {
|
|
|
38
38
|
aiagent: "api://ai-agents/v1/agents",
|
|
39
39
|
datastore: "api://data-stores",
|
|
40
40
|
hook: "api://hooks/{{kind}}",
|
|
41
|
-
device: "api://devices",
|
|
41
|
+
device: "api://devices/{{kind}}",
|
|
42
42
|
keychain: "api://keys/{{kind}}",
|
|
43
43
|
udt: "api://data-structures",
|
|
44
44
|
scenario: "api://scenario-list"
|
|
@@ -281,6 +281,7 @@ function toJSONSchemaInternal(field, context = createDefaultContext()) {
|
|
|
281
281
|
case "select":
|
|
282
282
|
case "account":
|
|
283
283
|
case "hook":
|
|
284
|
+
case "device":
|
|
284
285
|
case "keychain":
|
|
285
286
|
case "datastore":
|
|
286
287
|
case "aiagent":
|
|
@@ -543,6 +544,7 @@ function handlePrimitiveType(field, result) {
|
|
|
543
544
|
var FORMAN_TYPE_MAP2 = {
|
|
544
545
|
account: "number",
|
|
545
546
|
hook: "number",
|
|
547
|
+
device: "number",
|
|
546
548
|
keychain: "number",
|
|
547
549
|
datastore: "number",
|
|
548
550
|
aiagent: "string",
|