@featureflip/mcp 0.11.0 → 0.12.0
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/README.md +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/generated/api-types.d.ts +1189 -80
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/generated/output-schemas.json.d.ts +492 -1
- package/dist/index.mjs +1 -1
- package/dist/org-D-wxVFsh.js +2340 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/tools/flag-versions.d.ts +4 -0
- package/dist/tools/flag-versions.d.ts.map +1 -0
- package/dist/tools/segments.d.ts.map +1 -1
- package/dist/tools/variations.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/org-BndJWcRw.js +0 -2264
|
@@ -21,6 +21,10 @@ declare const _default: {
|
|
|
21
21
|
"POST /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/rules": "PublicTargetingRuleResponse",
|
|
22
22
|
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/rules/{ruleId}": "PublicTargetingRuleResponse",
|
|
23
23
|
"POST /api/v1/orgs/{org}/projects/{project}/flags/{flag}/variations": "PublicVariationResponse",
|
|
24
|
+
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions": "PublicFlagVersionSummaryPagedResult",
|
|
25
|
+
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}": "PublicFlagVersion",
|
|
26
|
+
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}/diff": "PublicFlagVersionDiff",
|
|
27
|
+
"POST /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/versions/{number}/restore": "PublicRestoreFlagVersionResult",
|
|
24
28
|
"POST /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/triggers": "PublicFlagTriggerWithUrlResponse",
|
|
25
29
|
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/triggers": "PublicFlagTriggerResponsePagedResult",
|
|
26
30
|
"GET /api/v1/orgs/{org}/projects/{project}/flags/{flag}/environments/{env}/triggers/{trigger}": "PublicFlagTriggerResponse",
|
|
@@ -202,6 +206,16 @@ declare const _default: {
|
|
|
202
206
|
"string",
|
|
203
207
|
"null"
|
|
204
208
|
]
|
|
209
|
+
},
|
|
210
|
+
"limits": {
|
|
211
|
+
"anyOf": [
|
|
212
|
+
{
|
|
213
|
+
"$ref": "#/$defs/PublicPlanLimits"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"type": "null"
|
|
217
|
+
}
|
|
218
|
+
]
|
|
205
219
|
}
|
|
206
220
|
},
|
|
207
221
|
"description": "Public representation of an organization, returned by both `GET /api/v1/orgs` (list) and\n`GET /api/v1/orgs/{org}` (detail). Drops dashboard-only fields (`BillingEmail` is\nbilling-contact PII, `UpdatedAt` is dashboard audit trivia) from the dashboard's\nOrganizationDto/OrganizationListItemDto."
|
|
@@ -1856,6 +1870,28 @@ declare const _default: {
|
|
|
1856
1870
|
"null"
|
|
1857
1871
|
]
|
|
1858
1872
|
},
|
|
1873
|
+
"fallthroughRolloutVariation": {
|
|
1874
|
+
"anyOf": [
|
|
1875
|
+
{
|
|
1876
|
+
"$ref": "#/$defs/PublicKeyedRef"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"type": "null"
|
|
1880
|
+
}
|
|
1881
|
+
]
|
|
1882
|
+
},
|
|
1883
|
+
"fallthroughRolloutPercentage": {
|
|
1884
|
+
"type": [
|
|
1885
|
+
"integer",
|
|
1886
|
+
"null"
|
|
1887
|
+
]
|
|
1888
|
+
},
|
|
1889
|
+
"fallthroughBucketBy": {
|
|
1890
|
+
"type": [
|
|
1891
|
+
"string",
|
|
1892
|
+
"null"
|
|
1893
|
+
]
|
|
1894
|
+
},
|
|
1859
1895
|
"rules": {
|
|
1860
1896
|
"type": [
|
|
1861
1897
|
"array",
|
|
@@ -1889,7 +1925,7 @@ declare const _default: {
|
|
|
1889
1925
|
}
|
|
1890
1926
|
}
|
|
1891
1927
|
},
|
|
1892
|
-
"description": "A flag's configuration in one environment, as a comparison or
|
|
1928
|
+
"description": "A flag's configuration in one environment, as a comparison, copy or version result reports it. The\n`fallthroughRollout*` fields describe the default rule's rollout and are null unless it rolls out\n(`fallthroughBucketBy` is then the attribute it hashes on, otherwise `user_id`)."
|
|
1893
1929
|
},
|
|
1894
1930
|
"PublicEvaluationSource": {
|
|
1895
1931
|
"type": [
|
|
@@ -2878,6 +2914,23 @@ declare const _default: {
|
|
|
2878
2914
|
"string",
|
|
2879
2915
|
"null"
|
|
2880
2916
|
]
|
|
2917
|
+
},
|
|
2918
|
+
"_actions": {
|
|
2919
|
+
"type": [
|
|
2920
|
+
"object",
|
|
2921
|
+
"null"
|
|
2922
|
+
],
|
|
2923
|
+
"additionalProperties": {
|
|
2924
|
+
"anyOf": [
|
|
2925
|
+
{
|
|
2926
|
+
"$ref": "#/$defs/ActionCapability"
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"type": "null"
|
|
2930
|
+
}
|
|
2931
|
+
]
|
|
2932
|
+
},
|
|
2933
|
+
"description": "Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it."
|
|
2881
2934
|
}
|
|
2882
2935
|
},
|
|
2883
2936
|
"description": "A page of results plus an opaque cursor for the next page, or null when this is the last\npage. Wire keys are frozen: `items` (already lowercase under the camelCase policy) and\n`next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`)."
|
|
@@ -2925,6 +2978,286 @@ declare const _default: {
|
|
|
2925
2978
|
},
|
|
2926
2979
|
"description": "The only response that carries a trigger's secret: create and rotate. Fire it by POSTing to\nUrl, or to Endpoint with `Authorization: Bearer {Secret}`, which keeps\nthe secret out of the URL. Anyone holding either can fire the trigger, so store it as a secret in the\nmonitoring tool."
|
|
2927
2980
|
},
|
|
2981
|
+
"PublicFlagVersion": {
|
|
2982
|
+
"type": [
|
|
2983
|
+
"object",
|
|
2984
|
+
"null"
|
|
2985
|
+
],
|
|
2986
|
+
"properties": {
|
|
2987
|
+
"version": {
|
|
2988
|
+
"type": [
|
|
2989
|
+
"integer",
|
|
2990
|
+
"null"
|
|
2991
|
+
]
|
|
2992
|
+
},
|
|
2993
|
+
"createdAt": {
|
|
2994
|
+
"type": [
|
|
2995
|
+
"string",
|
|
2996
|
+
"null"
|
|
2997
|
+
]
|
|
2998
|
+
},
|
|
2999
|
+
"isEnabled": {
|
|
3000
|
+
"type": [
|
|
3001
|
+
"boolean",
|
|
3002
|
+
"null"
|
|
3003
|
+
]
|
|
3004
|
+
},
|
|
3005
|
+
"userName": {
|
|
3006
|
+
"type": [
|
|
3007
|
+
"string",
|
|
3008
|
+
"null"
|
|
3009
|
+
]
|
|
3010
|
+
},
|
|
3011
|
+
"userEmail": {
|
|
3012
|
+
"type": [
|
|
3013
|
+
"string",
|
|
3014
|
+
"null"
|
|
3015
|
+
]
|
|
3016
|
+
},
|
|
3017
|
+
"systemActor": {
|
|
3018
|
+
"type": [
|
|
3019
|
+
"string",
|
|
3020
|
+
"null"
|
|
3021
|
+
]
|
|
3022
|
+
},
|
|
3023
|
+
"source": {
|
|
3024
|
+
"type": [
|
|
3025
|
+
"string",
|
|
3026
|
+
"null"
|
|
3027
|
+
]
|
|
3028
|
+
},
|
|
3029
|
+
"intentReason": {
|
|
3030
|
+
"type": [
|
|
3031
|
+
"string",
|
|
3032
|
+
"null"
|
|
3033
|
+
]
|
|
3034
|
+
},
|
|
3035
|
+
"changeFreezeId": {
|
|
3036
|
+
"type": [
|
|
3037
|
+
"string",
|
|
3038
|
+
"null"
|
|
3039
|
+
]
|
|
3040
|
+
},
|
|
3041
|
+
"changeFreezeMode": {
|
|
3042
|
+
"type": [
|
|
3043
|
+
"string",
|
|
3044
|
+
"null"
|
|
3045
|
+
]
|
|
3046
|
+
},
|
|
3047
|
+
"restoredFromVersion": {
|
|
3048
|
+
"type": [
|
|
3049
|
+
"integer",
|
|
3050
|
+
"null"
|
|
3051
|
+
]
|
|
3052
|
+
},
|
|
3053
|
+
"isBaseline": {
|
|
3054
|
+
"type": [
|
|
3055
|
+
"boolean",
|
|
3056
|
+
"null"
|
|
3057
|
+
]
|
|
3058
|
+
},
|
|
3059
|
+
"config": {
|
|
3060
|
+
"anyOf": [
|
|
3061
|
+
{
|
|
3062
|
+
"$ref": "#/$defs/PublicEnvironmentSnapshot"
|
|
3063
|
+
},
|
|
3064
|
+
{
|
|
3065
|
+
"type": "null"
|
|
3066
|
+
}
|
|
3067
|
+
]
|
|
3068
|
+
}
|
|
3069
|
+
},
|
|
3070
|
+
"description": "One version in full: its summary fields and the configuration it captured."
|
|
3071
|
+
},
|
|
3072
|
+
"PublicFlagVersionDiff": {
|
|
3073
|
+
"type": [
|
|
3074
|
+
"object",
|
|
3075
|
+
"null"
|
|
3076
|
+
],
|
|
3077
|
+
"properties": {
|
|
3078
|
+
"version": {
|
|
3079
|
+
"type": [
|
|
3080
|
+
"integer",
|
|
3081
|
+
"null"
|
|
3082
|
+
]
|
|
3083
|
+
},
|
|
3084
|
+
"against": {
|
|
3085
|
+
"type": [
|
|
3086
|
+
"integer",
|
|
3087
|
+
"null"
|
|
3088
|
+
]
|
|
3089
|
+
},
|
|
3090
|
+
"changedSections": {
|
|
3091
|
+
"type": [
|
|
3092
|
+
"array",
|
|
3093
|
+
"null"
|
|
3094
|
+
],
|
|
3095
|
+
"items": {
|
|
3096
|
+
"type": [
|
|
3097
|
+
"string",
|
|
3098
|
+
"null"
|
|
3099
|
+
]
|
|
3100
|
+
}
|
|
3101
|
+
},
|
|
3102
|
+
"from": {
|
|
3103
|
+
"anyOf": [
|
|
3104
|
+
{
|
|
3105
|
+
"$ref": "#/$defs/PublicEnvironmentSnapshot"
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"type": "null"
|
|
3109
|
+
}
|
|
3110
|
+
]
|
|
3111
|
+
},
|
|
3112
|
+
"to": {
|
|
3113
|
+
"anyOf": [
|
|
3114
|
+
{
|
|
3115
|
+
"$ref": "#/$defs/PublicEnvironmentSnapshot"
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"type": "null"
|
|
3119
|
+
}
|
|
3120
|
+
]
|
|
3121
|
+
},
|
|
3122
|
+
"fromRuleMatched": {
|
|
3123
|
+
"type": [
|
|
3124
|
+
"array",
|
|
3125
|
+
"null"
|
|
3126
|
+
],
|
|
3127
|
+
"items": {
|
|
3128
|
+
"type": [
|
|
3129
|
+
"boolean",
|
|
3130
|
+
"null"
|
|
3131
|
+
]
|
|
3132
|
+
}
|
|
3133
|
+
},
|
|
3134
|
+
"toRuleMatched": {
|
|
3135
|
+
"type": [
|
|
3136
|
+
"array",
|
|
3137
|
+
"null"
|
|
3138
|
+
],
|
|
3139
|
+
"items": {
|
|
3140
|
+
"type": [
|
|
3141
|
+
"boolean",
|
|
3142
|
+
"null"
|
|
3143
|
+
]
|
|
3144
|
+
}
|
|
3145
|
+
}
|
|
3146
|
+
},
|
|
3147
|
+
"description": "`version` compared with `against`: `to` is `version`'s configuration, `from` is\n `against`'s. `changedSections` names what differs (`state`, `defaultVariation`,\n `strategy`, `rules`, `prerequisites`). The two rule lists say, per rule in evaluation order,\n whether the other side has an equal rule."
|
|
3148
|
+
},
|
|
3149
|
+
"PublicFlagVersionSummary": {
|
|
3150
|
+
"type": [
|
|
3151
|
+
"object",
|
|
3152
|
+
"null"
|
|
3153
|
+
],
|
|
3154
|
+
"properties": {
|
|
3155
|
+
"version": {
|
|
3156
|
+
"type": [
|
|
3157
|
+
"integer",
|
|
3158
|
+
"null"
|
|
3159
|
+
]
|
|
3160
|
+
},
|
|
3161
|
+
"createdAt": {
|
|
3162
|
+
"type": [
|
|
3163
|
+
"string",
|
|
3164
|
+
"null"
|
|
3165
|
+
]
|
|
3166
|
+
},
|
|
3167
|
+
"isEnabled": {
|
|
3168
|
+
"type": [
|
|
3169
|
+
"boolean",
|
|
3170
|
+
"null"
|
|
3171
|
+
]
|
|
3172
|
+
},
|
|
3173
|
+
"userName": {
|
|
3174
|
+
"type": [
|
|
3175
|
+
"string",
|
|
3176
|
+
"null"
|
|
3177
|
+
]
|
|
3178
|
+
},
|
|
3179
|
+
"userEmail": {
|
|
3180
|
+
"type": [
|
|
3181
|
+
"string",
|
|
3182
|
+
"null"
|
|
3183
|
+
]
|
|
3184
|
+
},
|
|
3185
|
+
"systemActor": {
|
|
3186
|
+
"type": [
|
|
3187
|
+
"string",
|
|
3188
|
+
"null"
|
|
3189
|
+
]
|
|
3190
|
+
},
|
|
3191
|
+
"source": {
|
|
3192
|
+
"type": [
|
|
3193
|
+
"string",
|
|
3194
|
+
"null"
|
|
3195
|
+
]
|
|
3196
|
+
},
|
|
3197
|
+
"intentReason": {
|
|
3198
|
+
"type": [
|
|
3199
|
+
"string",
|
|
3200
|
+
"null"
|
|
3201
|
+
]
|
|
3202
|
+
},
|
|
3203
|
+
"changeFreezeId": {
|
|
3204
|
+
"type": [
|
|
3205
|
+
"string",
|
|
3206
|
+
"null"
|
|
3207
|
+
]
|
|
3208
|
+
},
|
|
3209
|
+
"changeFreezeMode": {
|
|
3210
|
+
"type": [
|
|
3211
|
+
"string",
|
|
3212
|
+
"null"
|
|
3213
|
+
]
|
|
3214
|
+
},
|
|
3215
|
+
"restoredFromVersion": {
|
|
3216
|
+
"type": [
|
|
3217
|
+
"integer",
|
|
3218
|
+
"null"
|
|
3219
|
+
]
|
|
3220
|
+
},
|
|
3221
|
+
"isBaseline": {
|
|
3222
|
+
"type": [
|
|
3223
|
+
"boolean",
|
|
3224
|
+
"null"
|
|
3225
|
+
]
|
|
3226
|
+
}
|
|
3227
|
+
},
|
|
3228
|
+
"description": "One entry in a flag environment's version history. `source` is lowercase: `dashboard`, `api`,\n`mcp`, `schedule` and so on. `userName`/`userEmail` are as captured with the version;\n`systemActor` names a non-user author instead. `restoredFromVersion` is set on a restore."
|
|
3229
|
+
},
|
|
3230
|
+
"PublicFlagVersionSummaryPagedResult": {
|
|
3231
|
+
"type": [
|
|
3232
|
+
"object",
|
|
3233
|
+
"null"
|
|
3234
|
+
],
|
|
3235
|
+
"properties": {
|
|
3236
|
+
"items": {
|
|
3237
|
+
"type": [
|
|
3238
|
+
"array",
|
|
3239
|
+
"null"
|
|
3240
|
+
],
|
|
3241
|
+
"items": {
|
|
3242
|
+
"anyOf": [
|
|
3243
|
+
{
|
|
3244
|
+
"$ref": "#/$defs/PublicFlagVersionSummary"
|
|
3245
|
+
},
|
|
3246
|
+
{
|
|
3247
|
+
"type": "null"
|
|
3248
|
+
}
|
|
3249
|
+
]
|
|
3250
|
+
}
|
|
3251
|
+
},
|
|
3252
|
+
"next_cursor": {
|
|
3253
|
+
"type": [
|
|
3254
|
+
"string",
|
|
3255
|
+
"null"
|
|
3256
|
+
]
|
|
3257
|
+
}
|
|
3258
|
+
},
|
|
3259
|
+
"description": "A page of results plus an opaque cursor for the next page, or null when this is the last\npage. Wire keys are frozen: `items` (already lowercase under the camelCase policy) and\n`next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`)."
|
|
3260
|
+
},
|
|
2928
3261
|
"PublicFreezeApprovalResponse": {
|
|
2929
3262
|
"type": [
|
|
2930
3263
|
"object",
|
|
@@ -3063,6 +3396,45 @@ declare const _default: {
|
|
|
3063
3396
|
},
|
|
3064
3397
|
"description": "The cap behind a `plan_limit_reached` error. `resource` is the capped collection\n(`projects`, `environments`, `flags`, `webhooks`, `members`);\n`plan` is the plan's wire name, as `GET /api/v1/orgs/{org}` returns it; `max` is\nthe cap. The environment and flag caps are per project."
|
|
3065
3398
|
},
|
|
3399
|
+
"PublicPlanLimits": {
|
|
3400
|
+
"type": [
|
|
3401
|
+
"object",
|
|
3402
|
+
"null"
|
|
3403
|
+
],
|
|
3404
|
+
"properties": {
|
|
3405
|
+
"projects": {
|
|
3406
|
+
"type": [
|
|
3407
|
+
"integer",
|
|
3408
|
+
"null"
|
|
3409
|
+
]
|
|
3410
|
+
},
|
|
3411
|
+
"environmentsPerProject": {
|
|
3412
|
+
"type": [
|
|
3413
|
+
"integer",
|
|
3414
|
+
"null"
|
|
3415
|
+
]
|
|
3416
|
+
},
|
|
3417
|
+
"flagsPerProject": {
|
|
3418
|
+
"type": [
|
|
3419
|
+
"integer",
|
|
3420
|
+
"null"
|
|
3421
|
+
]
|
|
3422
|
+
},
|
|
3423
|
+
"members": {
|
|
3424
|
+
"type": [
|
|
3425
|
+
"integer",
|
|
3426
|
+
"null"
|
|
3427
|
+
]
|
|
3428
|
+
},
|
|
3429
|
+
"webhooks": {
|
|
3430
|
+
"type": [
|
|
3431
|
+
"integer",
|
|
3432
|
+
"null"
|
|
3433
|
+
]
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
"description": "A plan's caps. Null means unlimited. The environment and flag caps are per project, and an\narchived flag does not count against the flag cap. These are the same caps a write is refused\nby with a 403 `plan_limit_reached`, whose `plan_limit.resource` names the same\ncollections."
|
|
3437
|
+
},
|
|
3066
3438
|
"PublicPrerequisiteDto": {
|
|
3067
3439
|
"type": [
|
|
3068
3440
|
"object",
|
|
@@ -3151,6 +3523,108 @@ declare const _default: {
|
|
|
3151
3523
|
},
|
|
3152
3524
|
"description": "Request body for `PUT .../rules/reorder`. Must include every existing rule id exactly\nonce — `ReorderTargetingRulesCommandHandler` rejects duplicate, omitted, or unknown rule\nids with `BadRequestException`, surfaced as an HTTP 400 `bad_request` envelope\ncarrying the handler's message."
|
|
3153
3525
|
},
|
|
3526
|
+
"PublicRestoreFlagVersionRequest": {
|
|
3527
|
+
"type": [
|
|
3528
|
+
"object",
|
|
3529
|
+
"null"
|
|
3530
|
+
],
|
|
3531
|
+
"properties": {
|
|
3532
|
+
"dryRun": {
|
|
3533
|
+
"type": [
|
|
3534
|
+
"boolean",
|
|
3535
|
+
"null"
|
|
3536
|
+
]
|
|
3537
|
+
},
|
|
3538
|
+
"includeState": {
|
|
3539
|
+
"type": [
|
|
3540
|
+
"boolean",
|
|
3541
|
+
"null"
|
|
3542
|
+
]
|
|
3543
|
+
},
|
|
3544
|
+
"expectedETag": {
|
|
3545
|
+
"type": [
|
|
3546
|
+
"string",
|
|
3547
|
+
"null"
|
|
3548
|
+
]
|
|
3549
|
+
}
|
|
3550
|
+
},
|
|
3551
|
+
"description": "Request body for `POST .../versions/{number}/restore`. Every field is optional, and so is the body: no\nbody at all previews, the same as `{}`. `dryRun` defaults to\ntrue: the restore only previews unless it is `false`. `includeState` restores on/off too.\n`expectedETag` is the preview's `targetETag`; an apply sending it is refused with 412\n`precondition_failed` if the environment changed since."
|
|
3552
|
+
},
|
|
3553
|
+
"PublicRestoreFlagVersionResult": {
|
|
3554
|
+
"type": [
|
|
3555
|
+
"object",
|
|
3556
|
+
"null"
|
|
3557
|
+
],
|
|
3558
|
+
"properties": {
|
|
3559
|
+
"changed": {
|
|
3560
|
+
"type": [
|
|
3561
|
+
"boolean",
|
|
3562
|
+
"null"
|
|
3563
|
+
]
|
|
3564
|
+
},
|
|
3565
|
+
"changedSections": {
|
|
3566
|
+
"type": [
|
|
3567
|
+
"array",
|
|
3568
|
+
"null"
|
|
3569
|
+
],
|
|
3570
|
+
"items": {
|
|
3571
|
+
"type": [
|
|
3572
|
+
"string",
|
|
3573
|
+
"null"
|
|
3574
|
+
]
|
|
3575
|
+
}
|
|
3576
|
+
},
|
|
3577
|
+
"before": {
|
|
3578
|
+
"anyOf": [
|
|
3579
|
+
{
|
|
3580
|
+
"$ref": "#/$defs/PublicEnvironmentSnapshot"
|
|
3581
|
+
},
|
|
3582
|
+
{
|
|
3583
|
+
"type": "null"
|
|
3584
|
+
}
|
|
3585
|
+
]
|
|
3586
|
+
},
|
|
3587
|
+
"after": {
|
|
3588
|
+
"anyOf": [
|
|
3589
|
+
{
|
|
3590
|
+
"$ref": "#/$defs/PublicEnvironmentSnapshot"
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"type": "null"
|
|
3594
|
+
}
|
|
3595
|
+
]
|
|
3596
|
+
},
|
|
3597
|
+
"targetETag": {
|
|
3598
|
+
"type": [
|
|
3599
|
+
"string",
|
|
3600
|
+
"null"
|
|
3601
|
+
]
|
|
3602
|
+
},
|
|
3603
|
+
"warnings": {
|
|
3604
|
+
"type": [
|
|
3605
|
+
"array",
|
|
3606
|
+
"null"
|
|
3607
|
+
],
|
|
3608
|
+
"items": {
|
|
3609
|
+
"anyOf": [
|
|
3610
|
+
{
|
|
3611
|
+
"$ref": "#/$defs/PublicCopyWarning"
|
|
3612
|
+
},
|
|
3613
|
+
{
|
|
3614
|
+
"type": "null"
|
|
3615
|
+
}
|
|
3616
|
+
]
|
|
3617
|
+
}
|
|
3618
|
+
},
|
|
3619
|
+
"newVersion": {
|
|
3620
|
+
"type": [
|
|
3621
|
+
"integer",
|
|
3622
|
+
"null"
|
|
3623
|
+
]
|
|
3624
|
+
}
|
|
3625
|
+
},
|
|
3626
|
+
"description": "Response of `POST .../versions/{number}/restore`, for a dry run and an apply alike. `before` is the\nconfiguration as it is (as it was, on an apply) and `after` as the restore leaves it. `targetETag` is the\nconfiguration's before a dry run and after an apply, so a dry run's is what the apply sends back as\n`expectedETag`. `newVersion` is the version the apply wrote, null on a dry run and when nothing changed."
|
|
3627
|
+
},
|
|
3154
3628
|
"PublicRolloutCheck": {
|
|
3155
3629
|
"type": [
|
|
3156
3630
|
"object",
|
|
@@ -3359,6 +3833,23 @@ declare const _default: {
|
|
|
3359
3833
|
"string",
|
|
3360
3834
|
"null"
|
|
3361
3835
|
]
|
|
3836
|
+
},
|
|
3837
|
+
"_actions": {
|
|
3838
|
+
"type": [
|
|
3839
|
+
"object",
|
|
3840
|
+
"null"
|
|
3841
|
+
],
|
|
3842
|
+
"additionalProperties": {
|
|
3843
|
+
"anyOf": [
|
|
3844
|
+
{
|
|
3845
|
+
"$ref": "#/$defs/ActionCapability"
|
|
3846
|
+
},
|
|
3847
|
+
{
|
|
3848
|
+
"type": "null"
|
|
3849
|
+
}
|
|
3850
|
+
]
|
|
3851
|
+
},
|
|
3852
|
+
"description": "Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it."
|
|
3362
3853
|
}
|
|
3363
3854
|
},
|
|
3364
3855
|
"description": "A page of results plus an opaque cursor for the next page, or null when this is the last\npage. Wire keys are frozen: `items` (already lowercase under the camelCase policy) and\n`next_cursor` (pinned explicitly — the policy alone would emit `nextCursor`)."
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as ApiError, s as FeatureflipApi, c as PKG_VERSION, a as createServer, r as loadConfig, t as resolveOrg } from "./org-
|
|
1
|
+
export { o as ApiError, s as FeatureflipApi, c as PKG_VERSION, a as createServer, r as loadConfig, t as resolveOrg } from "./org-D-wxVFsh.js";
|