@lace-cloud/host 0.13.0 → 0.14.0
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.
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +17 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -147,8 +147,7 @@ interface Use {
|
|
|
147
147
|
/**
|
|
148
148
|
* A module call's `providers = {}` map (child-local name → root ref).
|
|
149
149
|
* Each entry targets the child's default provider slot for that name;
|
|
150
|
-
*
|
|
151
|
-
* (ProviderRequirement carries no configuration_aliases).
|
|
150
|
+
* this map has no way to target an aliased child slot.
|
|
152
151
|
*/
|
|
153
152
|
providers: {
|
|
154
153
|
[key: string]: string;
|
|
@@ -232,6 +231,7 @@ declare const TerraformBlock: MessageFns$1<TerraformBlock>;
|
|
|
232
231
|
interface ProviderRequirement {
|
|
233
232
|
source: string;
|
|
234
233
|
version: string;
|
|
234
|
+
configuration_aliases: string[];
|
|
235
235
|
}
|
|
236
236
|
declare const ProviderRequirement: MessageFns$1<ProviderRequirement>;
|
|
237
237
|
interface BackendConfig {
|
package/dist/index.d.ts
CHANGED
|
@@ -147,8 +147,7 @@ interface Use {
|
|
|
147
147
|
/**
|
|
148
148
|
* A module call's `providers = {}` map (child-local name → root ref).
|
|
149
149
|
* Each entry targets the child's default provider slot for that name;
|
|
150
|
-
*
|
|
151
|
-
* (ProviderRequirement carries no configuration_aliases).
|
|
150
|
+
* this map has no way to target an aliased child slot.
|
|
152
151
|
*/
|
|
153
152
|
providers: {
|
|
154
153
|
[key: string]: string;
|
|
@@ -232,6 +231,7 @@ declare const TerraformBlock: MessageFns$1<TerraformBlock>;
|
|
|
232
231
|
interface ProviderRequirement {
|
|
233
232
|
source: string;
|
|
234
233
|
version: string;
|
|
234
|
+
configuration_aliases: string[];
|
|
235
235
|
}
|
|
236
236
|
declare const ProviderRequirement: MessageFns$1<ProviderRequirement>;
|
|
237
237
|
interface BackendConfig {
|
package/dist/index.mjs
CHANGED
|
@@ -3278,7 +3278,7 @@ var TerraformBlock_RequiredProvidersEntry = {
|
|
|
3278
3278
|
}
|
|
3279
3279
|
};
|
|
3280
3280
|
function createBaseProviderRequirement() {
|
|
3281
|
-
return { source: "", version: "" };
|
|
3281
|
+
return { source: "", version: "", configuration_aliases: [] };
|
|
3282
3282
|
}
|
|
3283
3283
|
var ProviderRequirement = {
|
|
3284
3284
|
encode(message, writer = new BinaryWriter3()) {
|
|
@@ -3288,6 +3288,9 @@ var ProviderRequirement = {
|
|
|
3288
3288
|
if (message.version !== "") {
|
|
3289
3289
|
writer.uint32(18).string(message.version);
|
|
3290
3290
|
}
|
|
3291
|
+
for (const v of message.configuration_aliases) {
|
|
3292
|
+
writer.uint32(26).string(v);
|
|
3293
|
+
}
|
|
3291
3294
|
return writer;
|
|
3292
3295
|
},
|
|
3293
3296
|
decode(input, length) {
|
|
@@ -3311,6 +3314,13 @@ var ProviderRequirement = {
|
|
|
3311
3314
|
message.version = reader.string();
|
|
3312
3315
|
continue;
|
|
3313
3316
|
}
|
|
3317
|
+
case 3: {
|
|
3318
|
+
if (tag !== 26) {
|
|
3319
|
+
break;
|
|
3320
|
+
}
|
|
3321
|
+
message.configuration_aliases.push(reader.string());
|
|
3322
|
+
continue;
|
|
3323
|
+
}
|
|
3314
3324
|
}
|
|
3315
3325
|
if ((tag & 7) === 4 || tag === 0) {
|
|
3316
3326
|
break;
|
|
@@ -3322,7 +3332,8 @@ var ProviderRequirement = {
|
|
|
3322
3332
|
fromJSON(object) {
|
|
3323
3333
|
return {
|
|
3324
3334
|
source: isSet2(object.source) ? globalThis.String(object.source) : "",
|
|
3325
|
-
version: isSet2(object.version) ? globalThis.String(object.version) : ""
|
|
3335
|
+
version: isSet2(object.version) ? globalThis.String(object.version) : "",
|
|
3336
|
+
configuration_aliases: globalThis.Array.isArray(object?.configurationAliases) ? object.configurationAliases.map((e) => globalThis.String(e)) : globalThis.Array.isArray(object?.configuration_aliases) ? object.configuration_aliases.map((e) => globalThis.String(e)) : []
|
|
3326
3337
|
};
|
|
3327
3338
|
},
|
|
3328
3339
|
toJSON(message) {
|
|
@@ -3333,6 +3344,9 @@ var ProviderRequirement = {
|
|
|
3333
3344
|
if (message.version !== "") {
|
|
3334
3345
|
obj.version = message.version;
|
|
3335
3346
|
}
|
|
3347
|
+
if (message.configuration_aliases?.length) {
|
|
3348
|
+
obj.configurationAliases = message.configuration_aliases;
|
|
3349
|
+
}
|
|
3336
3350
|
return obj;
|
|
3337
3351
|
},
|
|
3338
3352
|
create(base) {
|
|
@@ -3342,6 +3356,7 @@ var ProviderRequirement = {
|
|
|
3342
3356
|
const message = createBaseProviderRequirement();
|
|
3343
3357
|
message.source = object.source ?? "";
|
|
3344
3358
|
message.version = object.version ?? "";
|
|
3359
|
+
message.configuration_aliases = object.configuration_aliases?.map((e) => e) || [];
|
|
3345
3360
|
return message;
|
|
3346
3361
|
}
|
|
3347
3362
|
};
|