From 0246f86fc5895170d39834a391ec182337fcbec4 Mon Sep 17 00:00:00 2001 From: Jamie Feingold Date: Wed, 15 Jul 2026 13:27:02 -0500 Subject: [PATCH] chore: added schema definitions (W-23365673) --- .../template-generate-analytics-template.json | 25 +++++++++++++++++++ schemas/template-generate-apex-class.json | 25 +++++++++++++++++++ schemas/template-generate-apex-trigger.json | 25 +++++++++++++++++++ ...ate-generate-digital__experience-site.json | 25 +++++++++++++++++++ schemas/template-generate-flexipage.json | 25 +++++++++++++++++++ schemas/template-generate-lightning-app.json | 25 +++++++++++++++++++ ...template-generate-lightning-component.json | 25 +++++++++++++++++++ ...template-generate-lightning-embedding.json | 25 +++++++++++++++++++ .../template-generate-lightning-event.json | 25 +++++++++++++++++++ ...template-generate-lightning-interface.json | 25 +++++++++++++++++++ schemas/template-generate-lightning-test.json | 25 +++++++++++++++++++ schemas/template-generate-project.json | 25 +++++++++++++++++++ .../template-generate-static__resource.json | 25 +++++++++++++++++++ schemas/template-generate-ui__bundle.json | 25 +++++++++++++++++++ ...mplate-generate-visualforce-component.json | 25 +++++++++++++++++++ .../template-generate-visualforce-page.json | 25 +++++++++++++++++++ 16 files changed, 400 insertions(+) create mode 100644 schemas/template-generate-analytics-template.json create mode 100644 schemas/template-generate-apex-class.json create mode 100644 schemas/template-generate-apex-trigger.json create mode 100644 schemas/template-generate-digital__experience-site.json create mode 100644 schemas/template-generate-flexipage.json create mode 100644 schemas/template-generate-lightning-app.json create mode 100644 schemas/template-generate-lightning-component.json create mode 100644 schemas/template-generate-lightning-embedding.json create mode 100644 schemas/template-generate-lightning-event.json create mode 100644 schemas/template-generate-lightning-interface.json create mode 100644 schemas/template-generate-lightning-test.json create mode 100644 schemas/template-generate-project.json create mode 100644 schemas/template-generate-static__resource.json create mode 100644 schemas/template-generate-ui__bundle.json create mode 100644 schemas/template-generate-visualforce-component.json create mode 100644 schemas/template-generate-visualforce-page.json diff --git a/schemas/template-generate-analytics-template.json b/schemas/template-generate-analytics-template.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-analytics-template.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-apex-class.json b/schemas/template-generate-apex-class.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-apex-class.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-apex-trigger.json b/schemas/template-generate-apex-trigger.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-apex-trigger.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-digital__experience-site.json b/schemas/template-generate-digital__experience-site.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-digital__experience-site.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-flexipage.json b/schemas/template-generate-flexipage.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-flexipage.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-app.json b/schemas/template-generate-lightning-app.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-app.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-component.json b/schemas/template-generate-lightning-component.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-component.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-embedding.json b/schemas/template-generate-lightning-embedding.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-embedding.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-event.json b/schemas/template-generate-lightning-event.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-event.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-interface.json b/schemas/template-generate-lightning-interface.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-interface.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-lightning-test.json b/schemas/template-generate-lightning-test.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-lightning-test.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-project.json b/schemas/template-generate-project.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-project.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-static__resource.json b/schemas/template-generate-static__resource.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-static__resource.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-ui__bundle.json b/schemas/template-generate-ui__bundle.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-ui__bundle.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-visualforce-component.json b/schemas/template-generate-visualforce-component.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-visualforce-component.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +} diff --git a/schemas/template-generate-visualforce-page.json b/schemas/template-generate-visualforce-page.json new file mode 100644 index 00000000..ef139cff --- /dev/null +++ b/schemas/template-generate-visualforce-page.json @@ -0,0 +1,25 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "$ref": "#/definitions/CreateOutput", + "definitions": { + "CreateOutput": { + "type": "object", + "properties": { + "outputDir": { + "type": "string" + }, + "created": { + "type": "array", + "items": { + "type": "string" + } + }, + "rawOutput": { + "type": "string" + } + }, + "required": ["outputDir", "created", "rawOutput"], + "additionalProperties": false + } + } +}