@@ -15,6 +15,7 @@ import type { ContractComplianceCheckGroup, EnumComplianceProfile, EnumComplianc
15
15
import type { AppImage , Build , Deletions , EnumAppRevisionStatus , EnvGroup , EnvGroupVariables , EnvVariableDeletions , JobRun , PorterApp } from "./porter_app_pb.js" ;
16
16
import type { DeploymentTarget , DeploymentTargetIdentifier , DeploymentTargetMeta } from "./deployment_target_pb.js" ;
17
17
import type { Addon , PrerequisiteAddon } from "./addons_pb.js" ;
18
+ import type { Environment } from "./environment_pb.js" ;
18
19
import type { AppEventType } from "./agent_app_event_types_pb.js" ;
19
20
import type { Alert } from "./prometheus_alerts_pb.js" ;
20
21
import type { EnumEnvGroupProviderType , ExternalEnvGroupProviderEnabledStatus , InfisicalEnv } from "./env_group_pb.js" ;
@@ -3160,10 +3161,18 @@ export declare class AppTemplateRequest extends Message<AppTemplateRequest> {
3160
3161
/**
3161
3162
* app_id is the id of the PorterApp to return the template for
3162
3163
*
3163
- * @generated from field: int64 app_id = 2;
3164
+ * @generated from field: int64 app_id = 2 [deprecated = true];
3165
+ * @deprecated
3164
3166
*/
3165
3167
appId : bigint ;
3166
3168
3169
+ /**
3170
+ * name is the name of the template, usually corresponding to an app name
3171
+ *
3172
+ * @generated from field: string name = 3;
3173
+ */
3174
+ name : string ;
3175
+
3167
3176
constructor ( data ?: PartialMessage < AppTemplateRequest > ) ;
3168
3177
3169
3178
static readonly runtime : typeof proto3 ;
@@ -3219,6 +3228,61 @@ export declare class AppTemplateResponse extends Message<AppTemplateResponse> {
3219
3228
static equals ( a : AppTemplateResponse | PlainMessage < AppTemplateResponse > | undefined , b : AppTemplateResponse | PlainMessage < AppTemplateResponse > | undefined ) : boolean ;
3220
3229
}
3221
3230
3231
+ /**
3232
+ * @generated from message porter.v1.ListTemplatesRequest
3233
+ */
3234
+ export declare class ListTemplatesRequest extends Message < ListTemplatesRequest > {
3235
+ /**
3236
+ * @generated from field: int64 project_id = 1;
3237
+ */
3238
+ projectId : bigint ;
3239
+
3240
+ /**
3241
+ * @generated from field: int64 cluster_id = 2;
3242
+ */
3243
+ clusterId : bigint ;
3244
+
3245
+ constructor ( data ?: PartialMessage < ListTemplatesRequest > ) ;
3246
+
3247
+ static readonly runtime : typeof proto3 ;
3248
+ static readonly typeName = "porter.v1.ListTemplatesRequest" ;
3249
+ static readonly fields : FieldList ;
3250
+
3251
+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : ListTemplatesRequest ;
3252
+
3253
+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : ListTemplatesRequest ;
3254
+
3255
+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : ListTemplatesRequest ;
3256
+
3257
+ static equals ( a : ListTemplatesRequest | PlainMessage < ListTemplatesRequest > | undefined , b : ListTemplatesRequest | PlainMessage < ListTemplatesRequest > | undefined ) : boolean ;
3258
+ }
3259
+
3260
+ /**
3261
+ * @generated from message porter.v1.ListTemplatesResponse
3262
+ */
3263
+ export declare class ListTemplatesResponse extends Message < ListTemplatesResponse > {
3264
+ /**
3265
+ * environment_templates is the list of environment templates for the given cluster
3266
+ *
3267
+ * @generated from field: repeated porter.v1.Environment environment_templates = 1;
3268
+ */
3269
+ environmentTemplates : Environment [ ] ;
3270
+
3271
+ constructor ( data ?: PartialMessage < ListTemplatesResponse > ) ;
3272
+
3273
+ static readonly runtime : typeof proto3 ;
3274
+ static readonly typeName = "porter.v1.ListTemplatesResponse" ;
3275
+ static readonly fields : FieldList ;
3276
+
3277
+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : ListTemplatesResponse ;
3278
+
3279
+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : ListTemplatesResponse ;
3280
+
3281
+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : ListTemplatesResponse ;
3282
+
3283
+ static equals ( a : ListTemplatesResponse | PlainMessage < ListTemplatesResponse > | undefined , b : ListTemplatesResponse | PlainMessage < ListTemplatesResponse > | undefined ) : boolean ;
3284
+ }
3285
+
3222
3286
/**
3223
3287
* AddonTemplatesPayload is an object containg a list of addons to be included alongside an app template
3224
3288
* these addons will be applied or updated whenever an app is deployed to a new preview deployment target
0 commit comments