@gitbook/api 0.81.0 → 0.82.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/dist/client.d.ts +202 -0
- package/dist/index.cjs +65 -1
- package/dist/index.js +59 -1
- package/package.json +1 -1
- package/spec/openapi.json +541 -2
- package/spec/openapi.yaml +359 -0
package/spec/openapi.json
CHANGED
|
@@ -4084,6 +4084,118 @@
|
|
|
4084
4084
|
}
|
|
4085
4085
|
}
|
|
4086
4086
|
},
|
|
4087
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/task/brainstorm": {
|
|
4088
|
+
"post": {
|
|
4089
|
+
"operationId": "streamBrainstormChangeRequest",
|
|
4090
|
+
"summary": "Brainstorm with AI on a change request and stream the results as a Server-Sent Events.",
|
|
4091
|
+
"tags": [
|
|
4092
|
+
"spaces"
|
|
4093
|
+
],
|
|
4094
|
+
"security": [
|
|
4095
|
+
{
|
|
4096
|
+
"user": []
|
|
4097
|
+
}
|
|
4098
|
+
],
|
|
4099
|
+
"parameters": [
|
|
4100
|
+
{
|
|
4101
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4105
|
+
}
|
|
4106
|
+
],
|
|
4107
|
+
"responses": {
|
|
4108
|
+
"200": {
|
|
4109
|
+
"description": "Updated session.",
|
|
4110
|
+
"content": {
|
|
4111
|
+
"text/event-stream": {
|
|
4112
|
+
"schema": {
|
|
4113
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormSession"
|
|
4114
|
+
}
|
|
4115
|
+
}
|
|
4116
|
+
}
|
|
4117
|
+
},
|
|
4118
|
+
"default": {
|
|
4119
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
4120
|
+
}
|
|
4121
|
+
},
|
|
4122
|
+
"requestBody": {
|
|
4123
|
+
"required": true,
|
|
4124
|
+
"content": {
|
|
4125
|
+
"application/json": {
|
|
4126
|
+
"schema": {
|
|
4127
|
+
"type": "object",
|
|
4128
|
+
"properties": {
|
|
4129
|
+
"session": {
|
|
4130
|
+
"description": "Brainstorming session",
|
|
4131
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormSession"
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
"required": [
|
|
4135
|
+
"session"
|
|
4136
|
+
]
|
|
4137
|
+
}
|
|
4138
|
+
}
|
|
4139
|
+
}
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
4142
|
+
},
|
|
4143
|
+
"/spaces/{spaceId}/change-requests/{changeRequestId}/task/implement": {
|
|
4144
|
+
"post": {
|
|
4145
|
+
"operationId": "streamImplementChangeRequestTask",
|
|
4146
|
+
"summary": "Implement a task on a change request and stream the results as a Server-Sent Events.",
|
|
4147
|
+
"tags": [
|
|
4148
|
+
"spaces"
|
|
4149
|
+
],
|
|
4150
|
+
"security": [
|
|
4151
|
+
{
|
|
4152
|
+
"user": []
|
|
4153
|
+
}
|
|
4154
|
+
],
|
|
4155
|
+
"parameters": [
|
|
4156
|
+
{
|
|
4157
|
+
"$ref": "#/components/parameters/spaceId"
|
|
4158
|
+
},
|
|
4159
|
+
{
|
|
4160
|
+
"$ref": "#/components/parameters/changeRequestId"
|
|
4161
|
+
}
|
|
4162
|
+
],
|
|
4163
|
+
"responses": {
|
|
4164
|
+
"200": {
|
|
4165
|
+
"description": "Task being implemented.",
|
|
4166
|
+
"content": {
|
|
4167
|
+
"text/event-stream": {
|
|
4168
|
+
"schema": {
|
|
4169
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlan"
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
}
|
|
4173
|
+
},
|
|
4174
|
+
"default": {
|
|
4175
|
+
"$ref": "#/components/responses/UnexpectedError"
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
"requestBody": {
|
|
4179
|
+
"required": true,
|
|
4180
|
+
"content": {
|
|
4181
|
+
"application/json": {
|
|
4182
|
+
"schema": {
|
|
4183
|
+
"type": "object",
|
|
4184
|
+
"properties": {
|
|
4185
|
+
"plan": {
|
|
4186
|
+
"description": "Plan to run.",
|
|
4187
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlan"
|
|
4188
|
+
}
|
|
4189
|
+
},
|
|
4190
|
+
"required": [
|
|
4191
|
+
"plan"
|
|
4192
|
+
]
|
|
4193
|
+
}
|
|
4194
|
+
}
|
|
4195
|
+
}
|
|
4196
|
+
}
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4087
4199
|
"/spaces/{spaceId}/revisions/{revisionId}": {
|
|
4088
4200
|
"get": {
|
|
4089
4201
|
"operationId": "getRevisionById",
|
|
@@ -7854,6 +7966,9 @@
|
|
|
7854
7966
|
},
|
|
7855
7967
|
{
|
|
7856
7968
|
"$ref": "#/components/parameters/listLimit"
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"$ref": "#/components/parameters/listOrder"
|
|
7857
7972
|
}
|
|
7858
7973
|
],
|
|
7859
7974
|
"responses": {
|
|
@@ -12471,6 +12586,14 @@
|
|
|
12471
12586
|
"schema": {
|
|
12472
12587
|
"type": "string"
|
|
12473
12588
|
}
|
|
12589
|
+
},
|
|
12590
|
+
{
|
|
12591
|
+
"name": "claims",
|
|
12592
|
+
"in": "query",
|
|
12593
|
+
"description": "Rison encoded string of attributes/assertions about the visitor for which we want to preview the site.",
|
|
12594
|
+
"schema": {
|
|
12595
|
+
"type": "string"
|
|
12596
|
+
}
|
|
12474
12597
|
}
|
|
12475
12598
|
],
|
|
12476
12599
|
"responses": {
|
|
@@ -13591,6 +13714,40 @@
|
|
|
13591
13714
|
}
|
|
13592
13715
|
]
|
|
13593
13716
|
},
|
|
13717
|
+
"sidebar": {
|
|
13718
|
+
"description": "Various styles for the sidebar. Each can be Set to null to reset the override.",
|
|
13719
|
+
"type": "object",
|
|
13720
|
+
"properties": {
|
|
13721
|
+
"background": {
|
|
13722
|
+
"oneOf": [
|
|
13723
|
+
{
|
|
13724
|
+
"$ref": "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
13725
|
+
},
|
|
13726
|
+
{
|
|
13727
|
+
"type": "string",
|
|
13728
|
+
"nullable": true,
|
|
13729
|
+
"enum": [
|
|
13730
|
+
null
|
|
13731
|
+
]
|
|
13732
|
+
}
|
|
13733
|
+
]
|
|
13734
|
+
},
|
|
13735
|
+
"list": {
|
|
13736
|
+
"oneOf": [
|
|
13737
|
+
{
|
|
13738
|
+
"$ref": "#/components/schemas/CustomizationSidebarListStyle"
|
|
13739
|
+
},
|
|
13740
|
+
{
|
|
13741
|
+
"type": "string",
|
|
13742
|
+
"nullable": true,
|
|
13743
|
+
"enum": [
|
|
13744
|
+
null
|
|
13745
|
+
]
|
|
13746
|
+
}
|
|
13747
|
+
]
|
|
13748
|
+
}
|
|
13749
|
+
}
|
|
13750
|
+
},
|
|
13594
13751
|
"background": {
|
|
13595
13752
|
"description": "The style of background to use. Set to null to reset the override.",
|
|
13596
13753
|
"oneOf": [
|
|
@@ -23192,6 +23349,34 @@
|
|
|
23192
23349
|
"user"
|
|
23193
23350
|
]
|
|
23194
23351
|
},
|
|
23352
|
+
"ChangeRequestBrainstormStatus": {
|
|
23353
|
+
"type": "string",
|
|
23354
|
+
"description": "The status of the session.\n- pending: The session is pending for input from the user.\n- running: The session is being processed by GitBook.\n- failed: The session processing has failed.\n",
|
|
23355
|
+
"enum": [
|
|
23356
|
+
"pending",
|
|
23357
|
+
"failed",
|
|
23358
|
+
"running"
|
|
23359
|
+
]
|
|
23360
|
+
},
|
|
23361
|
+
"ChangeRequestBrainstormActor": {
|
|
23362
|
+
"type": "string",
|
|
23363
|
+
"enum": [
|
|
23364
|
+
"user",
|
|
23365
|
+
"agent"
|
|
23366
|
+
]
|
|
23367
|
+
},
|
|
23368
|
+
"ChangeRequestBrainstormContext": {
|
|
23369
|
+
"type": "object",
|
|
23370
|
+
"properties": {
|
|
23371
|
+
"page": {
|
|
23372
|
+
"type": "string",
|
|
23373
|
+
"description": "Path of the page the user is currently viewing."
|
|
23374
|
+
}
|
|
23375
|
+
},
|
|
23376
|
+
"required": [
|
|
23377
|
+
"page"
|
|
23378
|
+
]
|
|
23379
|
+
},
|
|
23195
23380
|
"RevisionPageType": {
|
|
23196
23381
|
"type": "string",
|
|
23197
23382
|
"enum": [
|
|
@@ -23223,6 +23408,324 @@
|
|
|
23223
23408
|
"title"
|
|
23224
23409
|
]
|
|
23225
23410
|
},
|
|
23411
|
+
"ChangeRequestBrainstormLog": {
|
|
23412
|
+
"oneOf": [
|
|
23413
|
+
{
|
|
23414
|
+
"type": "object",
|
|
23415
|
+
"properties": {
|
|
23416
|
+
"tool": {
|
|
23417
|
+
"type": "string",
|
|
23418
|
+
"enum": [
|
|
23419
|
+
"get-page"
|
|
23420
|
+
]
|
|
23421
|
+
},
|
|
23422
|
+
"intent": {
|
|
23423
|
+
"type": "string"
|
|
23424
|
+
},
|
|
23425
|
+
"page": {
|
|
23426
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
23427
|
+
}
|
|
23428
|
+
},
|
|
23429
|
+
"required": [
|
|
23430
|
+
"tool",
|
|
23431
|
+
"intent",
|
|
23432
|
+
"page"
|
|
23433
|
+
]
|
|
23434
|
+
},
|
|
23435
|
+
{
|
|
23436
|
+
"type": "object",
|
|
23437
|
+
"properties": {
|
|
23438
|
+
"tool": {
|
|
23439
|
+
"type": "string",
|
|
23440
|
+
"enum": [
|
|
23441
|
+
"search-keyword"
|
|
23442
|
+
]
|
|
23443
|
+
},
|
|
23444
|
+
"intent": {
|
|
23445
|
+
"type": "string"
|
|
23446
|
+
},
|
|
23447
|
+
"query": {
|
|
23448
|
+
"type": "string"
|
|
23449
|
+
}
|
|
23450
|
+
},
|
|
23451
|
+
"required": [
|
|
23452
|
+
"tool",
|
|
23453
|
+
"intent",
|
|
23454
|
+
"query"
|
|
23455
|
+
]
|
|
23456
|
+
},
|
|
23457
|
+
{
|
|
23458
|
+
"type": "object",
|
|
23459
|
+
"properties": {
|
|
23460
|
+
"tool": {
|
|
23461
|
+
"type": "string",
|
|
23462
|
+
"enum": [
|
|
23463
|
+
"search-semantic"
|
|
23464
|
+
]
|
|
23465
|
+
},
|
|
23466
|
+
"intent": {
|
|
23467
|
+
"type": "string"
|
|
23468
|
+
},
|
|
23469
|
+
"query": {
|
|
23470
|
+
"type": "string"
|
|
23471
|
+
}
|
|
23472
|
+
},
|
|
23473
|
+
"required": [
|
|
23474
|
+
"tool",
|
|
23475
|
+
"intent",
|
|
23476
|
+
"query"
|
|
23477
|
+
]
|
|
23478
|
+
},
|
|
23479
|
+
{
|
|
23480
|
+
"type": "object",
|
|
23481
|
+
"properties": {
|
|
23482
|
+
"tool": {
|
|
23483
|
+
"type": "string",
|
|
23484
|
+
"enum": [
|
|
23485
|
+
"create-page"
|
|
23486
|
+
]
|
|
23487
|
+
},
|
|
23488
|
+
"page": {
|
|
23489
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
23490
|
+
}
|
|
23491
|
+
},
|
|
23492
|
+
"required": [
|
|
23493
|
+
"tool",
|
|
23494
|
+
"page"
|
|
23495
|
+
]
|
|
23496
|
+
},
|
|
23497
|
+
{
|
|
23498
|
+
"type": "object",
|
|
23499
|
+
"properties": {
|
|
23500
|
+
"tool": {
|
|
23501
|
+
"type": "string",
|
|
23502
|
+
"enum": [
|
|
23503
|
+
"delete-page"
|
|
23504
|
+
]
|
|
23505
|
+
},
|
|
23506
|
+
"page": {
|
|
23507
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
23508
|
+
}
|
|
23509
|
+
},
|
|
23510
|
+
"required": [
|
|
23511
|
+
"tool",
|
|
23512
|
+
"page"
|
|
23513
|
+
]
|
|
23514
|
+
},
|
|
23515
|
+
{
|
|
23516
|
+
"type": "object",
|
|
23517
|
+
"properties": {
|
|
23518
|
+
"tool": {
|
|
23519
|
+
"type": "string",
|
|
23520
|
+
"enum": [
|
|
23521
|
+
"edit-page"
|
|
23522
|
+
]
|
|
23523
|
+
},
|
|
23524
|
+
"page": {
|
|
23525
|
+
"$ref": "#/components/schemas/ChangedRevisionPage"
|
|
23526
|
+
}
|
|
23527
|
+
},
|
|
23528
|
+
"required": [
|
|
23529
|
+
"tool",
|
|
23530
|
+
"page"
|
|
23531
|
+
]
|
|
23532
|
+
}
|
|
23533
|
+
]
|
|
23534
|
+
},
|
|
23535
|
+
"ChangeRequestBrainstormPlanStatus": {
|
|
23536
|
+
"type": "string",
|
|
23537
|
+
"description": "The status of the plan.\n- pending: The task is pending for input from the user.\n- running: The task is being processed by GitBook.\n- failed: The task processing has failed.\n- completed: The task has been completed.\n",
|
|
23538
|
+
"enum": [
|
|
23539
|
+
"pending",
|
|
23540
|
+
"failed",
|
|
23541
|
+
"running",
|
|
23542
|
+
"completed"
|
|
23543
|
+
]
|
|
23544
|
+
},
|
|
23545
|
+
"ChangeRequestBrainstormPlanStepTitle": {
|
|
23546
|
+
"type": "string",
|
|
23547
|
+
"minLength": 1,
|
|
23548
|
+
"maxLength": 100
|
|
23549
|
+
},
|
|
23550
|
+
"ChangeRequestBrainstormPlanStepStatus": {
|
|
23551
|
+
"type": "string",
|
|
23552
|
+
"enum": [
|
|
23553
|
+
"pending",
|
|
23554
|
+
"succeeded",
|
|
23555
|
+
"failed",
|
|
23556
|
+
"running"
|
|
23557
|
+
]
|
|
23558
|
+
},
|
|
23559
|
+
"ChangeRequestBrainstormPlanStep": {
|
|
23560
|
+
"type": "object",
|
|
23561
|
+
"properties": {
|
|
23562
|
+
"title": {
|
|
23563
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlanStepTitle"
|
|
23564
|
+
},
|
|
23565
|
+
"status": {
|
|
23566
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlanStepStatus"
|
|
23567
|
+
},
|
|
23568
|
+
"instruction": {
|
|
23569
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
23570
|
+
},
|
|
23571
|
+
"implementation": {
|
|
23572
|
+
"description": "Logs related to the implementation phase of the step.",
|
|
23573
|
+
"type": "object",
|
|
23574
|
+
"properties": {
|
|
23575
|
+
"summary": {
|
|
23576
|
+
"description": "A summary of the execution phase.",
|
|
23577
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
23578
|
+
},
|
|
23579
|
+
"logs": {
|
|
23580
|
+
"description": "Logs related to the execution phase of the step.",
|
|
23581
|
+
"items": {
|
|
23582
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormLog"
|
|
23583
|
+
}
|
|
23584
|
+
}
|
|
23585
|
+
},
|
|
23586
|
+
"required": [
|
|
23587
|
+
"logs"
|
|
23588
|
+
]
|
|
23589
|
+
}
|
|
23590
|
+
},
|
|
23591
|
+
"required": [
|
|
23592
|
+
"title",
|
|
23593
|
+
"status",
|
|
23594
|
+
"instruction"
|
|
23595
|
+
]
|
|
23596
|
+
},
|
|
23597
|
+
"ChangeRequestBrainstormPlan": {
|
|
23598
|
+
"type": "object",
|
|
23599
|
+
"properties": {
|
|
23600
|
+
"status": {
|
|
23601
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlanStatus"
|
|
23602
|
+
},
|
|
23603
|
+
"title": {
|
|
23604
|
+
"type": "string",
|
|
23605
|
+
"description": "The title of the plan."
|
|
23606
|
+
},
|
|
23607
|
+
"steps": {
|
|
23608
|
+
"description": "The steps of the plan to execute the plan.",
|
|
23609
|
+
"type": "array",
|
|
23610
|
+
"items": {
|
|
23611
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlanStep"
|
|
23612
|
+
}
|
|
23613
|
+
},
|
|
23614
|
+
"context": {
|
|
23615
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormContext"
|
|
23616
|
+
}
|
|
23617
|
+
},
|
|
23618
|
+
"required": [
|
|
23619
|
+
"status",
|
|
23620
|
+
"title",
|
|
23621
|
+
"steps"
|
|
23622
|
+
]
|
|
23623
|
+
},
|
|
23624
|
+
"ChangeRequestBrainstormAttachmentPlan": {
|
|
23625
|
+
"type": "object",
|
|
23626
|
+
"properties": {
|
|
23627
|
+
"type": {
|
|
23628
|
+
"type": "string",
|
|
23629
|
+
"enum": [
|
|
23630
|
+
"plan"
|
|
23631
|
+
]
|
|
23632
|
+
},
|
|
23633
|
+
"plan": {
|
|
23634
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormPlan"
|
|
23635
|
+
}
|
|
23636
|
+
},
|
|
23637
|
+
"required": [
|
|
23638
|
+
"type",
|
|
23639
|
+
"plan"
|
|
23640
|
+
]
|
|
23641
|
+
},
|
|
23642
|
+
"ChangeRequestBrainstormAttachmentMessage": {
|
|
23643
|
+
"type": "object",
|
|
23644
|
+
"properties": {
|
|
23645
|
+
"type": {
|
|
23646
|
+
"type": "string",
|
|
23647
|
+
"enum": [
|
|
23648
|
+
"message"
|
|
23649
|
+
]
|
|
23650
|
+
},
|
|
23651
|
+
"suggestions": {
|
|
23652
|
+
"type": "array",
|
|
23653
|
+
"items": {
|
|
23654
|
+
"type": "string"
|
|
23655
|
+
}
|
|
23656
|
+
}
|
|
23657
|
+
},
|
|
23658
|
+
"required": [
|
|
23659
|
+
"type",
|
|
23660
|
+
"suggestions"
|
|
23661
|
+
]
|
|
23662
|
+
},
|
|
23663
|
+
"ChangeRequestBrainstormAttachment": {
|
|
23664
|
+
"oneOf": [
|
|
23665
|
+
{
|
|
23666
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormAttachmentPlan"
|
|
23667
|
+
},
|
|
23668
|
+
{
|
|
23669
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormAttachmentMessage"
|
|
23670
|
+
}
|
|
23671
|
+
]
|
|
23672
|
+
},
|
|
23673
|
+
"ChangeRequestBrainstormMessage": {
|
|
23674
|
+
"type": "object",
|
|
23675
|
+
"properties": {
|
|
23676
|
+
"id": {
|
|
23677
|
+
"type": "string",
|
|
23678
|
+
"description": "The unique identifier of the chat message."
|
|
23679
|
+
},
|
|
23680
|
+
"actor": {
|
|
23681
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormActor"
|
|
23682
|
+
},
|
|
23683
|
+
"message": {
|
|
23684
|
+
"$ref": "#/components/schemas/JSONDocument"
|
|
23685
|
+
},
|
|
23686
|
+
"context": {
|
|
23687
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormContext"
|
|
23688
|
+
},
|
|
23689
|
+
"logs": {
|
|
23690
|
+
"description": "Logs related to the processing of the message.",
|
|
23691
|
+
"items": {
|
|
23692
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormLog"
|
|
23693
|
+
}
|
|
23694
|
+
},
|
|
23695
|
+
"attachment": {
|
|
23696
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormAttachment"
|
|
23697
|
+
}
|
|
23698
|
+
},
|
|
23699
|
+
"required": [
|
|
23700
|
+
"id",
|
|
23701
|
+
"actor",
|
|
23702
|
+
"message"
|
|
23703
|
+
]
|
|
23704
|
+
},
|
|
23705
|
+
"ChangeRequestBrainstormSession": {
|
|
23706
|
+
"type": "object",
|
|
23707
|
+
"properties": {
|
|
23708
|
+
"id": {
|
|
23709
|
+
"type": "string",
|
|
23710
|
+
"description": "The unique identifier of the session."
|
|
23711
|
+
},
|
|
23712
|
+
"status": {
|
|
23713
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormStatus"
|
|
23714
|
+
},
|
|
23715
|
+
"messages": {
|
|
23716
|
+
"description": "Conversation messages related to the brainstorming phase of the task.",
|
|
23717
|
+
"type": "array",
|
|
23718
|
+
"items": {
|
|
23719
|
+
"$ref": "#/components/schemas/ChangeRequestBrainstormMessage"
|
|
23720
|
+
}
|
|
23721
|
+
}
|
|
23722
|
+
},
|
|
23723
|
+
"required": [
|
|
23724
|
+
"id",
|
|
23725
|
+
"status",
|
|
23726
|
+
"messages"
|
|
23727
|
+
]
|
|
23728
|
+
},
|
|
23226
23729
|
"RevisionSemanticChangePageCreated": {
|
|
23227
23730
|
"type": "object",
|
|
23228
23731
|
"properties": {
|
|
@@ -23894,7 +24397,9 @@
|
|
|
23894
24397
|
"enum": [
|
|
23895
24398
|
"plain",
|
|
23896
24399
|
"match"
|
|
23897
|
-
]
|
|
24400
|
+
],
|
|
24401
|
+
"deprecated": true,
|
|
24402
|
+
"description": "The background style has been deprecated and will be removed in a future release. Use the `tint` settings instead."
|
|
23898
24403
|
},
|
|
23899
24404
|
"CustomizationLocale": {
|
|
23900
24405
|
"type": "string",
|
|
@@ -29318,6 +29823,23 @@
|
|
|
29318
29823
|
"thin"
|
|
29319
29824
|
]
|
|
29320
29825
|
},
|
|
29826
|
+
"CustomizationSidebarBackgroundStyle": {
|
|
29827
|
+
"type": "string",
|
|
29828
|
+
"description": "- `default`: No background, content sits directly against sidebar edge.\n- `filled`: Muted background color that extends to sidebar edges.\n",
|
|
29829
|
+
"enum": [
|
|
29830
|
+
"default",
|
|
29831
|
+
"filled"
|
|
29832
|
+
]
|
|
29833
|
+
},
|
|
29834
|
+
"CustomizationSidebarListStyle": {
|
|
29835
|
+
"type": "string",
|
|
29836
|
+
"description": "- `default`: Simple list items without special styling, groups are inset with a line.\n- `pill`: Rounded capsule shape around selected/active items.\n- `line`: Continuous line next to all items, with coloured line part for selected/active items.\n",
|
|
29837
|
+
"enum": [
|
|
29838
|
+
"default",
|
|
29839
|
+
"pill",
|
|
29840
|
+
"line"
|
|
29841
|
+
]
|
|
29842
|
+
},
|
|
29321
29843
|
"SiteCustomizationSettings": {
|
|
29322
29844
|
"type": "object",
|
|
29323
29845
|
"properties": {
|
|
@@ -29341,10 +29863,26 @@
|
|
|
29341
29863
|
"$ref": "#/components/schemas/CustomizationFont"
|
|
29342
29864
|
},
|
|
29343
29865
|
"background": {
|
|
29866
|
+
"deprecated": true,
|
|
29344
29867
|
"$ref": "#/components/schemas/CustomizationBackground"
|
|
29345
29868
|
},
|
|
29346
29869
|
"icons": {
|
|
29347
29870
|
"$ref": "#/components/schemas/CustomizationIconsStyle"
|
|
29871
|
+
},
|
|
29872
|
+
"sidebar": {
|
|
29873
|
+
"type": "object",
|
|
29874
|
+
"properties": {
|
|
29875
|
+
"background": {
|
|
29876
|
+
"$ref": "#/components/schemas/CustomizationSidebarBackgroundStyle"
|
|
29877
|
+
},
|
|
29878
|
+
"list": {
|
|
29879
|
+
"$ref": "#/components/schemas/CustomizationSidebarListStyle"
|
|
29880
|
+
}
|
|
29881
|
+
},
|
|
29882
|
+
"required": [
|
|
29883
|
+
"background",
|
|
29884
|
+
"list"
|
|
29885
|
+
]
|
|
29348
29886
|
}
|
|
29349
29887
|
},
|
|
29350
29888
|
"required": [
|
|
@@ -29352,7 +29890,8 @@
|
|
|
29352
29890
|
"corners",
|
|
29353
29891
|
"font",
|
|
29354
29892
|
"background",
|
|
29355
|
-
"icons"
|
|
29893
|
+
"icons",
|
|
29894
|
+
"sidebar"
|
|
29356
29895
|
]
|
|
29357
29896
|
},
|
|
29358
29897
|
"internationalization": {
|