@voxgig/sdkgen 4.17.3 → 4.17.4
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/bin/voxgig-sdkgen
CHANGED
package/package.json
CHANGED
|
@@ -1233,7 +1233,19 @@ main: kit: feature: secrets: {
|
|
|
1233
1233
|
# The secret to resolve, for an API whose credential is not
|
|
1234
1234
|
# apikey-shaped. The resolved value is written to options.apikey
|
|
1235
1235
|
# regardless, because that is where prepareAuth looks.
|
|
1236
|
-
|
|
1236
|
+
#
|
|
1237
|
+
# A DEFAULT, not a fixed value: the secret's name is a fact about the
|
|
1238
|
+
# project's vault, not about sdkgen. univec resolves `sdk:univec` and so
|
|
1239
|
+
# sets `name: 'univec'` in its project.aon — which a concrete value here
|
|
1240
|
+
# cannot accept, because two concrete scalars conflict rather than yield:
|
|
1241
|
+
#
|
|
1242
|
+
# Cannot unify values at path $.main.kit.feature.secrets.config.options.name
|
|
1243
|
+
#
|
|
1244
|
+
# That SDK worked only because its copy of this file had been hand-edited
|
|
1245
|
+
# to star this line, and regeneration overwrites generated model files, so
|
|
1246
|
+
# the edit was lost on every regen. An option a project must set has to be
|
|
1247
|
+
# settable.
|
|
1248
|
+
name: *'apikey' | string
|
|
1237
1249
|
|
|
1238
1250
|
# sekreto caches resolved values by default. Off means every
|
|
1239
1251
|
# resolve() asks the chain again; redaction still tracks values.
|