Skip to content

chore(site): regenerate provisioner stub #9151

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
chore(e2e): regenerate provisioner stub
  • Loading branch information
mtojek committed Aug 17, 2023
commit b26471de4c2bc7be0f1cc2e11d25771bdb23b060
3 changes: 0 additions & 3 deletions site/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,4 @@ stats/
# Testdata shouldn't be formatted.
../scripts/apitypings/testdata/**/*.ts

# Generated files shouldn't be formatted.
e2e/provisionerGenerated.ts

**/pnpm-lock.yaml
9 changes: 9 additions & 0 deletions site/e2e/provisionerGenerated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down Expand Up @@ -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
},
}
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 --cache --write './e2e/provisionerGenerated.ts'",
"storybook": "STORYBOOK=true storybook dev -p 6006",
"storybook:build": "storybook build",
"test": "jest --selectProjects test",
Expand Down