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