@objectstack/objectql 6.9.0 → 7.0.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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
package/dist/index.mjs
CHANGED
|
@@ -1151,14 +1151,14 @@ var SysMetadataRepository = class {
|
|
|
1151
1151
|
|
|
1152
1152
|
// src/protocol.ts
|
|
1153
1153
|
import { ConflictError as ConflictError2 } from "@objectstack/metadata-core";
|
|
1154
|
-
import { parseFilterAST, isFilterAST,
|
|
1154
|
+
import { parseFilterAST, isFilterAST, ObjectSchema as ObjectSchema2, FieldSchema, HookSchema } from "@objectstack/spec/data";
|
|
1155
1155
|
import { PLURAL_TO_SINGULAR as PLURAL_TO_SINGULAR2, SINGULAR_TO_PLURAL as SINGULAR_TO_PLURAL2 } from "@objectstack/spec/shared";
|
|
1156
|
-
import { ListViewSchema, FormViewSchema, DashboardSchema, AppSchema as AppSchema2, PageSchema, ReportSchema, ActionSchema
|
|
1157
|
-
import { RoleSchema
|
|
1158
|
-
import { PermissionSetSchema
|
|
1159
|
-
import { EmailTemplateSchema,
|
|
1160
|
-
import { ToolSchema, SkillSchema, AgentSchema
|
|
1161
|
-
import { FlowSchema, WorkflowRuleSchema, ApprovalProcessSchema
|
|
1156
|
+
import { ListViewSchema, FormViewSchema, DashboardSchema, AppSchema as AppSchema2, PageSchema, ReportSchema, ActionSchema } from "@objectstack/spec/ui";
|
|
1157
|
+
import { RoleSchema } from "@objectstack/spec/identity";
|
|
1158
|
+
import { PermissionSetSchema } from "@objectstack/spec/security";
|
|
1159
|
+
import { EmailTemplateSchema, JobSchema, METADATA_FORM_REGISTRY } from "@objectstack/spec/system";
|
|
1160
|
+
import { ToolSchema, SkillSchema, AgentSchema } from "@objectstack/spec/ai";
|
|
1161
|
+
import { FlowSchema, WorkflowRuleSchema, ApprovalProcessSchema } from "@objectstack/spec/automation";
|
|
1162
1162
|
import { DEFAULT_METADATA_TYPE_REGISTRY as DEFAULT_METADATA_TYPE_REGISTRY2 } from "@objectstack/spec/kernel";
|
|
1163
1163
|
import { z } from "zod";
|
|
1164
1164
|
var TYPE_TO_SCHEMA = {
|
|
@@ -1182,27 +1182,7 @@ var TYPE_TO_SCHEMA = {
|
|
|
1182
1182
|
job: JobSchema,
|
|
1183
1183
|
hook: HookSchema
|
|
1184
1184
|
};
|
|
1185
|
-
var TYPE_TO_FORM =
|
|
1186
|
-
object: objectForm,
|
|
1187
|
-
field: fieldForm,
|
|
1188
|
-
hook: hookForm,
|
|
1189
|
-
report: reportForm,
|
|
1190
|
-
view: viewForm,
|
|
1191
|
-
app: appForm,
|
|
1192
|
-
dashboard: dashboardForm,
|
|
1193
|
-
role: roleForm,
|
|
1194
|
-
action: actionForm,
|
|
1195
|
-
page: pageForm,
|
|
1196
|
-
agent: agentForm,
|
|
1197
|
-
tool: toolForm,
|
|
1198
|
-
skill: skillForm,
|
|
1199
|
-
flow: flowForm,
|
|
1200
|
-
workflow: workflowForm,
|
|
1201
|
-
approval: approvalForm,
|
|
1202
|
-
permission: permissionForm,
|
|
1203
|
-
profile: permissionForm,
|
|
1204
|
-
email_template: emailTemplateForm
|
|
1205
|
-
};
|
|
1185
|
+
var TYPE_TO_FORM = METADATA_FORM_REGISTRY;
|
|
1206
1186
|
var _jsonSchemaCache = /* @__PURE__ */ new WeakMap();
|
|
1207
1187
|
function toJsonSchemaSafe(schema) {
|
|
1208
1188
|
const cached = _jsonSchemaCache.get(schema);
|