File tree Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Expand file tree Collapse file tree 4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @gitbook/cli ' : patch
3
+ ---
4
+
5
+ Add completion_url and enum to the integration configuration manifest.
Original file line number Diff line number Diff line change 317
317
},
318
318
"integrations/marketo" : {
319
319
"name" : " @gitbook/integration-marketo" ,
320
- "version" : " 0.1.0 " ,
320
+ "version" : " 0.1.2 " ,
321
321
"dependencies" : {
322
322
"@gitbook/api" : " *" ,
323
323
"@gitbook/runtime" : " *" ,
367
367
},
368
368
"integrations/openapi" : {
369
369
"name" : " @gitbook/integration-openapi" ,
370
- "version" : " 0.1.1 " ,
370
+ "version" : " 0.2.0 " ,
371
371
"dependencies" : {
372
372
"@gitbook/api" : " *" ,
373
373
"@gitbook/document" : " *" ,
562
562
},
563
563
"packages/api" : {
564
564
"name" : " @gitbook/api" ,
565
- "version" : " 0.100 .0" ,
565
+ "version" : " 0.105 .0" ,
566
566
"dependencies" : {
567
567
"event-iterator" : " ^2.0.0" ,
568
568
"eventsource-parser" : " ^3.0.0" ,
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ const IntegrationManifestSchemaConfiguration = z.object({
33
33
JSONSchemaBaseSchema . extend ( {
34
34
type : z . literal ( 'string' ) ,
35
35
default : z . string ( ) . optional ( ) ,
36
+ completion_url : z . string ( ) . optional ( ) ,
37
+ enum : z . array ( z . string ( ) ) . optional ( ) ,
36
38
} ) ,
37
39
JSONSchemaBaseSchema . extend ( {
38
40
type : z . literal ( 'number' ) ,
Original file line number Diff line number Diff line change @@ -2,13 +2,14 @@ import {
2
2
ContentComputeDocumentEvent ,
3
3
ContentComputeRevisionEventResponse ,
4
4
ContentComputeRevisionEvent ,
5
- ComputedContentDependencyValue ,
6
- ComputedContentDependencyRef ,
7
5
Document ,
8
6
} from '@gitbook/api' ;
9
7
import { PlainObject } from './common' ;
10
8
import { RuntimeCallback , RuntimeContext } from './context' ;
11
9
10
+ type ComputedContentDependencyValue = any ;
11
+ type ComputedContentDependencyRef = any ;
12
+
12
13
export interface ContentSourceDefinition < Context extends RuntimeContext = RuntimeContext > {
13
14
sourceId : string ;
14
15
compute : RuntimeCallback <
You can’t perform that action at this time.
0 commit comments