@teambit/aspect-loader 1.0.410 → 1.0.412
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/__bit_junit.xml +2 -2
- package/artifacts/preview/teambit_harmony_aspect_loader-preview.js +1 -1
- package/artifacts/schema.json +151 -73
- package/dist/aspect-loader.main.runtime.d.ts +1 -1
- package/dist/aspect-loader.main.runtime.js +13 -7
- package/dist/aspect-loader.main.runtime.js.map +1 -1
- package/dist/{preview-1726629511697.js → preview-1727087093163.js} +2 -2
- package/package.json +11 -11
package/artifacts/schema.json
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"line": 4,
|
|
21
21
|
"character": 3
|
|
22
22
|
},
|
|
23
|
+
"signature": "class AspectLoaderMain",
|
|
23
24
|
"name": "AspectLoaderMain",
|
|
24
25
|
"exportNode": {
|
|
25
26
|
"__schema": "ClassSchema",
|
|
@@ -3029,7 +3030,7 @@
|
|
|
3029
3030
|
"line": 816,
|
|
3030
3031
|
"character": 3
|
|
3031
3032
|
},
|
|
3032
|
-
"signature": "(method) AspectLoaderMain.loadAspectFromPath(localAspects: string[]): Promise<
|
|
3033
|
+
"signature": "(method) AspectLoaderMain.loadAspectFromPath(localAspects: string[]): Promise<Record<string, string>>",
|
|
3033
3034
|
"name": "loadAspectFromPath",
|
|
3034
3035
|
"params": [
|
|
3035
3036
|
{
|
|
@@ -3062,13 +3063,44 @@
|
|
|
3062
3063
|
}
|
|
3063
3064
|
],
|
|
3064
3065
|
"returnType": {
|
|
3065
|
-
"__schema": "
|
|
3066
|
+
"__schema": "TypeRefSchema",
|
|
3066
3067
|
"location": {
|
|
3067
3068
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3068
3069
|
"line": 816,
|
|
3069
|
-
"character":
|
|
3070
|
+
"character": 60
|
|
3070
3071
|
},
|
|
3071
|
-
"
|
|
3072
|
+
"name": "Promise",
|
|
3073
|
+
"typeArgs": [
|
|
3074
|
+
{
|
|
3075
|
+
"__schema": "TypeRefSchema",
|
|
3076
|
+
"location": {
|
|
3077
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
3078
|
+
"line": 816,
|
|
3079
|
+
"character": 68
|
|
3080
|
+
},
|
|
3081
|
+
"name": "Record",
|
|
3082
|
+
"typeArgs": [
|
|
3083
|
+
{
|
|
3084
|
+
"__schema": "KeywordTypeSchema",
|
|
3085
|
+
"location": {
|
|
3086
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
3087
|
+
"line": 816,
|
|
3088
|
+
"character": 75
|
|
3089
|
+
},
|
|
3090
|
+
"name": "string"
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"__schema": "KeywordTypeSchema",
|
|
3094
|
+
"location": {
|
|
3095
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
3096
|
+
"line": 816,
|
|
3097
|
+
"character": 83
|
|
3098
|
+
},
|
|
3099
|
+
"name": "string"
|
|
3100
|
+
}
|
|
3101
|
+
]
|
|
3102
|
+
}
|
|
3103
|
+
]
|
|
3072
3104
|
},
|
|
3073
3105
|
"modifiers": [
|
|
3074
3106
|
"public",
|
|
@@ -3079,7 +3111,7 @@
|
|
|
3079
3111
|
"__schema": "FunctionLikeSchema",
|
|
3080
3112
|
"location": {
|
|
3081
3113
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3082
|
-
"line":
|
|
3114
|
+
"line": 852,
|
|
3083
3115
|
"character": 3
|
|
3084
3116
|
},
|
|
3085
3117
|
"signature": "(method) AspectLoaderMain.resolveLocalAspects(ids: string[], runtime?: string): Promise<AspectDefinition[]>",
|
|
@@ -3089,7 +3121,7 @@
|
|
|
3089
3121
|
"__schema": "ParameterSchema",
|
|
3090
3122
|
"location": {
|
|
3091
3123
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3092
|
-
"line":
|
|
3124
|
+
"line": 852,
|
|
3093
3125
|
"character": 36
|
|
3094
3126
|
},
|
|
3095
3127
|
"name": "ids",
|
|
@@ -3097,14 +3129,14 @@
|
|
|
3097
3129
|
"__schema": "TypeArraySchema",
|
|
3098
3130
|
"location": {
|
|
3099
3131
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3100
|
-
"line":
|
|
3132
|
+
"line": 852,
|
|
3101
3133
|
"character": 41
|
|
3102
3134
|
},
|
|
3103
3135
|
"type": {
|
|
3104
3136
|
"__schema": "KeywordTypeSchema",
|
|
3105
3137
|
"location": {
|
|
3106
3138
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3107
|
-
"line":
|
|
3139
|
+
"line": 852,
|
|
3108
3140
|
"character": 41
|
|
3109
3141
|
},
|
|
3110
3142
|
"name": "string"
|
|
@@ -3117,7 +3149,7 @@
|
|
|
3117
3149
|
"__schema": "ParameterSchema",
|
|
3118
3150
|
"location": {
|
|
3119
3151
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3120
|
-
"line":
|
|
3152
|
+
"line": 852,
|
|
3121
3153
|
"character": 51
|
|
3122
3154
|
},
|
|
3123
3155
|
"name": "runtime",
|
|
@@ -3125,7 +3157,7 @@
|
|
|
3125
3157
|
"__schema": "KeywordTypeSchema",
|
|
3126
3158
|
"location": {
|
|
3127
3159
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3128
|
-
"line":
|
|
3160
|
+
"line": 852,
|
|
3129
3161
|
"character": 61
|
|
3130
3162
|
},
|
|
3131
3163
|
"name": "string"
|
|
@@ -3138,7 +3170,7 @@
|
|
|
3138
3170
|
"__schema": "TypeRefSchema",
|
|
3139
3171
|
"location": {
|
|
3140
3172
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3141
|
-
"line":
|
|
3173
|
+
"line": 852,
|
|
3142
3174
|
"character": 70
|
|
3143
3175
|
},
|
|
3144
3176
|
"name": "Promise",
|
|
@@ -3147,14 +3179,14 @@
|
|
|
3147
3179
|
"__schema": "TypeArraySchema",
|
|
3148
3180
|
"location": {
|
|
3149
3181
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3150
|
-
"line":
|
|
3182
|
+
"line": 852,
|
|
3151
3183
|
"character": 78
|
|
3152
3184
|
},
|
|
3153
3185
|
"type": {
|
|
3154
3186
|
"__schema": "TypeRefSchema",
|
|
3155
3187
|
"location": {
|
|
3156
3188
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3157
|
-
"line":
|
|
3189
|
+
"line": 852,
|
|
3158
3190
|
"character": 78
|
|
3159
3191
|
},
|
|
3160
3192
|
"name": "AspectDefinition"
|
|
@@ -3171,7 +3203,7 @@
|
|
|
3171
3203
|
"__schema": "VariableLikeSchema",
|
|
3172
3204
|
"location": {
|
|
3173
3205
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3174
|
-
"line":
|
|
3206
|
+
"line": 870,
|
|
3175
3207
|
"character": 3
|
|
3176
3208
|
},
|
|
3177
3209
|
"signature": "(property) AspectLoaderMain.runtime: RuntimeDefinition",
|
|
@@ -3180,7 +3212,7 @@
|
|
|
3180
3212
|
"__schema": "InferenceTypeSchema",
|
|
3181
3213
|
"location": {
|
|
3182
3214
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3183
|
-
"line":
|
|
3215
|
+
"line": 870,
|
|
3184
3216
|
"character": 3
|
|
3185
3217
|
},
|
|
3186
3218
|
"type": "RuntimeDefinition"
|
|
@@ -3192,7 +3224,7 @@
|
|
|
3192
3224
|
"__schema": "VariableLikeSchema",
|
|
3193
3225
|
"location": {
|
|
3194
3226
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3195
|
-
"line":
|
|
3227
|
+
"line": 871,
|
|
3196
3228
|
"character": 3
|
|
3197
3229
|
},
|
|
3198
3230
|
"signature": "(property) AspectLoaderMain.dependencies: Aspect[]",
|
|
@@ -3201,7 +3233,7 @@
|
|
|
3201
3233
|
"__schema": "InferenceTypeSchema",
|
|
3202
3234
|
"location": {
|
|
3203
3235
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3204
|
-
"line":
|
|
3236
|
+
"line": 871,
|
|
3205
3237
|
"character": 3
|
|
3206
3238
|
},
|
|
3207
3239
|
"type": "Aspect[]"
|
|
@@ -3213,7 +3245,7 @@
|
|
|
3213
3245
|
"__schema": "VariableLikeSchema",
|
|
3214
3246
|
"location": {
|
|
3215
3247
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3216
|
-
"line":
|
|
3248
|
+
"line": 872,
|
|
3217
3249
|
"character": 3
|
|
3218
3250
|
},
|
|
3219
3251
|
"signature": "(property) AspectLoaderMain.slots: (((registerFn: () => string) => SlotRegistry<OnAspectLoadError>) | ((registerFn: () => string) => SlotRegistry<OnLoadRequireableExtension>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -3222,7 +3254,7 @@
|
|
|
3222
3254
|
"__schema": "InferenceTypeSchema",
|
|
3223
3255
|
"location": {
|
|
3224
3256
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3225
|
-
"line":
|
|
3257
|
+
"line": 872,
|
|
3226
3258
|
"character": 3
|
|
3227
3259
|
},
|
|
3228
3260
|
"type": "(((registerFn: () => string) => SlotRegistry<OnAspectLoadError>) | ((registerFn: () => string) => SlotRegistry<OnLoadRequireableExtension>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -3234,7 +3266,7 @@
|
|
|
3234
3266
|
"__schema": "FunctionLikeSchema",
|
|
3235
3267
|
"location": {
|
|
3236
3268
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3237
|
-
"line":
|
|
3269
|
+
"line": 878,
|
|
3238
3270
|
"character": 3
|
|
3239
3271
|
},
|
|
3240
3272
|
"signature": "(method) AspectLoaderMain.provider([loggerExt, envs, graphql]: [LoggerMain, EnvsMain, GraphqlMain], config: any, [onAspectLoadErrorSlot, onLoadRequireableExtensionSlot, pluginSlot]: [\n OnAspectLoadErrorSlot,\n OnLoadRequireableExtensionSlot,\n PluginDefinitionSlot\n], harmony: Harmony): Promise<AspectLoaderMain>",
|
|
@@ -3244,7 +3276,7 @@
|
|
|
3244
3276
|
"__schema": "ParameterSchema",
|
|
3245
3277
|
"location": {
|
|
3246
3278
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3247
|
-
"line":
|
|
3279
|
+
"line": 879,
|
|
3248
3280
|
"character": 5
|
|
3249
3281
|
},
|
|
3250
3282
|
"name": "[ loggerExt, envs, graphql ]",
|
|
@@ -3252,7 +3284,7 @@
|
|
|
3252
3284
|
"__schema": "TupleTypeSchema",
|
|
3253
3285
|
"location": {
|
|
3254
3286
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3255
|
-
"line":
|
|
3287
|
+
"line": 879,
|
|
3256
3288
|
"character": 33
|
|
3257
3289
|
},
|
|
3258
3290
|
"elements": [
|
|
@@ -3260,7 +3292,7 @@
|
|
|
3260
3292
|
"__schema": "TypeRefSchema",
|
|
3261
3293
|
"location": {
|
|
3262
3294
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3263
|
-
"line":
|
|
3295
|
+
"line": 879,
|
|
3264
3296
|
"character": 34
|
|
3265
3297
|
},
|
|
3266
3298
|
"name": "LoggerMain"
|
|
@@ -3269,7 +3301,7 @@
|
|
|
3269
3301
|
"__schema": "TypeRefSchema",
|
|
3270
3302
|
"location": {
|
|
3271
3303
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3272
|
-
"line":
|
|
3304
|
+
"line": 879,
|
|
3273
3305
|
"character": 46
|
|
3274
3306
|
},
|
|
3275
3307
|
"name": "EnvsMain"
|
|
@@ -3278,7 +3310,7 @@
|
|
|
3278
3310
|
"__schema": "TypeRefSchema",
|
|
3279
3311
|
"location": {
|
|
3280
3312
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3281
|
-
"line":
|
|
3313
|
+
"line": 879,
|
|
3282
3314
|
"character": 56
|
|
3283
3315
|
},
|
|
3284
3316
|
"name": "GraphqlMain"
|
|
@@ -3292,7 +3324,7 @@
|
|
|
3292
3324
|
"__schema": "ParameterSchema",
|
|
3293
3325
|
"location": {
|
|
3294
3326
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3295
|
-
"line":
|
|
3327
|
+
"line": 880,
|
|
3296
3328
|
"character": 5
|
|
3297
3329
|
},
|
|
3298
3330
|
"name": "config",
|
|
@@ -3300,7 +3332,7 @@
|
|
|
3300
3332
|
"__schema": "InferenceTypeSchema",
|
|
3301
3333
|
"location": {
|
|
3302
3334
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3303
|
-
"line":
|
|
3335
|
+
"line": 880,
|
|
3304
3336
|
"character": 5
|
|
3305
3337
|
},
|
|
3306
3338
|
"type": "any"
|
|
@@ -3312,7 +3344,7 @@
|
|
|
3312
3344
|
"__schema": "ParameterSchema",
|
|
3313
3345
|
"location": {
|
|
3314
3346
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3315
|
-
"line":
|
|
3347
|
+
"line": 881,
|
|
3316
3348
|
"character": 5
|
|
3317
3349
|
},
|
|
3318
3350
|
"name": "[ onAspectLoadErrorSlot, onLoadRequireableExtensionSlot, pluginSlot ]",
|
|
@@ -3320,7 +3352,7 @@
|
|
|
3320
3352
|
"__schema": "TupleTypeSchema",
|
|
3321
3353
|
"location": {
|
|
3322
3354
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3323
|
-
"line":
|
|
3355
|
+
"line": 881,
|
|
3324
3356
|
"character": 74
|
|
3325
3357
|
},
|
|
3326
3358
|
"elements": [
|
|
@@ -3328,7 +3360,7 @@
|
|
|
3328
3360
|
"__schema": "TypeRefSchema",
|
|
3329
3361
|
"location": {
|
|
3330
3362
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3331
|
-
"line":
|
|
3363
|
+
"line": 882,
|
|
3332
3364
|
"character": 7
|
|
3333
3365
|
},
|
|
3334
3366
|
"name": "OnAspectLoadErrorSlot"
|
|
@@ -3337,7 +3369,7 @@
|
|
|
3337
3369
|
"__schema": "TypeRefSchema",
|
|
3338
3370
|
"location": {
|
|
3339
3371
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3340
|
-
"line":
|
|
3372
|
+
"line": 883,
|
|
3341
3373
|
"character": 7
|
|
3342
3374
|
},
|
|
3343
3375
|
"name": "OnLoadRequireableExtensionSlot"
|
|
@@ -3346,7 +3378,7 @@
|
|
|
3346
3378
|
"__schema": "TypeRefSchema",
|
|
3347
3379
|
"location": {
|
|
3348
3380
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3349
|
-
"line":
|
|
3381
|
+
"line": 884,
|
|
3350
3382
|
"character": 7
|
|
3351
3383
|
},
|
|
3352
3384
|
"name": "PluginDefinitionSlot"
|
|
@@ -3360,7 +3392,7 @@
|
|
|
3360
3392
|
"__schema": "ParameterSchema",
|
|
3361
3393
|
"location": {
|
|
3362
3394
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3363
|
-
"line":
|
|
3395
|
+
"line": 886,
|
|
3364
3396
|
"character": 5
|
|
3365
3397
|
},
|
|
3366
3398
|
"name": "harmony",
|
|
@@ -3368,7 +3400,7 @@
|
|
|
3368
3400
|
"__schema": "TypeRefSchema",
|
|
3369
3401
|
"location": {
|
|
3370
3402
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3371
|
-
"line":
|
|
3403
|
+
"line": 886,
|
|
3372
3404
|
"character": 14
|
|
3373
3405
|
},
|
|
3374
3406
|
"name": "Harmony"
|
|
@@ -3381,7 +3413,7 @@
|
|
|
3381
3413
|
"__schema": "InferenceTypeSchema",
|
|
3382
3414
|
"location": {
|
|
3383
3415
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
3384
|
-
"line":
|
|
3416
|
+
"line": 878,
|
|
3385
3417
|
"character": 3
|
|
3386
3418
|
},
|
|
3387
3419
|
"type": "Promise<AspectLoaderMain>"
|
|
@@ -3403,6 +3435,7 @@
|
|
|
3403
3435
|
"line": 5,
|
|
3404
3436
|
"character": 3
|
|
3405
3437
|
},
|
|
3438
|
+
"signature": "type AspectDescriptor = {\n id: string;\n icon?: string | undefined;\n}",
|
|
3406
3439
|
"name": "AspectDescriptor",
|
|
3407
3440
|
"exportNode": {
|
|
3408
3441
|
"__schema": "TypeSchema",
|
|
@@ -3494,6 +3527,7 @@
|
|
|
3494
3527
|
"line": 6,
|
|
3495
3528
|
"character": 3
|
|
3496
3529
|
},
|
|
3530
|
+
"signature": "type MainAspect = {\n path: string;\n version: string | undefined;\n packageName: string | undefined;\n aspect: Aspect;\n name: string;\n id: string;\n}",
|
|
3497
3531
|
"name": "MainAspect",
|
|
3498
3532
|
"exportNode": {
|
|
3499
3533
|
"__schema": "TypeSchema",
|
|
@@ -3752,6 +3786,7 @@
|
|
|
3752
3786
|
"line": 7,
|
|
3753
3787
|
"character": 3
|
|
3754
3788
|
},
|
|
3789
|
+
"signature": "type OnLoadRequireableExtension = (requireableExtension: RequireableComponent, manifest: ExtensionManifest | Aspect) => Promise<ExtensionManifest | Aspect>",
|
|
3755
3790
|
"name": "OnLoadRequireableExtension",
|
|
3756
3791
|
"exportNode": {
|
|
3757
3792
|
"__schema": "TypeSchema",
|
|
@@ -3882,6 +3917,7 @@
|
|
|
3882
3917
|
"line": 8,
|
|
3883
3918
|
"character": 3
|
|
3884
3919
|
},
|
|
3920
|
+
"signature": "type AspectResolver = (component: Component) => Promise<ResolvedAspect | undefined>",
|
|
3885
3921
|
"name": "AspectResolver",
|
|
3886
3922
|
"exportNode": {
|
|
3887
3923
|
"__schema": "TypeSchema",
|
|
@@ -3973,6 +4009,7 @@
|
|
|
3973
4009
|
"line": 9,
|
|
3974
4010
|
"character": 3
|
|
3975
4011
|
},
|
|
4012
|
+
"signature": "type ResolvedAspect = {\n aspectPath: string;\n runtimePath: string | null;\n aspectFilePath: string | null;\n}",
|
|
3976
4013
|
"name": "ResolvedAspect",
|
|
3977
4014
|
"exportNode": {
|
|
3978
4015
|
"__schema": "TypeSchema",
|
|
@@ -4100,6 +4137,7 @@
|
|
|
4100
4137
|
"line": 12,
|
|
4101
4138
|
"character": 3
|
|
4102
4139
|
},
|
|
4140
|
+
"signature": "function getAspectDef(aspectName: string, runtime?: string): Promise<{\n id: string;\n aspectPath: string;\n aspectFilePath: string | null;\n runtimePath: string | null;\n}>",
|
|
4103
4141
|
"name": "getAspectDef",
|
|
4104
4142
|
"exportNode": {
|
|
4105
4143
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4174,6 +4212,7 @@
|
|
|
4174
4212
|
"line": 13,
|
|
4175
4213
|
"character": 3
|
|
4176
4214
|
},
|
|
4215
|
+
"signature": "function getAspectDir(id: string): string",
|
|
4177
4216
|
"name": "getAspectDir",
|
|
4178
4217
|
"exportNode": {
|
|
4179
4218
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4227,6 +4266,7 @@
|
|
|
4227
4266
|
"line": 14,
|
|
4228
4267
|
"character": 3
|
|
4229
4268
|
},
|
|
4269
|
+
"signature": "function getAspectDistDir(id: string): string",
|
|
4230
4270
|
"name": "getAspectDistDir",
|
|
4231
4271
|
"exportNode": {
|
|
4232
4272
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4280,6 +4320,7 @@
|
|
|
4280
4320
|
"line": 15,
|
|
4281
4321
|
"character": 3
|
|
4282
4322
|
},
|
|
4323
|
+
"signature": "function getCoreAspectPackageName(id: string): string",
|
|
4283
4324
|
"name": "getCoreAspectPackageName",
|
|
4284
4325
|
"exportNode": {
|
|
4285
4326
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4333,6 +4374,7 @@
|
|
|
4333
4374
|
"line": 16,
|
|
4334
4375
|
"character": 3
|
|
4335
4376
|
},
|
|
4377
|
+
"signature": "function getCoreAspectName(id: string): string",
|
|
4336
4378
|
"name": "getCoreAspectName",
|
|
4337
4379
|
"exportNode": {
|
|
4338
4380
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4386,6 +4428,7 @@
|
|
|
4386
4428
|
"line": 17,
|
|
4387
4429
|
"character": 3
|
|
4388
4430
|
},
|
|
4431
|
+
"signature": "function getAspectDirFromBvm(id: string, bvmDirOptions?: BvmDirOptions): string",
|
|
4389
4432
|
"name": "getAspectDirFromBvm",
|
|
4390
4433
|
"exportNode": {
|
|
4391
4434
|
"__schema": "FunctionLikeSchema",
|
|
@@ -4459,6 +4502,7 @@
|
|
|
4459
4502
|
"line": 19,
|
|
4460
4503
|
"character": 15
|
|
4461
4504
|
},
|
|
4505
|
+
"signature": "interface PluginDefinition",
|
|
4462
4506
|
"name": "PluginDefinition",
|
|
4463
4507
|
"exportNode": {
|
|
4464
4508
|
"__schema": "InterfaceSchema",
|
|
@@ -4646,6 +4690,7 @@
|
|
|
4646
4690
|
"line": 20,
|
|
4647
4691
|
"character": 10
|
|
4648
4692
|
},
|
|
4693
|
+
"signature": "class AspectDefinition",
|
|
4649
4694
|
"name": "AspectDefinition",
|
|
4650
4695
|
"exportNode": {
|
|
4651
4696
|
"__schema": "ClassSchema",
|
|
@@ -4980,6 +5025,7 @@
|
|
|
4980
5025
|
"line": 21,
|
|
4981
5026
|
"character": 10
|
|
4982
5027
|
},
|
|
5028
|
+
"signature": "function(id: string, errMsg?: string): string",
|
|
4983
5029
|
"name": "UNABLE_TO_LOAD_EXTENSION",
|
|
4984
5030
|
"exportNode": {
|
|
4985
5031
|
"__schema": "FunctionLikeSchema",
|
|
@@ -5051,6 +5097,7 @@
|
|
|
5051
5097
|
"line": 22,
|
|
5052
5098
|
"character": 10
|
|
5053
5099
|
},
|
|
5100
|
+
"signature": "const AspectLoaderAspect: Aspect",
|
|
5054
5101
|
"name": "AspectLoaderAspect",
|
|
5055
5102
|
"exportNode": {
|
|
5056
5103
|
"__schema": "VariableLikeSchema",
|
|
@@ -9132,7 +9179,7 @@
|
|
|
9132
9179
|
"line": 816,
|
|
9133
9180
|
"character": 3
|
|
9134
9181
|
},
|
|
9135
|
-
"signature": "(method) AspectLoaderMain.loadAspectFromPath(localAspects: string[]): Promise<
|
|
9182
|
+
"signature": "(method) AspectLoaderMain.loadAspectFromPath(localAspects: string[]): Promise<Record<string, string>>",
|
|
9136
9183
|
"name": "loadAspectFromPath",
|
|
9137
9184
|
"params": [
|
|
9138
9185
|
{
|
|
@@ -9165,13 +9212,44 @@
|
|
|
9165
9212
|
}
|
|
9166
9213
|
],
|
|
9167
9214
|
"returnType": {
|
|
9168
|
-
"__schema": "
|
|
9215
|
+
"__schema": "TypeRefSchema",
|
|
9169
9216
|
"location": {
|
|
9170
9217
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9171
9218
|
"line": 816,
|
|
9172
|
-
"character":
|
|
9219
|
+
"character": 60
|
|
9173
9220
|
},
|
|
9174
|
-
"
|
|
9221
|
+
"name": "Promise",
|
|
9222
|
+
"typeArgs": [
|
|
9223
|
+
{
|
|
9224
|
+
"__schema": "TypeRefSchema",
|
|
9225
|
+
"location": {
|
|
9226
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
9227
|
+
"line": 816,
|
|
9228
|
+
"character": 68
|
|
9229
|
+
},
|
|
9230
|
+
"name": "Record",
|
|
9231
|
+
"typeArgs": [
|
|
9232
|
+
{
|
|
9233
|
+
"__schema": "KeywordTypeSchema",
|
|
9234
|
+
"location": {
|
|
9235
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
9236
|
+
"line": 816,
|
|
9237
|
+
"character": 75
|
|
9238
|
+
},
|
|
9239
|
+
"name": "string"
|
|
9240
|
+
},
|
|
9241
|
+
{
|
|
9242
|
+
"__schema": "KeywordTypeSchema",
|
|
9243
|
+
"location": {
|
|
9244
|
+
"filePath": "aspect-loader.main.runtime.ts",
|
|
9245
|
+
"line": 816,
|
|
9246
|
+
"character": 83
|
|
9247
|
+
},
|
|
9248
|
+
"name": "string"
|
|
9249
|
+
}
|
|
9250
|
+
]
|
|
9251
|
+
}
|
|
9252
|
+
]
|
|
9175
9253
|
},
|
|
9176
9254
|
"modifiers": [
|
|
9177
9255
|
"public",
|
|
@@ -9182,7 +9260,7 @@
|
|
|
9182
9260
|
"__schema": "FunctionLikeSchema",
|
|
9183
9261
|
"location": {
|
|
9184
9262
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9185
|
-
"line":
|
|
9263
|
+
"line": 852,
|
|
9186
9264
|
"character": 3
|
|
9187
9265
|
},
|
|
9188
9266
|
"signature": "(method) AspectLoaderMain.resolveLocalAspects(ids: string[], runtime?: string): Promise<AspectDefinition[]>",
|
|
@@ -9192,7 +9270,7 @@
|
|
|
9192
9270
|
"__schema": "ParameterSchema",
|
|
9193
9271
|
"location": {
|
|
9194
9272
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9195
|
-
"line":
|
|
9273
|
+
"line": 852,
|
|
9196
9274
|
"character": 36
|
|
9197
9275
|
},
|
|
9198
9276
|
"name": "ids",
|
|
@@ -9200,14 +9278,14 @@
|
|
|
9200
9278
|
"__schema": "TypeArraySchema",
|
|
9201
9279
|
"location": {
|
|
9202
9280
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9203
|
-
"line":
|
|
9281
|
+
"line": 852,
|
|
9204
9282
|
"character": 41
|
|
9205
9283
|
},
|
|
9206
9284
|
"type": {
|
|
9207
9285
|
"__schema": "KeywordTypeSchema",
|
|
9208
9286
|
"location": {
|
|
9209
9287
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9210
|
-
"line":
|
|
9288
|
+
"line": 852,
|
|
9211
9289
|
"character": 41
|
|
9212
9290
|
},
|
|
9213
9291
|
"name": "string"
|
|
@@ -9220,7 +9298,7 @@
|
|
|
9220
9298
|
"__schema": "ParameterSchema",
|
|
9221
9299
|
"location": {
|
|
9222
9300
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9223
|
-
"line":
|
|
9301
|
+
"line": 852,
|
|
9224
9302
|
"character": 51
|
|
9225
9303
|
},
|
|
9226
9304
|
"name": "runtime",
|
|
@@ -9228,7 +9306,7 @@
|
|
|
9228
9306
|
"__schema": "KeywordTypeSchema",
|
|
9229
9307
|
"location": {
|
|
9230
9308
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9231
|
-
"line":
|
|
9309
|
+
"line": 852,
|
|
9232
9310
|
"character": 61
|
|
9233
9311
|
},
|
|
9234
9312
|
"name": "string"
|
|
@@ -9241,7 +9319,7 @@
|
|
|
9241
9319
|
"__schema": "TypeRefSchema",
|
|
9242
9320
|
"location": {
|
|
9243
9321
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9244
|
-
"line":
|
|
9322
|
+
"line": 852,
|
|
9245
9323
|
"character": 70
|
|
9246
9324
|
},
|
|
9247
9325
|
"name": "Promise",
|
|
@@ -9250,14 +9328,14 @@
|
|
|
9250
9328
|
"__schema": "TypeArraySchema",
|
|
9251
9329
|
"location": {
|
|
9252
9330
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9253
|
-
"line":
|
|
9331
|
+
"line": 852,
|
|
9254
9332
|
"character": 78
|
|
9255
9333
|
},
|
|
9256
9334
|
"type": {
|
|
9257
9335
|
"__schema": "TypeRefSchema",
|
|
9258
9336
|
"location": {
|
|
9259
9337
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9260
|
-
"line":
|
|
9338
|
+
"line": 852,
|
|
9261
9339
|
"character": 78
|
|
9262
9340
|
},
|
|
9263
9341
|
"name": "AspectDefinition"
|
|
@@ -9274,7 +9352,7 @@
|
|
|
9274
9352
|
"__schema": "VariableLikeSchema",
|
|
9275
9353
|
"location": {
|
|
9276
9354
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9277
|
-
"line":
|
|
9355
|
+
"line": 870,
|
|
9278
9356
|
"character": 3
|
|
9279
9357
|
},
|
|
9280
9358
|
"signature": "(property) AspectLoaderMain.runtime: RuntimeDefinition",
|
|
@@ -9283,7 +9361,7 @@
|
|
|
9283
9361
|
"__schema": "InferenceTypeSchema",
|
|
9284
9362
|
"location": {
|
|
9285
9363
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9286
|
-
"line":
|
|
9364
|
+
"line": 870,
|
|
9287
9365
|
"character": 3
|
|
9288
9366
|
},
|
|
9289
9367
|
"type": "RuntimeDefinition"
|
|
@@ -9295,7 +9373,7 @@
|
|
|
9295
9373
|
"__schema": "VariableLikeSchema",
|
|
9296
9374
|
"location": {
|
|
9297
9375
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9298
|
-
"line":
|
|
9376
|
+
"line": 871,
|
|
9299
9377
|
"character": 3
|
|
9300
9378
|
},
|
|
9301
9379
|
"signature": "(property) AspectLoaderMain.dependencies: Aspect[]",
|
|
@@ -9304,7 +9382,7 @@
|
|
|
9304
9382
|
"__schema": "InferenceTypeSchema",
|
|
9305
9383
|
"location": {
|
|
9306
9384
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9307
|
-
"line":
|
|
9385
|
+
"line": 871,
|
|
9308
9386
|
"character": 3
|
|
9309
9387
|
},
|
|
9310
9388
|
"type": "Aspect[]"
|
|
@@ -9316,7 +9394,7 @@
|
|
|
9316
9394
|
"__schema": "VariableLikeSchema",
|
|
9317
9395
|
"location": {
|
|
9318
9396
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9319
|
-
"line":
|
|
9397
|
+
"line": 872,
|
|
9320
9398
|
"character": 3
|
|
9321
9399
|
},
|
|
9322
9400
|
"signature": "(property) AspectLoaderMain.slots: (((registerFn: () => string) => SlotRegistry<OnAspectLoadError>) | ((registerFn: () => string) => SlotRegistry<OnLoadRequireableExtension>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
|
|
@@ -9325,7 +9403,7 @@
|
|
|
9325
9403
|
"__schema": "InferenceTypeSchema",
|
|
9326
9404
|
"location": {
|
|
9327
9405
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9328
|
-
"line":
|
|
9406
|
+
"line": 872,
|
|
9329
9407
|
"character": 3
|
|
9330
9408
|
},
|
|
9331
9409
|
"type": "(((registerFn: () => string) => SlotRegistry<OnAspectLoadError>) | ((registerFn: () => string) => SlotRegistry<OnLoadRequireableExtension>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
|
|
@@ -9337,7 +9415,7 @@
|
|
|
9337
9415
|
"__schema": "FunctionLikeSchema",
|
|
9338
9416
|
"location": {
|
|
9339
9417
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9340
|
-
"line":
|
|
9418
|
+
"line": 878,
|
|
9341
9419
|
"character": 3
|
|
9342
9420
|
},
|
|
9343
9421
|
"signature": "(method) AspectLoaderMain.provider([loggerExt, envs, graphql]: [LoggerMain, EnvsMain, GraphqlMain], config: any, [onAspectLoadErrorSlot, onLoadRequireableExtensionSlot, pluginSlot]: [\n OnAspectLoadErrorSlot,\n OnLoadRequireableExtensionSlot,\n PluginDefinitionSlot\n], harmony: Harmony): Promise<AspectLoaderMain>",
|
|
@@ -9347,7 +9425,7 @@
|
|
|
9347
9425
|
"__schema": "ParameterSchema",
|
|
9348
9426
|
"location": {
|
|
9349
9427
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9350
|
-
"line":
|
|
9428
|
+
"line": 879,
|
|
9351
9429
|
"character": 5
|
|
9352
9430
|
},
|
|
9353
9431
|
"name": "[ loggerExt, envs, graphql ]",
|
|
@@ -9355,7 +9433,7 @@
|
|
|
9355
9433
|
"__schema": "TupleTypeSchema",
|
|
9356
9434
|
"location": {
|
|
9357
9435
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9358
|
-
"line":
|
|
9436
|
+
"line": 879,
|
|
9359
9437
|
"character": 33
|
|
9360
9438
|
},
|
|
9361
9439
|
"elements": [
|
|
@@ -9363,7 +9441,7 @@
|
|
|
9363
9441
|
"__schema": "TypeRefSchema",
|
|
9364
9442
|
"location": {
|
|
9365
9443
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9366
|
-
"line":
|
|
9444
|
+
"line": 879,
|
|
9367
9445
|
"character": 34
|
|
9368
9446
|
},
|
|
9369
9447
|
"name": "LoggerMain"
|
|
@@ -9372,7 +9450,7 @@
|
|
|
9372
9450
|
"__schema": "TypeRefSchema",
|
|
9373
9451
|
"location": {
|
|
9374
9452
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9375
|
-
"line":
|
|
9453
|
+
"line": 879,
|
|
9376
9454
|
"character": 46
|
|
9377
9455
|
},
|
|
9378
9456
|
"name": "EnvsMain"
|
|
@@ -9381,7 +9459,7 @@
|
|
|
9381
9459
|
"__schema": "TypeRefSchema",
|
|
9382
9460
|
"location": {
|
|
9383
9461
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9384
|
-
"line":
|
|
9462
|
+
"line": 879,
|
|
9385
9463
|
"character": 56
|
|
9386
9464
|
},
|
|
9387
9465
|
"name": "GraphqlMain"
|
|
@@ -9395,7 +9473,7 @@
|
|
|
9395
9473
|
"__schema": "ParameterSchema",
|
|
9396
9474
|
"location": {
|
|
9397
9475
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9398
|
-
"line":
|
|
9476
|
+
"line": 880,
|
|
9399
9477
|
"character": 5
|
|
9400
9478
|
},
|
|
9401
9479
|
"name": "config",
|
|
@@ -9403,7 +9481,7 @@
|
|
|
9403
9481
|
"__schema": "InferenceTypeSchema",
|
|
9404
9482
|
"location": {
|
|
9405
9483
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9406
|
-
"line":
|
|
9484
|
+
"line": 880,
|
|
9407
9485
|
"character": 5
|
|
9408
9486
|
},
|
|
9409
9487
|
"type": "any"
|
|
@@ -9415,7 +9493,7 @@
|
|
|
9415
9493
|
"__schema": "ParameterSchema",
|
|
9416
9494
|
"location": {
|
|
9417
9495
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9418
|
-
"line":
|
|
9496
|
+
"line": 881,
|
|
9419
9497
|
"character": 5
|
|
9420
9498
|
},
|
|
9421
9499
|
"name": "[ onAspectLoadErrorSlot, onLoadRequireableExtensionSlot, pluginSlot ]",
|
|
@@ -9423,7 +9501,7 @@
|
|
|
9423
9501
|
"__schema": "TupleTypeSchema",
|
|
9424
9502
|
"location": {
|
|
9425
9503
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9426
|
-
"line":
|
|
9504
|
+
"line": 881,
|
|
9427
9505
|
"character": 74
|
|
9428
9506
|
},
|
|
9429
9507
|
"elements": [
|
|
@@ -9431,7 +9509,7 @@
|
|
|
9431
9509
|
"__schema": "TypeRefSchema",
|
|
9432
9510
|
"location": {
|
|
9433
9511
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9434
|
-
"line":
|
|
9512
|
+
"line": 882,
|
|
9435
9513
|
"character": 7
|
|
9436
9514
|
},
|
|
9437
9515
|
"name": "OnAspectLoadErrorSlot"
|
|
@@ -9440,7 +9518,7 @@
|
|
|
9440
9518
|
"__schema": "TypeRefSchema",
|
|
9441
9519
|
"location": {
|
|
9442
9520
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9443
|
-
"line":
|
|
9521
|
+
"line": 883,
|
|
9444
9522
|
"character": 7
|
|
9445
9523
|
},
|
|
9446
9524
|
"name": "OnLoadRequireableExtensionSlot"
|
|
@@ -9449,7 +9527,7 @@
|
|
|
9449
9527
|
"__schema": "TypeRefSchema",
|
|
9450
9528
|
"location": {
|
|
9451
9529
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9452
|
-
"line":
|
|
9530
|
+
"line": 884,
|
|
9453
9531
|
"character": 7
|
|
9454
9532
|
},
|
|
9455
9533
|
"name": "PluginDefinitionSlot"
|
|
@@ -9463,7 +9541,7 @@
|
|
|
9463
9541
|
"__schema": "ParameterSchema",
|
|
9464
9542
|
"location": {
|
|
9465
9543
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9466
|
-
"line":
|
|
9544
|
+
"line": 886,
|
|
9467
9545
|
"character": 5
|
|
9468
9546
|
},
|
|
9469
9547
|
"name": "harmony",
|
|
@@ -9471,7 +9549,7 @@
|
|
|
9471
9549
|
"__schema": "TypeRefSchema",
|
|
9472
9550
|
"location": {
|
|
9473
9551
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9474
|
-
"line":
|
|
9552
|
+
"line": 886,
|
|
9475
9553
|
"character": 14
|
|
9476
9554
|
},
|
|
9477
9555
|
"name": "Harmony"
|
|
@@ -9484,7 +9562,7 @@
|
|
|
9484
9562
|
"__schema": "InferenceTypeSchema",
|
|
9485
9563
|
"location": {
|
|
9486
9564
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9487
|
-
"line":
|
|
9565
|
+
"line": 878,
|
|
9488
9566
|
"character": 3
|
|
9489
9567
|
},
|
|
9490
9568
|
"type": "Promise<AspectLoaderMain>"
|
|
@@ -9502,7 +9580,7 @@
|
|
|
9502
9580
|
"__schema": "UnImplementedSchema",
|
|
9503
9581
|
"location": {
|
|
9504
9582
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9505
|
-
"line":
|
|
9583
|
+
"line": 907,
|
|
9506
9584
|
"character": 16
|
|
9507
9585
|
},
|
|
9508
9586
|
"name": "AspectLoaderMain",
|
|
@@ -9597,7 +9675,7 @@
|
|
|
9597
9675
|
"__schema": "UnImplementedSchema",
|
|
9598
9676
|
"location": {
|
|
9599
9677
|
"filePath": "aspect-loader.main.runtime.ts",
|
|
9600
|
-
"line":
|
|
9678
|
+
"line": 905,
|
|
9601
9679
|
"character": 1
|
|
9602
9680
|
},
|
|
9603
9681
|
"name": "AspectLoaderAspect.addRuntime(AspectLoaderMain);",
|
|
@@ -11114,7 +11192,7 @@
|
|
|
11114
11192
|
"componentId": {
|
|
11115
11193
|
"scope": "teambit.harmony",
|
|
11116
11194
|
"name": "aspect-loader",
|
|
11117
|
-
"version": "1.0.
|
|
11195
|
+
"version": "1.0.412"
|
|
11118
11196
|
},
|
|
11119
11197
|
"taggedModuleExports": []
|
|
11120
11198
|
}
|