@teambit/isolator 1.0.313 → 1.0.315
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/artifacts/schema.json
CHANGED
@@ -1243,7 +1243,7 @@
|
|
1243
1243
|
"_legacy": {
|
1244
1244
|
"scope": "teambit.component",
|
1245
1245
|
"name": "isolator",
|
1246
|
-
"version": "1.0.
|
1246
|
+
"version": "1.0.315"
|
1247
1247
|
},
|
1248
1248
|
"_scope": "teambit.component"
|
1249
1249
|
}
|
@@ -2472,7 +2472,7 @@
|
|
2472
2472
|
"_legacy": {
|
2473
2473
|
"scope": "teambit.component",
|
2474
2474
|
"name": "isolator",
|
2475
|
-
"version": "1.0.
|
2475
|
+
"version": "1.0.315"
|
2476
2476
|
},
|
2477
2477
|
"_scope": "teambit.component"
|
2478
2478
|
}
|
@@ -2758,7 +2758,7 @@
|
|
2758
2758
|
"_legacy": {
|
2759
2759
|
"scope": "teambit.component",
|
2760
2760
|
"name": "isolator",
|
2761
|
-
"version": "1.0.
|
2761
|
+
"version": "1.0.315"
|
2762
2762
|
},
|
2763
2763
|
"_scope": "teambit.component"
|
2764
2764
|
}
|
@@ -2787,7 +2787,7 @@
|
|
2787
2787
|
"_legacy": {
|
2788
2788
|
"scope": "teambit.component",
|
2789
2789
|
"name": "isolator",
|
2790
|
-
"version": "1.0.
|
2790
|
+
"version": "1.0.315"
|
2791
2791
|
},
|
2792
2792
|
"_scope": "teambit.component"
|
2793
2793
|
}
|
@@ -5587,7 +5587,7 @@
|
|
5587
5587
|
"_legacy": {
|
5588
5588
|
"scope": "teambit.component",
|
5589
5589
|
"name": "isolator",
|
5590
|
-
"version": "1.0.
|
5590
|
+
"version": "1.0.315"
|
5591
5591
|
},
|
5592
5592
|
"_scope": "teambit.component"
|
5593
5593
|
}
|
@@ -5901,247 +5901,362 @@
|
|
5901
5901
|
{
|
5902
5902
|
"__schema": "ModuleSchema",
|
5903
5903
|
"location": {
|
5904
|
-
"filePath": "capsule/
|
5904
|
+
"filePath": "capsule/container.ts",
|
5905
5905
|
"line": 1,
|
5906
5906
|
"character": 1
|
5907
5907
|
},
|
5908
5908
|
"exports": [
|
5909
5909
|
{
|
5910
|
-
"__schema": "
|
5910
|
+
"__schema": "InterfaceSchema",
|
5911
5911
|
"location": {
|
5912
|
-
"filePath": "capsule/
|
5913
|
-
"line":
|
5912
|
+
"filePath": "capsule/container.ts",
|
5913
|
+
"line": 12,
|
5914
5914
|
"character": 1
|
5915
5915
|
},
|
5916
|
-
"signature": "
|
5917
|
-
"name": "
|
5916
|
+
"signature": "interface BitExecOption",
|
5917
|
+
"name": "BitExecOption",
|
5918
5918
|
"members": [
|
5919
5919
|
{
|
5920
|
-
"__schema": "
|
5920
|
+
"__schema": "VariableLikeSchema",
|
5921
5921
|
"location": {
|
5922
|
-
"filePath": "capsule/
|
5923
|
-
"line":
|
5922
|
+
"filePath": "capsule/container.ts",
|
5923
|
+
"line": 13,
|
5924
5924
|
"character": 3
|
5925
5925
|
},
|
5926
|
-
"signature": "
|
5927
|
-
"name": "
|
5928
|
-
"
|
5929
|
-
|
5930
|
-
|
5931
|
-
"
|
5932
|
-
|
5933
|
-
|
5934
|
-
|
5935
|
-
|
5936
|
-
|
5937
|
-
|
5938
|
-
|
5926
|
+
"signature": "(property) BitExecOption.cwd: string",
|
5927
|
+
"name": "cwd",
|
5928
|
+
"type": {
|
5929
|
+
"__schema": "KeywordTypeSchema",
|
5930
|
+
"location": {
|
5931
|
+
"filePath": "capsule/container.ts",
|
5932
|
+
"line": 13,
|
5933
|
+
"character": 8
|
5934
|
+
},
|
5935
|
+
"name": "string"
|
5936
|
+
},
|
5937
|
+
"isOptional": false
|
5938
|
+
},
|
5939
|
+
{
|
5940
|
+
"__schema": "VariableLikeSchema",
|
5941
|
+
"location": {
|
5942
|
+
"filePath": "capsule/container.ts",
|
5943
|
+
"line": 14,
|
5944
|
+
"character": 3
|
5945
|
+
},
|
5946
|
+
"signature": "(property) BitExecOption.stdio?: number | Stream | \"pipe\" | \"ignore\" | \"inherit\" | \"ipc\" | undefined",
|
5947
|
+
"name": "stdio",
|
5948
|
+
"type": {
|
5949
|
+
"__schema": "TypeUnionSchema",
|
5950
|
+
"location": {
|
5951
|
+
"filePath": "capsule/container.ts",
|
5952
|
+
"line": 14,
|
5953
|
+
"character": 11
|
5954
|
+
},
|
5955
|
+
"types": [
|
5956
|
+
{
|
5957
|
+
"__schema": "LiteralTypeSchema",
|
5939
5958
|
"location": {
|
5940
|
-
"filePath": "capsule/
|
5941
|
-
"line":
|
5942
|
-
"character":
|
5959
|
+
"filePath": "capsule/container.ts",
|
5960
|
+
"line": 14,
|
5961
|
+
"character": 11
|
5943
5962
|
},
|
5944
|
-
"name": "
|
5945
|
-
},
|
5946
|
-
"isOptional": false,
|
5947
|
-
"isSpread": false
|
5948
|
-
},
|
5949
|
-
{
|
5950
|
-
"__schema": "ParameterSchema",
|
5951
|
-
"location": {
|
5952
|
-
"filePath": "capsule/capsule.ts",
|
5953
|
-
"line": 23,
|
5954
|
-
"character": 5
|
5963
|
+
"name": "'pipe'"
|
5955
5964
|
},
|
5956
|
-
|
5957
|
-
|
5958
|
-
"__schema": "TypeRefSchema",
|
5965
|
+
{
|
5966
|
+
"__schema": "LiteralTypeSchema",
|
5959
5967
|
"location": {
|
5960
|
-
"filePath": "capsule/
|
5961
|
-
"line":
|
5962
|
-
"character":
|
5968
|
+
"filePath": "capsule/container.ts",
|
5969
|
+
"line": 14,
|
5970
|
+
"character": 20
|
5963
5971
|
},
|
5964
|
-
"name": "
|
5965
|
-
"packageName": "@teambit/any-fs"
|
5966
|
-
},
|
5967
|
-
"isOptional": false,
|
5968
|
-
"isSpread": false
|
5969
|
-
},
|
5970
|
-
{
|
5971
|
-
"__schema": "ParameterSchema",
|
5972
|
-
"location": {
|
5973
|
-
"filePath": "capsule/capsule.ts",
|
5974
|
-
"line": 27,
|
5975
|
-
"character": 5
|
5972
|
+
"name": "'ipc'"
|
5976
5973
|
},
|
5977
|
-
|
5978
|
-
|
5979
|
-
"__schema": "TypeRefSchema",
|
5974
|
+
{
|
5975
|
+
"__schema": "LiteralTypeSchema",
|
5980
5976
|
"location": {
|
5981
|
-
"filePath": "capsule/
|
5982
|
-
"line":
|
5983
|
-
"character":
|
5977
|
+
"filePath": "capsule/container.ts",
|
5978
|
+
"line": 14,
|
5979
|
+
"character": 28
|
5984
5980
|
},
|
5985
|
-
"name": "
|
5986
|
-
"packageName": "@teambit/capsule"
|
5981
|
+
"name": "'ignore'"
|
5987
5982
|
},
|
5988
|
-
|
5989
|
-
|
5990
|
-
|
5991
|
-
|
5992
|
-
|
5993
|
-
|
5994
|
-
|
5995
|
-
"
|
5996
|
-
"line": 31,
|
5997
|
-
"character": 5
|
5983
|
+
{
|
5984
|
+
"__schema": "LiteralTypeSchema",
|
5985
|
+
"location": {
|
5986
|
+
"filePath": "capsule/container.ts",
|
5987
|
+
"line": 14,
|
5988
|
+
"character": 39
|
5989
|
+
},
|
5990
|
+
"name": "'inherit'"
|
5998
5991
|
},
|
5999
|
-
|
6000
|
-
"type": {
|
5992
|
+
{
|
6001
5993
|
"__schema": "TypeRefSchema",
|
6002
5994
|
"location": {
|
6003
|
-
"filePath": "capsule/
|
6004
|
-
"line":
|
6005
|
-
"character":
|
5995
|
+
"filePath": "capsule/container.ts",
|
5996
|
+
"line": 14,
|
5997
|
+
"character": 51
|
6006
5998
|
},
|
6007
|
-
"name": "
|
6008
|
-
"packageName": "
|
6009
|
-
},
|
6010
|
-
"isOptional": false,
|
6011
|
-
"isSpread": false
|
6012
|
-
},
|
6013
|
-
{
|
6014
|
-
"__schema": "ParameterSchema",
|
6015
|
-
"location": {
|
6016
|
-
"filePath": "capsule/capsule.ts",
|
6017
|
-
"line": 32,
|
6018
|
-
"character": 5
|
5999
|
+
"name": "Stream",
|
6000
|
+
"packageName": "stream"
|
6019
6001
|
},
|
6020
|
-
|
6021
|
-
|
6022
|
-
"__schema": "TypeRefSchema",
|
6002
|
+
{
|
6003
|
+
"__schema": "KeywordTypeSchema",
|
6023
6004
|
"location": {
|
6024
|
-
"filePath": "capsule/
|
6025
|
-
"line":
|
6026
|
-
"character":
|
6005
|
+
"filePath": "capsule/container.ts",
|
6006
|
+
"line": 14,
|
6007
|
+
"character": 60
|
6027
6008
|
},
|
6028
|
-
"name": "
|
6029
|
-
"componentId": {
|
6030
|
-
"scope": "teambit.component",
|
6031
|
-
"name": "component"
|
6032
|
-
}
|
6009
|
+
"name": "number"
|
6033
6010
|
},
|
6034
|
-
|
6035
|
-
|
6036
|
-
|
6037
|
-
|
6038
|
-
|
6039
|
-
|
6040
|
-
|
6041
|
-
|
6042
|
-
|
6043
|
-
|
6044
|
-
},
|
6045
|
-
"name": "Capsule"
|
6011
|
+
{
|
6012
|
+
"__schema": "KeywordTypeSchema",
|
6013
|
+
"location": {
|
6014
|
+
"filePath": "capsule/container.ts",
|
6015
|
+
"line": 14,
|
6016
|
+
"character": 69
|
6017
|
+
},
|
6018
|
+
"name": "undefined"
|
6019
|
+
}
|
6020
|
+
]
|
6046
6021
|
},
|
6047
|
-
"
|
6048
|
-
}
|
6022
|
+
"isOptional": true
|
6023
|
+
}
|
6024
|
+
],
|
6025
|
+
"extendsNodes": [
|
6049
6026
|
{
|
6050
|
-
"__schema": "
|
6027
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
6051
6028
|
"location": {
|
6052
|
-
"filePath": "capsule/
|
6053
|
-
"line":
|
6054
|
-
"character":
|
6029
|
+
"filePath": "capsule/container.ts",
|
6030
|
+
"line": 12,
|
6031
|
+
"character": 40
|
6055
6032
|
},
|
6056
|
-
"
|
6057
|
-
"
|
6058
|
-
"
|
6059
|
-
"__schema": "
|
6033
|
+
"name": "extends ExecOptions",
|
6034
|
+
"typeArgs": [],
|
6035
|
+
"expression": {
|
6036
|
+
"__schema": "TypeRefSchema",
|
6060
6037
|
"location": {
|
6061
|
-
"filePath": "capsule/
|
6062
|
-
"line":
|
6063
|
-
"character":
|
6038
|
+
"filePath": "capsule/container.ts",
|
6039
|
+
"line": 12,
|
6040
|
+
"character": 40
|
6064
6041
|
},
|
6065
|
-
"name": "
|
6042
|
+
"name": "ExecOptions",
|
6043
|
+
"componentId": {
|
6044
|
+
"_legacy": {
|
6045
|
+
"scope": "teambit.component",
|
6046
|
+
"name": "isolator",
|
6047
|
+
"version": "1.0.315"
|
6048
|
+
},
|
6049
|
+
"_scope": "teambit.component"
|
6050
|
+
}
|
6066
6051
|
}
|
6067
|
-
}
|
6052
|
+
}
|
6053
|
+
]
|
6054
|
+
},
|
6055
|
+
{
|
6056
|
+
"__schema": "InterfaceSchema",
|
6057
|
+
"location": {
|
6058
|
+
"filePath": "capsule/container.ts",
|
6059
|
+
"line": 16,
|
6060
|
+
"character": 1
|
6061
|
+
},
|
6062
|
+
"signature": "interface BitContainerConfig",
|
6063
|
+
"name": "BitContainerConfig",
|
6064
|
+
"members": [
|
6068
6065
|
{
|
6069
|
-
"__schema": "
|
6066
|
+
"__schema": "VariableLikeSchema",
|
6070
6067
|
"location": {
|
6071
|
-
"filePath": "capsule/
|
6072
|
-
"line":
|
6068
|
+
"filePath": "capsule/container.ts",
|
6069
|
+
"line": 17,
|
6073
6070
|
"character": 3
|
6074
6071
|
},
|
6075
|
-
"signature": "(
|
6076
|
-
"name": "
|
6072
|
+
"signature": "(property) BitContainerConfig.other?: string | undefined",
|
6073
|
+
"name": "other",
|
6077
6074
|
"type": {
|
6078
6075
|
"__schema": "KeywordTypeSchema",
|
6079
6076
|
"location": {
|
6080
|
-
"filePath": "capsule/
|
6081
|
-
"line":
|
6082
|
-
"character":
|
6077
|
+
"filePath": "capsule/container.ts",
|
6078
|
+
"line": 17,
|
6079
|
+
"character": 11
|
6083
6080
|
},
|
6084
6081
|
"name": "string"
|
6082
|
+
},
|
6083
|
+
"isOptional": true
|
6084
|
+
}
|
6085
|
+
],
|
6086
|
+
"extendsNodes": [
|
6087
|
+
{
|
6088
|
+
"__schema": "ExpressionWithTypeArgumentsSchema",
|
6089
|
+
"location": {
|
6090
|
+
"filePath": "capsule/container.ts",
|
6091
|
+
"line": 16,
|
6092
|
+
"character": 45
|
6093
|
+
},
|
6094
|
+
"name": "extends ContainerFactoryOptions",
|
6095
|
+
"typeArgs": [],
|
6096
|
+
"expression": {
|
6097
|
+
"__schema": "TypeRefSchema",
|
6098
|
+
"location": {
|
6099
|
+
"filePath": "capsule/container.ts",
|
6100
|
+
"line": 16,
|
6101
|
+
"character": 45
|
6102
|
+
},
|
6103
|
+
"name": "ContainerFactoryOptions",
|
6104
|
+
"componentId": {
|
6105
|
+
"_legacy": {
|
6106
|
+
"scope": "teambit.component",
|
6107
|
+
"name": "isolator",
|
6108
|
+
"version": "1.0.315"
|
6109
|
+
},
|
6110
|
+
"_scope": "teambit.component"
|
6111
|
+
}
|
6085
6112
|
}
|
6113
|
+
}
|
6114
|
+
]
|
6115
|
+
},
|
6116
|
+
{
|
6117
|
+
"__schema": "ClassSchema",
|
6118
|
+
"location": {
|
6119
|
+
"filePath": "capsule/container.ts",
|
6120
|
+
"line": 20,
|
6121
|
+
"character": 1
|
6122
|
+
},
|
6123
|
+
"signature": "class FsContainer",
|
6124
|
+
"name": "FsContainer",
|
6125
|
+
"members": [
|
6126
|
+
{
|
6127
|
+
"__schema": "VariableLikeSchema",
|
6128
|
+
"location": {
|
6129
|
+
"filePath": "capsule/container.ts",
|
6130
|
+
"line": 21,
|
6131
|
+
"character": 3
|
6132
|
+
},
|
6133
|
+
"signature": "(property) FsContainer.id: string",
|
6134
|
+
"name": "id",
|
6135
|
+
"type": {
|
6136
|
+
"__schema": "InferenceTypeSchema",
|
6137
|
+
"location": {
|
6138
|
+
"filePath": "capsule/container.ts",
|
6139
|
+
"line": 21,
|
6140
|
+
"character": 3
|
6141
|
+
},
|
6142
|
+
"type": "string"
|
6143
|
+
},
|
6144
|
+
"isOptional": true,
|
6145
|
+
"defaultValue": "'FS Container'"
|
6086
6146
|
},
|
6087
6147
|
{
|
6088
|
-
"__schema": "
|
6148
|
+
"__schema": "VariableLikeSchema",
|
6089
6149
|
"location": {
|
6090
|
-
"filePath": "capsule/
|
6091
|
-
"line":
|
6150
|
+
"filePath": "capsule/container.ts",
|
6151
|
+
"line": 23,
|
6092
6152
|
"character": 3
|
6093
6153
|
},
|
6094
|
-
"signature": "(
|
6095
|
-
"name": "
|
6096
|
-
"
|
6097
|
-
"returnType": {
|
6154
|
+
"signature": "(property) FsContainer.fs: NodeFS",
|
6155
|
+
"name": "fs",
|
6156
|
+
"type": {
|
6098
6157
|
"__schema": "TypeRefSchema",
|
6099
6158
|
"location": {
|
6100
|
-
"filePath": "capsule/
|
6101
|
-
"line":
|
6102
|
-
"character":
|
6159
|
+
"filePath": "capsule/container.ts",
|
6160
|
+
"line": 23,
|
6161
|
+
"character": 3
|
6103
6162
|
},
|
6104
|
-
"name": "
|
6105
|
-
"
|
6106
|
-
|
6163
|
+
"name": "NodeFS",
|
6164
|
+
"packageName": "@teambit/any-fs"
|
6165
|
+
},
|
6166
|
+
"isOptional": true,
|
6167
|
+
"defaultValue": "new NodeFS(this.wrkDir)"
|
6168
|
+
},
|
6169
|
+
{
|
6170
|
+
"__schema": "ConstructorSchema",
|
6171
|
+
"location": {
|
6172
|
+
"filePath": "capsule/container.ts",
|
6173
|
+
"line": 25,
|
6174
|
+
"character": 3
|
6175
|
+
},
|
6176
|
+
"signature": "constructor FsContainer(wrkDir: string): FsContainer",
|
6177
|
+
"name": "constructor",
|
6178
|
+
"params": [
|
6179
|
+
{
|
6180
|
+
"__schema": "ParameterSchema",
|
6181
|
+
"location": {
|
6182
|
+
"filePath": "capsule/container.ts",
|
6183
|
+
"line": 25,
|
6184
|
+
"character": 15
|
6185
|
+
},
|
6186
|
+
"name": "wrkDir",
|
6187
|
+
"type": {
|
6107
6188
|
"__schema": "KeywordTypeSchema",
|
6108
6189
|
"location": {
|
6109
|
-
"filePath": "capsule/
|
6110
|
-
"line":
|
6111
|
-
"character":
|
6190
|
+
"filePath": "capsule/container.ts",
|
6191
|
+
"line": 25,
|
6192
|
+
"character": 32
|
6112
6193
|
},
|
6113
|
-
"name": "
|
6114
|
-
}
|
6115
|
-
|
6194
|
+
"name": "string"
|
6195
|
+
},
|
6196
|
+
"isOptional": false,
|
6197
|
+
"isSpread": false
|
6198
|
+
}
|
6199
|
+
],
|
6200
|
+
"returnType": {
|
6201
|
+
"__schema": "ThisTypeSchema",
|
6202
|
+
"location": {
|
6203
|
+
"filePath": "capsule/container.ts",
|
6204
|
+
"line": 20,
|
6205
|
+
"character": 1
|
6206
|
+
},
|
6207
|
+
"name": "FsContainer"
|
6116
6208
|
},
|
6117
6209
|
"modifiers": []
|
6118
6210
|
},
|
6119
6211
|
{
|
6120
6212
|
"__schema": "FunctionLikeSchema",
|
6121
6213
|
"location": {
|
6122
|
-
"filePath": "capsule/
|
6123
|
-
"line":
|
6214
|
+
"filePath": "capsule/container.ts",
|
6215
|
+
"line": 28,
|
6124
6216
|
"character": 3
|
6125
6217
|
},
|
6126
|
-
"signature": "(method)
|
6127
|
-
"name": "
|
6218
|
+
"signature": "(method) FsContainer.getPath(): string",
|
6219
|
+
"name": "getPath",
|
6220
|
+
"params": [],
|
6221
|
+
"returnType": {
|
6222
|
+
"__schema": "InferenceTypeSchema",
|
6223
|
+
"location": {
|
6224
|
+
"filePath": "capsule/container.ts",
|
6225
|
+
"line": 28,
|
6226
|
+
"character": 3
|
6227
|
+
},
|
6228
|
+
"type": "string"
|
6229
|
+
},
|
6230
|
+
"modifiers": [
|
6231
|
+
"public"
|
6232
|
+
]
|
6233
|
+
},
|
6234
|
+
{
|
6235
|
+
"__schema": "FunctionLikeSchema",
|
6236
|
+
"location": {
|
6237
|
+
"filePath": "capsule/container.ts",
|
6238
|
+
"line": 36,
|
6239
|
+
"character": 3
|
6240
|
+
},
|
6241
|
+
"signature": "(method) FsContainer.outputFile(file: any, data: any, options: any): Promise<void>",
|
6242
|
+
"name": "outputFile",
|
6128
6243
|
"params": [
|
6129
6244
|
{
|
6130
6245
|
"__schema": "ParameterSchema",
|
6131
6246
|
"location": {
|
6132
|
-
"filePath": "capsule/
|
6133
|
-
"line":
|
6134
|
-
"character":
|
6247
|
+
"filePath": "capsule/container.ts",
|
6248
|
+
"line": 36,
|
6249
|
+
"character": 14
|
6135
6250
|
},
|
6136
|
-
"name": "
|
6251
|
+
"name": "file",
|
6137
6252
|
"type": {
|
6138
|
-
"__schema": "
|
6253
|
+
"__schema": "InferenceTypeSchema",
|
6139
6254
|
"location": {
|
6140
|
-
"filePath": "capsule/
|
6141
|
-
"line":
|
6142
|
-
"character":
|
6255
|
+
"filePath": "capsule/container.ts",
|
6256
|
+
"line": 36,
|
6257
|
+
"character": 14
|
6143
6258
|
},
|
6144
|
-
"
|
6259
|
+
"type": "any"
|
6145
6260
|
},
|
6146
6261
|
"isOptional": false,
|
6147
6262
|
"isSpread": false
|
@@ -6149,19 +6264,19 @@
|
|
6149
6264
|
{
|
6150
6265
|
"__schema": "ParameterSchema",
|
6151
6266
|
"location": {
|
6152
|
-
"filePath": "capsule/
|
6153
|
-
"line":
|
6154
|
-
"character":
|
6267
|
+
"filePath": "capsule/container.ts",
|
6268
|
+
"line": 36,
|
6269
|
+
"character": 20
|
6155
6270
|
},
|
6156
|
-
"name": "
|
6271
|
+
"name": "data",
|
6157
6272
|
"type": {
|
6158
|
-
"__schema": "
|
6273
|
+
"__schema": "InferenceTypeSchema",
|
6159
6274
|
"location": {
|
6160
|
-
"filePath": "capsule/
|
6161
|
-
"line":
|
6162
|
-
"character":
|
6275
|
+
"filePath": "capsule/container.ts",
|
6276
|
+
"line": 36,
|
6277
|
+
"character": 20
|
6163
6278
|
},
|
6164
|
-
"
|
6279
|
+
"type": "any"
|
6165
6280
|
},
|
6166
6281
|
"isOptional": false,
|
6167
6282
|
"isSpread": false
|
@@ -6169,19 +6284,19 @@
|
|
6169
6284
|
{
|
6170
6285
|
"__schema": "ParameterSchema",
|
6171
6286
|
"location": {
|
6172
|
-
"filePath": "capsule/
|
6173
|
-
"line":
|
6174
|
-
"character":
|
6287
|
+
"filePath": "capsule/container.ts",
|
6288
|
+
"line": 36,
|
6289
|
+
"character": 26
|
6175
6290
|
},
|
6176
|
-
"name": "
|
6291
|
+
"name": "options",
|
6177
6292
|
"type": {
|
6178
|
-
"__schema": "
|
6293
|
+
"__schema": "InferenceTypeSchema",
|
6179
6294
|
"location": {
|
6180
|
-
"filePath": "capsule/
|
6181
|
-
"line":
|
6182
|
-
"character":
|
6295
|
+
"filePath": "capsule/container.ts",
|
6296
|
+
"line": 36,
|
6297
|
+
"character": 26
|
6183
6298
|
},
|
6184
|
-
"
|
6299
|
+
"type": "any"
|
6185
6300
|
},
|
6186
6301
|
"isOptional": false,
|
6187
6302
|
"isSpread": false
|
@@ -6190,106 +6305,91 @@
|
|
6190
6305
|
"returnType": {
|
6191
6306
|
"__schema": "InferenceTypeSchema",
|
6192
6307
|
"location": {
|
6193
|
-
"filePath": "capsule/
|
6194
|
-
"line":
|
6308
|
+
"filePath": "capsule/container.ts",
|
6309
|
+
"line": 36,
|
6195
6310
|
"character": 3
|
6196
6311
|
},
|
6197
|
-
"type": "Promise<
|
6312
|
+
"type": "Promise<void>"
|
6198
6313
|
},
|
6199
|
-
"modifiers": [
|
6200
|
-
"async"
|
6201
|
-
]
|
6314
|
+
"modifiers": []
|
6202
6315
|
},
|
6203
6316
|
{
|
6204
6317
|
"__schema": "FunctionLikeSchema",
|
6205
6318
|
"location": {
|
6206
|
-
"filePath": "capsule/
|
6207
|
-
"line":
|
6319
|
+
"filePath": "capsule/container.ts",
|
6320
|
+
"line": 42,
|
6208
6321
|
"character": 3
|
6209
6322
|
},
|
6210
|
-
"signature": "(method)
|
6211
|
-
"name": "
|
6323
|
+
"signature": "(method) FsContainer.removePath(dir: string): Promise<any>",
|
6324
|
+
"name": "removePath",
|
6212
6325
|
"params": [
|
6213
6326
|
{
|
6214
6327
|
"__schema": "ParameterSchema",
|
6215
6328
|
"location": {
|
6216
|
-
"filePath": "capsule/
|
6217
|
-
"line":
|
6218
|
-
"character":
|
6329
|
+
"filePath": "capsule/container.ts",
|
6330
|
+
"line": 42,
|
6331
|
+
"character": 14
|
6219
6332
|
},
|
6220
|
-
"name": "
|
6333
|
+
"name": "dir",
|
6221
6334
|
"type": {
|
6222
|
-
"__schema": "
|
6335
|
+
"__schema": "KeywordTypeSchema",
|
6223
6336
|
"location": {
|
6224
|
-
"filePath": "capsule/
|
6225
|
-
"line":
|
6226
|
-
"character":
|
6337
|
+
"filePath": "capsule/container.ts",
|
6338
|
+
"line": 42,
|
6339
|
+
"character": 19
|
6227
6340
|
},
|
6228
|
-
"name": "
|
6229
|
-
"internalFilePath": "capsule/container.ts"
|
6341
|
+
"name": "string"
|
6230
6342
|
},
|
6231
6343
|
"isOptional": false,
|
6232
6344
|
"isSpread": false
|
6233
|
-
},
|
6234
|
-
{
|
6235
|
-
"__schema": "ParameterSchema",
|
6236
|
-
"location": {
|
6237
|
-
"filePath": "capsule/capsule.ts",
|
6238
|
-
"line": 63,
|
6239
|
-
"character": 40
|
6240
|
-
},
|
6241
|
-
"name": "exec",
|
6242
|
-
"type": {
|
6243
|
-
"__schema": "InferenceTypeSchema",
|
6244
|
-
"location": {
|
6245
|
-
"filePath": "capsule/capsule.ts",
|
6246
|
-
"line": 63,
|
6247
|
-
"character": 40
|
6248
|
-
},
|
6249
|
-
"type": "ContainerExec"
|
6250
|
-
},
|
6251
|
-
"isOptional": true,
|
6252
|
-
"defaultValue": "new ContainerExec()",
|
6253
|
-
"isSpread": false
|
6254
6345
|
}
|
6255
6346
|
],
|
6256
6347
|
"returnType": {
|
6257
|
-
"__schema": "
|
6348
|
+
"__schema": "TypeRefSchema",
|
6258
6349
|
"location": {
|
6259
|
-
"filePath": "capsule/
|
6260
|
-
"line":
|
6261
|
-
"character":
|
6350
|
+
"filePath": "capsule/container.ts",
|
6351
|
+
"line": 42,
|
6352
|
+
"character": 28
|
6262
6353
|
},
|
6263
|
-
"
|
6354
|
+
"name": "Promise",
|
6355
|
+
"typeArgs": [
|
6356
|
+
{
|
6357
|
+
"__schema": "KeywordTypeSchema",
|
6358
|
+
"location": {
|
6359
|
+
"filePath": "capsule/container.ts",
|
6360
|
+
"line": 42,
|
6361
|
+
"character": 36
|
6362
|
+
},
|
6363
|
+
"name": "any"
|
6364
|
+
}
|
6365
|
+
]
|
6264
6366
|
},
|
6265
|
-
"modifiers": [
|
6266
|
-
"async"
|
6267
|
-
]
|
6367
|
+
"modifiers": []
|
6268
6368
|
},
|
6269
6369
|
{
|
6270
6370
|
"__schema": "FunctionLikeSchema",
|
6271
6371
|
"location": {
|
6272
|
-
"filePath": "capsule/
|
6273
|
-
"line":
|
6372
|
+
"filePath": "capsule/container.ts",
|
6373
|
+
"line": 47,
|
6274
6374
|
"character": 3
|
6275
6375
|
},
|
6276
|
-
"signature": "(method)
|
6277
|
-
"name": "
|
6376
|
+
"signature": "(method) FsContainer.symlink(src: string, dest: string): Promise<any>",
|
6377
|
+
"name": "symlink",
|
6278
6378
|
"params": [
|
6279
6379
|
{
|
6280
6380
|
"__schema": "ParameterSchema",
|
6281
6381
|
"location": {
|
6282
|
-
"filePath": "capsule/
|
6283
|
-
"line":
|
6284
|
-
"character":
|
6382
|
+
"filePath": "capsule/container.ts",
|
6383
|
+
"line": 47,
|
6384
|
+
"character": 17
|
6285
6385
|
},
|
6286
|
-
"name": "
|
6386
|
+
"name": "src",
|
6287
6387
|
"type": {
|
6288
6388
|
"__schema": "KeywordTypeSchema",
|
6289
6389
|
"location": {
|
6290
|
-
"filePath": "capsule/
|
6291
|
-
"line":
|
6292
|
-
"character":
|
6390
|
+
"filePath": "capsule/container.ts",
|
6391
|
+
"line": 47,
|
6392
|
+
"character": 22
|
6293
6393
|
},
|
6294
6394
|
"name": "string"
|
6295
6395
|
},
|
@@ -6299,165 +6399,152 @@
|
|
6299
6399
|
{
|
6300
6400
|
"__schema": "ParameterSchema",
|
6301
6401
|
"location": {
|
6302
|
-
"filePath": "capsule/
|
6303
|
-
"line":
|
6304
|
-
"character":
|
6402
|
+
"filePath": "capsule/container.ts",
|
6403
|
+
"line": 47,
|
6404
|
+
"character": 30
|
6305
6405
|
},
|
6306
|
-
"name": "
|
6406
|
+
"name": "dest",
|
6307
6407
|
"type": {
|
6308
6408
|
"__schema": "KeywordTypeSchema",
|
6309
6409
|
"location": {
|
6310
|
-
"filePath": "capsule/
|
6311
|
-
"line":
|
6312
|
-
"character":
|
6410
|
+
"filePath": "capsule/container.ts",
|
6411
|
+
"line": 47,
|
6412
|
+
"character": 36
|
6313
6413
|
},
|
6314
|
-
"name": "
|
6414
|
+
"name": "string"
|
6315
6415
|
},
|
6316
6416
|
"isOptional": false,
|
6317
6417
|
"isSpread": false
|
6318
|
-
},
|
6319
|
-
{
|
6320
|
-
"__schema": "ParameterSchema",
|
6321
|
-
"location": {
|
6322
|
-
"filePath": "capsule/capsule.ts",
|
6323
|
-
"line": 67,
|
6324
|
-
"character": 39
|
6325
|
-
},
|
6326
|
-
"name": "options",
|
6327
|
-
"type": {
|
6328
|
-
"__schema": "KeywordTypeSchema",
|
6329
|
-
"location": {
|
6330
|
-
"filePath": "capsule/capsule.ts",
|
6331
|
-
"line": 67,
|
6332
|
-
"character": 49
|
6333
|
-
},
|
6334
|
-
"name": "any"
|
6335
|
-
},
|
6336
|
-
"isOptional": true,
|
6337
|
-
"isSpread": false
|
6338
6418
|
}
|
6339
6419
|
],
|
6340
6420
|
"returnType": {
|
6341
6421
|
"__schema": "TypeRefSchema",
|
6342
6422
|
"location": {
|
6343
|
-
"filePath": "capsule/
|
6344
|
-
"line":
|
6345
|
-
"character":
|
6423
|
+
"filePath": "capsule/container.ts",
|
6424
|
+
"line": 47,
|
6425
|
+
"character": 45
|
6346
6426
|
},
|
6347
6427
|
"name": "Promise",
|
6348
6428
|
"typeArgs": [
|
6349
6429
|
{
|
6350
6430
|
"__schema": "KeywordTypeSchema",
|
6351
6431
|
"location": {
|
6352
|
-
"filePath": "capsule/
|
6353
|
-
"line":
|
6354
|
-
"character":
|
6432
|
+
"filePath": "capsule/container.ts",
|
6433
|
+
"line": 47,
|
6434
|
+
"character": 53
|
6355
6435
|
},
|
6356
6436
|
"name": "any"
|
6357
6437
|
}
|
6358
6438
|
]
|
6359
6439
|
},
|
6360
|
-
"modifiers": [
|
6440
|
+
"modifiers": [
|
6441
|
+
"async"
|
6442
|
+
]
|
6361
6443
|
},
|
6362
6444
|
{
|
6363
6445
|
"__schema": "FunctionLikeSchema",
|
6364
6446
|
"location": {
|
6365
|
-
"filePath": "capsule/
|
6366
|
-
"line":
|
6447
|
+
"filePath": "capsule/container.ts",
|
6448
|
+
"line": 54,
|
6367
6449
|
"character": 3
|
6368
6450
|
},
|
6369
|
-
"signature": "(method)
|
6370
|
-
"name": "
|
6451
|
+
"signature": "(method) FsContainer.exec(execOptions: BitExecOption, exec?: ContainerExec): Promise<ContainerExec>",
|
6452
|
+
"name": "exec",
|
6371
6453
|
"params": [
|
6372
6454
|
{
|
6373
6455
|
"__schema": "ParameterSchema",
|
6374
6456
|
"location": {
|
6375
|
-
"filePath": "capsule/
|
6376
|
-
"line":
|
6457
|
+
"filePath": "capsule/container.ts",
|
6458
|
+
"line": 54,
|
6377
6459
|
"character": 14
|
6378
6460
|
},
|
6379
|
-
"name": "
|
6461
|
+
"name": "execOptions",
|
6380
6462
|
"type": {
|
6381
|
-
"__schema": "
|
6463
|
+
"__schema": "TypeRefSchema",
|
6382
6464
|
"location": {
|
6383
|
-
"filePath": "capsule/
|
6384
|
-
"line":
|
6385
|
-
"character":
|
6465
|
+
"filePath": "capsule/container.ts",
|
6466
|
+
"line": 54,
|
6467
|
+
"character": 27
|
6386
6468
|
},
|
6387
|
-
"name": "
|
6469
|
+
"name": "BitExecOption",
|
6470
|
+
"internalFilePath": "capsule/container.ts"
|
6388
6471
|
},
|
6389
6472
|
"isOptional": false,
|
6390
6473
|
"isSpread": false
|
6474
|
+
},
|
6475
|
+
{
|
6476
|
+
"__schema": "ParameterSchema",
|
6477
|
+
"location": {
|
6478
|
+
"filePath": "capsule/container.ts",
|
6479
|
+
"line": 54,
|
6480
|
+
"character": 42
|
6481
|
+
},
|
6482
|
+
"name": "exec",
|
6483
|
+
"type": {
|
6484
|
+
"__schema": "InferenceTypeSchema",
|
6485
|
+
"location": {
|
6486
|
+
"filePath": "capsule/container.ts",
|
6487
|
+
"line": 54,
|
6488
|
+
"character": 42
|
6489
|
+
},
|
6490
|
+
"type": "ContainerExec"
|
6491
|
+
},
|
6492
|
+
"isOptional": true,
|
6493
|
+
"defaultValue": "new ContainerExec()",
|
6494
|
+
"isSpread": false
|
6391
6495
|
}
|
6392
6496
|
],
|
6393
6497
|
"returnType": {
|
6394
6498
|
"__schema": "TypeRefSchema",
|
6395
6499
|
"location": {
|
6396
|
-
"filePath": "capsule/
|
6397
|
-
"line":
|
6398
|
-
"character":
|
6500
|
+
"filePath": "capsule/container.ts",
|
6501
|
+
"line": 54,
|
6502
|
+
"character": 71
|
6399
6503
|
},
|
6400
6504
|
"name": "Promise",
|
6401
6505
|
"typeArgs": [
|
6402
6506
|
{
|
6403
|
-
"__schema": "
|
6507
|
+
"__schema": "TypeRefSchema",
|
6404
6508
|
"location": {
|
6405
|
-
"filePath": "capsule/
|
6406
|
-
"line":
|
6407
|
-
"character":
|
6509
|
+
"filePath": "capsule/container.ts",
|
6510
|
+
"line": 54,
|
6511
|
+
"character": 79
|
6408
6512
|
},
|
6409
|
-
"name": "
|
6513
|
+
"name": "ContainerExec"
|
6410
6514
|
}
|
6411
6515
|
]
|
6412
6516
|
},
|
6413
|
-
"modifiers": [
|
6517
|
+
"modifiers": [
|
6518
|
+
"async"
|
6519
|
+
]
|
6414
6520
|
},
|
6415
6521
|
{
|
6416
6522
|
"__schema": "FunctionLikeSchema",
|
6417
6523
|
"location": {
|
6418
|
-
"filePath": "capsule/
|
6419
|
-
"line":
|
6524
|
+
"filePath": "capsule/container.ts",
|
6525
|
+
"line": 82,
|
6420
6526
|
"character": 3
|
6421
6527
|
},
|
6422
|
-
"signature": "(method)
|
6423
|
-
"name": "
|
6528
|
+
"signature": "(method) FsContainer.execP(execOptions: BitExecOption): Promise<string>",
|
6529
|
+
"name": "execP",
|
6424
6530
|
"params": [
|
6425
6531
|
{
|
6426
6532
|
"__schema": "ParameterSchema",
|
6427
6533
|
"location": {
|
6428
|
-
"filePath": "capsule/
|
6429
|
-
"line":
|
6430
|
-
"character":
|
6431
|
-
},
|
6432
|
-
"name": "src",
|
6433
|
-
"type": {
|
6434
|
-
"__schema": "KeywordTypeSchema",
|
6435
|
-
"location": {
|
6436
|
-
"filePath": "capsule/capsule.ts",
|
6437
|
-
"line": 75,
|
6438
|
-
"character": 16
|
6439
|
-
},
|
6440
|
-
"name": "string"
|
6441
|
-
},
|
6442
|
-
"isOptional": false,
|
6443
|
-
"isSpread": false
|
6444
|
-
},
|
6445
|
-
{
|
6446
|
-
"__schema": "ParameterSchema",
|
6447
|
-
"location": {
|
6448
|
-
"filePath": "capsule/capsule.ts",
|
6449
|
-
"line": 75,
|
6450
|
-
"character": 24
|
6534
|
+
"filePath": "capsule/container.ts",
|
6535
|
+
"line": 82,
|
6536
|
+
"character": 15
|
6451
6537
|
},
|
6452
|
-
"name": "
|
6538
|
+
"name": "execOptions",
|
6453
6539
|
"type": {
|
6454
|
-
"__schema": "
|
6540
|
+
"__schema": "TypeRefSchema",
|
6455
6541
|
"location": {
|
6456
|
-
"filePath": "capsule/
|
6457
|
-
"line":
|
6458
|
-
"character":
|
6542
|
+
"filePath": "capsule/container.ts",
|
6543
|
+
"line": 82,
|
6544
|
+
"character": 28
|
6459
6545
|
},
|
6460
|
-
"name": "
|
6546
|
+
"name": "BitExecOption",
|
6547
|
+
"internalFilePath": "capsule/container.ts"
|
6461
6548
|
},
|
6462
6549
|
"isOptional": false,
|
6463
6550
|
"isSpread": false
|
@@ -6466,133 +6553,23 @@
|
|
6466
6553
|
"returnType": {
|
6467
6554
|
"__schema": "TypeRefSchema",
|
6468
6555
|
"location": {
|
6469
|
-
"filePath": "capsule/
|
6470
|
-
"line":
|
6471
|
-
"character":
|
6556
|
+
"filePath": "capsule/container.ts",
|
6557
|
+
"line": 82,
|
6558
|
+
"character": 44
|
6472
6559
|
},
|
6473
6560
|
"name": "Promise",
|
6474
6561
|
"typeArgs": [
|
6475
6562
|
{
|
6476
6563
|
"__schema": "KeywordTypeSchema",
|
6477
6564
|
"location": {
|
6478
|
-
"filePath": "capsule/
|
6479
|
-
"line":
|
6480
|
-
"character":
|
6565
|
+
"filePath": "capsule/container.ts",
|
6566
|
+
"line": 82,
|
6567
|
+
"character": 52
|
6481
6568
|
},
|
6482
|
-
"name": "
|
6569
|
+
"name": "string"
|
6483
6570
|
}
|
6484
6571
|
]
|
6485
6572
|
},
|
6486
|
-
"modifiers": []
|
6487
|
-
},
|
6488
|
-
{
|
6489
|
-
"__schema": "FunctionLikeSchema",
|
6490
|
-
"location": {
|
6491
|
-
"filePath": "capsule/capsule.ts",
|
6492
|
-
"line": 80,
|
6493
|
-
"character": 3
|
6494
|
-
},
|
6495
|
-
"signature": "(method) Capsule.execute(cmd: string, options?: Record<string, any> | null | undefined): Promise<unknown>",
|
6496
|
-
"name": "execute",
|
6497
|
-
"params": [
|
6498
|
-
{
|
6499
|
-
"__schema": "ParameterSchema",
|
6500
|
-
"location": {
|
6501
|
-
"filePath": "capsule/capsule.ts",
|
6502
|
-
"line": 80,
|
6503
|
-
"character": 17
|
6504
|
-
},
|
6505
|
-
"name": "cmd",
|
6506
|
-
"type": {
|
6507
|
-
"__schema": "KeywordTypeSchema",
|
6508
|
-
"location": {
|
6509
|
-
"filePath": "capsule/capsule.ts",
|
6510
|
-
"line": 80,
|
6511
|
-
"character": 22
|
6512
|
-
},
|
6513
|
-
"name": "string"
|
6514
|
-
},
|
6515
|
-
"isOptional": false,
|
6516
|
-
"isSpread": false
|
6517
|
-
},
|
6518
|
-
{
|
6519
|
-
"__schema": "ParameterSchema",
|
6520
|
-
"location": {
|
6521
|
-
"filePath": "capsule/capsule.ts",
|
6522
|
-
"line": 80,
|
6523
|
-
"character": 30
|
6524
|
-
},
|
6525
|
-
"name": "options",
|
6526
|
-
"type": {
|
6527
|
-
"__schema": "TypeUnionSchema",
|
6528
|
-
"location": {
|
6529
|
-
"filePath": "capsule/capsule.ts",
|
6530
|
-
"line": 80,
|
6531
|
-
"character": 40
|
6532
|
-
},
|
6533
|
-
"types": [
|
6534
|
-
{
|
6535
|
-
"__schema": "TypeRefSchema",
|
6536
|
-
"location": {
|
6537
|
-
"filePath": "capsule/capsule.ts",
|
6538
|
-
"line": 80,
|
6539
|
-
"character": 40
|
6540
|
-
},
|
6541
|
-
"name": "Record",
|
6542
|
-
"typeArgs": [
|
6543
|
-
{
|
6544
|
-
"__schema": "KeywordTypeSchema",
|
6545
|
-
"location": {
|
6546
|
-
"filePath": "capsule/capsule.ts",
|
6547
|
-
"line": 80,
|
6548
|
-
"character": 47
|
6549
|
-
},
|
6550
|
-
"name": "string"
|
6551
|
-
},
|
6552
|
-
{
|
6553
|
-
"__schema": "KeywordTypeSchema",
|
6554
|
-
"location": {
|
6555
|
-
"filePath": "capsule/capsule.ts",
|
6556
|
-
"line": 80,
|
6557
|
-
"character": 55
|
6558
|
-
},
|
6559
|
-
"name": "any"
|
6560
|
-
}
|
6561
|
-
]
|
6562
|
-
},
|
6563
|
-
{
|
6564
|
-
"__schema": "LiteralTypeSchema",
|
6565
|
-
"location": {
|
6566
|
-
"filePath": "capsule/capsule.ts",
|
6567
|
-
"line": 80,
|
6568
|
-
"character": 62
|
6569
|
-
},
|
6570
|
-
"name": "null"
|
6571
|
-
},
|
6572
|
-
{
|
6573
|
-
"__schema": "KeywordTypeSchema",
|
6574
|
-
"location": {
|
6575
|
-
"filePath": "capsule/capsule.ts",
|
6576
|
-
"line": 80,
|
6577
|
-
"character": 69
|
6578
|
-
},
|
6579
|
-
"name": "undefined"
|
6580
|
-
}
|
6581
|
-
]
|
6582
|
-
},
|
6583
|
-
"isOptional": true,
|
6584
|
-
"isSpread": false
|
6585
|
-
}
|
6586
|
-
],
|
6587
|
-
"returnType": {
|
6588
|
-
"__schema": "InferenceTypeSchema",
|
6589
|
-
"location": {
|
6590
|
-
"filePath": "capsule/capsule.ts",
|
6591
|
-
"line": 80,
|
6592
|
-
"character": 3
|
6593
|
-
},
|
6594
|
-
"type": "Promise<unknown>"
|
6595
|
-
},
|
6596
6573
|
"modifiers": [
|
6597
6574
|
"async"
|
6598
6575
|
]
|
@@ -6600,830 +6577,616 @@
|
|
6600
6577
|
{
|
6601
6578
|
"__schema": "FunctionLikeSchema",
|
6602
6579
|
"location": {
|
6603
|
-
"filePath": "capsule/
|
6604
|
-
"line":
|
6605
|
-
"character": 3
|
6606
|
-
},
|
6607
|
-
"
|
6608
|
-
|
6609
|
-
|
6610
|
-
"filePath": "capsule/capsule.ts",
|
6611
|
-
"line": 105,
|
6612
|
-
"character": 3
|
6613
|
-
},
|
6614
|
-
"raw": "/**\n * @todo: fix.\n * it skips the capsule fs because for some reason `capsule.fs.promises.readdir` doesn't work\n * the same as `capsule.fs.readdir` and it doesn't have the capsule dir as pwd.\n *\n * returns the paths inside the capsule\n */",
|
6615
|
-
"comment": "",
|
6616
|
-
"tags": [
|
6617
|
-
{
|
6618
|
-
"__schema": "TagSchema",
|
6619
|
-
"location": {
|
6620
|
-
"filePath": "capsule/capsule.ts",
|
6621
|
-
"line": 106,
|
6622
|
-
"character": 6
|
6623
|
-
},
|
6624
|
-
"tagName": "todo",
|
6625
|
-
"comment": ": fix.\nit skips the capsule fs because for some reason `capsule.fs.promises.readdir` doesn't work\nthe same as `capsule.fs.readdir` and it doesn't have the capsule dir as pwd.\n\nreturns the paths inside the capsule"
|
6626
|
-
}
|
6627
|
-
]
|
6628
|
-
},
|
6629
|
-
"signature": "(method) Capsule.getAllFilesPaths(dir?: string, options?: {\n ignore?: string[];\n}): any",
|
6630
|
-
"name": "getAllFilesPaths",
|
6631
|
-
"params": [
|
6632
|
-
{
|
6633
|
-
"__schema": "ParameterSchema",
|
6634
|
-
"location": {
|
6635
|
-
"filePath": "capsule/capsule.ts",
|
6636
|
-
"line": 112,
|
6637
|
-
"character": 20
|
6638
|
-
},
|
6639
|
-
"name": "dir",
|
6640
|
-
"type": {
|
6641
|
-
"__schema": "InferenceTypeSchema",
|
6642
|
-
"location": {
|
6643
|
-
"filePath": "capsule/capsule.ts",
|
6644
|
-
"line": 112,
|
6645
|
-
"character": 20
|
6646
|
-
},
|
6647
|
-
"type": "string"
|
6648
|
-
},
|
6649
|
-
"isOptional": true,
|
6650
|
-
"defaultValue": "'.'",
|
6651
|
-
"isSpread": false
|
6652
|
-
},
|
6653
|
-
{
|
6654
|
-
"__schema": "ParameterSchema",
|
6655
|
-
"location": {
|
6656
|
-
"filePath": "capsule/capsule.ts",
|
6657
|
-
"line": 112,
|
6658
|
-
"character": 31
|
6659
|
-
},
|
6660
|
-
"name": "options",
|
6661
|
-
"type": {
|
6662
|
-
"__schema": "TypeLiteralSchema",
|
6663
|
-
"location": {
|
6664
|
-
"filePath": "capsule/capsule.ts",
|
6665
|
-
"line": 112,
|
6666
|
-
"character": 40
|
6667
|
-
},
|
6668
|
-
"members": [
|
6669
|
-
{
|
6670
|
-
"__schema": "VariableLikeSchema",
|
6671
|
-
"location": {
|
6672
|
-
"filePath": "capsule/capsule.ts",
|
6673
|
-
"line": 112,
|
6674
|
-
"character": 42
|
6675
|
-
},
|
6676
|
-
"signature": "(property) ignore?: string[] | undefined",
|
6677
|
-
"name": "ignore",
|
6678
|
-
"type": {
|
6679
|
-
"__schema": "TypeArraySchema",
|
6680
|
-
"location": {
|
6681
|
-
"filePath": "capsule/capsule.ts",
|
6682
|
-
"line": 112,
|
6683
|
-
"character": 51
|
6684
|
-
},
|
6685
|
-
"type": {
|
6686
|
-
"__schema": "KeywordTypeSchema",
|
6687
|
-
"location": {
|
6688
|
-
"filePath": "capsule/capsule.ts",
|
6689
|
-
"line": 112,
|
6690
|
-
"character": 51
|
6691
|
-
},
|
6692
|
-
"name": "string"
|
6693
|
-
}
|
6694
|
-
},
|
6695
|
-
"isOptional": true
|
6696
|
-
}
|
6697
|
-
]
|
6698
|
-
},
|
6699
|
-
"isOptional": true,
|
6700
|
-
"defaultValue": "{}",
|
6701
|
-
"isSpread": false
|
6702
|
-
}
|
6703
|
-
],
|
6704
|
-
"returnType": {
|
6705
|
-
"__schema": "InferenceTypeSchema",
|
6706
|
-
"location": {
|
6707
|
-
"filePath": "capsule/capsule.ts",
|
6708
|
-
"line": 112,
|
6709
|
-
"character": 3
|
6710
|
-
},
|
6711
|
-
"type": "any"
|
6712
|
-
},
|
6713
|
-
"modifiers": []
|
6714
|
-
},
|
6715
|
-
{
|
6716
|
-
"__schema": "FunctionLikeSchema",
|
6717
|
-
"location": {
|
6718
|
-
"filePath": "capsule/capsule.ts",
|
6719
|
-
"line": 117,
|
6720
|
-
"character": 3
|
6721
|
-
},
|
6722
|
-
"signature": "(method) Capsule.getCapsuleDirName(component: Component, config?: {\n alwaysNew?: boolean;\n name?: string;\n}): string",
|
6723
|
-
"name": "getCapsuleDirName",
|
6724
|
-
"params": [
|
6725
|
-
{
|
6726
|
-
"__schema": "ParameterSchema",
|
6727
|
-
"location": {
|
6728
|
-
"filePath": "capsule/capsule.ts",
|
6729
|
-
"line": 117,
|
6730
|
-
"character": 28
|
6731
|
-
},
|
6732
|
-
"name": "component",
|
6733
|
-
"type": {
|
6734
|
-
"__schema": "TypeRefSchema",
|
6735
|
-
"location": {
|
6736
|
-
"filePath": "capsule/capsule.ts",
|
6737
|
-
"line": 117,
|
6738
|
-
"character": 39
|
6739
|
-
},
|
6740
|
-
"name": "Component",
|
6741
|
-
"componentId": {
|
6742
|
-
"scope": "teambit.component",
|
6743
|
-
"name": "component"
|
6744
|
-
}
|
6745
|
-
},
|
6746
|
-
"isOptional": false,
|
6747
|
-
"isSpread": false
|
6748
|
-
},
|
6749
|
-
{
|
6750
|
-
"__schema": "ParameterSchema",
|
6751
|
-
"location": {
|
6752
|
-
"filePath": "capsule/capsule.ts",
|
6753
|
-
"line": 117,
|
6754
|
-
"character": 50
|
6755
|
-
},
|
6756
|
-
"name": "config",
|
6757
|
-
"type": {
|
6758
|
-
"__schema": "TypeLiteralSchema",
|
6759
|
-
"location": {
|
6760
|
-
"filePath": "capsule/capsule.ts",
|
6761
|
-
"line": 117,
|
6762
|
-
"character": 58
|
6763
|
-
},
|
6764
|
-
"members": [
|
6765
|
-
{
|
6766
|
-
"__schema": "VariableLikeSchema",
|
6767
|
-
"location": {
|
6768
|
-
"filePath": "capsule/capsule.ts",
|
6769
|
-
"line": 117,
|
6770
|
-
"character": 60
|
6771
|
-
},
|
6772
|
-
"signature": "(property) alwaysNew?: boolean | undefined",
|
6773
|
-
"name": "alwaysNew",
|
6774
|
-
"type": {
|
6775
|
-
"__schema": "KeywordTypeSchema",
|
6776
|
-
"location": {
|
6777
|
-
"filePath": "capsule/capsule.ts",
|
6778
|
-
"line": 117,
|
6779
|
-
"character": 72
|
6780
|
-
},
|
6781
|
-
"name": "boolean"
|
6782
|
-
},
|
6783
|
-
"isOptional": true
|
6784
|
-
},
|
6785
|
-
{
|
6786
|
-
"__schema": "VariableLikeSchema",
|
6787
|
-
"location": {
|
6788
|
-
"filePath": "capsule/capsule.ts",
|
6789
|
-
"line": 117,
|
6790
|
-
"character": 81
|
6791
|
-
},
|
6792
|
-
"signature": "(property) name?: string | undefined",
|
6793
|
-
"name": "name",
|
6794
|
-
"type": {
|
6795
|
-
"__schema": "KeywordTypeSchema",
|
6796
|
-
"location": {
|
6797
|
-
"filePath": "capsule/capsule.ts",
|
6798
|
-
"line": 117,
|
6799
|
-
"character": 88
|
6800
|
-
},
|
6801
|
-
"name": "string"
|
6802
|
-
},
|
6803
|
-
"isOptional": true
|
6804
|
-
}
|
6805
|
-
]
|
6806
|
-
},
|
6807
|
-
"isOptional": true,
|
6808
|
-
"defaultValue": "{}",
|
6809
|
-
"isSpread": false
|
6810
|
-
}
|
6811
|
-
],
|
6812
|
-
"returnType": {
|
6813
|
-
"__schema": "InferenceTypeSchema",
|
6814
|
-
"location": {
|
6815
|
-
"filePath": "capsule/capsule.ts",
|
6816
|
-
"line": 117,
|
6817
|
-
"character": 3
|
6818
|
-
},
|
6819
|
-
"type": "string"
|
6820
|
-
},
|
6821
|
-
"modifiers": [
|
6822
|
-
"static"
|
6823
|
-
]
|
6824
|
-
},
|
6825
|
-
{
|
6826
|
-
"__schema": "FunctionLikeSchema",
|
6827
|
-
"location": {
|
6828
|
-
"filePath": "capsule/capsule.ts",
|
6829
|
-
"line": 121,
|
6830
|
-
"character": 3
|
6831
|
-
},
|
6832
|
-
"signature": "(method) Capsule.getCapsuleRootDir(component: Component, baseDir: string, config?: {\n alwaysNew?: boolean;\n name?: string;\n}): string",
|
6833
|
-
"name": "getCapsuleRootDir",
|
6834
|
-
"params": [
|
6835
|
-
{
|
6836
|
-
"__schema": "ParameterSchema",
|
6837
|
-
"location": {
|
6838
|
-
"filePath": "capsule/capsule.ts",
|
6839
|
-
"line": 121,
|
6840
|
-
"character": 28
|
6841
|
-
},
|
6842
|
-
"name": "component",
|
6843
|
-
"type": {
|
6844
|
-
"__schema": "TypeRefSchema",
|
6845
|
-
"location": {
|
6846
|
-
"filePath": "capsule/capsule.ts",
|
6847
|
-
"line": 121,
|
6848
|
-
"character": 39
|
6849
|
-
},
|
6850
|
-
"name": "Component",
|
6851
|
-
"componentId": {
|
6852
|
-
"scope": "teambit.component",
|
6853
|
-
"name": "component"
|
6854
|
-
}
|
6855
|
-
},
|
6856
|
-
"isOptional": false,
|
6857
|
-
"isSpread": false
|
6858
|
-
},
|
6859
|
-
{
|
6860
|
-
"__schema": "ParameterSchema",
|
6861
|
-
"location": {
|
6862
|
-
"filePath": "capsule/capsule.ts",
|
6863
|
-
"line": 121,
|
6864
|
-
"character": 50
|
6865
|
-
},
|
6866
|
-
"name": "baseDir",
|
6867
|
-
"type": {
|
6868
|
-
"__schema": "KeywordTypeSchema",
|
6869
|
-
"location": {
|
6870
|
-
"filePath": "capsule/capsule.ts",
|
6871
|
-
"line": 121,
|
6872
|
-
"character": 59
|
6873
|
-
},
|
6874
|
-
"name": "string"
|
6875
|
-
},
|
6876
|
-
"isOptional": false,
|
6877
|
-
"isSpread": false
|
6878
|
-
},
|
6879
|
-
{
|
6880
|
-
"__schema": "ParameterSchema",
|
6881
|
-
"location": {
|
6882
|
-
"filePath": "capsule/capsule.ts",
|
6883
|
-
"line": 121,
|
6884
|
-
"character": 67
|
6885
|
-
},
|
6886
|
-
"name": "config",
|
6887
|
-
"type": {
|
6888
|
-
"__schema": "TypeLiteralSchema",
|
6889
|
-
"location": {
|
6890
|
-
"filePath": "capsule/capsule.ts",
|
6891
|
-
"line": 121,
|
6892
|
-
"character": 75
|
6893
|
-
},
|
6894
|
-
"members": [
|
6895
|
-
{
|
6896
|
-
"__schema": "VariableLikeSchema",
|
6897
|
-
"location": {
|
6898
|
-
"filePath": "capsule/capsule.ts",
|
6899
|
-
"line": 121,
|
6900
|
-
"character": 77
|
6901
|
-
},
|
6902
|
-
"signature": "(property) alwaysNew?: boolean | undefined",
|
6903
|
-
"name": "alwaysNew",
|
6904
|
-
"type": {
|
6905
|
-
"__schema": "KeywordTypeSchema",
|
6906
|
-
"location": {
|
6907
|
-
"filePath": "capsule/capsule.ts",
|
6908
|
-
"line": 121,
|
6909
|
-
"character": 89
|
6910
|
-
},
|
6911
|
-
"name": "boolean"
|
6912
|
-
},
|
6913
|
-
"isOptional": true
|
6914
|
-
},
|
6915
|
-
{
|
6916
|
-
"__schema": "VariableLikeSchema",
|
6917
|
-
"location": {
|
6918
|
-
"filePath": "capsule/capsule.ts",
|
6919
|
-
"line": 121,
|
6920
|
-
"character": 98
|
6921
|
-
},
|
6922
|
-
"signature": "(property) name?: string | undefined",
|
6923
|
-
"name": "name",
|
6924
|
-
"type": {
|
6925
|
-
"__schema": "KeywordTypeSchema",
|
6926
|
-
"location": {
|
6927
|
-
"filePath": "capsule/capsule.ts",
|
6928
|
-
"line": 121,
|
6929
|
-
"character": 105
|
6930
|
-
},
|
6931
|
-
"name": "string"
|
6932
|
-
},
|
6933
|
-
"isOptional": true
|
6934
|
-
}
|
6935
|
-
]
|
6936
|
-
},
|
6937
|
-
"isOptional": true,
|
6938
|
-
"defaultValue": "{}",
|
6939
|
-
"isSpread": false
|
6940
|
-
}
|
6941
|
-
],
|
6580
|
+
"filePath": "capsule/container.ts",
|
6581
|
+
"line": 96,
|
6582
|
+
"character": 3
|
6583
|
+
},
|
6584
|
+
"signature": "(method) FsContainer.terminal(): Promise<execa.ExecaReturnValue<string>>",
|
6585
|
+
"name": "terminal",
|
6586
|
+
"params": [],
|
6942
6587
|
"returnType": {
|
6943
6588
|
"__schema": "InferenceTypeSchema",
|
6944
6589
|
"location": {
|
6945
|
-
"filePath": "capsule/
|
6946
|
-
"line":
|
6590
|
+
"filePath": "capsule/container.ts",
|
6591
|
+
"line": 96,
|
6947
6592
|
"character": 3
|
6948
6593
|
},
|
6949
|
-
"type": "string"
|
6594
|
+
"type": "Promise<execa.ExecaReturnValue<string>>"
|
6950
6595
|
},
|
6951
6596
|
"modifiers": [
|
6952
|
-
"
|
6597
|
+
"async"
|
6953
6598
|
]
|
6954
6599
|
},
|
6955
6600
|
{
|
6956
6601
|
"__schema": "FunctionLikeSchema",
|
6957
6602
|
"location": {
|
6958
|
-
"filePath": "capsule/
|
6959
|
-
"line":
|
6603
|
+
"filePath": "capsule/container.ts",
|
6604
|
+
"line": 101,
|
6960
6605
|
"character": 3
|
6961
6606
|
},
|
6962
|
-
"signature": "(method)
|
6963
|
-
"name": "
|
6964
|
-
"params": [
|
6965
|
-
|
6966
|
-
|
6967
|
-
|
6968
|
-
|
6969
|
-
|
6970
|
-
|
6971
|
-
},
|
6972
|
-
"name": "component",
|
6973
|
-
"type": {
|
6974
|
-
"__schema": "TypeRefSchema",
|
6975
|
-
"location": {
|
6976
|
-
"filePath": "capsule/capsule.ts",
|
6977
|
-
"line": 126,
|
6978
|
-
"character": 16
|
6979
|
-
},
|
6980
|
-
"name": "Component",
|
6981
|
-
"componentId": {
|
6982
|
-
"scope": "teambit.component",
|
6983
|
-
"name": "component"
|
6984
|
-
}
|
6985
|
-
},
|
6986
|
-
"isOptional": false,
|
6987
|
-
"isSpread": false
|
6607
|
+
"signature": "(method) FsContainer.start(): Promise<void>",
|
6608
|
+
"name": "start",
|
6609
|
+
"params": [],
|
6610
|
+
"returnType": {
|
6611
|
+
"__schema": "TypeRefSchema",
|
6612
|
+
"location": {
|
6613
|
+
"filePath": "capsule/container.ts",
|
6614
|
+
"line": 101,
|
6615
|
+
"character": 12
|
6988
6616
|
},
|
6989
|
-
|
6990
|
-
|
6991
|
-
|
6992
|
-
"filePath": "capsule/capsule.ts",
|
6993
|
-
"line": 127,
|
6994
|
-
"character": 5
|
6995
|
-
},
|
6996
|
-
"name": "baseDir",
|
6997
|
-
"type": {
|
6617
|
+
"name": "Promise",
|
6618
|
+
"typeArgs": [
|
6619
|
+
{
|
6998
6620
|
"__schema": "KeywordTypeSchema",
|
6999
6621
|
"location": {
|
7000
|
-
"filePath": "capsule/
|
7001
|
-
"line":
|
7002
|
-
"character":
|
7003
|
-
},
|
7004
|
-
"name": "string"
|
7005
|
-
},
|
7006
|
-
"isOptional": false,
|
7007
|
-
"isSpread": false
|
7008
|
-
},
|
7009
|
-
{
|
7010
|
-
"__schema": "ParameterSchema",
|
7011
|
-
"location": {
|
7012
|
-
"filePath": "capsule/capsule.ts",
|
7013
|
-
"line": 128,
|
7014
|
-
"character": 5
|
7015
|
-
},
|
7016
|
-
"name": "config",
|
7017
|
-
"type": {
|
7018
|
-
"__schema": "TypeLiteralSchema",
|
7019
|
-
"location": {
|
7020
|
-
"filePath": "capsule/capsule.ts",
|
7021
|
-
"line": 128,
|
7022
|
-
"character": 13
|
6622
|
+
"filePath": "capsule/container.ts",
|
6623
|
+
"line": 101,
|
6624
|
+
"character": 20
|
7023
6625
|
},
|
7024
|
-
"
|
7025
|
-
|
7026
|
-
|
7027
|
-
|
7028
|
-
|
7029
|
-
|
7030
|
-
|
7031
|
-
|
7032
|
-
|
7033
|
-
|
7034
|
-
|
7035
|
-
|
7036
|
-
|
7037
|
-
|
7038
|
-
|
7039
|
-
|
7040
|
-
},
|
7041
|
-
"name": "boolean"
|
7042
|
-
},
|
7043
|
-
"isOptional": true
|
7044
|
-
}
|
7045
|
-
]
|
7046
|
-
},
|
7047
|
-
"isOptional": true,
|
7048
|
-
"defaultValue": "{}",
|
7049
|
-
"isSpread": false
|
7050
|
-
}
|
7051
|
-
],
|
6626
|
+
"name": "void"
|
6627
|
+
}
|
6628
|
+
]
|
6629
|
+
},
|
6630
|
+
"modifiers": []
|
6631
|
+
},
|
6632
|
+
{
|
6633
|
+
"__schema": "FunctionLikeSchema",
|
6634
|
+
"location": {
|
6635
|
+
"filePath": "capsule/container.ts",
|
6636
|
+
"line": 105,
|
6637
|
+
"character": 3
|
6638
|
+
},
|
6639
|
+
"signature": "(method) FsContainer.inspect(): Promise<ContainerStatus>",
|
6640
|
+
"name": "inspect",
|
6641
|
+
"params": [],
|
7052
6642
|
"returnType": {
|
7053
6643
|
"__schema": "TypeRefSchema",
|
7054
6644
|
"location": {
|
7055
|
-
"filePath": "capsule/
|
7056
|
-
"line":
|
7057
|
-
"character":
|
6645
|
+
"filePath": "capsule/container.ts",
|
6646
|
+
"line": 105,
|
6647
|
+
"character": 20
|
7058
6648
|
},
|
7059
6649
|
"name": "Promise",
|
7060
6650
|
"typeArgs": [
|
7061
6651
|
{
|
7062
6652
|
"__schema": "TypeRefSchema",
|
7063
6653
|
"location": {
|
7064
|
-
"filePath": "capsule/
|
7065
|
-
"line":
|
7066
|
-
"character":
|
6654
|
+
"filePath": "capsule/container.ts",
|
6655
|
+
"line": 105,
|
6656
|
+
"character": 28
|
7067
6657
|
},
|
7068
|
-
"name": "
|
6658
|
+
"name": "ContainerStatus",
|
6659
|
+
"packageName": "@teambit/capsule"
|
7069
6660
|
}
|
7070
6661
|
]
|
7071
6662
|
},
|
7072
6663
|
"modifiers": [
|
7073
|
-
"static",
|
7074
6664
|
"async"
|
7075
6665
|
]
|
7076
|
-
}
|
7077
|
-
],
|
7078
|
-
"extendsNodes": [
|
7079
|
-
{
|
7080
|
-
"__schema": "ExpressionWithTypeArgumentsSchema",
|
7081
|
-
"location": {
|
7082
|
-
"filePath": "capsule/capsule.ts",
|
7083
|
-
"line": 13,
|
7084
|
-
"character": 38
|
7085
|
-
},
|
7086
|
-
"name": "extends CapsuleTemplate<Exec, NodeFS>",
|
7087
|
-
"typeArgs": [
|
7088
|
-
{
|
7089
|
-
"__schema": "TypeRefSchema",
|
7090
|
-
"location": {
|
7091
|
-
"filePath": "capsule/capsule.ts",
|
7092
|
-
"line": 13,
|
7093
|
-
"character": 54
|
7094
|
-
},
|
7095
|
-
"name": "Exec",
|
7096
|
-
"packageName": "@teambit/capsule"
|
7097
|
-
},
|
7098
|
-
{
|
7099
|
-
"__schema": "TypeRefSchema",
|
7100
|
-
"location": {
|
7101
|
-
"filePath": "capsule/capsule.ts",
|
7102
|
-
"line": 13,
|
7103
|
-
"character": 60
|
7104
|
-
},
|
7105
|
-
"name": "NodeFS",
|
7106
|
-
"packageName": "@teambit/any-fs"
|
7107
|
-
}
|
7108
|
-
],
|
7109
|
-
"expression": {
|
7110
|
-
"__schema": "TypeRefSchema",
|
7111
|
-
"location": {
|
7112
|
-
"filePath": "capsule/capsule.ts",
|
7113
|
-
"line": 13,
|
7114
|
-
"character": 38
|
7115
|
-
},
|
7116
|
-
"name": "CapsuleTemplate<T",
|
7117
|
-
"componentId": {
|
7118
|
-
"_legacy": {
|
7119
|
-
"scope": "teambit.component",
|
7120
|
-
"name": "isolator",
|
7121
|
-
"version": "1.0.313"
|
7122
|
-
},
|
7123
|
-
"_scope": "teambit.component"
|
7124
|
-
}
|
7125
|
-
}
|
7126
|
-
}
|
7127
|
-
],
|
7128
|
-
"implementNodes": []
|
7129
|
-
}
|
7130
|
-
],
|
7131
|
-
"internals": []
|
7132
|
-
},
|
7133
|
-
{
|
7134
|
-
"__schema": "ModuleSchema",
|
7135
|
-
"location": {
|
7136
|
-
"filePath": "capsule/container.ts",
|
7137
|
-
"line": 1,
|
7138
|
-
"character": 1
|
7139
|
-
},
|
7140
|
-
"exports": [
|
7141
|
-
{
|
7142
|
-
"__schema": "InterfaceSchema",
|
7143
|
-
"location": {
|
7144
|
-
"filePath": "capsule/container.ts",
|
7145
|
-
"line": 12,
|
7146
|
-
"character": 1
|
7147
|
-
},
|
7148
|
-
"signature": "interface BitExecOption",
|
7149
|
-
"name": "BitExecOption",
|
7150
|
-
"members": [
|
6666
|
+
},
|
7151
6667
|
{
|
7152
|
-
"__schema": "
|
6668
|
+
"__schema": "FunctionLikeSchema",
|
7153
6669
|
"location": {
|
7154
6670
|
"filePath": "capsule/container.ts",
|
7155
|
-
"line":
|
6671
|
+
"line": 108,
|
7156
6672
|
"character": 3
|
7157
6673
|
},
|
7158
|
-
"signature": "(
|
7159
|
-
"name": "
|
7160
|
-
"
|
7161
|
-
|
6674
|
+
"signature": "(method) FsContainer.pause(): Promise<void>",
|
6675
|
+
"name": "pause",
|
6676
|
+
"params": [],
|
6677
|
+
"returnType": {
|
6678
|
+
"__schema": "TypeRefSchema",
|
7162
6679
|
"location": {
|
7163
6680
|
"filePath": "capsule/container.ts",
|
7164
|
-
"line":
|
7165
|
-
"character":
|
6681
|
+
"line": 108,
|
6682
|
+
"character": 18
|
7166
6683
|
},
|
7167
|
-
"name": "
|
6684
|
+
"name": "Promise",
|
6685
|
+
"typeArgs": [
|
6686
|
+
{
|
6687
|
+
"__schema": "KeywordTypeSchema",
|
6688
|
+
"location": {
|
6689
|
+
"filePath": "capsule/container.ts",
|
6690
|
+
"line": 108,
|
6691
|
+
"character": 26
|
6692
|
+
},
|
6693
|
+
"name": "void"
|
6694
|
+
}
|
6695
|
+
]
|
7168
6696
|
},
|
7169
|
-
"
|
6697
|
+
"modifiers": [
|
6698
|
+
"async"
|
6699
|
+
]
|
7170
6700
|
},
|
7171
6701
|
{
|
7172
|
-
"__schema": "
|
6702
|
+
"__schema": "FunctionLikeSchema",
|
7173
6703
|
"location": {
|
7174
6704
|
"filePath": "capsule/container.ts",
|
7175
|
-
"line":
|
6705
|
+
"line": 111,
|
7176
6706
|
"character": 3
|
7177
6707
|
},
|
7178
|
-
"signature": "(
|
7179
|
-
"name": "
|
7180
|
-
"
|
7181
|
-
|
6708
|
+
"signature": "(method) FsContainer.resume(): Promise<void>",
|
6709
|
+
"name": "resume",
|
6710
|
+
"params": [],
|
6711
|
+
"returnType": {
|
6712
|
+
"__schema": "TypeRefSchema",
|
7182
6713
|
"location": {
|
7183
6714
|
"filePath": "capsule/container.ts",
|
7184
|
-
"line":
|
7185
|
-
"character":
|
6715
|
+
"line": 111,
|
6716
|
+
"character": 19
|
7186
6717
|
},
|
7187
|
-
"
|
6718
|
+
"name": "Promise",
|
6719
|
+
"typeArgs": [
|
7188
6720
|
{
|
7189
|
-
"__schema": "
|
6721
|
+
"__schema": "KeywordTypeSchema",
|
7190
6722
|
"location": {
|
7191
6723
|
"filePath": "capsule/container.ts",
|
7192
|
-
"line":
|
7193
|
-
"character":
|
6724
|
+
"line": 111,
|
6725
|
+
"character": 27
|
7194
6726
|
},
|
7195
|
-
"name": "
|
6727
|
+
"name": "void"
|
6728
|
+
}
|
6729
|
+
]
|
6730
|
+
},
|
6731
|
+
"modifiers": [
|
6732
|
+
"async"
|
6733
|
+
]
|
6734
|
+
},
|
6735
|
+
{
|
6736
|
+
"__schema": "FunctionLikeSchema",
|
6737
|
+
"location": {
|
6738
|
+
"filePath": "capsule/container.ts",
|
6739
|
+
"line": 115,
|
6740
|
+
"character": 3
|
6741
|
+
},
|
6742
|
+
"signature": "(method) FsContainer.stop(ttl?: number | undefined): Promise<void>",
|
6743
|
+
"name": "stop",
|
6744
|
+
"params": [
|
6745
|
+
{
|
6746
|
+
"__schema": "ParameterSchema",
|
6747
|
+
"location": {
|
6748
|
+
"filePath": "capsule/container.ts",
|
6749
|
+
"line": 115,
|
6750
|
+
"character": 8
|
7196
6751
|
},
|
7197
|
-
|
7198
|
-
|
6752
|
+
"name": "ttl",
|
6753
|
+
"type": {
|
6754
|
+
"__schema": "TypeUnionSchema",
|
7199
6755
|
"location": {
|
7200
6756
|
"filePath": "capsule/container.ts",
|
7201
|
-
"line":
|
7202
|
-
"character":
|
6757
|
+
"line": 115,
|
6758
|
+
"character": 14
|
7203
6759
|
},
|
7204
|
-
"
|
6760
|
+
"types": [
|
6761
|
+
{
|
6762
|
+
"__schema": "KeywordTypeSchema",
|
6763
|
+
"location": {
|
6764
|
+
"filePath": "capsule/container.ts",
|
6765
|
+
"line": 115,
|
6766
|
+
"character": 14
|
6767
|
+
},
|
6768
|
+
"name": "number"
|
6769
|
+
},
|
6770
|
+
{
|
6771
|
+
"__schema": "KeywordTypeSchema",
|
6772
|
+
"location": {
|
6773
|
+
"filePath": "capsule/container.ts",
|
6774
|
+
"line": 115,
|
6775
|
+
"character": 23
|
6776
|
+
},
|
6777
|
+
"name": "undefined"
|
6778
|
+
}
|
6779
|
+
]
|
7205
6780
|
},
|
6781
|
+
"isOptional": true,
|
6782
|
+
"isSpread": false
|
6783
|
+
}
|
6784
|
+
],
|
6785
|
+
"returnType": {
|
6786
|
+
"__schema": "TypeRefSchema",
|
6787
|
+
"location": {
|
6788
|
+
"filePath": "capsule/container.ts",
|
6789
|
+
"line": 115,
|
6790
|
+
"character": 35
|
6791
|
+
},
|
6792
|
+
"name": "Promise",
|
6793
|
+
"typeArgs": [
|
7206
6794
|
{
|
7207
|
-
"__schema": "
|
6795
|
+
"__schema": "KeywordTypeSchema",
|
7208
6796
|
"location": {
|
7209
6797
|
"filePath": "capsule/container.ts",
|
7210
|
-
"line":
|
7211
|
-
"character":
|
6798
|
+
"line": 115,
|
6799
|
+
"character": 43
|
7212
6800
|
},
|
7213
|
-
"name": "
|
7214
|
-
}
|
6801
|
+
"name": "void"
|
6802
|
+
}
|
6803
|
+
]
|
6804
|
+
},
|
6805
|
+
"modifiers": []
|
6806
|
+
},
|
6807
|
+
{
|
6808
|
+
"__schema": "FunctionLikeSchema",
|
6809
|
+
"location": {
|
6810
|
+
"filePath": "capsule/container.ts",
|
6811
|
+
"line": 118,
|
6812
|
+
"character": 3
|
6813
|
+
},
|
6814
|
+
"signature": "(method) FsContainer.destroy(): Promise<void>",
|
6815
|
+
"name": "destroy",
|
6816
|
+
"params": [],
|
6817
|
+
"returnType": {
|
6818
|
+
"__schema": "TypeRefSchema",
|
6819
|
+
"location": {
|
6820
|
+
"filePath": "capsule/container.ts",
|
6821
|
+
"line": 118,
|
6822
|
+
"character": 20
|
6823
|
+
},
|
6824
|
+
"name": "Promise",
|
6825
|
+
"typeArgs": [
|
7215
6826
|
{
|
7216
|
-
"__schema": "
|
6827
|
+
"__schema": "KeywordTypeSchema",
|
7217
6828
|
"location": {
|
7218
6829
|
"filePath": "capsule/container.ts",
|
7219
|
-
"line":
|
7220
|
-
"character":
|
6830
|
+
"line": 118,
|
6831
|
+
"character": 28
|
7221
6832
|
},
|
7222
|
-
"name": "
|
7223
|
-
}
|
6833
|
+
"name": "void"
|
6834
|
+
}
|
6835
|
+
]
|
6836
|
+
},
|
6837
|
+
"modifiers": [
|
6838
|
+
"async"
|
6839
|
+
]
|
6840
|
+
},
|
6841
|
+
{
|
6842
|
+
"__schema": "FunctionLikeSchema",
|
6843
|
+
"location": {
|
6844
|
+
"filePath": "capsule/container.ts",
|
6845
|
+
"line": 121,
|
6846
|
+
"character": 3
|
6847
|
+
},
|
6848
|
+
"signature": "(method) FsContainer.log(): Promise<Exec>",
|
6849
|
+
"name": "log",
|
6850
|
+
"params": [],
|
6851
|
+
"returnType": {
|
6852
|
+
"__schema": "TypeRefSchema",
|
6853
|
+
"location": {
|
6854
|
+
"filePath": "capsule/container.ts",
|
6855
|
+
"line": 121,
|
6856
|
+
"character": 10
|
6857
|
+
},
|
6858
|
+
"name": "Promise",
|
6859
|
+
"typeArgs": [
|
7224
6860
|
{
|
7225
6861
|
"__schema": "TypeRefSchema",
|
7226
6862
|
"location": {
|
7227
6863
|
"filePath": "capsule/container.ts",
|
7228
|
-
"line":
|
7229
|
-
"character":
|
6864
|
+
"line": 121,
|
6865
|
+
"character": 18
|
7230
6866
|
},
|
7231
|
-
"name": "
|
7232
|
-
"packageName": "
|
6867
|
+
"name": "Exec",
|
6868
|
+
"packageName": "@teambit/capsule"
|
6869
|
+
}
|
6870
|
+
]
|
6871
|
+
},
|
6872
|
+
"modifiers": []
|
6873
|
+
},
|
6874
|
+
{
|
6875
|
+
"__schema": "FunctionLikeSchema",
|
6876
|
+
"location": {
|
6877
|
+
"filePath": "capsule/container.ts",
|
6878
|
+
"line": 124,
|
6879
|
+
"character": 3
|
6880
|
+
},
|
6881
|
+
"signature": "(method) FsContainer.on(event: string, fn: (data: any) => void): void",
|
6882
|
+
"name": "on",
|
6883
|
+
"params": [
|
6884
|
+
{
|
6885
|
+
"__schema": "ParameterSchema",
|
6886
|
+
"location": {
|
6887
|
+
"filePath": "capsule/container.ts",
|
6888
|
+
"line": 124,
|
6889
|
+
"character": 6
|
7233
6890
|
},
|
7234
|
-
|
6891
|
+
"name": "event",
|
6892
|
+
"type": {
|
7235
6893
|
"__schema": "KeywordTypeSchema",
|
7236
6894
|
"location": {
|
7237
6895
|
"filePath": "capsule/container.ts",
|
7238
|
-
"line":
|
7239
|
-
"character":
|
6896
|
+
"line": 124,
|
6897
|
+
"character": 13
|
7240
6898
|
},
|
7241
|
-
"name": "
|
6899
|
+
"name": "string"
|
7242
6900
|
},
|
7243
|
-
|
7244
|
-
|
6901
|
+
"isOptional": false,
|
6902
|
+
"isSpread": false
|
6903
|
+
},
|
6904
|
+
{
|
6905
|
+
"__schema": "ParameterSchema",
|
6906
|
+
"location": {
|
6907
|
+
"filePath": "capsule/container.ts",
|
6908
|
+
"line": 124,
|
6909
|
+
"character": 21
|
6910
|
+
},
|
6911
|
+
"name": "fn",
|
6912
|
+
"type": {
|
6913
|
+
"__schema": "FunctionLikeSchema",
|
7245
6914
|
"location": {
|
7246
6915
|
"filePath": "capsule/container.ts",
|
7247
|
-
"line":
|
7248
|
-
"character":
|
6916
|
+
"line": 124,
|
6917
|
+
"character": 25
|
7249
6918
|
},
|
7250
|
-
"
|
7251
|
-
|
7252
|
-
|
7253
|
-
|
7254
|
-
|
7255
|
-
|
7256
|
-
|
7257
|
-
|
7258
|
-
|
7259
|
-
|
7260
|
-
|
7261
|
-
|
7262
|
-
|
7263
|
-
|
7264
|
-
|
7265
|
-
|
7266
|
-
|
7267
|
-
|
7268
|
-
|
7269
|
-
|
7270
|
-
|
7271
|
-
|
7272
|
-
|
7273
|
-
|
7274
|
-
|
7275
|
-
|
7276
|
-
|
7277
|
-
|
7278
|
-
|
7279
|
-
|
6919
|
+
"signature": "(data: any): void",
|
6920
|
+
"name": "",
|
6921
|
+
"params": [
|
6922
|
+
{
|
6923
|
+
"__schema": "ParameterSchema",
|
6924
|
+
"location": {
|
6925
|
+
"filePath": "capsule/container.ts",
|
6926
|
+
"line": 124,
|
6927
|
+
"character": 26
|
6928
|
+
},
|
6929
|
+
"name": "data",
|
6930
|
+
"type": {
|
6931
|
+
"__schema": "KeywordTypeSchema",
|
6932
|
+
"location": {
|
6933
|
+
"filePath": "capsule/container.ts",
|
6934
|
+
"line": 124,
|
6935
|
+
"character": 32
|
6936
|
+
},
|
6937
|
+
"name": "any"
|
6938
|
+
},
|
6939
|
+
"isOptional": false,
|
6940
|
+
"isSpread": false
|
6941
|
+
}
|
6942
|
+
],
|
6943
|
+
"returnType": {
|
6944
|
+
"__schema": "KeywordTypeSchema",
|
6945
|
+
"location": {
|
6946
|
+
"filePath": "capsule/container.ts",
|
6947
|
+
"line": 124,
|
6948
|
+
"character": 40
|
6949
|
+
},
|
6950
|
+
"name": "void"
|
6951
|
+
},
|
6952
|
+
"modifiers": []
|
7280
6953
|
},
|
7281
|
-
"
|
6954
|
+
"isOptional": false,
|
6955
|
+
"isSpread": false
|
7282
6956
|
}
|
7283
|
-
|
7284
|
-
|
7285
|
-
]
|
7286
|
-
},
|
7287
|
-
{
|
7288
|
-
"__schema": "InterfaceSchema",
|
7289
|
-
"location": {
|
7290
|
-
"filePath": "capsule/container.ts",
|
7291
|
-
"line": 16,
|
7292
|
-
"character": 1
|
7293
|
-
},
|
7294
|
-
"signature": "interface BitContainerConfig",
|
7295
|
-
"name": "BitContainerConfig",
|
7296
|
-
"members": [
|
7297
|
-
{
|
7298
|
-
"__schema": "VariableLikeSchema",
|
7299
|
-
"location": {
|
7300
|
-
"filePath": "capsule/container.ts",
|
7301
|
-
"line": 17,
|
7302
|
-
"character": 3
|
7303
|
-
},
|
7304
|
-
"signature": "(property) BitContainerConfig.other?: string | undefined",
|
7305
|
-
"name": "other",
|
7306
|
-
"type": {
|
6957
|
+
],
|
6958
|
+
"returnType": {
|
7307
6959
|
"__schema": "KeywordTypeSchema",
|
7308
6960
|
"location": {
|
7309
6961
|
"filePath": "capsule/container.ts",
|
7310
|
-
"line":
|
7311
|
-
"character":
|
6962
|
+
"line": 124,
|
6963
|
+
"character": 47
|
7312
6964
|
},
|
7313
|
-
"name": "
|
6965
|
+
"name": "void"
|
7314
6966
|
},
|
7315
|
-
"
|
6967
|
+
"modifiers": []
|
7316
6968
|
}
|
7317
6969
|
],
|
7318
|
-
"extendsNodes": [
|
6970
|
+
"extendsNodes": [],
|
6971
|
+
"implementNodes": [
|
7319
6972
|
{
|
7320
6973
|
"__schema": "ExpressionWithTypeArgumentsSchema",
|
7321
6974
|
"location": {
|
7322
6975
|
"filePath": "capsule/container.ts",
|
7323
|
-
"line":
|
6976
|
+
"line": 20,
|
7324
6977
|
"character": 45
|
7325
6978
|
},
|
7326
|
-
"name": "
|
7327
|
-
"typeArgs": [
|
6979
|
+
"name": "implements Container<Exec, AnyFS>",
|
6980
|
+
"typeArgs": [
|
6981
|
+
{
|
6982
|
+
"__schema": "TypeRefSchema",
|
6983
|
+
"location": {
|
6984
|
+
"filePath": "capsule/container.ts",
|
6985
|
+
"line": 20,
|
6986
|
+
"character": 55
|
6987
|
+
},
|
6988
|
+
"name": "Exec",
|
6989
|
+
"packageName": "@teambit/capsule"
|
6990
|
+
},
|
6991
|
+
{
|
6992
|
+
"__schema": "TypeRefSchema",
|
6993
|
+
"location": {
|
6994
|
+
"filePath": "capsule/container.ts",
|
6995
|
+
"line": 20,
|
6996
|
+
"character": 61
|
6997
|
+
},
|
6998
|
+
"name": "AnyFS",
|
6999
|
+
"packageName": "@teambit/any-fs"
|
7000
|
+
}
|
7001
|
+
],
|
7328
7002
|
"expression": {
|
7329
7003
|
"__schema": "TypeRefSchema",
|
7330
7004
|
"location": {
|
7331
7005
|
"filePath": "capsule/container.ts",
|
7332
|
-
"line":
|
7006
|
+
"line": 20,
|
7333
7007
|
"character": 45
|
7334
7008
|
},
|
7335
|
-
"name": "
|
7009
|
+
"name": "Container<T",
|
7336
7010
|
"componentId": {
|
7337
7011
|
"_legacy": {
|
7338
7012
|
"scope": "teambit.component",
|
7339
7013
|
"name": "isolator",
|
7340
|
-
"version": "1.0.
|
7014
|
+
"version": "1.0.315"
|
7341
7015
|
},
|
7342
7016
|
"_scope": "teambit.component"
|
7343
7017
|
}
|
7344
7018
|
}
|
7345
7019
|
}
|
7346
7020
|
]
|
7347
|
-
}
|
7021
|
+
}
|
7022
|
+
],
|
7023
|
+
"internals": [
|
7348
7024
|
{
|
7349
|
-
"__schema": "
|
7025
|
+
"__schema": "ModuleSchema",
|
7350
7026
|
"location": {
|
7351
7027
|
"filePath": "capsule/container.ts",
|
7352
|
-
"line":
|
7028
|
+
"line": 10,
|
7353
7029
|
"character": 1
|
7354
7030
|
},
|
7355
|
-
"
|
7356
|
-
"name": "FsContainer",
|
7357
|
-
"members": [
|
7031
|
+
"exports": [
|
7358
7032
|
{
|
7359
7033
|
"__schema": "VariableLikeSchema",
|
7360
7034
|
"location": {
|
7361
7035
|
"filePath": "capsule/container.ts",
|
7362
|
-
"line":
|
7363
|
-
"character":
|
7036
|
+
"line": 10,
|
7037
|
+
"character": 7
|
7364
7038
|
},
|
7365
|
-
"signature": "
|
7366
|
-
"name": "
|
7039
|
+
"signature": "const debug: any",
|
7040
|
+
"name": "debug",
|
7367
7041
|
"type": {
|
7368
7042
|
"__schema": "InferenceTypeSchema",
|
7369
7043
|
"location": {
|
7370
7044
|
"filePath": "capsule/container.ts",
|
7371
|
-
"line":
|
7372
|
-
"character":
|
7373
|
-
},
|
7374
|
-
"type": "string"
|
7375
|
-
},
|
7376
|
-
"isOptional": true,
|
7377
|
-
"defaultValue": "'FS Container'"
|
7378
|
-
},
|
7379
|
-
{
|
7380
|
-
"__schema": "VariableLikeSchema",
|
7381
|
-
"location": {
|
7382
|
-
"filePath": "capsule/container.ts",
|
7383
|
-
"line": 23,
|
7384
|
-
"character": 3
|
7385
|
-
},
|
7386
|
-
"signature": "(property) FsContainer.fs: NodeFS",
|
7387
|
-
"name": "fs",
|
7388
|
-
"type": {
|
7389
|
-
"__schema": "TypeRefSchema",
|
7390
|
-
"location": {
|
7391
|
-
"filePath": "capsule/container.ts",
|
7392
|
-
"line": 23,
|
7393
|
-
"character": 3
|
7045
|
+
"line": 10,
|
7046
|
+
"character": 7
|
7394
7047
|
},
|
7395
|
-
"
|
7396
|
-
"packageName": "@teambit/any-fs"
|
7048
|
+
"type": "any"
|
7397
7049
|
},
|
7398
|
-
"isOptional":
|
7399
|
-
"defaultValue": "
|
7400
|
-
}
|
7050
|
+
"isOptional": false,
|
7051
|
+
"defaultValue": "require('debug')('fs-container')"
|
7052
|
+
}
|
7053
|
+
],
|
7054
|
+
"internals": []
|
7055
|
+
}
|
7056
|
+
]
|
7057
|
+
},
|
7058
|
+
{
|
7059
|
+
"__schema": "ModuleSchema",
|
7060
|
+
"location": {
|
7061
|
+
"filePath": "capsule/capsule.ts",
|
7062
|
+
"line": 1,
|
7063
|
+
"character": 1
|
7064
|
+
},
|
7065
|
+
"exports": [
|
7066
|
+
{
|
7067
|
+
"__schema": "ClassSchema",
|
7068
|
+
"location": {
|
7069
|
+
"filePath": "capsule/capsule.ts",
|
7070
|
+
"line": 13,
|
7071
|
+
"character": 1
|
7072
|
+
},
|
7073
|
+
"signature": "class Capsule",
|
7074
|
+
"name": "Capsule",
|
7075
|
+
"members": [
|
7401
7076
|
{
|
7402
7077
|
"__schema": "ConstructorSchema",
|
7403
7078
|
"location": {
|
7404
|
-
"filePath": "capsule/
|
7405
|
-
"line":
|
7079
|
+
"filePath": "capsule/capsule.ts",
|
7080
|
+
"line": 15,
|
7406
7081
|
"character": 3
|
7407
7082
|
},
|
7408
|
-
"signature": "constructor
|
7083
|
+
"signature": "constructor Capsule(container: FsContainer, fs: NodeFS, console: Console, state: State, component: Component): Capsule",
|
7409
7084
|
"name": "constructor",
|
7410
7085
|
"params": [
|
7411
7086
|
{
|
7412
7087
|
"__schema": "ParameterSchema",
|
7413
7088
|
"location": {
|
7414
|
-
"filePath": "capsule/
|
7415
|
-
"line":
|
7416
|
-
"character":
|
7089
|
+
"filePath": "capsule/capsule.ts",
|
7090
|
+
"line": 19,
|
7091
|
+
"character": 5
|
7092
|
+
},
|
7093
|
+
"name": "container",
|
7094
|
+
"type": {
|
7095
|
+
"__schema": "TypeRefSchema",
|
7096
|
+
"location": {
|
7097
|
+
"filePath": "capsule/capsule.ts",
|
7098
|
+
"line": 19,
|
7099
|
+
"character": 26
|
7100
|
+
},
|
7101
|
+
"name": "FsContainer"
|
7102
|
+
},
|
7103
|
+
"isOptional": false,
|
7104
|
+
"isSpread": false
|
7105
|
+
},
|
7106
|
+
{
|
7107
|
+
"__schema": "ParameterSchema",
|
7108
|
+
"location": {
|
7109
|
+
"filePath": "capsule/capsule.ts",
|
7110
|
+
"line": 23,
|
7111
|
+
"character": 5
|
7112
|
+
},
|
7113
|
+
"name": "fs",
|
7114
|
+
"type": {
|
7115
|
+
"__schema": "TypeRefSchema",
|
7116
|
+
"location": {
|
7117
|
+
"filePath": "capsule/capsule.ts",
|
7118
|
+
"line": 23,
|
7119
|
+
"character": 18
|
7120
|
+
},
|
7121
|
+
"name": "NodeFS",
|
7122
|
+
"packageName": "@teambit/any-fs"
|
7123
|
+
},
|
7124
|
+
"isOptional": false,
|
7125
|
+
"isSpread": false
|
7126
|
+
},
|
7127
|
+
{
|
7128
|
+
"__schema": "ParameterSchema",
|
7129
|
+
"location": {
|
7130
|
+
"filePath": "capsule/capsule.ts",
|
7131
|
+
"line": 27,
|
7132
|
+
"character": 5
|
7133
|
+
},
|
7134
|
+
"name": "console",
|
7135
|
+
"type": {
|
7136
|
+
"__schema": "TypeRefSchema",
|
7137
|
+
"location": {
|
7138
|
+
"filePath": "capsule/capsule.ts",
|
7139
|
+
"line": 27,
|
7140
|
+
"character": 23
|
7141
|
+
},
|
7142
|
+
"name": "Console",
|
7143
|
+
"packageName": "@teambit/capsule"
|
7144
|
+
},
|
7145
|
+
"isOptional": true,
|
7146
|
+
"defaultValue": "new Console()",
|
7147
|
+
"isSpread": false
|
7148
|
+
},
|
7149
|
+
{
|
7150
|
+
"__schema": "ParameterSchema",
|
7151
|
+
"location": {
|
7152
|
+
"filePath": "capsule/capsule.ts",
|
7153
|
+
"line": 31,
|
7154
|
+
"character": 5
|
7155
|
+
},
|
7156
|
+
"name": "state",
|
7157
|
+
"type": {
|
7158
|
+
"__schema": "TypeRefSchema",
|
7159
|
+
"location": {
|
7160
|
+
"filePath": "capsule/capsule.ts",
|
7161
|
+
"line": 31,
|
7162
|
+
"character": 21
|
7163
|
+
},
|
7164
|
+
"name": "State",
|
7165
|
+
"packageName": "@teambit/capsule"
|
7166
|
+
},
|
7167
|
+
"isOptional": false,
|
7168
|
+
"isSpread": false
|
7169
|
+
},
|
7170
|
+
{
|
7171
|
+
"__schema": "ParameterSchema",
|
7172
|
+
"location": {
|
7173
|
+
"filePath": "capsule/capsule.ts",
|
7174
|
+
"line": 32,
|
7175
|
+
"character": 5
|
7417
7176
|
},
|
7418
|
-
"name": "
|
7177
|
+
"name": "component",
|
7419
7178
|
"type": {
|
7420
|
-
"__schema": "
|
7179
|
+
"__schema": "TypeRefSchema",
|
7421
7180
|
"location": {
|
7422
|
-
"filePath": "capsule/
|
7423
|
-
"line":
|
7424
|
-
"character":
|
7181
|
+
"filePath": "capsule/capsule.ts",
|
7182
|
+
"line": 32,
|
7183
|
+
"character": 25
|
7425
7184
|
},
|
7426
|
-
"name": "
|
7185
|
+
"name": "Component",
|
7186
|
+
"componentId": {
|
7187
|
+
"scope": "teambit.component",
|
7188
|
+
"name": "component"
|
7189
|
+
}
|
7427
7190
|
},
|
7428
7191
|
"isOptional": false,
|
7429
7192
|
"isSpread": false
|
@@ -7432,63 +7195,110 @@
|
|
7432
7195
|
"returnType": {
|
7433
7196
|
"__schema": "ThisTypeSchema",
|
7434
7197
|
"location": {
|
7435
|
-
"filePath": "capsule/
|
7436
|
-
"line":
|
7198
|
+
"filePath": "capsule/capsule.ts",
|
7199
|
+
"line": 13,
|
7437
7200
|
"character": 1
|
7438
7201
|
},
|
7439
|
-
"name": "
|
7202
|
+
"name": "Capsule"
|
7440
7203
|
},
|
7441
7204
|
"modifiers": []
|
7442
7205
|
},
|
7206
|
+
{
|
7207
|
+
"__schema": "GetAccessorSchema",
|
7208
|
+
"location": {
|
7209
|
+
"filePath": "capsule/capsule.ts",
|
7210
|
+
"line": 41,
|
7211
|
+
"character": 3
|
7212
|
+
},
|
7213
|
+
"signature": "(getter) Capsule.wrkDir: string",
|
7214
|
+
"name": "wrkDir",
|
7215
|
+
"type": {
|
7216
|
+
"__schema": "KeywordTypeSchema",
|
7217
|
+
"location": {
|
7218
|
+
"filePath": "capsule/capsule.ts",
|
7219
|
+
"line": 41,
|
7220
|
+
"character": 17
|
7221
|
+
},
|
7222
|
+
"name": "string"
|
7223
|
+
}
|
7224
|
+
},
|
7225
|
+
{
|
7226
|
+
"__schema": "GetAccessorSchema",
|
7227
|
+
"location": {
|
7228
|
+
"filePath": "capsule/capsule.ts",
|
7229
|
+
"line": 45,
|
7230
|
+
"character": 3
|
7231
|
+
},
|
7232
|
+
"signature": "(getter) Capsule.path: string",
|
7233
|
+
"name": "path",
|
7234
|
+
"type": {
|
7235
|
+
"__schema": "KeywordTypeSchema",
|
7236
|
+
"location": {
|
7237
|
+
"filePath": "capsule/capsule.ts",
|
7238
|
+
"line": 45,
|
7239
|
+
"character": 15
|
7240
|
+
},
|
7241
|
+
"name": "string"
|
7242
|
+
}
|
7243
|
+
},
|
7443
7244
|
{
|
7444
7245
|
"__schema": "FunctionLikeSchema",
|
7445
7246
|
"location": {
|
7446
|
-
"filePath": "capsule/
|
7447
|
-
"line":
|
7247
|
+
"filePath": "capsule/capsule.ts",
|
7248
|
+
"line": 49,
|
7448
7249
|
"character": 3
|
7449
7250
|
},
|
7450
|
-
"signature": "(method)
|
7451
|
-
"name": "
|
7251
|
+
"signature": "(method) Capsule.start(): Promise<any>",
|
7252
|
+
"name": "start",
|
7452
7253
|
"params": [],
|
7453
7254
|
"returnType": {
|
7454
|
-
"__schema": "
|
7255
|
+
"__schema": "TypeRefSchema",
|
7455
7256
|
"location": {
|
7456
|
-
"filePath": "capsule/
|
7457
|
-
"line":
|
7458
|
-
"character":
|
7257
|
+
"filePath": "capsule/capsule.ts",
|
7258
|
+
"line": 49,
|
7259
|
+
"character": 12
|
7459
7260
|
},
|
7460
|
-
"
|
7261
|
+
"name": "Promise",
|
7262
|
+
"typeArgs": [
|
7263
|
+
{
|
7264
|
+
"__schema": "KeywordTypeSchema",
|
7265
|
+
"location": {
|
7266
|
+
"filePath": "capsule/capsule.ts",
|
7267
|
+
"line": 49,
|
7268
|
+
"character": 20
|
7269
|
+
},
|
7270
|
+
"name": "any"
|
7271
|
+
}
|
7272
|
+
]
|
7461
7273
|
},
|
7462
|
-
"modifiers": [
|
7463
|
-
"public"
|
7464
|
-
]
|
7274
|
+
"modifiers": []
|
7465
7275
|
},
|
7466
7276
|
{
|
7467
7277
|
"__schema": "FunctionLikeSchema",
|
7468
7278
|
"location": {
|
7469
|
-
"filePath": "capsule/
|
7470
|
-
"line":
|
7279
|
+
"filePath": "capsule/capsule.ts",
|
7280
|
+
"line": 53,
|
7471
7281
|
"character": 3
|
7472
7282
|
},
|
7473
|
-
"signature": "(method)
|
7474
|
-
"name": "
|
7283
|
+
"signature": "(method) Capsule.execNode(executable: string, args: any, exec: ContainerExec): Promise<ContainerExec>",
|
7284
|
+
"name": "execNode",
|
7475
7285
|
"params": [
|
7476
7286
|
{
|
7477
7287
|
"__schema": "ParameterSchema",
|
7478
7288
|
"location": {
|
7479
|
-
"filePath": "capsule/
|
7480
|
-
"line":
|
7481
|
-
"character":
|
7289
|
+
"filePath": "capsule/capsule.ts",
|
7290
|
+
"line": 53,
|
7291
|
+
"character": 18
|
7482
7292
|
},
|
7483
|
-
"name": "
|
7293
|
+
"name": "executable",
|
7484
7294
|
"type": {
|
7485
|
-
"__schema": "
|
7295
|
+
"__schema": "KeywordTypeSchema",
|
7486
7296
|
"location": {
|
7487
|
-
"filePath": "capsule/
|
7488
|
-
"line":
|
7489
|
-
"character":
|
7297
|
+
"filePath": "capsule/capsule.ts",
|
7298
|
+
"line": 53,
|
7299
|
+
"character": 30
|
7490
7300
|
},
|
7491
|
-
"
|
7301
|
+
"name": "string"
|
7492
7302
|
},
|
7493
7303
|
"isOptional": false,
|
7494
7304
|
"isSpread": false
|
@@ -7496,19 +7306,19 @@
|
|
7496
7306
|
{
|
7497
7307
|
"__schema": "ParameterSchema",
|
7498
7308
|
"location": {
|
7499
|
-
"filePath": "capsule/
|
7500
|
-
"line":
|
7501
|
-
"character":
|
7309
|
+
"filePath": "capsule/capsule.ts",
|
7310
|
+
"line": 53,
|
7311
|
+
"character": 38
|
7502
7312
|
},
|
7503
|
-
"name": "
|
7313
|
+
"name": "args",
|
7504
7314
|
"type": {
|
7505
|
-
"__schema": "
|
7315
|
+
"__schema": "KeywordTypeSchema",
|
7506
7316
|
"location": {
|
7507
|
-
"filePath": "capsule/
|
7508
|
-
"line":
|
7509
|
-
"character":
|
7317
|
+
"filePath": "capsule/capsule.ts",
|
7318
|
+
"line": 53,
|
7319
|
+
"character": 44
|
7510
7320
|
},
|
7511
|
-
"
|
7321
|
+
"name": "any"
|
7512
7322
|
},
|
7513
7323
|
"isOptional": false,
|
7514
7324
|
"isSpread": false
|
@@ -7516,19 +7326,19 @@
|
|
7516
7326
|
{
|
7517
7327
|
"__schema": "ParameterSchema",
|
7518
7328
|
"location": {
|
7519
|
-
"filePath": "capsule/
|
7520
|
-
"line":
|
7521
|
-
"character":
|
7329
|
+
"filePath": "capsule/capsule.ts",
|
7330
|
+
"line": 53,
|
7331
|
+
"character": 49
|
7522
7332
|
},
|
7523
|
-
"name": "
|
7333
|
+
"name": "exec",
|
7524
7334
|
"type": {
|
7525
|
-
"__schema": "
|
7335
|
+
"__schema": "TypeRefSchema",
|
7526
7336
|
"location": {
|
7527
|
-
"filePath": "capsule/
|
7528
|
-
"line":
|
7529
|
-
"character":
|
7337
|
+
"filePath": "capsule/capsule.ts",
|
7338
|
+
"line": 53,
|
7339
|
+
"character": 55
|
7530
7340
|
},
|
7531
|
-
"
|
7341
|
+
"name": "ContainerExec"
|
7532
7342
|
},
|
7533
7343
|
"isOptional": false,
|
7534
7344
|
"isSpread": false
|
@@ -7537,93 +7347,43 @@
|
|
7537
7347
|
"returnType": {
|
7538
7348
|
"__schema": "InferenceTypeSchema",
|
7539
7349
|
"location": {
|
7540
|
-
"filePath": "capsule/
|
7541
|
-
"line":
|
7350
|
+
"filePath": "capsule/capsule.ts",
|
7351
|
+
"line": 53,
|
7542
7352
|
"character": 3
|
7543
7353
|
},
|
7544
|
-
"type": "Promise<
|
7545
|
-
},
|
7546
|
-
"modifiers": []
|
7547
|
-
},
|
7548
|
-
{
|
7549
|
-
"__schema": "FunctionLikeSchema",
|
7550
|
-
"location": {
|
7551
|
-
"filePath": "capsule/container.ts",
|
7552
|
-
"line": 42,
|
7553
|
-
"character": 3
|
7554
|
-
},
|
7555
|
-
"signature": "(method) FsContainer.removePath(dir: string): Promise<any>",
|
7556
|
-
"name": "removePath",
|
7557
|
-
"params": [
|
7558
|
-
{
|
7559
|
-
"__schema": "ParameterSchema",
|
7560
|
-
"location": {
|
7561
|
-
"filePath": "capsule/container.ts",
|
7562
|
-
"line": 42,
|
7563
|
-
"character": 14
|
7564
|
-
},
|
7565
|
-
"name": "dir",
|
7566
|
-
"type": {
|
7567
|
-
"__schema": "KeywordTypeSchema",
|
7568
|
-
"location": {
|
7569
|
-
"filePath": "capsule/container.ts",
|
7570
|
-
"line": 42,
|
7571
|
-
"character": 19
|
7572
|
-
},
|
7573
|
-
"name": "string"
|
7574
|
-
},
|
7575
|
-
"isOptional": false,
|
7576
|
-
"isSpread": false
|
7577
|
-
}
|
7578
|
-
],
|
7579
|
-
"returnType": {
|
7580
|
-
"__schema": "TypeRefSchema",
|
7581
|
-
"location": {
|
7582
|
-
"filePath": "capsule/container.ts",
|
7583
|
-
"line": 42,
|
7584
|
-
"character": 28
|
7585
|
-
},
|
7586
|
-
"name": "Promise",
|
7587
|
-
"typeArgs": [
|
7588
|
-
{
|
7589
|
-
"__schema": "KeywordTypeSchema",
|
7590
|
-
"location": {
|
7591
|
-
"filePath": "capsule/container.ts",
|
7592
|
-
"line": 42,
|
7593
|
-
"character": 36
|
7594
|
-
},
|
7595
|
-
"name": "any"
|
7596
|
-
}
|
7597
|
-
]
|
7354
|
+
"type": "Promise<ContainerExec>"
|
7598
7355
|
},
|
7599
|
-
"modifiers": [
|
7356
|
+
"modifiers": [
|
7357
|
+
"async"
|
7358
|
+
]
|
7600
7359
|
},
|
7601
7360
|
{
|
7602
7361
|
"__schema": "FunctionLikeSchema",
|
7603
7362
|
"location": {
|
7604
|
-
"filePath": "capsule/
|
7605
|
-
"line":
|
7363
|
+
"filePath": "capsule/capsule.ts",
|
7364
|
+
"line": 63,
|
7606
7365
|
"character": 3
|
7607
7366
|
},
|
7608
|
-
"signature": "(method)
|
7609
|
-
"name": "
|
7367
|
+
"signature": "(method) Capsule.typedExec(opts: BitExecOption, exec?: ContainerExec): Promise<ContainerExec>",
|
7368
|
+
"name": "typedExec",
|
7610
7369
|
"params": [
|
7611
7370
|
{
|
7612
7371
|
"__schema": "ParameterSchema",
|
7613
7372
|
"location": {
|
7614
|
-
"filePath": "capsule/
|
7615
|
-
"line":
|
7616
|
-
"character":
|
7373
|
+
"filePath": "capsule/capsule.ts",
|
7374
|
+
"line": 63,
|
7375
|
+
"character": 19
|
7617
7376
|
},
|
7618
|
-
"name": "
|
7377
|
+
"name": "opts",
|
7619
7378
|
"type": {
|
7620
|
-
"__schema": "
|
7621
|
-
"location": {
|
7622
|
-
"filePath": "capsule/
|
7623
|
-
"line":
|
7624
|
-
"character":
|
7379
|
+
"__schema": "TypeRefSchema",
|
7380
|
+
"location": {
|
7381
|
+
"filePath": "capsule/capsule.ts",
|
7382
|
+
"line": 63,
|
7383
|
+
"character": 25
|
7625
7384
|
},
|
7626
|
-
"name": "
|
7385
|
+
"name": "BitExecOption",
|
7386
|
+
"internalFilePath": "capsule/container.ts"
|
7627
7387
|
},
|
7628
7388
|
"isOptional": false,
|
7629
7389
|
"isSpread": false
|
@@ -7631,43 +7391,33 @@
|
|
7631
7391
|
{
|
7632
7392
|
"__schema": "ParameterSchema",
|
7633
7393
|
"location": {
|
7634
|
-
"filePath": "capsule/
|
7635
|
-
"line":
|
7636
|
-
"character":
|
7394
|
+
"filePath": "capsule/capsule.ts",
|
7395
|
+
"line": 63,
|
7396
|
+
"character": 40
|
7637
7397
|
},
|
7638
|
-
"name": "
|
7398
|
+
"name": "exec",
|
7639
7399
|
"type": {
|
7640
|
-
"__schema": "
|
7400
|
+
"__schema": "InferenceTypeSchema",
|
7641
7401
|
"location": {
|
7642
|
-
"filePath": "capsule/
|
7643
|
-
"line":
|
7644
|
-
"character":
|
7402
|
+
"filePath": "capsule/capsule.ts",
|
7403
|
+
"line": 63,
|
7404
|
+
"character": 40
|
7645
7405
|
},
|
7646
|
-
"
|
7406
|
+
"type": "ContainerExec"
|
7647
7407
|
},
|
7648
|
-
"isOptional":
|
7408
|
+
"isOptional": true,
|
7409
|
+
"defaultValue": "new ContainerExec()",
|
7649
7410
|
"isSpread": false
|
7650
7411
|
}
|
7651
7412
|
],
|
7652
7413
|
"returnType": {
|
7653
|
-
"__schema": "
|
7414
|
+
"__schema": "InferenceTypeSchema",
|
7654
7415
|
"location": {
|
7655
|
-
"filePath": "capsule/
|
7656
|
-
"line":
|
7657
|
-
"character":
|
7416
|
+
"filePath": "capsule/capsule.ts",
|
7417
|
+
"line": 63,
|
7418
|
+
"character": 3
|
7658
7419
|
},
|
7659
|
-
"
|
7660
|
-
"typeArgs": [
|
7661
|
-
{
|
7662
|
-
"__schema": "KeywordTypeSchema",
|
7663
|
-
"location": {
|
7664
|
-
"filePath": "capsule/container.ts",
|
7665
|
-
"line": 47,
|
7666
|
-
"character": 53
|
7667
|
-
},
|
7668
|
-
"name": "any"
|
7669
|
-
}
|
7670
|
-
]
|
7420
|
+
"type": "Promise<ContainerExec>"
|
7671
7421
|
},
|
7672
7422
|
"modifiers": [
|
7673
7423
|
"async"
|
@@ -7676,30 +7426,29 @@
|
|
7676
7426
|
{
|
7677
7427
|
"__schema": "FunctionLikeSchema",
|
7678
7428
|
"location": {
|
7679
|
-
"filePath": "capsule/
|
7680
|
-
"line":
|
7429
|
+
"filePath": "capsule/capsule.ts",
|
7430
|
+
"line": 67,
|
7681
7431
|
"character": 3
|
7682
7432
|
},
|
7683
|
-
"signature": "(method)
|
7684
|
-
"name": "
|
7433
|
+
"signature": "(method) Capsule.outputFile(file: string, data: any, options?: any): Promise<any>",
|
7434
|
+
"name": "outputFile",
|
7685
7435
|
"params": [
|
7686
7436
|
{
|
7687
7437
|
"__schema": "ParameterSchema",
|
7688
7438
|
"location": {
|
7689
|
-
"filePath": "capsule/
|
7690
|
-
"line":
|
7439
|
+
"filePath": "capsule/capsule.ts",
|
7440
|
+
"line": 67,
|
7691
7441
|
"character": 14
|
7692
7442
|
},
|
7693
|
-
"name": "
|
7443
|
+
"name": "file",
|
7694
7444
|
"type": {
|
7695
|
-
"__schema": "
|
7445
|
+
"__schema": "KeywordTypeSchema",
|
7696
7446
|
"location": {
|
7697
|
-
"filePath": "capsule/
|
7698
|
-
"line":
|
7699
|
-
"character":
|
7447
|
+
"filePath": "capsule/capsule.ts",
|
7448
|
+
"line": 67,
|
7449
|
+
"character": 20
|
7700
7450
|
},
|
7701
|
-
"name": "
|
7702
|
-
"internalFilePath": "capsule/container.ts"
|
7451
|
+
"name": "string"
|
7703
7452
|
},
|
7704
7453
|
"isOptional": false,
|
7705
7454
|
"isSpread": false
|
@@ -7707,76 +7456,92 @@
|
|
7707
7456
|
{
|
7708
7457
|
"__schema": "ParameterSchema",
|
7709
7458
|
"location": {
|
7710
|
-
"filePath": "capsule/
|
7711
|
-
"line":
|
7712
|
-
"character":
|
7459
|
+
"filePath": "capsule/capsule.ts",
|
7460
|
+
"line": 67,
|
7461
|
+
"character": 28
|
7713
7462
|
},
|
7714
|
-
"name": "
|
7463
|
+
"name": "data",
|
7715
7464
|
"type": {
|
7716
|
-
"__schema": "
|
7465
|
+
"__schema": "KeywordTypeSchema",
|
7717
7466
|
"location": {
|
7718
|
-
"filePath": "capsule/
|
7719
|
-
"line":
|
7720
|
-
"character":
|
7467
|
+
"filePath": "capsule/capsule.ts",
|
7468
|
+
"line": 67,
|
7469
|
+
"character": 34
|
7721
7470
|
},
|
7722
|
-
"
|
7471
|
+
"name": "any"
|
7472
|
+
},
|
7473
|
+
"isOptional": false,
|
7474
|
+
"isSpread": false
|
7475
|
+
},
|
7476
|
+
{
|
7477
|
+
"__schema": "ParameterSchema",
|
7478
|
+
"location": {
|
7479
|
+
"filePath": "capsule/capsule.ts",
|
7480
|
+
"line": 67,
|
7481
|
+
"character": 39
|
7482
|
+
},
|
7483
|
+
"name": "options",
|
7484
|
+
"type": {
|
7485
|
+
"__schema": "KeywordTypeSchema",
|
7486
|
+
"location": {
|
7487
|
+
"filePath": "capsule/capsule.ts",
|
7488
|
+
"line": 67,
|
7489
|
+
"character": 49
|
7490
|
+
},
|
7491
|
+
"name": "any"
|
7723
7492
|
},
|
7724
7493
|
"isOptional": true,
|
7725
|
-
"defaultValue": "new ContainerExec()",
|
7726
7494
|
"isSpread": false
|
7727
7495
|
}
|
7728
7496
|
],
|
7729
7497
|
"returnType": {
|
7730
7498
|
"__schema": "TypeRefSchema",
|
7731
7499
|
"location": {
|
7732
|
-
"filePath": "capsule/
|
7733
|
-
"line":
|
7734
|
-
"character":
|
7500
|
+
"filePath": "capsule/capsule.ts",
|
7501
|
+
"line": 67,
|
7502
|
+
"character": 55
|
7735
7503
|
},
|
7736
7504
|
"name": "Promise",
|
7737
7505
|
"typeArgs": [
|
7738
7506
|
{
|
7739
|
-
"__schema": "
|
7507
|
+
"__schema": "KeywordTypeSchema",
|
7740
7508
|
"location": {
|
7741
|
-
"filePath": "capsule/
|
7742
|
-
"line":
|
7743
|
-
"character":
|
7509
|
+
"filePath": "capsule/capsule.ts",
|
7510
|
+
"line": 67,
|
7511
|
+
"character": 63
|
7744
7512
|
},
|
7745
|
-
"name": "
|
7513
|
+
"name": "any"
|
7746
7514
|
}
|
7747
7515
|
]
|
7748
7516
|
},
|
7749
|
-
"modifiers": [
|
7750
|
-
"async"
|
7751
|
-
]
|
7517
|
+
"modifiers": []
|
7752
7518
|
},
|
7753
7519
|
{
|
7754
7520
|
"__schema": "FunctionLikeSchema",
|
7755
7521
|
"location": {
|
7756
|
-
"filePath": "capsule/
|
7757
|
-
"line":
|
7522
|
+
"filePath": "capsule/capsule.ts",
|
7523
|
+
"line": 71,
|
7758
7524
|
"character": 3
|
7759
7525
|
},
|
7760
|
-
"signature": "(method)
|
7761
|
-
"name": "
|
7526
|
+
"signature": "(method) Capsule.removePath(dir: string): Promise<any>",
|
7527
|
+
"name": "removePath",
|
7762
7528
|
"params": [
|
7763
7529
|
{
|
7764
7530
|
"__schema": "ParameterSchema",
|
7765
7531
|
"location": {
|
7766
|
-
"filePath": "capsule/
|
7767
|
-
"line":
|
7768
|
-
"character":
|
7532
|
+
"filePath": "capsule/capsule.ts",
|
7533
|
+
"line": 71,
|
7534
|
+
"character": 14
|
7769
7535
|
},
|
7770
|
-
"name": "
|
7536
|
+
"name": "dir",
|
7771
7537
|
"type": {
|
7772
|
-
"__schema": "
|
7538
|
+
"__schema": "KeywordTypeSchema",
|
7773
7539
|
"location": {
|
7774
|
-
"filePath": "capsule/
|
7775
|
-
"line":
|
7776
|
-
"character":
|
7540
|
+
"filePath": "capsule/capsule.ts",
|
7541
|
+
"line": 71,
|
7542
|
+
"character": 19
|
7777
7543
|
},
|
7778
|
-
"name": "
|
7779
|
-
"internalFilePath": "capsule/container.ts"
|
7544
|
+
"name": "string"
|
7780
7545
|
},
|
7781
7546
|
"isOptional": false,
|
7782
7547
|
"isSpread": false
|
@@ -7785,77 +7550,93 @@
|
|
7785
7550
|
"returnType": {
|
7786
7551
|
"__schema": "TypeRefSchema",
|
7787
7552
|
"location": {
|
7788
|
-
"filePath": "capsule/
|
7789
|
-
"line":
|
7790
|
-
"character":
|
7553
|
+
"filePath": "capsule/capsule.ts",
|
7554
|
+
"line": 71,
|
7555
|
+
"character": 28
|
7791
7556
|
},
|
7792
7557
|
"name": "Promise",
|
7793
7558
|
"typeArgs": [
|
7794
7559
|
{
|
7795
7560
|
"__schema": "KeywordTypeSchema",
|
7796
7561
|
"location": {
|
7797
|
-
"filePath": "capsule/
|
7798
|
-
"line":
|
7799
|
-
"character":
|
7562
|
+
"filePath": "capsule/capsule.ts",
|
7563
|
+
"line": 71,
|
7564
|
+
"character": 36
|
7800
7565
|
},
|
7801
|
-
"name": "
|
7566
|
+
"name": "any"
|
7802
7567
|
}
|
7803
7568
|
]
|
7804
7569
|
},
|
7805
|
-
"modifiers": [
|
7806
|
-
"async"
|
7807
|
-
]
|
7570
|
+
"modifiers": []
|
7808
7571
|
},
|
7809
7572
|
{
|
7810
7573
|
"__schema": "FunctionLikeSchema",
|
7811
7574
|
"location": {
|
7812
|
-
"filePath": "capsule/
|
7813
|
-
"line":
|
7575
|
+
"filePath": "capsule/capsule.ts",
|
7576
|
+
"line": 75,
|
7814
7577
|
"character": 3
|
7815
7578
|
},
|
7816
|
-
"signature": "(method)
|
7817
|
-
"name": "
|
7818
|
-
"params": [
|
7819
|
-
|
7820
|
-
|
7821
|
-
|
7822
|
-
|
7823
|
-
|
7824
|
-
|
7579
|
+
"signature": "(method) Capsule.symlink(src: string, dest: string): Promise<any>",
|
7580
|
+
"name": "symlink",
|
7581
|
+
"params": [
|
7582
|
+
{
|
7583
|
+
"__schema": "ParameterSchema",
|
7584
|
+
"location": {
|
7585
|
+
"filePath": "capsule/capsule.ts",
|
7586
|
+
"line": 75,
|
7587
|
+
"character": 11
|
7588
|
+
},
|
7589
|
+
"name": "src",
|
7590
|
+
"type": {
|
7591
|
+
"__schema": "KeywordTypeSchema",
|
7592
|
+
"location": {
|
7593
|
+
"filePath": "capsule/capsule.ts",
|
7594
|
+
"line": 75,
|
7595
|
+
"character": 16
|
7596
|
+
},
|
7597
|
+
"name": "string"
|
7598
|
+
},
|
7599
|
+
"isOptional": false,
|
7600
|
+
"isSpread": false
|
7825
7601
|
},
|
7826
|
-
|
7827
|
-
|
7828
|
-
|
7829
|
-
|
7830
|
-
|
7831
|
-
|
7832
|
-
|
7833
|
-
|
7834
|
-
|
7835
|
-
|
7836
|
-
|
7837
|
-
|
7838
|
-
|
7839
|
-
|
7840
|
-
|
7841
|
-
|
7602
|
+
{
|
7603
|
+
"__schema": "ParameterSchema",
|
7604
|
+
"location": {
|
7605
|
+
"filePath": "capsule/capsule.ts",
|
7606
|
+
"line": 75,
|
7607
|
+
"character": 24
|
7608
|
+
},
|
7609
|
+
"name": "dest",
|
7610
|
+
"type": {
|
7611
|
+
"__schema": "KeywordTypeSchema",
|
7612
|
+
"location": {
|
7613
|
+
"filePath": "capsule/capsule.ts",
|
7614
|
+
"line": 75,
|
7615
|
+
"character": 30
|
7616
|
+
},
|
7617
|
+
"name": "string"
|
7618
|
+
},
|
7619
|
+
"isOptional": false,
|
7620
|
+
"isSpread": false
|
7621
|
+
}
|
7622
|
+
],
|
7842
7623
|
"returnType": {
|
7843
|
-
"__schema": "TypeRefSchema",
|
7844
|
-
"location": {
|
7845
|
-
"filePath": "capsule/
|
7846
|
-
"line":
|
7847
|
-
"character":
|
7624
|
+
"__schema": "TypeRefSchema",
|
7625
|
+
"location": {
|
7626
|
+
"filePath": "capsule/capsule.ts",
|
7627
|
+
"line": 75,
|
7628
|
+
"character": 39
|
7848
7629
|
},
|
7849
7630
|
"name": "Promise",
|
7850
7631
|
"typeArgs": [
|
7851
7632
|
{
|
7852
7633
|
"__schema": "KeywordTypeSchema",
|
7853
7634
|
"location": {
|
7854
|
-
"filePath": "capsule/
|
7855
|
-
"line":
|
7856
|
-
"character":
|
7635
|
+
"filePath": "capsule/capsule.ts",
|
7636
|
+
"line": 75,
|
7637
|
+
"character": 47
|
7857
7638
|
},
|
7858
|
-
"name": "
|
7639
|
+
"name": "any"
|
7859
7640
|
}
|
7860
7641
|
]
|
7861
7642
|
},
|
@@ -7864,33 +7645,110 @@
|
|
7864
7645
|
{
|
7865
7646
|
"__schema": "FunctionLikeSchema",
|
7866
7647
|
"location": {
|
7867
|
-
"filePath": "capsule/
|
7868
|
-
"line":
|
7648
|
+
"filePath": "capsule/capsule.ts",
|
7649
|
+
"line": 80,
|
7869
7650
|
"character": 3
|
7870
7651
|
},
|
7871
|
-
"signature": "(method)
|
7872
|
-
"name": "
|
7873
|
-
"params": [
|
7874
|
-
|
7875
|
-
|
7876
|
-
|
7877
|
-
|
7878
|
-
|
7879
|
-
|
7652
|
+
"signature": "(method) Capsule.execute(cmd: string, options?: Record<string, any> | null | undefined): Promise<unknown>",
|
7653
|
+
"name": "execute",
|
7654
|
+
"params": [
|
7655
|
+
{
|
7656
|
+
"__schema": "ParameterSchema",
|
7657
|
+
"location": {
|
7658
|
+
"filePath": "capsule/capsule.ts",
|
7659
|
+
"line": 80,
|
7660
|
+
"character": 17
|
7661
|
+
},
|
7662
|
+
"name": "cmd",
|
7663
|
+
"type": {
|
7664
|
+
"__schema": "KeywordTypeSchema",
|
7665
|
+
"location": {
|
7666
|
+
"filePath": "capsule/capsule.ts",
|
7667
|
+
"line": 80,
|
7668
|
+
"character": 22
|
7669
|
+
},
|
7670
|
+
"name": "string"
|
7671
|
+
},
|
7672
|
+
"isOptional": false,
|
7673
|
+
"isSpread": false
|
7880
7674
|
},
|
7881
|
-
|
7882
|
-
|
7883
|
-
{
|
7884
|
-
"
|
7675
|
+
{
|
7676
|
+
"__schema": "ParameterSchema",
|
7677
|
+
"location": {
|
7678
|
+
"filePath": "capsule/capsule.ts",
|
7679
|
+
"line": 80,
|
7680
|
+
"character": 30
|
7681
|
+
},
|
7682
|
+
"name": "options",
|
7683
|
+
"type": {
|
7684
|
+
"__schema": "TypeUnionSchema",
|
7885
7685
|
"location": {
|
7886
|
-
"filePath": "capsule/
|
7887
|
-
"line":
|
7888
|
-
"character":
|
7686
|
+
"filePath": "capsule/capsule.ts",
|
7687
|
+
"line": 80,
|
7688
|
+
"character": 40
|
7889
7689
|
},
|
7890
|
-
"
|
7891
|
-
|
7892
|
-
|
7893
|
-
|
7690
|
+
"types": [
|
7691
|
+
{
|
7692
|
+
"__schema": "TypeRefSchema",
|
7693
|
+
"location": {
|
7694
|
+
"filePath": "capsule/capsule.ts",
|
7695
|
+
"line": 80,
|
7696
|
+
"character": 40
|
7697
|
+
},
|
7698
|
+
"name": "Record",
|
7699
|
+
"typeArgs": [
|
7700
|
+
{
|
7701
|
+
"__schema": "KeywordTypeSchema",
|
7702
|
+
"location": {
|
7703
|
+
"filePath": "capsule/capsule.ts",
|
7704
|
+
"line": 80,
|
7705
|
+
"character": 47
|
7706
|
+
},
|
7707
|
+
"name": "string"
|
7708
|
+
},
|
7709
|
+
{
|
7710
|
+
"__schema": "KeywordTypeSchema",
|
7711
|
+
"location": {
|
7712
|
+
"filePath": "capsule/capsule.ts",
|
7713
|
+
"line": 80,
|
7714
|
+
"character": 55
|
7715
|
+
},
|
7716
|
+
"name": "any"
|
7717
|
+
}
|
7718
|
+
]
|
7719
|
+
},
|
7720
|
+
{
|
7721
|
+
"__schema": "LiteralTypeSchema",
|
7722
|
+
"location": {
|
7723
|
+
"filePath": "capsule/capsule.ts",
|
7724
|
+
"line": 80,
|
7725
|
+
"character": 62
|
7726
|
+
},
|
7727
|
+
"name": "null"
|
7728
|
+
},
|
7729
|
+
{
|
7730
|
+
"__schema": "KeywordTypeSchema",
|
7731
|
+
"location": {
|
7732
|
+
"filePath": "capsule/capsule.ts",
|
7733
|
+
"line": 80,
|
7734
|
+
"character": 69
|
7735
|
+
},
|
7736
|
+
"name": "undefined"
|
7737
|
+
}
|
7738
|
+
]
|
7739
|
+
},
|
7740
|
+
"isOptional": true,
|
7741
|
+
"isSpread": false
|
7742
|
+
}
|
7743
|
+
],
|
7744
|
+
"returnType": {
|
7745
|
+
"__schema": "InferenceTypeSchema",
|
7746
|
+
"location": {
|
7747
|
+
"filePath": "capsule/capsule.ts",
|
7748
|
+
"line": 80,
|
7749
|
+
"character": 3
|
7750
|
+
},
|
7751
|
+
"type": "Promise<unknown>"
|
7894
7752
|
},
|
7895
7753
|
"modifiers": [
|
7896
7754
|
"async"
|
@@ -7899,234 +7757,406 @@
|
|
7899
7757
|
{
|
7900
7758
|
"__schema": "FunctionLikeSchema",
|
7901
7759
|
"location": {
|
7902
|
-
"filePath": "capsule/
|
7903
|
-
"line":
|
7760
|
+
"filePath": "capsule/capsule.ts",
|
7761
|
+
"line": 112,
|
7904
7762
|
"character": 3
|
7905
7763
|
},
|
7906
|
-
"
|
7907
|
-
|
7908
|
-
"params": [],
|
7909
|
-
"returnType": {
|
7910
|
-
"__schema": "TypeRefSchema",
|
7764
|
+
"doc": {
|
7765
|
+
"__schema": "DocSchema",
|
7911
7766
|
"location": {
|
7912
|
-
"filePath": "capsule/
|
7913
|
-
"line":
|
7914
|
-
"character":
|
7767
|
+
"filePath": "capsule/capsule.ts",
|
7768
|
+
"line": 105,
|
7769
|
+
"character": 3
|
7915
7770
|
},
|
7916
|
-
"
|
7917
|
-
"
|
7771
|
+
"raw": "/**\n * @todo: fix.\n * it skips the capsule fs because for some reason `capsule.fs.promises.readdir` doesn't work\n * the same as `capsule.fs.readdir` and it doesn't have the capsule dir as pwd.\n *\n * returns the paths inside the capsule\n */",
|
7772
|
+
"comment": "",
|
7773
|
+
"tags": [
|
7918
7774
|
{
|
7919
|
-
"__schema": "
|
7775
|
+
"__schema": "TagSchema",
|
7920
7776
|
"location": {
|
7921
|
-
"filePath": "capsule/
|
7922
|
-
"line":
|
7923
|
-
"character":
|
7777
|
+
"filePath": "capsule/capsule.ts",
|
7778
|
+
"line": 106,
|
7779
|
+
"character": 6
|
7924
7780
|
},
|
7925
|
-
"
|
7781
|
+
"tagName": "todo",
|
7782
|
+
"comment": ": fix.\nit skips the capsule fs because for some reason `capsule.fs.promises.readdir` doesn't work\nthe same as `capsule.fs.readdir` and it doesn't have the capsule dir as pwd.\n\nreturns the paths inside the capsule"
|
7926
7783
|
}
|
7927
7784
|
]
|
7928
7785
|
},
|
7929
|
-
"
|
7930
|
-
|
7931
|
-
|
7932
|
-
|
7933
|
-
|
7934
|
-
|
7935
|
-
|
7936
|
-
|
7937
|
-
|
7938
|
-
|
7939
|
-
|
7940
|
-
|
7941
|
-
|
7942
|
-
|
7786
|
+
"signature": "(method) Capsule.getAllFilesPaths(dir?: string, options?: {\n ignore?: string[];\n}): any",
|
7787
|
+
"name": "getAllFilesPaths",
|
7788
|
+
"params": [
|
7789
|
+
{
|
7790
|
+
"__schema": "ParameterSchema",
|
7791
|
+
"location": {
|
7792
|
+
"filePath": "capsule/capsule.ts",
|
7793
|
+
"line": 112,
|
7794
|
+
"character": 20
|
7795
|
+
},
|
7796
|
+
"name": "dir",
|
7797
|
+
"type": {
|
7798
|
+
"__schema": "InferenceTypeSchema",
|
7799
|
+
"location": {
|
7800
|
+
"filePath": "capsule/capsule.ts",
|
7801
|
+
"line": 112,
|
7802
|
+
"character": 20
|
7803
|
+
},
|
7804
|
+
"type": "string"
|
7805
|
+
},
|
7806
|
+
"isOptional": true,
|
7807
|
+
"defaultValue": "'.'",
|
7808
|
+
"isSpread": false
|
7809
|
+
},
|
7810
|
+
{
|
7811
|
+
"__schema": "ParameterSchema",
|
7812
|
+
"location": {
|
7813
|
+
"filePath": "capsule/capsule.ts",
|
7814
|
+
"line": 112,
|
7815
|
+
"character": 31
|
7816
|
+
},
|
7817
|
+
"name": "options",
|
7818
|
+
"type": {
|
7819
|
+
"__schema": "TypeLiteralSchema",
|
7820
|
+
"location": {
|
7821
|
+
"filePath": "capsule/capsule.ts",
|
7822
|
+
"line": 112,
|
7823
|
+
"character": 40
|
7824
|
+
},
|
7825
|
+
"members": [
|
7826
|
+
{
|
7827
|
+
"__schema": "VariableLikeSchema",
|
7828
|
+
"location": {
|
7829
|
+
"filePath": "capsule/capsule.ts",
|
7830
|
+
"line": 112,
|
7831
|
+
"character": 42
|
7832
|
+
},
|
7833
|
+
"signature": "(property) ignore?: string[] | undefined",
|
7834
|
+
"name": "ignore",
|
7835
|
+
"type": {
|
7836
|
+
"__schema": "TypeArraySchema",
|
7837
|
+
"location": {
|
7838
|
+
"filePath": "capsule/capsule.ts",
|
7839
|
+
"line": 112,
|
7840
|
+
"character": 51
|
7841
|
+
},
|
7842
|
+
"type": {
|
7843
|
+
"__schema": "KeywordTypeSchema",
|
7844
|
+
"location": {
|
7845
|
+
"filePath": "capsule/capsule.ts",
|
7846
|
+
"line": 112,
|
7847
|
+
"character": 51
|
7848
|
+
},
|
7849
|
+
"name": "string"
|
7850
|
+
}
|
7851
|
+
},
|
7852
|
+
"isOptional": true
|
7853
|
+
}
|
7854
|
+
]
|
7855
|
+
},
|
7856
|
+
"isOptional": true,
|
7857
|
+
"defaultValue": "{}",
|
7858
|
+
"isSpread": false
|
7859
|
+
}
|
7860
|
+
],
|
7943
7861
|
"returnType": {
|
7944
|
-
"__schema": "
|
7862
|
+
"__schema": "InferenceTypeSchema",
|
7945
7863
|
"location": {
|
7946
|
-
"filePath": "capsule/
|
7947
|
-
"line":
|
7948
|
-
"character":
|
7864
|
+
"filePath": "capsule/capsule.ts",
|
7865
|
+
"line": 112,
|
7866
|
+
"character": 3
|
7949
7867
|
},
|
7950
|
-
"
|
7951
|
-
"typeArgs": [
|
7952
|
-
{
|
7953
|
-
"__schema": "KeywordTypeSchema",
|
7954
|
-
"location": {
|
7955
|
-
"filePath": "capsule/container.ts",
|
7956
|
-
"line": 111,
|
7957
|
-
"character": 27
|
7958
|
-
},
|
7959
|
-
"name": "void"
|
7960
|
-
}
|
7961
|
-
]
|
7868
|
+
"type": "any"
|
7962
7869
|
},
|
7963
|
-
"modifiers": [
|
7964
|
-
"async"
|
7965
|
-
]
|
7870
|
+
"modifiers": []
|
7966
7871
|
},
|
7967
7872
|
{
|
7968
7873
|
"__schema": "FunctionLikeSchema",
|
7969
7874
|
"location": {
|
7970
|
-
"filePath": "capsule/
|
7971
|
-
"line":
|
7875
|
+
"filePath": "capsule/capsule.ts",
|
7876
|
+
"line": 117,
|
7972
7877
|
"character": 3
|
7973
7878
|
},
|
7974
|
-
"signature": "(method)
|
7975
|
-
"name": "
|
7879
|
+
"signature": "(method) Capsule.getCapsuleDirName(component: Component, config?: {\n alwaysNew?: boolean;\n name?: string;\n}): string",
|
7880
|
+
"name": "getCapsuleDirName",
|
7976
7881
|
"params": [
|
7977
7882
|
{
|
7978
7883
|
"__schema": "ParameterSchema",
|
7979
7884
|
"location": {
|
7980
|
-
"filePath": "capsule/
|
7981
|
-
"line":
|
7982
|
-
"character":
|
7885
|
+
"filePath": "capsule/capsule.ts",
|
7886
|
+
"line": 117,
|
7887
|
+
"character": 28
|
7983
7888
|
},
|
7984
|
-
"name": "
|
7889
|
+
"name": "component",
|
7985
7890
|
"type": {
|
7986
|
-
"__schema": "
|
7891
|
+
"__schema": "TypeRefSchema",
|
7987
7892
|
"location": {
|
7988
|
-
"filePath": "capsule/
|
7989
|
-
"line":
|
7990
|
-
"character":
|
7893
|
+
"filePath": "capsule/capsule.ts",
|
7894
|
+
"line": 117,
|
7895
|
+
"character": 39
|
7991
7896
|
},
|
7992
|
-
"
|
7897
|
+
"name": "Component",
|
7898
|
+
"componentId": {
|
7899
|
+
"scope": "teambit.component",
|
7900
|
+
"name": "component"
|
7901
|
+
}
|
7902
|
+
},
|
7903
|
+
"isOptional": false,
|
7904
|
+
"isSpread": false
|
7905
|
+
},
|
7906
|
+
{
|
7907
|
+
"__schema": "ParameterSchema",
|
7908
|
+
"location": {
|
7909
|
+
"filePath": "capsule/capsule.ts",
|
7910
|
+
"line": 117,
|
7911
|
+
"character": 50
|
7912
|
+
},
|
7913
|
+
"name": "config",
|
7914
|
+
"type": {
|
7915
|
+
"__schema": "TypeLiteralSchema",
|
7916
|
+
"location": {
|
7917
|
+
"filePath": "capsule/capsule.ts",
|
7918
|
+
"line": 117,
|
7919
|
+
"character": 58
|
7920
|
+
},
|
7921
|
+
"members": [
|
7993
7922
|
{
|
7994
|
-
"__schema": "
|
7923
|
+
"__schema": "VariableLikeSchema",
|
7995
7924
|
"location": {
|
7996
|
-
"filePath": "capsule/
|
7997
|
-
"line":
|
7998
|
-
"character":
|
7925
|
+
"filePath": "capsule/capsule.ts",
|
7926
|
+
"line": 117,
|
7927
|
+
"character": 60
|
7999
7928
|
},
|
8000
|
-
"
|
7929
|
+
"signature": "(property) alwaysNew?: boolean | undefined",
|
7930
|
+
"name": "alwaysNew",
|
7931
|
+
"type": {
|
7932
|
+
"__schema": "KeywordTypeSchema",
|
7933
|
+
"location": {
|
7934
|
+
"filePath": "capsule/capsule.ts",
|
7935
|
+
"line": 117,
|
7936
|
+
"character": 72
|
7937
|
+
},
|
7938
|
+
"name": "boolean"
|
7939
|
+
},
|
7940
|
+
"isOptional": true
|
8001
7941
|
},
|
8002
7942
|
{
|
8003
|
-
"__schema": "
|
7943
|
+
"__schema": "VariableLikeSchema",
|
8004
7944
|
"location": {
|
8005
|
-
"filePath": "capsule/
|
8006
|
-
"line":
|
8007
|
-
"character":
|
7945
|
+
"filePath": "capsule/capsule.ts",
|
7946
|
+
"line": 117,
|
7947
|
+
"character": 81
|
8008
7948
|
},
|
8009
|
-
"
|
7949
|
+
"signature": "(property) name?: string | undefined",
|
7950
|
+
"name": "name",
|
7951
|
+
"type": {
|
7952
|
+
"__schema": "KeywordTypeSchema",
|
7953
|
+
"location": {
|
7954
|
+
"filePath": "capsule/capsule.ts",
|
7955
|
+
"line": 117,
|
7956
|
+
"character": 88
|
7957
|
+
},
|
7958
|
+
"name": "string"
|
7959
|
+
},
|
7960
|
+
"isOptional": true
|
8010
7961
|
}
|
8011
7962
|
]
|
8012
7963
|
},
|
8013
7964
|
"isOptional": true,
|
7965
|
+
"defaultValue": "{}",
|
8014
7966
|
"isSpread": false
|
8015
7967
|
}
|
8016
7968
|
],
|
8017
7969
|
"returnType": {
|
8018
|
-
"__schema": "
|
7970
|
+
"__schema": "InferenceTypeSchema",
|
8019
7971
|
"location": {
|
8020
|
-
"filePath": "capsule/
|
8021
|
-
"line":
|
8022
|
-
"character":
|
7972
|
+
"filePath": "capsule/capsule.ts",
|
7973
|
+
"line": 117,
|
7974
|
+
"character": 3
|
8023
7975
|
},
|
8024
|
-
"
|
8025
|
-
"typeArgs": [
|
8026
|
-
{
|
8027
|
-
"__schema": "KeywordTypeSchema",
|
8028
|
-
"location": {
|
8029
|
-
"filePath": "capsule/container.ts",
|
8030
|
-
"line": 115,
|
8031
|
-
"character": 43
|
8032
|
-
},
|
8033
|
-
"name": "void"
|
8034
|
-
}
|
8035
|
-
]
|
7976
|
+
"type": "string"
|
8036
7977
|
},
|
8037
|
-
"modifiers": [
|
7978
|
+
"modifiers": [
|
7979
|
+
"static"
|
7980
|
+
]
|
8038
7981
|
},
|
8039
7982
|
{
|
8040
7983
|
"__schema": "FunctionLikeSchema",
|
8041
7984
|
"location": {
|
8042
|
-
"filePath": "capsule/
|
8043
|
-
"line":
|
7985
|
+
"filePath": "capsule/capsule.ts",
|
7986
|
+
"line": 121,
|
8044
7987
|
"character": 3
|
8045
7988
|
},
|
8046
|
-
"signature": "(method)
|
8047
|
-
"name": "
|
8048
|
-
"params": [
|
7989
|
+
"signature": "(method) Capsule.getCapsuleRootDir(component: Component, baseDir: string, config?: {\n alwaysNew?: boolean;\n name?: string;\n}): string",
|
7990
|
+
"name": "getCapsuleRootDir",
|
7991
|
+
"params": [
|
7992
|
+
{
|
7993
|
+
"__schema": "ParameterSchema",
|
7994
|
+
"location": {
|
7995
|
+
"filePath": "capsule/capsule.ts",
|
7996
|
+
"line": 121,
|
7997
|
+
"character": 28
|
7998
|
+
},
|
7999
|
+
"name": "component",
|
8000
|
+
"type": {
|
8001
|
+
"__schema": "TypeRefSchema",
|
8002
|
+
"location": {
|
8003
|
+
"filePath": "capsule/capsule.ts",
|
8004
|
+
"line": 121,
|
8005
|
+
"character": 39
|
8006
|
+
},
|
8007
|
+
"name": "Component",
|
8008
|
+
"componentId": {
|
8009
|
+
"scope": "teambit.component",
|
8010
|
+
"name": "component"
|
8011
|
+
}
|
8012
|
+
},
|
8013
|
+
"isOptional": false,
|
8014
|
+
"isSpread": false
|
8015
|
+
},
|
8016
|
+
{
|
8017
|
+
"__schema": "ParameterSchema",
|
8018
|
+
"location": {
|
8019
|
+
"filePath": "capsule/capsule.ts",
|
8020
|
+
"line": 121,
|
8021
|
+
"character": 50
|
8022
|
+
},
|
8023
|
+
"name": "baseDir",
|
8024
|
+
"type": {
|
8025
|
+
"__schema": "KeywordTypeSchema",
|
8026
|
+
"location": {
|
8027
|
+
"filePath": "capsule/capsule.ts",
|
8028
|
+
"line": 121,
|
8029
|
+
"character": 59
|
8030
|
+
},
|
8031
|
+
"name": "string"
|
8032
|
+
},
|
8033
|
+
"isOptional": false,
|
8034
|
+
"isSpread": false
|
8035
|
+
},
|
8036
|
+
{
|
8037
|
+
"__schema": "ParameterSchema",
|
8038
|
+
"location": {
|
8039
|
+
"filePath": "capsule/capsule.ts",
|
8040
|
+
"line": 121,
|
8041
|
+
"character": 67
|
8042
|
+
},
|
8043
|
+
"name": "config",
|
8044
|
+
"type": {
|
8045
|
+
"__schema": "TypeLiteralSchema",
|
8046
|
+
"location": {
|
8047
|
+
"filePath": "capsule/capsule.ts",
|
8048
|
+
"line": 121,
|
8049
|
+
"character": 75
|
8050
|
+
},
|
8051
|
+
"members": [
|
8052
|
+
{
|
8053
|
+
"__schema": "VariableLikeSchema",
|
8054
|
+
"location": {
|
8055
|
+
"filePath": "capsule/capsule.ts",
|
8056
|
+
"line": 121,
|
8057
|
+
"character": 77
|
8058
|
+
},
|
8059
|
+
"signature": "(property) alwaysNew?: boolean | undefined",
|
8060
|
+
"name": "alwaysNew",
|
8061
|
+
"type": {
|
8062
|
+
"__schema": "KeywordTypeSchema",
|
8063
|
+
"location": {
|
8064
|
+
"filePath": "capsule/capsule.ts",
|
8065
|
+
"line": 121,
|
8066
|
+
"character": 89
|
8067
|
+
},
|
8068
|
+
"name": "boolean"
|
8069
|
+
},
|
8070
|
+
"isOptional": true
|
8071
|
+
},
|
8072
|
+
{
|
8073
|
+
"__schema": "VariableLikeSchema",
|
8074
|
+
"location": {
|
8075
|
+
"filePath": "capsule/capsule.ts",
|
8076
|
+
"line": 121,
|
8077
|
+
"character": 98
|
8078
|
+
},
|
8079
|
+
"signature": "(property) name?: string | undefined",
|
8080
|
+
"name": "name",
|
8081
|
+
"type": {
|
8082
|
+
"__schema": "KeywordTypeSchema",
|
8083
|
+
"location": {
|
8084
|
+
"filePath": "capsule/capsule.ts",
|
8085
|
+
"line": 121,
|
8086
|
+
"character": 105
|
8087
|
+
},
|
8088
|
+
"name": "string"
|
8089
|
+
},
|
8090
|
+
"isOptional": true
|
8091
|
+
}
|
8092
|
+
]
|
8093
|
+
},
|
8094
|
+
"isOptional": true,
|
8095
|
+
"defaultValue": "{}",
|
8096
|
+
"isSpread": false
|
8097
|
+
}
|
8098
|
+
],
|
8049
8099
|
"returnType": {
|
8050
|
-
"__schema": "
|
8100
|
+
"__schema": "InferenceTypeSchema",
|
8051
8101
|
"location": {
|
8052
|
-
"filePath": "capsule/
|
8053
|
-
"line":
|
8054
|
-
"character":
|
8102
|
+
"filePath": "capsule/capsule.ts",
|
8103
|
+
"line": 121,
|
8104
|
+
"character": 3
|
8055
8105
|
},
|
8056
|
-
"
|
8057
|
-
"typeArgs": [
|
8058
|
-
{
|
8059
|
-
"__schema": "KeywordTypeSchema",
|
8060
|
-
"location": {
|
8061
|
-
"filePath": "capsule/container.ts",
|
8062
|
-
"line": 118,
|
8063
|
-
"character": 28
|
8064
|
-
},
|
8065
|
-
"name": "void"
|
8066
|
-
}
|
8067
|
-
]
|
8106
|
+
"type": "string"
|
8068
8107
|
},
|
8069
8108
|
"modifiers": [
|
8070
|
-
"
|
8109
|
+
"static"
|
8071
8110
|
]
|
8072
8111
|
},
|
8073
8112
|
{
|
8074
8113
|
"__schema": "FunctionLikeSchema",
|
8075
8114
|
"location": {
|
8076
|
-
"filePath": "capsule/
|
8077
|
-
"line":
|
8115
|
+
"filePath": "capsule/capsule.ts",
|
8116
|
+
"line": 125,
|
8078
8117
|
"character": 3
|
8079
8118
|
},
|
8080
|
-
"signature": "(method)
|
8081
|
-
"name": "
|
8082
|
-
"params": [
|
8083
|
-
|
8084
|
-
|
8085
|
-
|
8086
|
-
|
8087
|
-
|
8088
|
-
|
8089
|
-
|
8090
|
-
|
8091
|
-
|
8092
|
-
{
|
8119
|
+
"signature": "(method) Capsule.createFromComponent(component: Component, baseDir: string, config?: {\n alwaysNew?: boolean;\n}): Promise<Capsule>",
|
8120
|
+
"name": "createFromComponent",
|
8121
|
+
"params": [
|
8122
|
+
{
|
8123
|
+
"__schema": "ParameterSchema",
|
8124
|
+
"location": {
|
8125
|
+
"filePath": "capsule/capsule.ts",
|
8126
|
+
"line": 126,
|
8127
|
+
"character": 5
|
8128
|
+
},
|
8129
|
+
"name": "component",
|
8130
|
+
"type": {
|
8093
8131
|
"__schema": "TypeRefSchema",
|
8094
8132
|
"location": {
|
8095
|
-
"filePath": "capsule/
|
8096
|
-
"line":
|
8097
|
-
"character":
|
8133
|
+
"filePath": "capsule/capsule.ts",
|
8134
|
+
"line": 126,
|
8135
|
+
"character": 16
|
8098
8136
|
},
|
8099
|
-
"name": "
|
8100
|
-
"
|
8101
|
-
|
8102
|
-
|
8103
|
-
|
8104
|
-
|
8105
|
-
|
8106
|
-
|
8107
|
-
|
8108
|
-
"location": {
|
8109
|
-
"filePath": "capsule/container.ts",
|
8110
|
-
"line": 124,
|
8111
|
-
"character": 3
|
8112
|
-
},
|
8113
|
-
"signature": "(method) FsContainer.on(event: string, fn: (data: any) => void): void",
|
8114
|
-
"name": "on",
|
8115
|
-
"params": [
|
8137
|
+
"name": "Component",
|
8138
|
+
"componentId": {
|
8139
|
+
"scope": "teambit.component",
|
8140
|
+
"name": "component"
|
8141
|
+
}
|
8142
|
+
},
|
8143
|
+
"isOptional": false,
|
8144
|
+
"isSpread": false
|
8145
|
+
},
|
8116
8146
|
{
|
8117
8147
|
"__schema": "ParameterSchema",
|
8118
8148
|
"location": {
|
8119
|
-
"filePath": "capsule/
|
8120
|
-
"line":
|
8121
|
-
"character":
|
8149
|
+
"filePath": "capsule/capsule.ts",
|
8150
|
+
"line": 127,
|
8151
|
+
"character": 5
|
8122
8152
|
},
|
8123
|
-
"name": "
|
8153
|
+
"name": "baseDir",
|
8124
8154
|
"type": {
|
8125
8155
|
"__schema": "KeywordTypeSchema",
|
8126
8156
|
"location": {
|
8127
|
-
"filePath": "capsule/
|
8128
|
-
"line":
|
8129
|
-
"character":
|
8157
|
+
"filePath": "capsule/capsule.ts",
|
8158
|
+
"line": 127,
|
8159
|
+
"character": 14
|
8130
8160
|
},
|
8131
8161
|
"name": "string"
|
8132
8162
|
},
|
@@ -8136,86 +8166,88 @@
|
|
8136
8166
|
{
|
8137
8167
|
"__schema": "ParameterSchema",
|
8138
8168
|
"location": {
|
8139
|
-
"filePath": "capsule/
|
8140
|
-
"line":
|
8141
|
-
"character":
|
8169
|
+
"filePath": "capsule/capsule.ts",
|
8170
|
+
"line": 128,
|
8171
|
+
"character": 5
|
8142
8172
|
},
|
8143
|
-
"name": "
|
8173
|
+
"name": "config",
|
8144
8174
|
"type": {
|
8145
|
-
"__schema": "
|
8175
|
+
"__schema": "TypeLiteralSchema",
|
8146
8176
|
"location": {
|
8147
|
-
"filePath": "capsule/
|
8148
|
-
"line":
|
8149
|
-
"character":
|
8177
|
+
"filePath": "capsule/capsule.ts",
|
8178
|
+
"line": 128,
|
8179
|
+
"character": 13
|
8150
8180
|
},
|
8151
|
-
"
|
8152
|
-
"name": "",
|
8153
|
-
"params": [
|
8181
|
+
"members": [
|
8154
8182
|
{
|
8155
|
-
"__schema": "
|
8183
|
+
"__schema": "VariableLikeSchema",
|
8156
8184
|
"location": {
|
8157
|
-
"filePath": "capsule/
|
8158
|
-
"line":
|
8159
|
-
"character":
|
8185
|
+
"filePath": "capsule/capsule.ts",
|
8186
|
+
"line": 128,
|
8187
|
+
"character": 15
|
8160
8188
|
},
|
8161
|
-
"
|
8189
|
+
"signature": "(property) alwaysNew?: boolean | undefined",
|
8190
|
+
"name": "alwaysNew",
|
8162
8191
|
"type": {
|
8163
8192
|
"__schema": "KeywordTypeSchema",
|
8164
8193
|
"location": {
|
8165
|
-
"filePath": "capsule/
|
8166
|
-
"line":
|
8167
|
-
"character":
|
8194
|
+
"filePath": "capsule/capsule.ts",
|
8195
|
+
"line": 128,
|
8196
|
+
"character": 27
|
8168
8197
|
},
|
8169
|
-
"name": "
|
8198
|
+
"name": "boolean"
|
8170
8199
|
},
|
8171
|
-
"isOptional":
|
8172
|
-
"isSpread": false
|
8200
|
+
"isOptional": true
|
8173
8201
|
}
|
8174
|
-
]
|
8175
|
-
"returnType": {
|
8176
|
-
"__schema": "KeywordTypeSchema",
|
8177
|
-
"location": {
|
8178
|
-
"filePath": "capsule/container.ts",
|
8179
|
-
"line": 124,
|
8180
|
-
"character": 40
|
8181
|
-
},
|
8182
|
-
"name": "void"
|
8183
|
-
},
|
8184
|
-
"modifiers": []
|
8202
|
+
]
|
8185
8203
|
},
|
8186
|
-
"isOptional":
|
8204
|
+
"isOptional": true,
|
8205
|
+
"defaultValue": "{}",
|
8187
8206
|
"isSpread": false
|
8188
8207
|
}
|
8189
8208
|
],
|
8190
8209
|
"returnType": {
|
8191
|
-
"__schema": "
|
8210
|
+
"__schema": "TypeRefSchema",
|
8192
8211
|
"location": {
|
8193
|
-
"filePath": "capsule/
|
8194
|
-
"line":
|
8195
|
-
"character":
|
8212
|
+
"filePath": "capsule/capsule.ts",
|
8213
|
+
"line": 129,
|
8214
|
+
"character": 6
|
8196
8215
|
},
|
8197
|
-
"name": "
|
8216
|
+
"name": "Promise",
|
8217
|
+
"typeArgs": [
|
8218
|
+
{
|
8219
|
+
"__schema": "TypeRefSchema",
|
8220
|
+
"location": {
|
8221
|
+
"filePath": "capsule/capsule.ts",
|
8222
|
+
"line": 129,
|
8223
|
+
"character": 14
|
8224
|
+
},
|
8225
|
+
"name": "Capsule"
|
8226
|
+
}
|
8227
|
+
]
|
8198
8228
|
},
|
8199
|
-
"modifiers": [
|
8229
|
+
"modifiers": [
|
8230
|
+
"static",
|
8231
|
+
"async"
|
8232
|
+
]
|
8200
8233
|
}
|
8201
8234
|
],
|
8202
|
-
"extendsNodes": [
|
8203
|
-
"implementNodes": [
|
8235
|
+
"extendsNodes": [
|
8204
8236
|
{
|
8205
8237
|
"__schema": "ExpressionWithTypeArgumentsSchema",
|
8206
8238
|
"location": {
|
8207
|
-
"filePath": "capsule/
|
8208
|
-
"line":
|
8209
|
-
"character":
|
8239
|
+
"filePath": "capsule/capsule.ts",
|
8240
|
+
"line": 13,
|
8241
|
+
"character": 38
|
8210
8242
|
},
|
8211
|
-
"name": "
|
8243
|
+
"name": "extends CapsuleTemplate<Exec, NodeFS>",
|
8212
8244
|
"typeArgs": [
|
8213
8245
|
{
|
8214
8246
|
"__schema": "TypeRefSchema",
|
8215
8247
|
"location": {
|
8216
|
-
"filePath": "capsule/
|
8217
|
-
"line":
|
8218
|
-
"character":
|
8248
|
+
"filePath": "capsule/capsule.ts",
|
8249
|
+
"line": 13,
|
8250
|
+
"character": 54
|
8219
8251
|
},
|
8220
8252
|
"name": "Exec",
|
8221
8253
|
"packageName": "@teambit/capsule"
|
@@ -8223,69 +8255,37 @@
|
|
8223
8255
|
{
|
8224
8256
|
"__schema": "TypeRefSchema",
|
8225
8257
|
"location": {
|
8226
|
-
"filePath": "capsule/
|
8227
|
-
"line":
|
8228
|
-
"character":
|
8258
|
+
"filePath": "capsule/capsule.ts",
|
8259
|
+
"line": 13,
|
8260
|
+
"character": 60
|
8229
8261
|
},
|
8230
|
-
"name": "
|
8262
|
+
"name": "NodeFS",
|
8231
8263
|
"packageName": "@teambit/any-fs"
|
8232
8264
|
}
|
8233
8265
|
],
|
8234
8266
|
"expression": {
|
8235
8267
|
"__schema": "TypeRefSchema",
|
8236
8268
|
"location": {
|
8237
|
-
"filePath": "capsule/
|
8238
|
-
"line":
|
8239
|
-
"character":
|
8269
|
+
"filePath": "capsule/capsule.ts",
|
8270
|
+
"line": 13,
|
8271
|
+
"character": 38
|
8240
8272
|
},
|
8241
|
-
"name": "
|
8273
|
+
"name": "CapsuleTemplate<T",
|
8242
8274
|
"componentId": {
|
8243
8275
|
"_legacy": {
|
8244
8276
|
"scope": "teambit.component",
|
8245
8277
|
"name": "isolator",
|
8246
|
-
"version": "1.0.
|
8278
|
+
"version": "1.0.315"
|
8247
8279
|
},
|
8248
8280
|
"_scope": "teambit.component"
|
8249
8281
|
}
|
8250
8282
|
}
|
8251
8283
|
}
|
8252
|
-
]
|
8253
|
-
}
|
8254
|
-
],
|
8255
|
-
"internals": [
|
8256
|
-
{
|
8257
|
-
"__schema": "ModuleSchema",
|
8258
|
-
"location": {
|
8259
|
-
"filePath": "capsule/container.ts",
|
8260
|
-
"line": 10,
|
8261
|
-
"character": 1
|
8262
|
-
},
|
8263
|
-
"exports": [
|
8264
|
-
{
|
8265
|
-
"__schema": "VariableLikeSchema",
|
8266
|
-
"location": {
|
8267
|
-
"filePath": "capsule/container.ts",
|
8268
|
-
"line": 10,
|
8269
|
-
"character": 7
|
8270
|
-
},
|
8271
|
-
"signature": "const debug: any",
|
8272
|
-
"name": "debug",
|
8273
|
-
"type": {
|
8274
|
-
"__schema": "InferenceTypeSchema",
|
8275
|
-
"location": {
|
8276
|
-
"filePath": "capsule/container.ts",
|
8277
|
-
"line": 10,
|
8278
|
-
"character": 7
|
8279
|
-
},
|
8280
|
-
"type": "any"
|
8281
|
-
},
|
8282
|
-
"isOptional": false,
|
8283
|
-
"defaultValue": "require('debug')('fs-container')"
|
8284
|
-
}
|
8285
8284
|
],
|
8286
|
-
"
|
8285
|
+
"implementNodes": []
|
8287
8286
|
}
|
8288
|
-
]
|
8287
|
+
],
|
8288
|
+
"internals": []
|
8289
8289
|
},
|
8290
8290
|
{
|
8291
8291
|
"__schema": "ModuleSchema",
|
@@ -8563,7 +8563,7 @@
|
|
8563
8563
|
"_legacy": {
|
8564
8564
|
"scope": "teambit.component",
|
8565
8565
|
"name": "isolator",
|
8566
|
-
"version": "1.0.
|
8566
|
+
"version": "1.0.315"
|
8567
8567
|
},
|
8568
8568
|
"_scope": "teambit.component"
|
8569
8569
|
}
|
@@ -8592,7 +8592,7 @@
|
|
8592
8592
|
"_legacy": {
|
8593
8593
|
"scope": "teambit.component",
|
8594
8594
|
"name": "isolator",
|
8595
|
-
"version": "1.0.
|
8595
|
+
"version": "1.0.315"
|
8596
8596
|
},
|
8597
8597
|
"_scope": "teambit.component"
|
8598
8598
|
}
|
@@ -12276,7 +12276,7 @@
|
|
12276
12276
|
"_legacy": {
|
12277
12277
|
"scope": "teambit.component",
|
12278
12278
|
"name": "isolator",
|
12279
|
-
"version": "1.0.
|
12279
|
+
"version": "1.0.315"
|
12280
12280
|
},
|
12281
12281
|
"_scope": "teambit.component"
|
12282
12282
|
}
|
@@ -12292,7 +12292,7 @@
|
|
12292
12292
|
"componentId": {
|
12293
12293
|
"scope": "teambit.component",
|
12294
12294
|
"name": "isolator",
|
12295
|
-
"version": "1.0.
|
12295
|
+
"version": "1.0.315"
|
12296
12296
|
},
|
12297
12297
|
"taggedModuleExports": []
|
12298
12298
|
}
|