@@ -499,7 +499,7 @@ export const MockUser: TypesGen.User = {
499
499
name : "" ,
500
500
} ;
501
501
502
- export const MockUserAdmin : TypesGen . User = {
502
+ const MockUserAdmin : TypesGen . User = {
503
503
...MockUser ,
504
504
roles : [ MockUserAdminRole ] ,
505
505
} ;
@@ -566,27 +566,27 @@ export const MockOrganizationMember2: TypesGen.OrganizationMemberWithUserData =
566
566
roles : [ ] ,
567
567
} ;
568
568
569
- export const MockProvisionerKey : TypesGen . ProvisionerKey = {
569
+ const MockProvisionerKey : TypesGen . ProvisionerKey = {
570
570
id : "test-provisioner-key" ,
571
571
organization : MockOrganization . id ,
572
572
created_at : "2022-05-17T17:39:01.382927298Z" ,
573
573
name : "test-name" ,
574
574
tags : { scope : "organization" } ,
575
575
} ;
576
576
577
- export const MockProvisionerBuiltinKey : TypesGen . ProvisionerKey = {
577
+ const MockProvisionerBuiltinKey : TypesGen . ProvisionerKey = {
578
578
...MockProvisionerKey ,
579
579
id : "00000000-0000-0000-0000-000000000001" ,
580
580
name : "built-in" ,
581
581
} ;
582
582
583
- export const MockProvisionerUserAuthKey : TypesGen . ProvisionerKey = {
583
+ const MockProvisionerUserAuthKey : TypesGen . ProvisionerKey = {
584
584
...MockProvisionerKey ,
585
585
id : "00000000-0000-0000-0000-000000000002" ,
586
586
name : "user-auth" ,
587
587
} ;
588
588
589
- export const MockProvisionerPskKey : TypesGen . ProvisionerKey = {
589
+ const MockProvisionerPskKey : TypesGen . ProvisionerKey = {
590
590
...MockProvisionerKey ,
591
591
id : "00000000-0000-0000-0000-000000000003" ,
592
592
name : "psk" ,
@@ -609,23 +609,23 @@ export const MockProvisioner: TypesGen.ProvisionerDaemon = {
609
609
previous_job : null ,
610
610
} ;
611
611
612
- export const MockUserAuthProvisioner : TypesGen . ProvisionerDaemon = {
612
+ const MockUserAuthProvisioner : TypesGen . ProvisionerDaemon = {
613
613
...MockProvisioner ,
614
614
id : "test-user-auth-provisioner" ,
615
615
key_id : MockProvisionerUserAuthKey . id ,
616
616
name : `${ MockUser . name } 's provisioner` ,
617
617
tags : { scope : "user" } ,
618
618
} ;
619
619
620
- export const MockPskProvisioner : TypesGen . ProvisionerDaemon = {
620
+ const MockPskProvisioner : TypesGen . ProvisionerDaemon = {
621
621
...MockProvisioner ,
622
622
id : "test-psk-provisioner" ,
623
623
key_id : MockProvisionerPskKey . id ,
624
624
key_name : MockProvisionerPskKey . name ,
625
625
name : "Test psk provisioner" ,
626
626
} ;
627
627
628
- export const MockKeyProvisioner : TypesGen . ProvisionerDaemon = {
628
+ const MockKeyProvisioner : TypesGen . ProvisionerDaemon = {
629
629
...MockProvisioner ,
630
630
id : "test-key-provisioner" ,
631
631
key_id : MockProvisionerKey . id ,
@@ -635,7 +635,7 @@ export const MockKeyProvisioner: TypesGen.ProvisionerDaemon = {
635
635
tags : MockProvisionerKey . tags ,
636
636
} ;
637
637
638
- export const MockProvisioner2 : TypesGen . ProvisionerDaemon = {
638
+ const MockProvisioner2 : TypesGen . ProvisionerDaemon = {
639
639
...MockProvisioner ,
640
640
id : "test-provisioner-2" ,
641
641
name : "Test Provisioner 2" ,
@@ -829,7 +829,7 @@ export const MockTemplate: TypesGen.Template = {
829
829
max_port_share_level : "public" ,
830
830
} ;
831
831
832
- export const MockTemplateVersionFiles : TemplateVersionFiles = {
832
+ const MockTemplateVersionFiles : TemplateVersionFiles = {
833
833
"README.md" : "# Example\n\nThis is an example template." ,
834
834
"main.tf" : `// Provides info about the workspace.
835
835
data "coder_workspace" "me" {}
@@ -925,7 +925,7 @@ export const MockWorkspaceAgentLogSource: TypesGen.WorkspaceAgentLogSource = {
925
925
workspace_agent_id : "" ,
926
926
} ;
927
927
928
- export const MockWorkspaceAgentScript : TypesGen . WorkspaceAgentScript = {
928
+ const MockWorkspaceAgentScript : TypesGen . WorkspaceAgentScript = {
929
929
id : "08eaca83-1221-4fad-b882-d1136981f54d" ,
930
930
log_source_id : MockWorkspaceAgentLogSource . id ,
931
931
cron : "" ,
@@ -992,7 +992,7 @@ export const MockWorkspaceAppStatus: TypesGen.WorkspaceAppStatus = {
992
992
icon : "" ,
993
993
} ;
994
994
995
- export const MockWorkspaceAgentDisconnected : TypesGen . WorkspaceAgent = {
995
+ const MockWorkspaceAgentDisconnected : TypesGen . WorkspaceAgent = {
996
996
...MockWorkspaceAgent ,
997
997
id : "test-workspace-agent-2" ,
998
998
name : "another-workspace-agent" ,
@@ -1187,7 +1187,7 @@ export const MockWorkspaceResourceMultipleAgents: TypesGen.WorkspaceResource = {
1187
1187
] ,
1188
1188
} ;
1189
1189
1190
- export const MockWorkspaceResourceHidden : TypesGen . WorkspaceResource = {
1190
+ const MockWorkspaceResourceHidden : TypesGen . WorkspaceResource = {
1191
1191
...MockWorkspaceResource ,
1192
1192
id : "test-workspace-resource-hidden" ,
1193
1193
name : "workspace-resource-hidden" ,
@@ -1230,12 +1230,12 @@ export const MockWorkspaceContainerResource: TypesGen.WorkspaceResource = {
1230
1230
daily_cost : 0 ,
1231
1231
} ;
1232
1232
1233
- export const MockWorkspaceAutostartDisabled : TypesGen . UpdateWorkspaceAutostartRequest =
1233
+ const MockWorkspaceAutostartDisabled : TypesGen . UpdateWorkspaceAutostartRequest =
1234
1234
{
1235
1235
schedule : "" ,
1236
1236
} ;
1237
1237
1238
- export const MockWorkspaceAutostartEnabled : TypesGen . UpdateWorkspaceAutostartRequest =
1238
+ const MockWorkspaceAutostartEnabled : TypesGen . UpdateWorkspaceAutostartRequest =
1239
1239
{
1240
1240
// Runs at 9:30am Monday through Friday using Canada/Eastern
1241
1241
// (America/Toronto) time
@@ -1270,7 +1270,7 @@ export const MockWorkspaceBuild: TypesGen.WorkspaceBuild = {
1270
1270
template_version_preset_id : null ,
1271
1271
} ;
1272
1272
1273
- export const MockWorkspaceBuildAutostart : TypesGen . WorkspaceBuild = {
1273
+ const MockWorkspaceBuildAutostart : TypesGen . WorkspaceBuild = {
1274
1274
build_number : 1 ,
1275
1275
created_at : "2022-05-17T17:39:01.382927298Z" ,
1276
1276
id : "1" ,
@@ -1294,7 +1294,7 @@ export const MockWorkspaceBuildAutostart: TypesGen.WorkspaceBuild = {
1294
1294
template_version_preset_id : null ,
1295
1295
} ;
1296
1296
1297
- export const MockWorkspaceBuildAutostop : TypesGen . WorkspaceBuild = {
1297
+ const MockWorkspaceBuildAutostop : TypesGen . WorkspaceBuild = {
1298
1298
build_number : 1 ,
1299
1299
created_at : "2022-05-17T17:39:01.382927298Z" ,
1300
1300
id : "1" ,
@@ -1467,7 +1467,7 @@ export const MockDeletingWorkspace: TypesGen.Workspace = {
1467
1467
} ,
1468
1468
} ;
1469
1469
1470
- export const MockWorkspaceWithDeletion = {
1470
+ const MockWorkspaceWithDeletion = {
1471
1471
...MockStoppedWorkspace ,
1472
1472
deleting_at : new Date ( ) . toISOString ( ) ,
1473
1473
} ;
@@ -1504,15 +1504,14 @@ export const MockDormantOutdatedWorkspace: TypesGen.Workspace = {
1504
1504
dormant_at : new Date ( ) . toISOString ( ) ,
1505
1505
} ;
1506
1506
1507
- export const MockOutdatedRunningWorkspaceRequireActiveVersion : TypesGen . Workspace =
1508
- {
1509
- ...MockWorkspace ,
1510
- id : "test-outdated-workspace-require-active-version" ,
1511
- outdated : true ,
1512
- template_require_active_version : true ,
1513
- } ;
1507
+ const MockOutdatedRunningWorkspaceRequireActiveVersion : TypesGen . Workspace = {
1508
+ ...MockWorkspace ,
1509
+ id : "test-outdated-workspace-require-active-version" ,
1510
+ outdated : true ,
1511
+ template_require_active_version : true ,
1512
+ } ;
1514
1513
1515
- export const MockOutdatedRunningWorkspaceAlwaysUpdate : TypesGen . Workspace = {
1514
+ const MockOutdatedRunningWorkspaceAlwaysUpdate : TypesGen . Workspace = {
1516
1515
...MockWorkspace ,
1517
1516
id : "test-outdated-workspace-always-update" ,
1518
1517
outdated : true ,
@@ -1532,7 +1531,7 @@ export const MockOutdatedStoppedWorkspaceRequireActiveVersion: TypesGen.Workspac
1532
1531
} ,
1533
1532
} ;
1534
1533
1535
- export const MockOutdatedStoppedWorkspaceAlwaysUpdate : TypesGen . Workspace = {
1534
+ const MockOutdatedStoppedWorkspaceAlwaysUpdate : TypesGen . Workspace = {
1536
1535
...MockOutdatedRunningWorkspaceAlwaysUpdate ,
1537
1536
latest_build : {
1538
1537
...MockWorkspaceBuild ,
@@ -1561,7 +1560,7 @@ export const MockWorkspacesResponse: TypesGen.WorkspacesResponse = {
1561
1560
count : 26 ,
1562
1561
} ;
1563
1562
1564
- export const MockWorkspacesResponseWithDeletions = {
1563
+ const MockWorkspacesResponseWithDeletions = {
1565
1564
workspaces : [ ...MockWorkspacesResponse . workspaces , MockWorkspaceWithDeletion ] ,
1566
1565
count : MockWorkspacesResponse . count + 1 ,
1567
1566
} ;
@@ -1627,22 +1626,21 @@ export const MockTemplateVersionParameter4: TypesGen.TemplateVersionParameter =
1627
1626
ephemeral : false ,
1628
1627
} ;
1629
1628
1630
- export const MockTemplateVersionParameter5 : TypesGen . TemplateVersionParameter =
1631
- {
1632
- name : "fifth_parameter" ,
1633
- type : "number" ,
1634
- description : "This is fifth parameter" ,
1635
- description_plaintext : "Markdown: This is fifth parameter" ,
1636
- default_value : "5" ,
1637
- mutable : true ,
1638
- icon : "/icon/folder.svg" ,
1639
- options : [ ] ,
1640
- validation_min : 1 ,
1641
- validation_max : 10 ,
1642
- validation_monotonic : "decreasing" ,
1643
- required : true ,
1644
- ephemeral : false ,
1645
- } ;
1629
+ const MockTemplateVersionParameter5 : TypesGen . TemplateVersionParameter = {
1630
+ name : "fifth_parameter" ,
1631
+ type : "number" ,
1632
+ description : "This is fifth parameter" ,
1633
+ description_plaintext : "Markdown: This is fifth parameter" ,
1634
+ default_value : "5" ,
1635
+ mutable : true ,
1636
+ icon : "/icon/folder.svg" ,
1637
+ options : [ ] ,
1638
+ validation_min : 1 ,
1639
+ validation_max : 10 ,
1640
+ validation_monotonic : "decreasing" ,
1641
+ required : true ,
1642
+ ephemeral : false ,
1643
+ } ;
1646
1644
1647
1645
export const MockTemplateVersionVariable1 : TypesGen . TemplateVersionVariable = {
1648
1646
name : "first_variable" ,
@@ -1712,7 +1710,7 @@ export const MockWorkspaceRichParametersRequest: TypesGen.CreateWorkspaceRequest
1712
1710
] ,
1713
1711
} ;
1714
1712
1715
- export const MockUserAgent = {
1713
+ const MockUserAgent = {
1716
1714
browser : "Chrome 99.0.4844" ,
1717
1715
device : "Other" ,
1718
1716
ip_address : "11.22.33.44" ,
@@ -2394,7 +2392,7 @@ export const MockEntitlements: TypesGen.Entitlements = {
2394
2392
refreshed_at : "2022-05-20T16:45:57.122Z" ,
2395
2393
} ;
2396
2394
2397
- export const MockEntitlementsWithWarnings : TypesGen . Entitlements = {
2395
+ const MockEntitlementsWithWarnings : TypesGen . Entitlements = {
2398
2396
errors : [ ] ,
2399
2397
warnings : [ "You are over your active user limit." , "And another thing." ] ,
2400
2398
has_license : true ,
@@ -2449,7 +2447,7 @@ export const MockEntitlementsWithScheduling: TypesGen.Entitlements = {
2449
2447
} ) ,
2450
2448
} ;
2451
2449
2452
- export const MockEntitlementsWithUserLimit : TypesGen . Entitlements = {
2450
+ const MockEntitlementsWithUserLimit : TypesGen . Entitlements = {
2453
2451
errors : [ ] ,
2454
2452
warnings : [ ] ,
2455
2453
has_license : true ,
@@ -2626,7 +2624,7 @@ export const MockAuditLogGitSSH: TypesGen.AuditLog = {
2626
2624
} ,
2627
2625
} ;
2628
2626
2629
- export const MockAuditOauthConvert : TypesGen . AuditLog = {
2627
+ const MockAuditOauthConvert : TypesGen . AuditLog = {
2630
2628
...MockAuditLog ,
2631
2629
resource_type : "convert_login" ,
2632
2630
resource_target : "oidc" ,
0 commit comments