codify-schemas 1.0.84 → 1.0.85

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.
@@ -97,7 +97,7 @@ export interface GetResourceInfoResponseData {
97
97
  import?: {
98
98
  requiredParameters: string[] | null;
99
99
  };
100
- operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
100
+ operatingSystems?: OS;
101
101
  importAndDestroy?: {
102
102
  requiredParameters: string[] | null;
103
103
  preventImport?: boolean;
@@ -149,7 +149,7 @@ export interface ApplyRequestData {
149
149
  export interface ResourceDefinition {
150
150
  type: string;
151
151
  dependencies: string[];
152
- operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
152
+ operatingSystems?: OS;
153
153
  sensitiveParameters?: string[];
154
154
  }
155
155
  export interface InitializeRequestData {
@@ -177,3 +177,8 @@ export declare enum SpawnStatus {
177
177
  SUCCESS = "success",
178
178
  ERROR = "error"
179
179
  }
180
+ export declare enum OS {
181
+ Darwin = "Darwin",
182
+ Linux = "Linux",
183
+ Windows = "Windows_NT"
184
+ }
@@ -23,4 +23,10 @@ export var SpawnStatus;
23
23
  SpawnStatus["SUCCESS"] = "success";
24
24
  SpawnStatus["ERROR"] = "error";
25
25
  })(SpawnStatus || (SpawnStatus = {}));
26
+ export var OS;
27
+ (function (OS) {
28
+ OS["Darwin"] = "Darwin";
29
+ OS["Linux"] = "Linux";
30
+ OS["Windows"] = "Windows_NT";
31
+ })(OS || (OS = {}));
26
32
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAsBA,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,gCAAe,CAAA;AACjB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AA6CD,MAAM,CAAN,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,sCAAiB,CAA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;IACf,4BAAsB,CAAA;AACxB,CAAC,EAJW,EAAE,KAAF,EAAE,QAIb"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codify-schemas",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -113,7 +113,7 @@ export interface GetResourceInfoResponseData {
113
113
  import?: {
114
114
  requiredParameters: string[] | null;
115
115
  },
116
- operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
116
+ operatingSystems?: OS;
117
117
  importAndDestroy?: {
118
118
  requiredParameters: string[] | null;
119
119
  preventImport?: boolean;
@@ -171,7 +171,7 @@ export interface ApplyRequestData {
171
171
  export interface ResourceDefinition {
172
172
  type: string;
173
173
  dependencies: string[];
174
- operatingSystems?: 'Darwin' | 'Linux' | 'Windows_NT';
174
+ operatingSystems?: OS;
175
175
  sensitiveParameters?: string[];
176
176
  }
177
177
 
@@ -205,3 +205,9 @@ export enum SpawnStatus {
205
205
  SUCCESS = 'success',
206
206
  ERROR = 'error',
207
207
  }
208
+
209
+ export enum OS {
210
+ Darwin = 'Darwin',
211
+ Linux = 'Linux',
212
+ Windows = 'Windows_NT',
213
+ }