@kumori/kdsl 0.0.39 → 0.0.40

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.
@@ -55,19 +55,19 @@ export declare const AddDeployment: (ctx: SolutionJSONContext, dep: V3Deployment
55
55
  srv?: {
56
56
  duplex?: Record<string, {
57
57
  inherited: boolean;
58
- protocol: "udp" | "tcp" | "http" | "grpc";
58
+ protocol: "http" | "tcp" | "udp" | "grpc";
59
59
  port?: number | undefined;
60
60
  portnum?: number | undefined;
61
61
  }> | undefined;
62
62
  client?: Record<string, {
63
63
  inherited: boolean;
64
- protocol: "udp" | "tcp" | "http" | "grpc";
64
+ protocol: "http" | "tcp" | "udp" | "grpc";
65
65
  port?: number | undefined;
66
66
  portnum?: number | undefined;
67
67
  }> | undefined;
68
68
  server?: Record<string, {
69
69
  inherited: boolean;
70
- protocol: "udp" | "tcp" | "http" | "grpc";
70
+ protocol: "http" | "tcp" | "udp" | "grpc";
71
71
  port?: number | undefined;
72
72
  portnum?: number | undefined;
73
73
  }> | undefined;
@@ -89,12 +89,12 @@ export declare const AddDeployment: (ctx: SolutionJSONContext, dep: V3Deployment
89
89
  builtin: boolean;
90
90
  size: {
91
91
  mincpu: {
92
- kind: "bandwidth" | "storage" | "cpu" | "ram";
92
+ kind: "storage" | "cpu" | "ram" | "bandwidth";
93
93
  size: number;
94
94
  unit: string;
95
95
  };
96
96
  bandwidth: {
97
- kind: "bandwidth" | "storage" | "cpu" | "ram";
97
+ kind: "storage" | "cpu" | "ram" | "bandwidth";
98
98
  size: number;
99
99
  unit: string;
100
100
  };
@@ -124,19 +124,19 @@ export declare const AddDeployment: (ctx: SolutionJSONContext, dep: V3Deployment
124
124
  srv?: {
125
125
  duplex?: Record<string, {
126
126
  inherited: boolean;
127
- protocol: "udp" | "tcp" | "http" | "grpc";
127
+ protocol: "http" | "tcp" | "udp" | "grpc";
128
128
  port?: number | undefined;
129
129
  portnum?: number | undefined;
130
130
  }> | undefined;
131
131
  client?: Record<string, {
132
132
  inherited: boolean;
133
- protocol: "udp" | "tcp" | "http" | "grpc";
133
+ protocol: "http" | "tcp" | "udp" | "grpc";
134
134
  port?: number | undefined;
135
135
  portnum?: number | undefined;
136
136
  }> | undefined;
137
137
  server?: Record<string, {
138
138
  inherited: boolean;
139
- protocol: "udp" | "tcp" | "http" | "grpc";
139
+ protocol: "http" | "tcp" | "udp" | "grpc";
140
140
  port?: number | undefined;
141
141
  portnum?: number | undefined;
142
142
  }> | undefined;
@@ -187,13 +187,13 @@ export declare const AddDeployment: (ctx: SolutionJSONContext, dep: V3Deployment
187
187
  } | undefined;
188
188
  size?: {
189
189
  cpu: {
190
- kind: "bandwidth" | "storage" | "cpu" | "ram";
190
+ kind: "storage" | "cpu" | "ram" | "bandwidth";
191
191
  size: number;
192
192
  unit: string;
193
193
  };
194
194
  mincpu: number;
195
195
  memory: {
196
- kind: "bandwidth" | "storage" | "cpu" | "ram";
196
+ kind: "storage" | "cpu" | "ram" | "bandwidth";
197
197
  size: number;
198
198
  unit: string;
199
199
  };
@@ -27,7 +27,7 @@ deployment {
27
27
  {{this}}
28
28
  {{/each}}
29
29
  }
30
- {{else}}
30
+ {{else if scaleValue >= 0}}
31
31
  scale {{scaleValue}}
32
32
  {{/if}}
33
33
  }
@@ -27,7 +27,7 @@ deployment {
27
27
  {{this}}
28
28
  {{/each}}
29
29
  }
30
- {{else}}
30
+ {{else if scaleValue >= 0}}
31
31
  scale {{scaleValue}}
32
32
  {{/if}}
33
33
  }
@@ -27,7 +27,7 @@ deployment {
27
27
  {{this}}
28
28
  {{/each}}
29
29
  }
30
- {{else}}
30
+ {{else if scaleValue >= 0}}
31
31
  scale {{scaleValue}}
32
32
  {{/if}}
33
33
  }