Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

refactor: update supabase types and swagger-docs-schema

Rob Carrington7cd11eff80eb
diff --git a/packages/database/src/swagger-docs-schema.ts b/packages/database/src/swagger-docs-schema.ts
index a85ca06b07..eb78068f8c 100644
--- a/packages/database/src/swagger-docs-schema.ts
+++ b/packages/database/src/swagger-docs-schema.ts
@@ -3,7 +3,7 @@ export default {
info: {
description: "",
title: "standard public schema",
- version: "12.0.2 (a4e00ff)",
+ version: "12.0.1 (cd38da5)",
},
host: "0.0.0.0:3000",
basePath: "/",
@@ -8088,18 +8088,6 @@ export default {
{
$ref: "#/parameters/rowFilter.integration.id",
},
- {
- $ref: "#/parameters/rowFilter.integration.title",
- },
- {
- $ref: "#/parameters/rowFilter.integration.description",
- },
- {
- $ref: "#/parameters/rowFilter.integration.logoPath",
- },
- {
- $ref: "#/parameters/rowFilter.integration.visible",
- },
{
$ref: "#/parameters/rowFilter.integration.jsonschema",
},
@@ -8165,18 +8153,6 @@ export default {
{
$ref: "#/parameters/rowFilter.integration.id",
},
- {
- $ref: "#/parameters/rowFilter.integration.title",
- },
- {
- $ref: "#/parameters/rowFilter.integration.description",
- },
- {
- $ref: "#/parameters/rowFilter.integration.logoPath",
- },
- {
- $ref: "#/parameters/rowFilter.integration.visible",
- },
{
$ref: "#/parameters/rowFilter.integration.jsonschema",
},
@@ -8196,18 +8172,6 @@ export default {
{
$ref: "#/parameters/rowFilter.integration.id",
},
- {
- $ref: "#/parameters/rowFilter.integration.title",
- },
- {
- $ref: "#/parameters/rowFilter.integration.description",
- },
- {
- $ref: "#/parameters/rowFilter.integration.logoPath",
- },
- {
- $ref: "#/parameters/rowFilter.integration.visible",
- },
{
$ref: "#/parameters/rowFilter.integration.jsonschema",
},
@@ -21915,18 +21879,6 @@ export default {
{
$ref: "#/parameters/rowFilter.integrations.id",
},
- {
- $ref: "#/parameters/rowFilter.integrations.title",
- },
- {
- $ref: "#/parameters/rowFilter.integrations.description",
- },
- {
- $ref: "#/parameters/rowFilter.integrations.logoPath",
- },
- {
- $ref: "#/parameters/rowFilter.integrations.visible",
- },
{
$ref: "#/parameters/rowFilter.integrations.jsonschema",
},
@@ -39617,30 +39569,13 @@ export default {
type: "object",
},
integration: {
- required: ["id", "title", "visible", "jsonschema"],
+ required: ["id", "jsonschema"],
properties: {
id: {
description: "Note:\nThis is a Primary Key.<pk/>",
format: "text",
type: "string",
},
- title: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- logoPath: {
- format: "text",
- type: "string",
- },
- visible: {
- default: true,
- format: "boolean",
- type: "boolean",
- },
jsonschema: {
format: "json",
},
@@ -46106,22 +46041,6 @@ export default {
format: "text",
type: "string",
},
- title: {
- format: "text",
- type: "string",
- },
- description: {
- format: "text",
- type: "string",
- },
- logoPath: {
- format: "text",
- type: "string",
- },
- visible: {
- format: "boolean",
- type: "boolean",
- },
jsonschema: {
format: "json",
},
@@ -56205,34 +56124,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.integration.title": {
- name: "title",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integration.description": {
- name: "description",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integration.logoPath": {
- name: "logoPath",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integration.visible": {
- name: "visible",
- required: false,
- format: "boolean",
- in: "query",
- type: "string",
- },
"rowFilter.integration.jsonschema": {
name: "jsonschema",
required: false,
@@ -64711,34 +64602,6 @@ export default {
in: "query",
type: "string",
},
- "rowFilter.integrations.title": {
- name: "title",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integrations.description": {
- name: "description",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integrations.logoPath": {
- name: "logoPath",
- required: false,
- format: "text",
- in: "query",
- type: "string",
- },
- "rowFilter.integrations.visible": {
- name: "visible",
- required: false,
- format: "boolean",
- in: "query",
- type: "string",
- },
"rowFilter.integrations.jsonschema": {
name: "jsonschema",
required: false,
diff --git a/packages/database/src/types.ts b/packages/database/src/types.ts
index 1fb7fe0b07..3966065cb1 100644
--- a/packages/database/src/types.ts
+++ b/packages/database/src/types.ts
@@ -5588,28 +5588,16 @@ export type Database = {
}
integration: {
Row: {
- description: string | null
id: string
jsonschema: Json
- logoPath: string | null
- title: string
- visible: boolean
}
Insert: {
- description?: string | null
id: string
jsonschema: Json
- logoPath?: string | null
- title: string
- visible?: boolean
}
Update: {
- description?: string | null
id?: string
jsonschema?: Json
- logoPath?: string | null
- title?: string
- visible?: boolean
}
Relationships: []
}
@@ -23689,13 +23677,9 @@ export type Database = {
Row: {
active: boolean | null
companyId: string | null
- description: string | null
id: string | null
jsonschema: Json | null
- logoPath: string | null
metadata: Json | null
- title: string | null
- visible: boolean | null
}
Relationships: []
}
diff --git a/packages/database/supabase/functions/lib/types.ts b/packages/database/supabase/functions/lib/types.ts
index 1fb7fe0b07..3966065cb1 100644
--- a/packages/database/supabase/functions/lib/types.ts
+++ b/packages/database/supabase/functions/lib/types.ts
@@ -5588,28 +5588,16 @@ export type Database = {
}
integration: {
Row: {
- description: string | null
id: string
jsonschema: Json
- logoPath: string | null
- title: string
- visible: boolean
}
Insert: {
- description?: string | null
id: string
jsonschema: Json
- logoPath?: string | null
- title: string
- visible?: boolean
}
Update: {
- description?: string | null
id?: string
jsonschema?: Json
- logoPath?: string | null
- title?: string
- visible?: boolean
}
Relationships: []
}
@@ -23689,13 +23677,9 @@ export type Database = {
Row: {
active: boolean | null
companyId: string | null
- description: string | null
id: string | null
jsonschema: Json | null
- logoPath: string | null
metadata: Json | null
- title: string | null
- visible: boolean | null
}
Relationships: []
}