mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add template_id and template_name to workspace data source (#9655)
This commit is contained in:
@@ -200,6 +200,7 @@ export interface Metadata {
|
||||
templateVersion: string;
|
||||
workspaceOwnerOidcAccessToken: string;
|
||||
workspaceOwnerSessionToken: string;
|
||||
templateId: string;
|
||||
}
|
||||
|
||||
/** Config represents execution configuration shared by all subsequent requests in the Session */
|
||||
@@ -733,6 +734,9 @@ export const Metadata = {
|
||||
if (message.workspaceOwnerSessionToken !== "") {
|
||||
writer.uint32(90).string(message.workspaceOwnerSessionToken);
|
||||
}
|
||||
if (message.templateId !== "") {
|
||||
writer.uint32(98).string(message.templateId);
|
||||
}
|
||||
return writer;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user