@@ -18,13 +18,15 @@ const TERMINAL_STATES = new Set<SandboxState>(['deleted', 'failed', 'started']);
1818 * Default OCAPI resources to grant the client ID access to.
1919 * These enable common CI/CD operations like code deployment and job execution.
2020 */
21+ /* eslint-disable camelcase */
2122const DEFAULT_OCAPI_RESOURCES : NonNullable < OcapiSettings [ number ] [ 'resources' ] > = [
2223 { resource_id : '/code_versions' , methods : [ 'get' ] , read_attributes : '(**)' , write_attributes : '(**)' } ,
2324 { resource_id : '/code_versions/*' , methods : [ 'patch' , 'delete' ] , read_attributes : '(**)' , write_attributes : '(**)' } ,
2425 { resource_id : '/jobs/*/executions' , methods : [ 'post' ] , read_attributes : '(**)' , write_attributes : '(**)' } ,
2526 { resource_id : '/jobs/*/executions/*' , methods : [ 'get' ] , read_attributes : '(**)' , write_attributes : '(**)' } ,
2627 { resource_id : '/sites/*/cartridges' , methods : [ 'post' ] , read_attributes : '(**)' , write_attributes : '(**)' } ,
2728] ;
29+ /* eslint-enable camelcase */
2830
2931/**
3032 * Default WebDAV permissions to grant the client ID.
@@ -113,9 +115,11 @@ export default class OdsCreate extends OdsCommand<typeof OdsCreate> {
113115 const settings = this . buildSettings ( setPermissions ) ;
114116 if ( settings ) {
115117 this . log (
116- t ( 'commands.ods.create.settingPermissions' , 'Setting OCAPI and WebDAV permissions for client ID: {{clientId}}' , {
117- clientId : this . resolvedConfig . clientId ! ,
118- } ) ,
118+ t (
119+ 'commands.ods.create.settingPermissions' ,
120+ 'Setting OCAPI and WebDAV permissions for client ID: {{clientId}}' ,
121+ { clientId : this . resolvedConfig . clientId ! } ,
122+ ) ,
119123 ) ;
120124 }
121125
@@ -174,6 +178,7 @@ export default class OdsCreate extends OdsCommand<typeof OdsCreate> {
174178 return undefined ;
175179 }
176180
181+ /* eslint-disable camelcase */
177182 return {
178183 ocapi : [
179184 {
@@ -188,6 +193,7 @@ export default class OdsCreate extends OdsCommand<typeof OdsCreate> {
188193 } ,
189194 ] ,
190195 } ;
196+ /* eslint-enable camelcase */
191197 }
192198
193199 private printSandboxSummary ( sandbox : SandboxModel ) : void {
0 commit comments