mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(site): regenerate provisioner stub (#9151)
This commit is contained in:
@@ -64,7 +64,10 @@ export interface RichParameter {
|
||||
validationMax?: number | undefined
|
||||
validationMonotonic: string
|
||||
required: boolean
|
||||
/** legacy_variable_name was removed (= 14) */
|
||||
displayName: string
|
||||
order: number
|
||||
ephemeral: boolean
|
||||
}
|
||||
|
||||
/** RichParameterValue holds the key/value mapping of a parameter. */
|
||||
@@ -356,6 +359,12 @@ export const RichParameter = {
|
||||
if (message.displayName !== "") {
|
||||
writer.uint32(122).string(message.displayName)
|
||||
}
|
||||
if (message.order !== 0) {
|
||||
writer.uint32(128).int32(message.order)
|
||||
}
|
||||
if (message.ephemeral === true) {
|
||||
writer.uint32(136).bool(message.ephemeral)
|
||||
}
|
||||
return writer
|
||||
},
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
"lint:types": "tsc --noEmit",
|
||||
"playwright:install": "playwright install --with-deps chromium",
|
||||
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
|
||||
"gen:provisioner": "protoc --plugin=./node_modules/.bin/protoc-gen-ts-proto --ts_proto_out=./e2e/ --ts_proto_opt=outputJsonMethods=false,outputEncodeMethods=encode-no-creation,outputClientImpl=false,nestJs=false,outputPartialMethods=false,fileSuffix=Generated,suffix=hey -I ../provisionersdk/proto ../provisionersdk/proto/provisioner.proto && prettier --cache --write './e2e/provisionerGenerated.ts'",
|
||||
"gen:provisioner": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./e2e/ --ts_proto_opt=outputJsonMethods=false,outputEncodeMethods=encode-no-creation,outputClientImpl=false,nestJs=false,outputPartialMethods=false,fileSuffix=Generated,suffix=hey -I ../provisionersdk/proto ../provisionersdk/proto/provisioner.proto && pnpm exec prettier --ignore-path '/dev/null' --cache --write './e2e/provisionerGenerated.ts'",
|
||||
"storybook": "STORYBOOK=true storybook dev -p 6006",
|
||||
"storybook:build": "storybook build --webpack-stats-json",
|
||||
"test": "jest --selectProjects test",
|
||||
|
||||
Reference in New Issue
Block a user