doc-detective-common 3.6.0-dev.1 → 3.6.0-dev.2
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/schemas/config_v3.schema.json +249 -0
- package/dist/schemas/report_v3.schema.json +200 -0
- package/dist/schemas/resolvedTests_v3.schema.json +449 -0
- package/dist/schemas/screenshot_v3.schema.json +100 -0
- package/dist/schemas/sourceIntegration_v3.schema.json +50 -0
- package/dist/schemas/spec_v3.schema.json +200 -0
- package/dist/schemas/step_v3.schema.json +100 -0
- package/dist/schemas/test_v3.schema.json +200 -0
- package/package.json +3 -3
- package/src/resolvePaths.js +5 -4
- package/src/schemas/build/config_v3.schema.json +49 -0
- package/src/schemas/build/screenshot_v3.schema.json +4 -0
- package/src/schemas/build/sourceIntegration_v3.schema.json +51 -0
- package/src/schemas/dereferenceSchemas.js +1 -0
- package/src/schemas/output_schemas/config_v3.schema.json +249 -0
- package/src/schemas/output_schemas/report_v3.schema.json +200 -0
- package/src/schemas/output_schemas/resolvedTests_v3.schema.json +449 -0
- package/src/schemas/output_schemas/screenshot_v3.schema.json +100 -0
- package/src/schemas/output_schemas/sourceIntegration_v3.schema.json +50 -0
- package/src/schemas/output_schemas/spec_v3.schema.json +200 -0
- package/src/schemas/output_schemas/step_v3.schema.json +100 -0
- package/src/schemas/output_schemas/test_v3.schema.json +200 -0
- package/src/schemas/schemas.json +1548 -0
- package/src/schemas/src_schemas/config_v3.schema.json +49 -0
- package/src/schemas/src_schemas/screenshot_v3.schema.json +4 -0
- package/src/schemas/src_schemas/sourceIntegration_v3.schema.json +45 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"title": "sourceIntegration",
|
|
4
|
+
"description": "Information about the source integration for a file, enabling upload of changed files back to the source CMS.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"required": [
|
|
8
|
+
"type",
|
|
9
|
+
"integrationName"
|
|
10
|
+
],
|
|
11
|
+
"properties": {
|
|
12
|
+
"type": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
15
|
+
"enum": [
|
|
16
|
+
"heretto"
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
"integrationName": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
22
|
+
},
|
|
23
|
+
"fileId": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
26
|
+
},
|
|
27
|
+
"filePath": {
|
|
28
|
+
"type": "string",
|
|
29
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
30
|
+
},
|
|
31
|
+
"contentPath": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"examples": [
|
|
37
|
+
{
|
|
38
|
+
"type": "heretto",
|
|
39
|
+
"integrationName": "my-heretto",
|
|
40
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
41
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"type": "heretto",
|
|
45
|
+
"integrationName": "my-heretto",
|
|
46
|
+
"filePath": "images/screenshot.png",
|
|
47
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
@@ -5999,6 +5999,56 @@
|
|
|
5999
5999
|
}
|
|
6000
6000
|
}
|
|
6001
6001
|
]
|
|
6002
|
+
},
|
|
6003
|
+
"sourceIntegration": {
|
|
6004
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
6005
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
6006
|
+
"title": "sourceIntegration",
|
|
6007
|
+
"type": "object",
|
|
6008
|
+
"additionalProperties": false,
|
|
6009
|
+
"required": [
|
|
6010
|
+
"type",
|
|
6011
|
+
"integrationName"
|
|
6012
|
+
],
|
|
6013
|
+
"properties": {
|
|
6014
|
+
"type": {
|
|
6015
|
+
"type": "string",
|
|
6016
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
6017
|
+
"enum": [
|
|
6018
|
+
"heretto"
|
|
6019
|
+
]
|
|
6020
|
+
},
|
|
6021
|
+
"integrationName": {
|
|
6022
|
+
"type": "string",
|
|
6023
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
6024
|
+
},
|
|
6025
|
+
"fileId": {
|
|
6026
|
+
"type": "string",
|
|
6027
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
6028
|
+
},
|
|
6029
|
+
"filePath": {
|
|
6030
|
+
"type": "string",
|
|
6031
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
6032
|
+
},
|
|
6033
|
+
"contentPath": {
|
|
6034
|
+
"type": "string",
|
|
6035
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
6036
|
+
}
|
|
6037
|
+
},
|
|
6038
|
+
"examples": [
|
|
6039
|
+
{
|
|
6040
|
+
"type": "heretto",
|
|
6041
|
+
"integrationName": "my-heretto",
|
|
6042
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
6043
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
6044
|
+
},
|
|
6045
|
+
{
|
|
6046
|
+
"type": "heretto",
|
|
6047
|
+
"integrationName": "my-heretto",
|
|
6048
|
+
"filePath": "images/screenshot.png",
|
|
6049
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
6050
|
+
}
|
|
6051
|
+
]
|
|
6002
6052
|
}
|
|
6003
6053
|
},
|
|
6004
6054
|
"title": "Capture screenshot (detailed)"
|
|
@@ -6195,6 +6245,56 @@
|
|
|
6195
6245
|
}
|
|
6196
6246
|
}
|
|
6197
6247
|
]
|
|
6248
|
+
},
|
|
6249
|
+
"sourceIntegration": {
|
|
6250
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
6251
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
6252
|
+
"title": "sourceIntegration",
|
|
6253
|
+
"type": "object",
|
|
6254
|
+
"additionalProperties": false,
|
|
6255
|
+
"required": [
|
|
6256
|
+
"type",
|
|
6257
|
+
"integrationName"
|
|
6258
|
+
],
|
|
6259
|
+
"properties": {
|
|
6260
|
+
"type": {
|
|
6261
|
+
"type": "string",
|
|
6262
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
6263
|
+
"enum": [
|
|
6264
|
+
"heretto"
|
|
6265
|
+
]
|
|
6266
|
+
},
|
|
6267
|
+
"integrationName": {
|
|
6268
|
+
"type": "string",
|
|
6269
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
6270
|
+
},
|
|
6271
|
+
"fileId": {
|
|
6272
|
+
"type": "string",
|
|
6273
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
6274
|
+
},
|
|
6275
|
+
"filePath": {
|
|
6276
|
+
"type": "string",
|
|
6277
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
6278
|
+
},
|
|
6279
|
+
"contentPath": {
|
|
6280
|
+
"type": "string",
|
|
6281
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
6282
|
+
}
|
|
6283
|
+
},
|
|
6284
|
+
"examples": [
|
|
6285
|
+
{
|
|
6286
|
+
"type": "heretto",
|
|
6287
|
+
"integrationName": "my-heretto",
|
|
6288
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
6289
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
6290
|
+
},
|
|
6291
|
+
{
|
|
6292
|
+
"type": "heretto",
|
|
6293
|
+
"integrationName": "my-heretto",
|
|
6294
|
+
"filePath": "images/screenshot.png",
|
|
6295
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
6296
|
+
}
|
|
6297
|
+
]
|
|
6198
6298
|
}
|
|
6199
6299
|
},
|
|
6200
6300
|
"title": "Capture screenshot (detailed)"
|
|
@@ -13476,6 +13576,56 @@
|
|
|
13476
13576
|
}
|
|
13477
13577
|
}
|
|
13478
13578
|
]
|
|
13579
|
+
},
|
|
13580
|
+
"sourceIntegration": {
|
|
13581
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
13582
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
13583
|
+
"title": "sourceIntegration",
|
|
13584
|
+
"type": "object",
|
|
13585
|
+
"additionalProperties": false,
|
|
13586
|
+
"required": [
|
|
13587
|
+
"type",
|
|
13588
|
+
"integrationName"
|
|
13589
|
+
],
|
|
13590
|
+
"properties": {
|
|
13591
|
+
"type": {
|
|
13592
|
+
"type": "string",
|
|
13593
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
13594
|
+
"enum": [
|
|
13595
|
+
"heretto"
|
|
13596
|
+
]
|
|
13597
|
+
},
|
|
13598
|
+
"integrationName": {
|
|
13599
|
+
"type": "string",
|
|
13600
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
13601
|
+
},
|
|
13602
|
+
"fileId": {
|
|
13603
|
+
"type": "string",
|
|
13604
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
13605
|
+
},
|
|
13606
|
+
"filePath": {
|
|
13607
|
+
"type": "string",
|
|
13608
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
13609
|
+
},
|
|
13610
|
+
"contentPath": {
|
|
13611
|
+
"type": "string",
|
|
13612
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
13613
|
+
}
|
|
13614
|
+
},
|
|
13615
|
+
"examples": [
|
|
13616
|
+
{
|
|
13617
|
+
"type": "heretto",
|
|
13618
|
+
"integrationName": "my-heretto",
|
|
13619
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
13620
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
13621
|
+
},
|
|
13622
|
+
{
|
|
13623
|
+
"type": "heretto",
|
|
13624
|
+
"integrationName": "my-heretto",
|
|
13625
|
+
"filePath": "images/screenshot.png",
|
|
13626
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
13627
|
+
}
|
|
13628
|
+
]
|
|
13479
13629
|
}
|
|
13480
13630
|
},
|
|
13481
13631
|
"title": "Capture screenshot (detailed)"
|
|
@@ -13672,6 +13822,56 @@
|
|
|
13672
13822
|
}
|
|
13673
13823
|
}
|
|
13674
13824
|
]
|
|
13825
|
+
},
|
|
13826
|
+
"sourceIntegration": {
|
|
13827
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
13828
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
13829
|
+
"title": "sourceIntegration",
|
|
13830
|
+
"type": "object",
|
|
13831
|
+
"additionalProperties": false,
|
|
13832
|
+
"required": [
|
|
13833
|
+
"type",
|
|
13834
|
+
"integrationName"
|
|
13835
|
+
],
|
|
13836
|
+
"properties": {
|
|
13837
|
+
"type": {
|
|
13838
|
+
"type": "string",
|
|
13839
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
13840
|
+
"enum": [
|
|
13841
|
+
"heretto"
|
|
13842
|
+
]
|
|
13843
|
+
},
|
|
13844
|
+
"integrationName": {
|
|
13845
|
+
"type": "string",
|
|
13846
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
13847
|
+
},
|
|
13848
|
+
"fileId": {
|
|
13849
|
+
"type": "string",
|
|
13850
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
13851
|
+
},
|
|
13852
|
+
"filePath": {
|
|
13853
|
+
"type": "string",
|
|
13854
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
13855
|
+
},
|
|
13856
|
+
"contentPath": {
|
|
13857
|
+
"type": "string",
|
|
13858
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
13859
|
+
}
|
|
13860
|
+
},
|
|
13861
|
+
"examples": [
|
|
13862
|
+
{
|
|
13863
|
+
"type": "heretto",
|
|
13864
|
+
"integrationName": "my-heretto",
|
|
13865
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
13866
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
13867
|
+
},
|
|
13868
|
+
{
|
|
13869
|
+
"type": "heretto",
|
|
13870
|
+
"integrationName": "my-heretto",
|
|
13871
|
+
"filePath": "images/screenshot.png",
|
|
13872
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
13873
|
+
}
|
|
13874
|
+
]
|
|
13675
13875
|
}
|
|
13676
13876
|
},
|
|
13677
13877
|
"title": "Capture screenshot (detailed)"
|
|
@@ -4799,6 +4799,56 @@
|
|
|
4799
4799
|
}
|
|
4800
4800
|
}
|
|
4801
4801
|
]
|
|
4802
|
+
},
|
|
4803
|
+
"sourceIntegration": {
|
|
4804
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
4805
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4806
|
+
"title": "sourceIntegration",
|
|
4807
|
+
"type": "object",
|
|
4808
|
+
"additionalProperties": false,
|
|
4809
|
+
"required": [
|
|
4810
|
+
"type",
|
|
4811
|
+
"integrationName"
|
|
4812
|
+
],
|
|
4813
|
+
"properties": {
|
|
4814
|
+
"type": {
|
|
4815
|
+
"type": "string",
|
|
4816
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
4817
|
+
"enum": [
|
|
4818
|
+
"heretto"
|
|
4819
|
+
]
|
|
4820
|
+
},
|
|
4821
|
+
"integrationName": {
|
|
4822
|
+
"type": "string",
|
|
4823
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
4824
|
+
},
|
|
4825
|
+
"fileId": {
|
|
4826
|
+
"type": "string",
|
|
4827
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
4828
|
+
},
|
|
4829
|
+
"filePath": {
|
|
4830
|
+
"type": "string",
|
|
4831
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
4832
|
+
},
|
|
4833
|
+
"contentPath": {
|
|
4834
|
+
"type": "string",
|
|
4835
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
4836
|
+
}
|
|
4837
|
+
},
|
|
4838
|
+
"examples": [
|
|
4839
|
+
{
|
|
4840
|
+
"type": "heretto",
|
|
4841
|
+
"integrationName": "my-heretto",
|
|
4842
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
4843
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
4844
|
+
},
|
|
4845
|
+
{
|
|
4846
|
+
"type": "heretto",
|
|
4847
|
+
"integrationName": "my-heretto",
|
|
4848
|
+
"filePath": "images/screenshot.png",
|
|
4849
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
4850
|
+
}
|
|
4851
|
+
]
|
|
4802
4852
|
}
|
|
4803
4853
|
},
|
|
4804
4854
|
"title": "Capture screenshot (detailed)"
|
|
@@ -4995,6 +5045,56 @@
|
|
|
4995
5045
|
}
|
|
4996
5046
|
}
|
|
4997
5047
|
]
|
|
5048
|
+
},
|
|
5049
|
+
"sourceIntegration": {
|
|
5050
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
5051
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5052
|
+
"title": "sourceIntegration",
|
|
5053
|
+
"type": "object",
|
|
5054
|
+
"additionalProperties": false,
|
|
5055
|
+
"required": [
|
|
5056
|
+
"type",
|
|
5057
|
+
"integrationName"
|
|
5058
|
+
],
|
|
5059
|
+
"properties": {
|
|
5060
|
+
"type": {
|
|
5061
|
+
"type": "string",
|
|
5062
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
5063
|
+
"enum": [
|
|
5064
|
+
"heretto"
|
|
5065
|
+
]
|
|
5066
|
+
},
|
|
5067
|
+
"integrationName": {
|
|
5068
|
+
"type": "string",
|
|
5069
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
5070
|
+
},
|
|
5071
|
+
"fileId": {
|
|
5072
|
+
"type": "string",
|
|
5073
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
5074
|
+
},
|
|
5075
|
+
"filePath": {
|
|
5076
|
+
"type": "string",
|
|
5077
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
5078
|
+
},
|
|
5079
|
+
"contentPath": {
|
|
5080
|
+
"type": "string",
|
|
5081
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
5082
|
+
}
|
|
5083
|
+
},
|
|
5084
|
+
"examples": [
|
|
5085
|
+
{
|
|
5086
|
+
"type": "heretto",
|
|
5087
|
+
"integrationName": "my-heretto",
|
|
5088
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
5089
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
5090
|
+
},
|
|
5091
|
+
{
|
|
5092
|
+
"type": "heretto",
|
|
5093
|
+
"integrationName": "my-heretto",
|
|
5094
|
+
"filePath": "images/screenshot.png",
|
|
5095
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
5096
|
+
}
|
|
5097
|
+
]
|
|
4998
5098
|
}
|
|
4999
5099
|
},
|
|
5000
5100
|
"title": "Capture screenshot (detailed)"
|
|
@@ -5398,6 +5398,56 @@
|
|
|
5398
5398
|
}
|
|
5399
5399
|
}
|
|
5400
5400
|
]
|
|
5401
|
+
},
|
|
5402
|
+
"sourceIntegration": {
|
|
5403
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
5404
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5405
|
+
"title": "sourceIntegration",
|
|
5406
|
+
"type": "object",
|
|
5407
|
+
"additionalProperties": false,
|
|
5408
|
+
"required": [
|
|
5409
|
+
"type",
|
|
5410
|
+
"integrationName"
|
|
5411
|
+
],
|
|
5412
|
+
"properties": {
|
|
5413
|
+
"type": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
5416
|
+
"enum": [
|
|
5417
|
+
"heretto"
|
|
5418
|
+
]
|
|
5419
|
+
},
|
|
5420
|
+
"integrationName": {
|
|
5421
|
+
"type": "string",
|
|
5422
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
5423
|
+
},
|
|
5424
|
+
"fileId": {
|
|
5425
|
+
"type": "string",
|
|
5426
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
5427
|
+
},
|
|
5428
|
+
"filePath": {
|
|
5429
|
+
"type": "string",
|
|
5430
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
5431
|
+
},
|
|
5432
|
+
"contentPath": {
|
|
5433
|
+
"type": "string",
|
|
5434
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
5435
|
+
}
|
|
5436
|
+
},
|
|
5437
|
+
"examples": [
|
|
5438
|
+
{
|
|
5439
|
+
"type": "heretto",
|
|
5440
|
+
"integrationName": "my-heretto",
|
|
5441
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
5442
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
5443
|
+
},
|
|
5444
|
+
{
|
|
5445
|
+
"type": "heretto",
|
|
5446
|
+
"integrationName": "my-heretto",
|
|
5447
|
+
"filePath": "images/screenshot.png",
|
|
5448
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
5449
|
+
}
|
|
5450
|
+
]
|
|
5401
5451
|
}
|
|
5402
5452
|
},
|
|
5403
5453
|
"title": "Capture screenshot (detailed)"
|
|
@@ -5594,6 +5644,56 @@
|
|
|
5594
5644
|
}
|
|
5595
5645
|
}
|
|
5596
5646
|
]
|
|
5647
|
+
},
|
|
5648
|
+
"sourceIntegration": {
|
|
5649
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
5650
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
5651
|
+
"title": "sourceIntegration",
|
|
5652
|
+
"type": "object",
|
|
5653
|
+
"additionalProperties": false,
|
|
5654
|
+
"required": [
|
|
5655
|
+
"type",
|
|
5656
|
+
"integrationName"
|
|
5657
|
+
],
|
|
5658
|
+
"properties": {
|
|
5659
|
+
"type": {
|
|
5660
|
+
"type": "string",
|
|
5661
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
5662
|
+
"enum": [
|
|
5663
|
+
"heretto"
|
|
5664
|
+
]
|
|
5665
|
+
},
|
|
5666
|
+
"integrationName": {
|
|
5667
|
+
"type": "string",
|
|
5668
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
5669
|
+
},
|
|
5670
|
+
"fileId": {
|
|
5671
|
+
"type": "string",
|
|
5672
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
5673
|
+
},
|
|
5674
|
+
"filePath": {
|
|
5675
|
+
"type": "string",
|
|
5676
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
5677
|
+
},
|
|
5678
|
+
"contentPath": {
|
|
5679
|
+
"type": "string",
|
|
5680
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
5681
|
+
}
|
|
5682
|
+
},
|
|
5683
|
+
"examples": [
|
|
5684
|
+
{
|
|
5685
|
+
"type": "heretto",
|
|
5686
|
+
"integrationName": "my-heretto",
|
|
5687
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
5688
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
5689
|
+
},
|
|
5690
|
+
{
|
|
5691
|
+
"type": "heretto",
|
|
5692
|
+
"integrationName": "my-heretto",
|
|
5693
|
+
"filePath": "images/screenshot.png",
|
|
5694
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
5695
|
+
}
|
|
5696
|
+
]
|
|
5597
5697
|
}
|
|
5598
5698
|
},
|
|
5599
5699
|
"title": "Capture screenshot (detailed)"
|
|
@@ -12875,6 +12975,56 @@
|
|
|
12875
12975
|
}
|
|
12876
12976
|
}
|
|
12877
12977
|
]
|
|
12978
|
+
},
|
|
12979
|
+
"sourceIntegration": {
|
|
12980
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
12981
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
12982
|
+
"title": "sourceIntegration",
|
|
12983
|
+
"type": "object",
|
|
12984
|
+
"additionalProperties": false,
|
|
12985
|
+
"required": [
|
|
12986
|
+
"type",
|
|
12987
|
+
"integrationName"
|
|
12988
|
+
],
|
|
12989
|
+
"properties": {
|
|
12990
|
+
"type": {
|
|
12991
|
+
"type": "string",
|
|
12992
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
12993
|
+
"enum": [
|
|
12994
|
+
"heretto"
|
|
12995
|
+
]
|
|
12996
|
+
},
|
|
12997
|
+
"integrationName": {
|
|
12998
|
+
"type": "string",
|
|
12999
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
13000
|
+
},
|
|
13001
|
+
"fileId": {
|
|
13002
|
+
"type": "string",
|
|
13003
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
13004
|
+
},
|
|
13005
|
+
"filePath": {
|
|
13006
|
+
"type": "string",
|
|
13007
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
13008
|
+
},
|
|
13009
|
+
"contentPath": {
|
|
13010
|
+
"type": "string",
|
|
13011
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
13012
|
+
}
|
|
13013
|
+
},
|
|
13014
|
+
"examples": [
|
|
13015
|
+
{
|
|
13016
|
+
"type": "heretto",
|
|
13017
|
+
"integrationName": "my-heretto",
|
|
13018
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
13019
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
13020
|
+
},
|
|
13021
|
+
{
|
|
13022
|
+
"type": "heretto",
|
|
13023
|
+
"integrationName": "my-heretto",
|
|
13024
|
+
"filePath": "images/screenshot.png",
|
|
13025
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
13026
|
+
}
|
|
13027
|
+
]
|
|
12878
13028
|
}
|
|
12879
13029
|
},
|
|
12880
13030
|
"title": "Capture screenshot (detailed)"
|
|
@@ -13071,6 +13221,56 @@
|
|
|
13071
13221
|
}
|
|
13072
13222
|
}
|
|
13073
13223
|
]
|
|
13224
|
+
},
|
|
13225
|
+
"sourceIntegration": {
|
|
13226
|
+
"description": "Information about the source integration for this screenshot, enabling upload of changed files back to the source CMS. Set automatically during test resolution for files from integrations.",
|
|
13227
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
13228
|
+
"title": "sourceIntegration",
|
|
13229
|
+
"type": "object",
|
|
13230
|
+
"additionalProperties": false,
|
|
13231
|
+
"required": [
|
|
13232
|
+
"type",
|
|
13233
|
+
"integrationName"
|
|
13234
|
+
],
|
|
13235
|
+
"properties": {
|
|
13236
|
+
"type": {
|
|
13237
|
+
"type": "string",
|
|
13238
|
+
"description": "The type of integration. Currently supported: 'heretto'. Additional types may be added in the future.",
|
|
13239
|
+
"enum": [
|
|
13240
|
+
"heretto"
|
|
13241
|
+
]
|
|
13242
|
+
},
|
|
13243
|
+
"integrationName": {
|
|
13244
|
+
"type": "string",
|
|
13245
|
+
"description": "The name of the integration configuration in the config file. Used to look up authentication credentials."
|
|
13246
|
+
},
|
|
13247
|
+
"fileId": {
|
|
13248
|
+
"type": "string",
|
|
13249
|
+
"description": "The unique identifier (UUID) of the file in the source CMS. If not provided, the file will be looked up by path."
|
|
13250
|
+
},
|
|
13251
|
+
"filePath": {
|
|
13252
|
+
"type": "string",
|
|
13253
|
+
"description": "The path of the file in the source CMS. Used for lookup if fileId is not available."
|
|
13254
|
+
},
|
|
13255
|
+
"contentPath": {
|
|
13256
|
+
"type": "string",
|
|
13257
|
+
"description": "The local path to the file that references this source. Used for resolving relative paths."
|
|
13258
|
+
}
|
|
13259
|
+
},
|
|
13260
|
+
"examples": [
|
|
13261
|
+
{
|
|
13262
|
+
"type": "heretto",
|
|
13263
|
+
"integrationName": "my-heretto",
|
|
13264
|
+
"fileId": "8f3ed200-cbba-11e1-ac51-c82a1446d15c",
|
|
13265
|
+
"filePath": "/db/organizations/example/repositories/docs/images/screenshot.png"
|
|
13266
|
+
},
|
|
13267
|
+
{
|
|
13268
|
+
"type": "heretto",
|
|
13269
|
+
"integrationName": "my-heretto",
|
|
13270
|
+
"filePath": "images/screenshot.png",
|
|
13271
|
+
"contentPath": "/tmp/doc-detective/heretto_abc123/topic.dita"
|
|
13272
|
+
}
|
|
13273
|
+
]
|
|
13074
13274
|
}
|
|
13075
13275
|
},
|
|
13076
13276
|
"title": "Capture screenshot (detailed)"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-detective-common",
|
|
3
|
-
"version": "3.6.0-dev.
|
|
3
|
+
"version": "3.6.0-dev.2",
|
|
4
4
|
"description": "Shared components for Doc Detective projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://github.com/doc-detective/doc-detective-common#readme",
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"chai": "^6.2.
|
|
23
|
+
"chai": "^6.2.2",
|
|
24
24
|
"mocha": "^11.7.5",
|
|
25
|
-
"sinon": "^21.0.
|
|
25
|
+
"sinon": "^21.0.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@apidevtools/json-schema-ref-parser": "^15.1.3",
|