@forge/manifest 12.0.0 → 12.1.0-experimental-1ee2de3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +91 -0
- package/out/index.d.ts +1 -1
- package/out/index.d.ts.map +1 -1
- package/out/processor/full-validation-processor.d.ts.map +1 -1
- package/out/processor/full-validation-processor.js +2 -0
- package/out/schema/display-conditions-schema.json +168 -13
- package/out/schema/manifest-schema.json +179 -28
- package/out/schema/manifest.d.ts +160 -22
- package/out/scopes/shipyard-scopes.json +1 -0
- package/out/text/errors.d.ts +2 -2
- package/out/text/errors.d.ts.map +1 -1
- package/out/text/errors.js +5 -3
- package/out/types/display-condition-types.d.ts +31 -1
- package/out/types/display-condition-types.d.ts.map +1 -1
- package/out/validators/permissions-validator.d.ts +1 -0
- package/out/validators/permissions-validator.d.ts.map +1 -1
- package/out/validators/permissions-validator.js +37 -22
- package/out/validators/remotes-is-configurable-validator.d.ts.map +1 -1
- package/out/validators/remotes-is-configurable-validator.js +7 -36
- package/out/validators/twg-preview-scopes-validator.d.ts +7 -0
- package/out/validators/twg-preview-scopes-validator.d.ts.map +1 -0
- package/out/validators/twg-preview-scopes-validator.js +32 -0
- package/package.json +1 -1
package/out/schema/manifest.d.ts
CHANGED
|
@@ -802,7 +802,7 @@ export type Containers = {
|
|
|
802
802
|
key: string;
|
|
803
803
|
tag: string;
|
|
804
804
|
health: Health;
|
|
805
|
-
resources
|
|
805
|
+
resources: Resources1;
|
|
806
806
|
tunnel?: ContainerTunnelConfig;
|
|
807
807
|
}[];
|
|
808
808
|
export type Services = {
|
|
@@ -12328,6 +12328,12 @@ export interface Modules {
|
|
|
12328
12328
|
* The LLM families to use.
|
|
12329
12329
|
*/
|
|
12330
12330
|
model: 'claude'[];
|
|
12331
|
+
/**
|
|
12332
|
+
* Optional mapping of included models to corresponding display names.
|
|
12333
|
+
*/
|
|
12334
|
+
modelDisplayNames?: {
|
|
12335
|
+
[k: string]: string;
|
|
12336
|
+
}[];
|
|
12331
12337
|
key: ModuleKeySchema;
|
|
12332
12338
|
},
|
|
12333
12339
|
...{
|
|
@@ -12335,6 +12341,12 @@ export interface Modules {
|
|
|
12335
12341
|
* The LLM families to use.
|
|
12336
12342
|
*/
|
|
12337
12343
|
model: 'claude'[];
|
|
12344
|
+
/**
|
|
12345
|
+
* Optional mapping of included models to corresponding display names.
|
|
12346
|
+
*/
|
|
12347
|
+
modelDisplayNames?: {
|
|
12348
|
+
[k: string]: string;
|
|
12349
|
+
}[];
|
|
12338
12350
|
key: ModuleKeySchema;
|
|
12339
12351
|
}[]
|
|
12340
12352
|
];
|
|
@@ -19019,6 +19031,9 @@ export interface Modules {
|
|
|
19019
19031
|
layout?: 'native' | 'basic';
|
|
19020
19032
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19021
19033
|
function: string;
|
|
19034
|
+
displayConditions?: {
|
|
19035
|
+
[k: string]: unknown;
|
|
19036
|
+
};
|
|
19022
19037
|
key: ModuleKeySchema;
|
|
19023
19038
|
[k: string]: unknown;
|
|
19024
19039
|
}
|
|
@@ -19041,6 +19056,9 @@ export interface Modules {
|
|
|
19041
19056
|
resource: string;
|
|
19042
19057
|
resourceUploadId?: string;
|
|
19043
19058
|
render?: 'native' | 'default';
|
|
19059
|
+
displayConditions?: {
|
|
19060
|
+
[k: string]: unknown;
|
|
19061
|
+
};
|
|
19044
19062
|
key: ModuleKeySchema;
|
|
19045
19063
|
[k: string]: unknown;
|
|
19046
19064
|
}
|
|
@@ -19057,6 +19075,9 @@ export interface Modules {
|
|
|
19057
19075
|
layout?: 'native' | 'basic';
|
|
19058
19076
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19059
19077
|
function: string;
|
|
19078
|
+
displayConditions?: {
|
|
19079
|
+
[k: string]: unknown;
|
|
19080
|
+
};
|
|
19060
19081
|
key: ModuleKeySchema;
|
|
19061
19082
|
[k: string]: unknown;
|
|
19062
19083
|
}
|
|
@@ -19079,6 +19100,9 @@ export interface Modules {
|
|
|
19079
19100
|
resource: string;
|
|
19080
19101
|
resourceUploadId?: string;
|
|
19081
19102
|
render?: 'native' | 'default';
|
|
19103
|
+
displayConditions?: {
|
|
19104
|
+
[k: string]: unknown;
|
|
19105
|
+
};
|
|
19082
19106
|
key: ModuleKeySchema;
|
|
19083
19107
|
[k: string]: unknown;
|
|
19084
19108
|
}
|
|
@@ -19097,6 +19121,9 @@ export interface Modules {
|
|
|
19097
19121
|
layout?: 'native' | 'basic';
|
|
19098
19122
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19099
19123
|
function: string;
|
|
19124
|
+
displayConditions?: {
|
|
19125
|
+
[k: string]: unknown;
|
|
19126
|
+
};
|
|
19100
19127
|
key: ModuleKeySchema;
|
|
19101
19128
|
[k: string]: unknown;
|
|
19102
19129
|
}
|
|
@@ -19119,6 +19146,9 @@ export interface Modules {
|
|
|
19119
19146
|
resource: string;
|
|
19120
19147
|
resourceUploadId?: string;
|
|
19121
19148
|
render?: 'native' | 'default';
|
|
19149
|
+
displayConditions?: {
|
|
19150
|
+
[k: string]: unknown;
|
|
19151
|
+
};
|
|
19122
19152
|
key: ModuleKeySchema;
|
|
19123
19153
|
[k: string]: unknown;
|
|
19124
19154
|
}
|
|
@@ -19135,6 +19165,9 @@ export interface Modules {
|
|
|
19135
19165
|
layout?: 'native' | 'basic';
|
|
19136
19166
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19137
19167
|
function: string;
|
|
19168
|
+
displayConditions?: {
|
|
19169
|
+
[k: string]: unknown;
|
|
19170
|
+
};
|
|
19138
19171
|
key: ModuleKeySchema;
|
|
19139
19172
|
[k: string]: unknown;
|
|
19140
19173
|
}
|
|
@@ -19157,6 +19190,9 @@ export interface Modules {
|
|
|
19157
19190
|
resource: string;
|
|
19158
19191
|
resourceUploadId?: string;
|
|
19159
19192
|
render?: 'native' | 'default';
|
|
19193
|
+
displayConditions?: {
|
|
19194
|
+
[k: string]: unknown;
|
|
19195
|
+
};
|
|
19160
19196
|
key: ModuleKeySchema;
|
|
19161
19197
|
[k: string]: unknown;
|
|
19162
19198
|
}
|
|
@@ -19255,6 +19291,9 @@ export interface Modules {
|
|
|
19255
19291
|
)[];
|
|
19256
19292
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19257
19293
|
function: string;
|
|
19294
|
+
displayConditions?: {
|
|
19295
|
+
[k: string]: unknown;
|
|
19296
|
+
};
|
|
19258
19297
|
key: ModuleKeySchema;
|
|
19259
19298
|
[k: string]: unknown;
|
|
19260
19299
|
}
|
|
@@ -19279,6 +19318,9 @@ export interface Modules {
|
|
|
19279
19318
|
resource: string;
|
|
19280
19319
|
resourceUploadId?: string;
|
|
19281
19320
|
render?: 'native' | 'default';
|
|
19321
|
+
displayConditions?: {
|
|
19322
|
+
[k: string]: unknown;
|
|
19323
|
+
};
|
|
19282
19324
|
key: ModuleKeySchema;
|
|
19283
19325
|
[k: string]: unknown;
|
|
19284
19326
|
}
|
|
@@ -19297,6 +19339,9 @@ export interface Modules {
|
|
|
19297
19339
|
)[];
|
|
19298
19340
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19299
19341
|
function: string;
|
|
19342
|
+
displayConditions?: {
|
|
19343
|
+
[k: string]: unknown;
|
|
19344
|
+
};
|
|
19300
19345
|
key: ModuleKeySchema;
|
|
19301
19346
|
[k: string]: unknown;
|
|
19302
19347
|
}
|
|
@@ -19321,6 +19366,9 @@ export interface Modules {
|
|
|
19321
19366
|
resource: string;
|
|
19322
19367
|
resourceUploadId?: string;
|
|
19323
19368
|
render?: 'native' | 'default';
|
|
19369
|
+
displayConditions?: {
|
|
19370
|
+
[k: string]: unknown;
|
|
19371
|
+
};
|
|
19324
19372
|
key: ModuleKeySchema;
|
|
19325
19373
|
[k: string]: unknown;
|
|
19326
19374
|
}
|
|
@@ -19340,6 +19388,9 @@ export interface Modules {
|
|
|
19340
19388
|
)[];
|
|
19341
19389
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19342
19390
|
function: string;
|
|
19391
|
+
displayConditions?: {
|
|
19392
|
+
[k: string]: unknown;
|
|
19393
|
+
};
|
|
19343
19394
|
key: ModuleKeySchema;
|
|
19344
19395
|
[k: string]: unknown;
|
|
19345
19396
|
}
|
|
@@ -19364,6 +19415,9 @@ export interface Modules {
|
|
|
19364
19415
|
resource: string;
|
|
19365
19416
|
resourceUploadId?: string;
|
|
19366
19417
|
render?: 'native' | 'default';
|
|
19418
|
+
displayConditions?: {
|
|
19419
|
+
[k: string]: unknown;
|
|
19420
|
+
};
|
|
19367
19421
|
key: ModuleKeySchema;
|
|
19368
19422
|
[k: string]: unknown;
|
|
19369
19423
|
}
|
|
@@ -19381,6 +19435,9 @@ export interface Modules {
|
|
|
19381
19435
|
)[];
|
|
19382
19436
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19383
19437
|
function: string;
|
|
19438
|
+
displayConditions?: {
|
|
19439
|
+
[k: string]: unknown;
|
|
19440
|
+
};
|
|
19384
19441
|
key: ModuleKeySchema;
|
|
19385
19442
|
[k: string]: unknown;
|
|
19386
19443
|
}
|
|
@@ -19405,6 +19462,9 @@ export interface Modules {
|
|
|
19405
19462
|
resource: string;
|
|
19406
19463
|
resourceUploadId?: string;
|
|
19407
19464
|
render?: 'native' | 'default';
|
|
19465
|
+
displayConditions?: {
|
|
19466
|
+
[k: string]: unknown;
|
|
19467
|
+
};
|
|
19408
19468
|
key: ModuleKeySchema;
|
|
19409
19469
|
[k: string]: unknown;
|
|
19410
19470
|
}
|
|
@@ -19424,6 +19484,9 @@ export interface Modules {
|
|
|
19424
19484
|
)[];
|
|
19425
19485
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19426
19486
|
function: string;
|
|
19487
|
+
displayConditions?: {
|
|
19488
|
+
[k: string]: unknown;
|
|
19489
|
+
};
|
|
19427
19490
|
key: ModuleKeySchema;
|
|
19428
19491
|
[k: string]: unknown;
|
|
19429
19492
|
}
|
|
@@ -19448,6 +19511,9 @@ export interface Modules {
|
|
|
19448
19511
|
resource: string;
|
|
19449
19512
|
resourceUploadId?: string;
|
|
19450
19513
|
render?: 'native' | 'default';
|
|
19514
|
+
displayConditions?: {
|
|
19515
|
+
[k: string]: unknown;
|
|
19516
|
+
};
|
|
19451
19517
|
key: ModuleKeySchema;
|
|
19452
19518
|
[k: string]: unknown;
|
|
19453
19519
|
}
|
|
@@ -19465,6 +19531,9 @@ export interface Modules {
|
|
|
19465
19531
|
)[];
|
|
19466
19532
|
viewportSize?: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
19467
19533
|
function: string;
|
|
19534
|
+
displayConditions?: {
|
|
19535
|
+
[k: string]: unknown;
|
|
19536
|
+
};
|
|
19468
19537
|
key: ModuleKeySchema;
|
|
19469
19538
|
[k: string]: unknown;
|
|
19470
19539
|
}
|
|
@@ -19489,6 +19558,9 @@ export interface Modules {
|
|
|
19489
19558
|
resource: string;
|
|
19490
19559
|
resourceUploadId?: string;
|
|
19491
19560
|
render?: 'native' | 'default';
|
|
19561
|
+
displayConditions?: {
|
|
19562
|
+
[k: string]: unknown;
|
|
19563
|
+
};
|
|
19492
19564
|
key: ModuleKeySchema;
|
|
19493
19565
|
[k: string]: unknown;
|
|
19494
19566
|
}
|
|
@@ -19506,6 +19578,9 @@ export interface Modules {
|
|
|
19506
19578
|
icon?: string;
|
|
19507
19579
|
layout?: 'native' | 'basic';
|
|
19508
19580
|
function: string;
|
|
19581
|
+
displayConditions?: {
|
|
19582
|
+
[k: string]: unknown;
|
|
19583
|
+
};
|
|
19509
19584
|
key: ModuleKeySchema;
|
|
19510
19585
|
[k: string]: unknown;
|
|
19511
19586
|
}
|
|
@@ -19529,6 +19604,9 @@ export interface Modules {
|
|
|
19529
19604
|
resource: string;
|
|
19530
19605
|
resourceUploadId?: string;
|
|
19531
19606
|
render?: 'native' | 'default';
|
|
19607
|
+
displayConditions?: {
|
|
19608
|
+
[k: string]: unknown;
|
|
19609
|
+
};
|
|
19532
19610
|
key: ModuleKeySchema;
|
|
19533
19611
|
[k: string]: unknown;
|
|
19534
19612
|
}
|
|
@@ -19544,6 +19622,9 @@ export interface Modules {
|
|
|
19544
19622
|
icon?: string;
|
|
19545
19623
|
layout?: 'native' | 'basic';
|
|
19546
19624
|
function: string;
|
|
19625
|
+
displayConditions?: {
|
|
19626
|
+
[k: string]: unknown;
|
|
19627
|
+
};
|
|
19547
19628
|
key: ModuleKeySchema;
|
|
19548
19629
|
[k: string]: unknown;
|
|
19549
19630
|
}
|
|
@@ -19567,6 +19648,9 @@ export interface Modules {
|
|
|
19567
19648
|
resource: string;
|
|
19568
19649
|
resourceUploadId?: string;
|
|
19569
19650
|
render?: 'native' | 'default';
|
|
19651
|
+
displayConditions?: {
|
|
19652
|
+
[k: string]: unknown;
|
|
19653
|
+
};
|
|
19570
19654
|
key: ModuleKeySchema;
|
|
19571
19655
|
[k: string]: unknown;
|
|
19572
19656
|
}
|
|
@@ -19664,6 +19748,9 @@ export interface Modules {
|
|
|
19664
19748
|
| string;
|
|
19665
19749
|
title__i18n?: string;
|
|
19666
19750
|
function: string;
|
|
19751
|
+
displayConditions?: {
|
|
19752
|
+
[k: string]: unknown;
|
|
19753
|
+
};
|
|
19667
19754
|
key: ModuleKeySchema;
|
|
19668
19755
|
[k: string]: unknown;
|
|
19669
19756
|
}
|
|
@@ -19685,6 +19772,9 @@ export interface Modules {
|
|
|
19685
19772
|
resourceUploadId?: string;
|
|
19686
19773
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19687
19774
|
render?: 'native' | 'default';
|
|
19775
|
+
displayConditions?: {
|
|
19776
|
+
[k: string]: unknown;
|
|
19777
|
+
};
|
|
19688
19778
|
key: ModuleKeySchema;
|
|
19689
19779
|
[k: string]: unknown;
|
|
19690
19780
|
}
|
|
@@ -19698,6 +19788,9 @@ export interface Modules {
|
|
|
19698
19788
|
| string;
|
|
19699
19789
|
title__i18n?: string;
|
|
19700
19790
|
function: string;
|
|
19791
|
+
displayConditions?: {
|
|
19792
|
+
[k: string]: unknown;
|
|
19793
|
+
};
|
|
19701
19794
|
key: ModuleKeySchema;
|
|
19702
19795
|
[k: string]: unknown;
|
|
19703
19796
|
}
|
|
@@ -19719,6 +19812,9 @@ export interface Modules {
|
|
|
19719
19812
|
resourceUploadId?: string;
|
|
19720
19813
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19721
19814
|
render?: 'native' | 'default';
|
|
19815
|
+
displayConditions?: {
|
|
19816
|
+
[k: string]: unknown;
|
|
19817
|
+
};
|
|
19722
19818
|
key: ModuleKeySchema;
|
|
19723
19819
|
[k: string]: unknown;
|
|
19724
19820
|
}
|
|
@@ -19737,6 +19833,9 @@ export interface Modules {
|
|
|
19737
19833
|
layout?: 'native' | 'basic';
|
|
19738
19834
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19739
19835
|
function: string;
|
|
19836
|
+
displayConditions?: {
|
|
19837
|
+
[k: string]: unknown;
|
|
19838
|
+
};
|
|
19740
19839
|
key: ModuleKeySchema;
|
|
19741
19840
|
[k: string]: unknown;
|
|
19742
19841
|
}
|
|
@@ -19760,6 +19859,9 @@ export interface Modules {
|
|
|
19760
19859
|
resource: string;
|
|
19761
19860
|
resourceUploadId?: string;
|
|
19762
19861
|
render?: 'native' | 'default';
|
|
19862
|
+
displayConditions?: {
|
|
19863
|
+
[k: string]: unknown;
|
|
19864
|
+
};
|
|
19763
19865
|
key: ModuleKeySchema;
|
|
19764
19866
|
[k: string]: unknown;
|
|
19765
19867
|
}
|
|
@@ -19776,6 +19878,9 @@ export interface Modules {
|
|
|
19776
19878
|
layout?: 'native' | 'basic';
|
|
19777
19879
|
viewportSize?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
19778
19880
|
function: string;
|
|
19881
|
+
displayConditions?: {
|
|
19882
|
+
[k: string]: unknown;
|
|
19883
|
+
};
|
|
19779
19884
|
key: ModuleKeySchema;
|
|
19780
19885
|
[k: string]: unknown;
|
|
19781
19886
|
}
|
|
@@ -19799,6 +19904,9 @@ export interface Modules {
|
|
|
19799
19904
|
resource: string;
|
|
19800
19905
|
resourceUploadId?: string;
|
|
19801
19906
|
render?: 'native' | 'default';
|
|
19907
|
+
displayConditions?: {
|
|
19908
|
+
[k: string]: unknown;
|
|
19909
|
+
};
|
|
19802
19910
|
key: ModuleKeySchema;
|
|
19803
19911
|
[k: string]: unknown;
|
|
19804
19912
|
}
|
|
@@ -73636,16 +73744,6 @@ export interface FormProperty {
|
|
|
73636
73744
|
}
|
|
73637
73745
|
export interface Permissions {
|
|
73638
73746
|
enforcement?: Enforcement;
|
|
73639
|
-
/**
|
|
73640
|
-
* This property is not yet supported
|
|
73641
|
-
*/
|
|
73642
|
-
configurable?: {
|
|
73643
|
-
/**
|
|
73644
|
-
* This property is not yet supported
|
|
73645
|
-
*/
|
|
73646
|
-
enabled: boolean;
|
|
73647
|
-
[k: string]: unknown;
|
|
73648
|
-
};
|
|
73649
73747
|
scopes?: Scopes;
|
|
73650
73748
|
content?: Content1;
|
|
73651
73749
|
external?: External;
|
|
@@ -73663,6 +73761,9 @@ export interface External {
|
|
|
73663
73761
|
media?: Media;
|
|
73664
73762
|
scripts?: Scripts1;
|
|
73665
73763
|
styles?: Styles1;
|
|
73764
|
+
configurable?: {
|
|
73765
|
+
enabled: boolean;
|
|
73766
|
+
};
|
|
73666
73767
|
}
|
|
73667
73768
|
export interface Fetch {
|
|
73668
73769
|
backend?: Backend;
|
|
@@ -73749,20 +73850,15 @@ export interface RemotesSchema {
|
|
|
73749
73850
|
/**
|
|
73750
73851
|
* The name that an admin will see when they're configuring the remote
|
|
73751
73852
|
*/
|
|
73752
|
-
name
|
|
73853
|
+
name: string;
|
|
73753
73854
|
/**
|
|
73754
73855
|
* The description that an admin will see when they're configuring the remote
|
|
73755
73856
|
*/
|
|
73756
|
-
description
|
|
73757
|
-
/**
|
|
73758
|
-
* The default value that will be used if the admin does not set a custom domain for this remote
|
|
73759
|
-
*/
|
|
73760
|
-
default?: string;
|
|
73857
|
+
description: string;
|
|
73761
73858
|
/**
|
|
73762
73859
|
* The domains that are supported for this remote, prefixed with a * wildcard. For example, `*.atlassian.net` would allow this remote to communicate with domains that matched this.
|
|
73763
73860
|
*/
|
|
73764
73861
|
supportedPatterns?: [string, ...string[]];
|
|
73765
|
-
[k: string]: unknown;
|
|
73766
73862
|
};
|
|
73767
73863
|
}
|
|
73768
73864
|
export interface Providers {
|
|
@@ -74030,13 +74126,13 @@ export interface Health {
|
|
|
74030
74126
|
}
|
|
74031
74127
|
export interface Resources1 {
|
|
74032
74128
|
/**
|
|
74033
|
-
* The amount of CPU
|
|
74129
|
+
* The reserved amount of CPU for the container
|
|
74034
74130
|
*/
|
|
74035
|
-
cpu
|
|
74131
|
+
cpu: string;
|
|
74036
74132
|
/**
|
|
74037
|
-
* The amount of memory
|
|
74133
|
+
* The reserved amount of memory for the container
|
|
74038
74134
|
*/
|
|
74039
|
-
memory
|
|
74135
|
+
memory: string;
|
|
74040
74136
|
}
|
|
74041
74137
|
export interface ContainerTunnelConfig {
|
|
74042
74138
|
docker: {
|
|
@@ -74062,6 +74158,48 @@ export interface ContainerTunnelConfig {
|
|
|
74062
74158
|
* The custom environment variables available to the running processes in the container
|
|
74063
74159
|
*/
|
|
74064
74160
|
environment?: string[];
|
|
74161
|
+
/**
|
|
74162
|
+
* The working directory for commands to run in. This will override the default WORKDIR specified in the Dockerfile
|
|
74163
|
+
*/
|
|
74164
|
+
working_dir?: string;
|
|
74165
|
+
/**
|
|
74166
|
+
* The command to run in the container. This will override the default CMD specified in the Dockerfile
|
|
74167
|
+
*/
|
|
74168
|
+
command?: string | string[];
|
|
74169
|
+
/**
|
|
74170
|
+
* A section of config which groups development-specific features together
|
|
74171
|
+
*/
|
|
74172
|
+
develop?: {
|
|
74173
|
+
/**
|
|
74174
|
+
* A list of rules that control automatic service updates based on local file changes
|
|
74175
|
+
*/
|
|
74176
|
+
watch?: {
|
|
74177
|
+
/**
|
|
74178
|
+
* The path to source code (relative to the project directory) to monitor for changes
|
|
74179
|
+
*/
|
|
74180
|
+
path: string;
|
|
74181
|
+
/**
|
|
74182
|
+
* The destination path inside the container where source file changes should be synced to. This attribute is only required when the action is set to sync.
|
|
74183
|
+
*/
|
|
74184
|
+
target?: string;
|
|
74185
|
+
/**
|
|
74186
|
+
* The possible actions to take when changes are detected. Refer to official docker documentation for more details on each action
|
|
74187
|
+
*/
|
|
74188
|
+
action: 'sync' | 'rebuild' | 'restart' | 'sync+restart';
|
|
74189
|
+
/**
|
|
74190
|
+
* A list of paths or patterns to ignore when watching for changes
|
|
74191
|
+
*/
|
|
74192
|
+
ignore?: string[];
|
|
74193
|
+
/**
|
|
74194
|
+
* A list of paths or patterns to specifically include when watching for changes
|
|
74195
|
+
*/
|
|
74196
|
+
include?: string[];
|
|
74197
|
+
}[];
|
|
74198
|
+
};
|
|
74199
|
+
/**
|
|
74200
|
+
* Volumes define mount points that are accessible by service containers. The format is 'source:container_path[:mode]' where mode is optional and can be 'ro' (read-only) or by default 'rw' (read-write)
|
|
74201
|
+
*/
|
|
74202
|
+
volumes?: string[];
|
|
74065
74203
|
};
|
|
74066
74204
|
}
|
|
74067
74205
|
export interface Scaling {
|
|
@@ -421,6 +421,7 @@
|
|
|
421
421
|
"write:content.property:confluence",
|
|
422
422
|
"write:content.restriction:confluence",
|
|
423
423
|
"write:conversation-info:jira",
|
|
424
|
+
"write:csm-request:jira-service-management",
|
|
424
425
|
"write:custom-content:confluence",
|
|
425
426
|
"write:custom-field-contextual-configuration:jira",
|
|
426
427
|
"write:customer-org-info:jira",
|
package/out/text/errors.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { type ForgeSupportedLocaleCode } from '../schema/manifest';
|
|
|
2
2
|
import { AllModuleTypes } from '../types';
|
|
3
3
|
export declare const errors: {
|
|
4
4
|
invalidManifest: (reason: string) => string;
|
|
5
|
+
twgPreviewScopes: (scopes: string[]) => string;
|
|
5
6
|
missingManifest: () => string;
|
|
6
7
|
schemaError: (value: string | undefined, path: string[], reason: string | undefined) => string;
|
|
7
8
|
schema: {
|
|
@@ -26,6 +27,7 @@ export declare const errors: {
|
|
|
26
27
|
globalUrlNotRecommended: (element: string) => string;
|
|
27
28
|
imageUrlNotRecommended: (element: string, value: string) => string;
|
|
28
29
|
fontAndStylesNotRecommended: (element: string) => string;
|
|
30
|
+
backendEgressPathIgnored: (url: string) => string;
|
|
29
31
|
malformedScope: (index: number) => string;
|
|
30
32
|
};
|
|
31
33
|
connectModules: {
|
|
@@ -137,9 +139,7 @@ export declare const errors: {
|
|
|
137
139
|
missingModuleRemoteStorageInScopeEUD: (key: string) => string;
|
|
138
140
|
allRegionsNotDeclared: (key: string) => string;
|
|
139
141
|
baseUrlNotPresent: (key: string) => string;
|
|
140
|
-
userConfigurationPermissionsMismatch: (key: string) => string;
|
|
141
142
|
neitherBaseUrlNorUserConfigurationPresent: (key: string) => string;
|
|
142
|
-
bothBaseUrlAndUserConfigurationPresent: (key: string) => string;
|
|
143
143
|
};
|
|
144
144
|
rovo: {
|
|
145
145
|
incorrectAgentActionReference: (module: string, moduleKey: string) => string;
|
package/out/text/errors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/text/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,eAAO,MAAM,MAAM;8BACS,MAAM,KAAG,MAAM;
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/text/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACn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utils");
|
|
6
6
|
exports.errors = {
|
|
7
7
|
invalidManifest: (reason) => `manifest.yml failed to parse content - ${reason}`,
|
|
8
|
+
twgPreviewScopes: (scopes) => `This app requests Teamwork Graph scopes (${scopes.join(', ')}), which grant org-wide read access ` +
|
|
9
|
+
`across Jira, Confluence, Compass, JSM, Teams, Goals, Projects, and users. ` +
|
|
10
|
+
`End-user permissions are respected, but access is not limited to a single site or product.`,
|
|
8
11
|
missingManifest: () => `To run this command, make sure you're in the top-level directory of your app, and the manifest.yml file is in the same directory.`,
|
|
9
12
|
schemaError: (value, path, reason) => {
|
|
10
13
|
if (value) {
|
|
@@ -38,6 +41,7 @@ exports.errors = {
|
|
|
38
41
|
globalUrlNotRecommended: (element) => `Global URL usage detected for '${element}' permission in the manifest.yml file. We recommend using a more specific URL.`,
|
|
39
42
|
imageUrlNotRecommended: (element, value) => `Unnecessary URL detected for '${element}' permission in the manifest.yml file. Your app should not need the URL '${value}' to work properly.`,
|
|
40
43
|
fontAndStylesNotRecommended: (element) => `Unnecessary usage of '${element}' permission in the manifest.yml file. You can avoid using this permission by packaging the fonts and styles with your app code.`,
|
|
44
|
+
backendEgressPathIgnored: (url) => `Detected a backend egress URL with a path in manifest.yml: '${url}'. Currently, backend egress only validates domains, so the path is ignored.`,
|
|
41
45
|
malformedScope: (index) => `The scope definition at index '${index}' is malformed. Use either a string with the scope key, or an object with the scope key as the only key`
|
|
42
46
|
},
|
|
43
47
|
connectModules: {
|
|
@@ -149,9 +153,7 @@ exports.errors = {
|
|
|
149
153
|
missingModuleRemoteStorageInScopeEUD: (key) => `missing storage.inScopeEUD in ${key} module. storage.inScopeEUD is required if storage is present in operations.`,
|
|
150
154
|
allRegionsNotDeclared: (key) => `All region specific URLs are not declared for ${key}`,
|
|
151
155
|
baseUrlNotPresent: (key) => `A remote must declare baseUrl for ${key}`,
|
|
152
|
-
|
|
153
|
-
neitherBaseUrlNorUserConfigurationPresent: (key) => `A remote must declare either baseUrl or configurable for ${key}`,
|
|
154
|
-
bothBaseUrlAndUserConfigurationPresent: (key) => `A remote must not declare both baseUrl and configurable for ${key}`
|
|
156
|
+
neitherBaseUrlNorUserConfigurationPresent: (key) => `A remote must declare either baseUrl or configurable for ${key}`
|
|
155
157
|
},
|
|
156
158
|
rovo: {
|
|
157
159
|
incorrectAgentActionReference: (module, moduleKey) => `${module} references undefined action module with key '${moduleKey}'.`,
|
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
declare type StringOrListOfStrings = string | string[];
|
|
2
|
+
interface EgressPermissionAddress {
|
|
3
|
+
address: string;
|
|
4
|
+
}
|
|
5
|
+
declare type FetchBackendOrClient = StringOrListOfStrings | EgressPermissionAddress | (StringOrListOfStrings | EgressPermissionAddress)[];
|
|
6
|
+
interface DisplayConditionsExternal {
|
|
7
|
+
fetch?: {
|
|
8
|
+
backend?: FetchBackendOrClient;
|
|
9
|
+
client?: FetchBackendOrClient;
|
|
10
|
+
};
|
|
11
|
+
fonts?: StringOrListOfStrings;
|
|
12
|
+
frames?: StringOrListOfStrings;
|
|
13
|
+
images?: StringOrListOfStrings;
|
|
14
|
+
media?: StringOrListOfStrings;
|
|
15
|
+
scripts?: StringOrListOfStrings;
|
|
16
|
+
styles?: StringOrListOfStrings;
|
|
17
|
+
}
|
|
18
|
+
interface DisplayConditionsPermissions {
|
|
19
|
+
scopes?: StringOrListOfStrings;
|
|
20
|
+
external?: DisplayConditionsExternal;
|
|
21
|
+
}
|
|
1
22
|
declare type Product = {
|
|
2
23
|
isAdmin?: boolean;
|
|
3
24
|
isLoggedIn?: boolean;
|
|
@@ -5,6 +26,7 @@ declare type Product = {
|
|
|
5
26
|
hasAppAccess?: boolean;
|
|
6
27
|
appIsLicensed?: boolean;
|
|
7
28
|
appEdition?: AppEditionType;
|
|
29
|
+
permissions?: DisplayConditionsPermissions;
|
|
8
30
|
};
|
|
9
31
|
declare type Jira = Product & TimeTrackingProviderProperties & EntityPropertyConditionsProperties & {
|
|
10
32
|
hasSoftwareAccess?: boolean;
|
|
@@ -27,7 +49,6 @@ interface EntityPropertyConditionsProperties {
|
|
|
27
49
|
entityPropertyContainsAny?: EntityPropertyContainsAny;
|
|
28
50
|
entityPropertyContainsAll?: EntityPropertyContainsAll;
|
|
29
51
|
}
|
|
30
|
-
declare type StringOrListOfStrings = string | string[];
|
|
31
52
|
declare type IssueView = Jira & ProjectPermissionProperties & ProjectProperties & {
|
|
32
53
|
issueKey?: StringOrListOfStrings;
|
|
33
54
|
issueId?: StringOrListOfStrings;
|
|
@@ -158,6 +179,15 @@ export declare type DisplayConditions = {
|
|
|
158
179
|
'confluence:spaceSettings'?: Confluence;
|
|
159
180
|
'confluence:backgroundScript'?: Confluence;
|
|
160
181
|
'confluence:pageBanner'?: Confluence;
|
|
182
|
+
'jiraServiceManagement:portalFooter'?: ProjectView;
|
|
183
|
+
'jiraServiceManagement:portalHeader'?: ProjectView;
|
|
184
|
+
'jiraServiceManagement:portalProfilePanel'?: Jira;
|
|
185
|
+
'jiraServiceManagement:portalUserMenuAction'?: Jira;
|
|
186
|
+
'jiraServiceManagement:portalRequestDetailPanel'?: IssueView;
|
|
187
|
+
'jiraServiceManagement:portalSubheader'?: ProjectView;
|
|
188
|
+
'jiraServiceManagement:portalRequestViewAction'?: IssueView;
|
|
189
|
+
'jiraServiceManagement:portalRequestDetail'?: IssueView;
|
|
190
|
+
'jiraServiceManagement:portalRequestCreatePropertyPanel'?: ProjectView;
|
|
161
191
|
};
|
|
162
192
|
};
|
|
163
193
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"display-condition-types.d.ts","sourceRoot":"","sources":["../../src/types/display-condition-types.ts"],"names":[],"mappings":"AAAA,aAAK,qBAAqB,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;AAE/C,UAAU,uBAAuB;IAC/B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,aAAK,oBAAoB,GACrB,qBAAqB,GACrB,uBAAuB,GACvB,CAAC,qBAAqB,GAAG,uBAAuB,CAAC,EAAE,CAAC;AAExD,UAAU,yBAAyB;IACjC,KAAK,CAAC,EAAE;QACN,OAAO,CAAC,EAAE,oBAAoB,CAAC;QAC/B,MAAM,CAAC,EAAE,oBAAoB,CAAC;KAC/B,CAAC;IACF,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED,UAAU,4BAA4B;IACpC,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,QAAQ,CAAC,EAAE,yBAAyB,CAAC;CACtC;AAED,aAAK,OAAO,GAAG;IACb,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,WAAW,CAAC,EAAE,4BAA4B,CAAC;CAC5C,CAAC;AAEF,aAAK,IAAI,GAAG,OAAO,GACjB,8BAA8B,GAC9B,kCAAkC,GAAG;IACnC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oB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AE,SAAS,CAAC;QAC5D,2CAA2C,CAAC,EAAE,SAAS,CAAC;QACxD,wDAAwD,CAAC,EAAE,WAAW,CAAC;KACxE,CAAC;CACH,CAAC"}
|
|
@@ -6,6 +6,7 @@ export declare class PermissionsValidator implements ValidatorInterface<Manifest
|
|
|
6
6
|
private remotesHasValidEntryForKey;
|
|
7
7
|
private isValidURL;
|
|
8
8
|
private isValidHash;
|
|
9
|
+
private hasPathComponent;
|
|
9
10
|
private addValidationErrors;
|
|
10
11
|
private validateExternalPermissionURLs;
|
|
11
12
|
validate(manifest: ManifestObject<ManifestSchema> | undefined): Promise<ManifestValidationResult<ManifestSchema>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions-validator.d.ts","sourceRoot":"","sources":["../../src/validators/permissions-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,UAa9B,CAAC;AAEF,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,UAAU;IAwClB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;
|
|
1
|
+
{"version":3,"file":"permissions-validator.d.ts","sourceRoot":"","sources":["../../src/validators/permissions-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,wBAAwB,EAAmB,MAAM,UAAU,CAAC;AAGrF,OAAO,EAAE,cAAc,EAAU,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAQ3D,eAAO,MAAM,kBAAkB,UAa9B,CAAC;AAEF,qBAAa,oBACX,YAAW,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,EAAE,cAAc,CAAC;IAEzF,OAAO,CAAC,0BAA0B;IAQlC,OAAO,CAAC,UAAU;IAwClB,OAAO,CAAC,WAAW;IAUnB,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,mBAAmB;IAgB3B,OAAO,CAAC,8BAA8B;IA2DhC,QAAQ,CACZ,QAAQ,EAAE,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,GACnD,OAAO,CAAC,wBAAwB,CAAC,cAAc,CAAC,CAAC;CA8MrD"}
|