codify-schemas 1.0.23 → 1.0.25

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://www.codify.com/resource-schema.json",
4
- "title": "Resource Schema",
3
+ "$id": "https://www.codify.com/project-schema.json",
4
+ "title": "Project Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
@@ -1,11 +1,12 @@
1
- export interface ProjectConfig {
1
+ export interface Config {
2
2
  type: string;
3
+ }
4
+ export interface ProjectConfig extends Config {
3
5
  version?: string;
4
6
  plugins?: Record<string, string>;
5
7
  description?: string;
6
8
  }
7
- export interface ResourceConfig {
8
- type: string;
9
+ export interface ResourceConfig extends Config {
9
10
  name?: string;
10
11
  dependsOn?: string[];
11
12
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAaA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAgBD,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;AACf,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAgBD,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;AACf,CAAC,EANW,iBAAiB,KAAjB,iBAAiB,QAM5B;AAED,MAAM,CAAN,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,mCAAa,CAAA;AACf,CAAC,EALW,kBAAkB,KAAlB,kBAAkB,QAK7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-schemas",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://www.codify.com/resource-schema.json",
4
- "title": "Resource Schema",
3
+ "$id": "https://www.codify.com/project-schema.json",
4
+ "title": "Project Schema",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "type": {
@@ -1,12 +1,14 @@
1
- export interface ProjectConfig {
1
+ export interface Config {
2
2
  type: string;
3
+ }
4
+
5
+ export interface ProjectConfig extends Config {
3
6
  version?: string;
4
7
  plugins?: Record<string, string>;
5
8
  description?: string;
6
9
  }
7
10
 
8
- export interface ResourceConfig {
9
- type: string;
11
+ export interface ResourceConfig extends Config {
10
12
  name?: string;
11
13
  dependsOn?: string[];
12
14
  }