@inversifyjs/http-insights 0.5.1 → 0.6.0
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/lib/generated/prisma/browser.d.ts +30 -0
- package/lib/generated/prisma/browser.d.ts.map +1 -1
- package/lib/generated/prisma/client.d.ts +30 -0
- package/lib/generated/prisma/client.d.ts.map +1 -1
- package/lib/generated/prisma/commonInputTypes.d.ts +81 -0
- package/lib/generated/prisma/commonInputTypes.d.ts.map +1 -1
- package/lib/generated/prisma/enums.d.ts +9 -1
- package/lib/generated/prisma/enums.d.ts.map +1 -1
- package/lib/generated/prisma/enums.js +8 -1
- package/lib/generated/prisma/enums.js.map +1 -1
- package/lib/generated/prisma/internal/class.d.ts +66 -0
- package/lib/generated/prisma/internal/class.d.ts.map +1 -1
- package/lib/generated/prisma/internal/class.js +4 -4
- package/lib/generated/prisma/internal/class.js.map +1 -1
- package/lib/generated/prisma/internal/prismaNamespace.d.ts +533 -1
- package/lib/generated/prisma/internal/prismaNamespace.d.ts.map +1 -1
- package/lib/generated/prisma/internal/prismaNamespace.js +73 -1
- package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -1
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +78 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +73 -1
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -1
- package/lib/generated/prisma/models/Controller.d.ts +108 -0
- package/lib/generated/prisma/models/Controller.d.ts.map +1 -1
- package/lib/generated/prisma/models/Guard.d.ts +112 -0
- package/lib/generated/prisma/models/Guard.d.ts.map +1 -1
- package/lib/generated/prisma/models/Interceptor.d.ts +108 -0
- package/lib/generated/prisma/models/Interceptor.d.ts.map +1 -1
- package/lib/generated/prisma/models/Middleware.d.ts +112 -0
- package/lib/generated/prisma/models/Middleware.d.ts.map +1 -1
- package/lib/generated/prisma/models/Pipe.d.ts +116 -0
- package/lib/generated/prisma/models/Pipe.d.ts.map +1 -1
- package/lib/generated/prisma/models/Plan.d.ts +1948 -0
- package/lib/generated/prisma/models/Plan.d.ts.map +1 -0
- package/lib/generated/prisma/models/Plan.js +2 -0
- package/lib/generated/prisma/models/Plan.js.map +1 -0
- package/lib/generated/prisma/models/PlanBinding.d.ts +1843 -0
- package/lib/generated/prisma/models/PlanBinding.d.ts.map +1 -0
- package/lib/generated/prisma/models/PlanBinding.js +2 -0
- package/lib/generated/prisma/models/PlanBinding.js.map +1 -0
- package/lib/generated/prisma/models/PlanBindingDependency.d.ts +1503 -0
- package/lib/generated/prisma/models/PlanBindingDependency.d.ts.map +1 -0
- package/lib/generated/prisma/models/PlanBindingDependency.js +2 -0
- package/lib/generated/prisma/models/PlanBindingDependency.js.map +1 -0
- package/lib/generated/prisma/models/PlanService.d.ts +1851 -0
- package/lib/generated/prisma/models/PlanService.d.ts.map +1 -0
- package/lib/generated/prisma/models/PlanService.js +2 -0
- package/lib/generated/prisma/models/PlanService.js.map +1 -0
- package/lib/generated/prisma/models/PlanServiceBinding.d.ts +1238 -0
- package/lib/generated/prisma/models/PlanServiceBinding.d.ts.map +1 -0
- package/lib/generated/prisma/models/PlanServiceBinding.js +2 -0
- package/lib/generated/prisma/models/PlanServiceBinding.js.map +1 -0
- package/lib/generated/prisma/models/PlanServiceTag.d.ts +1315 -0
- package/lib/generated/prisma/models/PlanServiceTag.d.ts.map +1 -0
- package/lib/generated/prisma/models/PlanServiceTag.js +2 -0
- package/lib/generated/prisma/models/PlanServiceTag.js.map +1 -0
- package/lib/generated/prisma/models.d.ts +6 -0
- package/lib/generated/prisma/models.d.ts.map +1 -1
- package/lib/generated/prisma-migrate/index.d.ts.map +1 -1
- package/lib/generated/prisma-migrate/index.js +1 -1
- package/lib/generated/prisma-migrate/index.js.map +1 -1
- package/lib/insights/adapter/inversify/modules/InsightsContainerModule.d.ts.map +1 -1
- package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js +2 -0
- package/lib/insights/adapter/inversify/modules/InsightsContainerModule.js.map +1 -1
- package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js +1 -1
- package/lib/insights/adapter/inversify/services/HttpInsightsProvider.js.map +1 -1
- package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js +94 -0
- package/lib/insights/adapter/prisma/adapters/PrismaInsightsPersistenceAdapter.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts +167 -1
- package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js +9 -5
- package/lib/insights/adapter/prisma/builders/CallFromPrismaCallBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts +5 -4
- package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js +14 -2
- package/lib/insights/adapter/prisma/builders/ControllerFromPrismaControllerBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts +5 -4
- package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js +14 -2
- package/lib/insights/adapter/prisma/builders/GuardFromPrismaGuardBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts +5 -4
- package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js +14 -2
- package/lib/insights/adapter/prisma/builders/InterceptorFromPrismaInterceptorBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts +5 -4
- package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js +14 -2
- package/lib/insights/adapter/prisma/builders/MiddlewareFromPrismaMiddlewareBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts +5 -4
- package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.d.ts.map +1 -1
- package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js +14 -2
- package/lib/insights/adapter/prisma/builders/PipeFromPrismaPipeBuilder.js.map +1 -1
- package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.d.ts +7 -0
- package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.d.ts.map +1 -0
- package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.js +359 -0
- package/lib/insights/adapter/prisma/builders/PlanFromPrismaPlanBuilder.js.map +1 -0
- package/lib/insights/adapter/prisma/builders/prismaPlanInclude.d.ts +83 -0
- package/lib/insights/adapter/prisma/builders/prismaPlanInclude.d.ts.map +1 -0
- package/lib/insights/adapter/prisma/builders/prismaPlanInclude.js +25 -0
- package/lib/insights/adapter/prisma/builders/prismaPlanInclude.js.map +1 -0
- package/lib/insights/adapter/prisma/calculations/readPlanRows.d.ts +19 -0
- package/lib/insights/adapter/prisma/calculations/readPlanRows.d.ts.map +1 -0
- package/lib/insights/adapter/prisma/calculations/readPlanRows.js +160 -0
- package/lib/insights/adapter/prisma/calculations/readPlanRows.js.map +1 -0
- package/lib/insights/domain/calculations/definePlanJson.d.ts +3 -0
- package/lib/insights/domain/calculations/definePlanJson.d.ts.map +1 -0
- package/lib/insights/domain/calculations/definePlanJson.js +88 -0
- package/lib/insights/domain/calculations/definePlanJson.js.map +1 -0
- package/lib/insights/domain/models/Controller.d.ts +2 -0
- package/lib/insights/domain/models/Controller.d.ts.map +1 -1
- package/lib/insights/domain/models/Guard.d.ts +2 -0
- package/lib/insights/domain/models/Guard.d.ts.map +1 -1
- package/lib/insights/domain/models/Interceptor.d.ts +2 -0
- package/lib/insights/domain/models/Interceptor.d.ts.map +1 -1
- package/lib/insights/domain/models/Middleware.d.ts +2 -0
- package/lib/insights/domain/models/Middleware.d.ts.map +1 -1
- package/lib/insights/domain/models/Pipe.d.ts +2 -0
- package/lib/insights/domain/models/Pipe.d.ts.map +1 -1
- package/lib/insights/domain/models/Plan.d.ts +6 -0
- package/lib/insights/domain/models/Plan.d.ts.map +1 -0
- package/lib/insights/domain/models/Plan.js +2 -0
- package/lib/insights/domain/models/Plan.js.map +1 -0
- package/lib/insights/domain/models/PlanBinding.d.ts +39 -0
- package/lib/insights/domain/models/PlanBinding.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanBinding.js +15 -0
- package/lib/insights/domain/models/PlanBinding.js.map +1 -0
- package/lib/insights/domain/models/PlanJsonValue.d.ts +6 -0
- package/lib/insights/domain/models/PlanJsonValue.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanJsonValue.js +2 -0
- package/lib/insights/domain/models/PlanJsonValue.js.map +1 -0
- package/lib/insights/domain/models/PlanMetadataKey.d.ts +5 -0
- package/lib/insights/domain/models/PlanMetadataKey.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanMetadataKey.js +2 -0
- package/lib/insights/domain/models/PlanMetadataKey.js.map +1 -0
- package/lib/insights/domain/models/PlanProperty.d.ts +7 -0
- package/lib/insights/domain/models/PlanProperty.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanProperty.js +2 -0
- package/lib/insights/domain/models/PlanProperty.js.map +1 -0
- package/lib/insights/domain/models/PlanService.d.ts +15 -0
- package/lib/insights/domain/models/PlanService.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanService.js +2 -0
- package/lib/insights/domain/models/PlanService.js.map +1 -0
- package/lib/insights/domain/models/PlanServiceIdentifier.d.ts +5 -0
- package/lib/insights/domain/models/PlanServiceIdentifier.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanServiceIdentifier.js +2 -0
- package/lib/insights/domain/models/PlanServiceIdentifier.js.map +1 -0
- package/lib/insights/domain/models/PlanTag.d.ts +7 -0
- package/lib/insights/domain/models/PlanTag.d.ts.map +1 -0
- package/lib/insights/domain/models/PlanTag.js +2 -0
- package/lib/insights/domain/models/PlanTag.js.map +1 -0
- package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.d.ts +4 -0
- package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.d.ts.map +1 -0
- package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.js +269 -0
- package/lib/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.js.map +1 -0
- package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts +2 -2
- package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.d.ts.map +1 -1
- package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js +3 -3
- package/lib/instrumentation/adapter/inversify/modules/InstrumentationContainerModule.js.map +1 -1
- package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts +2 -1
- package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.d.ts.map +1 -1
- package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js +69 -55
- package/lib/instrumentation/adapter/inversify/services/HttpInsightsEventSink.js.map +1 -1
- package/package.json +7 -7
- package/prisma/migrations/20261108202000_add_plan/migration.sql +124 -0
- package/prisma/schema.prisma +117 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { Prisma } from '../../../../generated/prisma/client.js';
|
|
3
|
+
export function readPlanRows(plan, owner, readId = randomUUID) {
|
|
4
|
+
const services = [];
|
|
5
|
+
const bindings = [];
|
|
6
|
+
const tags = [];
|
|
7
|
+
const serviceBindings = [];
|
|
8
|
+
const dependencies = [];
|
|
9
|
+
const seenServices = new Set();
|
|
10
|
+
const seenBindings = new Set();
|
|
11
|
+
const visitService = (service, isRoot) => {
|
|
12
|
+
if (seenServices.has(service)) {
|
|
13
|
+
return;
|
|
14
|
+
}
|
|
15
|
+
seenServices.add(service);
|
|
16
|
+
services.push(readServiceRow(plan.id, service, isRoot));
|
|
17
|
+
for (const [position, tag] of service.tags.entries()) {
|
|
18
|
+
tags.push({
|
|
19
|
+
id: readId(),
|
|
20
|
+
key_kind: tag.key.kind,
|
|
21
|
+
key_value: tag.key.value,
|
|
22
|
+
position,
|
|
23
|
+
service_id: service.id,
|
|
24
|
+
value: readTagValue(tag.value),
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
for (const [position, binding] of service.bindings.entries()) {
|
|
28
|
+
serviceBindings.push({
|
|
29
|
+
binding_id: binding.id,
|
|
30
|
+
position,
|
|
31
|
+
service_id: service.id,
|
|
32
|
+
});
|
|
33
|
+
visitBinding(binding);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
const visitBinding = (binding) => {
|
|
37
|
+
if (seenBindings.has(binding)) {
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
seenBindings.add(binding);
|
|
41
|
+
bindings.push(readBindingRow(plan.id, binding));
|
|
42
|
+
switch (binding.type) {
|
|
43
|
+
case 'ConstantValue':
|
|
44
|
+
case 'DynamicValue':
|
|
45
|
+
case 'Factory':
|
|
46
|
+
break;
|
|
47
|
+
case 'Instance':
|
|
48
|
+
for (const [position, service,] of binding.constructorArguments.entries()) {
|
|
49
|
+
dependencies.push({
|
|
50
|
+
binding_id: binding.id,
|
|
51
|
+
id: readId(),
|
|
52
|
+
key_kind: null,
|
|
53
|
+
key_value: null,
|
|
54
|
+
kind: 'constructorArgument',
|
|
55
|
+
position,
|
|
56
|
+
service_id: service === null ? null : service.id,
|
|
57
|
+
});
|
|
58
|
+
if (service !== null) {
|
|
59
|
+
visitService(service, false);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
for (const [position, property] of binding.properties.entries()) {
|
|
63
|
+
dependencies.push({
|
|
64
|
+
binding_id: binding.id,
|
|
65
|
+
id: readId(),
|
|
66
|
+
key_kind: property.key.kind,
|
|
67
|
+
key_value: property.key.value,
|
|
68
|
+
kind: 'property',
|
|
69
|
+
position,
|
|
70
|
+
service_id: property.service.id,
|
|
71
|
+
});
|
|
72
|
+
visitService(property.service, false);
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
case 'ResolvedValue':
|
|
76
|
+
for (const [position, service] of binding.arguments.entries()) {
|
|
77
|
+
dependencies.push({
|
|
78
|
+
binding_id: binding.id,
|
|
79
|
+
id: readId(),
|
|
80
|
+
key_kind: null,
|
|
81
|
+
key_value: null,
|
|
82
|
+
kind: 'resolvedArgument',
|
|
83
|
+
position,
|
|
84
|
+
service_id: service.id,
|
|
85
|
+
});
|
|
86
|
+
visitService(service, false);
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case 'ServiceRedirection':
|
|
90
|
+
dependencies.push({
|
|
91
|
+
binding_id: binding.id,
|
|
92
|
+
id: readId(),
|
|
93
|
+
key_kind: null,
|
|
94
|
+
key_value: null,
|
|
95
|
+
kind: 'redirection',
|
|
96
|
+
position: 0,
|
|
97
|
+
service_id: binding.redirection.id,
|
|
98
|
+
});
|
|
99
|
+
visitService(binding.redirection, false);
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
visitService(plan.root, true);
|
|
104
|
+
return {
|
|
105
|
+
bindings,
|
|
106
|
+
dependencies,
|
|
107
|
+
plan: {
|
|
108
|
+
controller_id: owner.controllerId,
|
|
109
|
+
guard_id: owner.guardId,
|
|
110
|
+
id: plan.id,
|
|
111
|
+
interceptor_id: owner.interceptorId,
|
|
112
|
+
middleware_id: owner.middlewareId,
|
|
113
|
+
pipe_id: owner.pipeId,
|
|
114
|
+
},
|
|
115
|
+
serviceBindings,
|
|
116
|
+
services,
|
|
117
|
+
tags,
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
function readBindingRow(planId, binding) {
|
|
121
|
+
const implementationType = binding.type === 'Instance' ? binding.implementationType : null;
|
|
122
|
+
const targetServiceIdentifier = binding.type === 'ServiceRedirection'
|
|
123
|
+
? binding.targetServiceIdentifier
|
|
124
|
+
: null;
|
|
125
|
+
return {
|
|
126
|
+
binding_identifier: binding.bindingId,
|
|
127
|
+
id: binding.id,
|
|
128
|
+
implementation_type_kind: implementationType?.kind ?? null,
|
|
129
|
+
implementation_type_value: implementationType?.value ?? null,
|
|
130
|
+
module_id: binding.moduleId,
|
|
131
|
+
plan_id: planId,
|
|
132
|
+
scope: 'scope' in binding ? binding.scope : null,
|
|
133
|
+
service_identifier_kind: binding.serviceIdentifier.kind,
|
|
134
|
+
service_identifier_value: binding.serviceIdentifier.value,
|
|
135
|
+
target_service_identifier_kind: targetServiceIdentifier?.kind ?? null,
|
|
136
|
+
target_service_identifier_value: targetServiceIdentifier?.value ?? null,
|
|
137
|
+
type: binding.type,
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
function readServiceRow(planId, service, isRoot) {
|
|
141
|
+
return {
|
|
142
|
+
chained: service.chained,
|
|
143
|
+
id: service.id,
|
|
144
|
+
is_multiple: service.isMultiple,
|
|
145
|
+
is_root: isRoot,
|
|
146
|
+
name_kind: service.name?.kind ?? null,
|
|
147
|
+
name_value: service.name?.value ?? null,
|
|
148
|
+
optional: service.optional,
|
|
149
|
+
plan_id: planId,
|
|
150
|
+
service_identifier_kind: service.serviceIdentifier.kind,
|
|
151
|
+
service_identifier_value: service.serviceIdentifier.value,
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
function readTagValue(value) {
|
|
155
|
+
if (value === null) {
|
|
156
|
+
return Prisma.JsonNull;
|
|
157
|
+
}
|
|
158
|
+
return value;
|
|
159
|
+
}
|
|
160
|
+
//# sourceMappingURL=readPlanRows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"readPlanRows.js","sourceRoot":"","sources":["../../../../../src/insights/adapter/prisma/calculations/readPlanRows.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,wCAAwC,CAAC;AAuBhE,MAAM,UAAU,YAAY,CAC1B,IAAU,EACV,KAAgB,EAChB,MAAM,GAAiB,UAAU;IAEjC,MAAM,QAAQ,GAAwC,EAAE,CAAC;IACzD,MAAM,QAAQ,GAAwC,EAAE,CAAC;IACzD,MAAM,IAAI,GAA2C,EAAE,CAAC;IACxD,MAAM,eAAe,GAA+C,EAAE,CAAC;IACvE,MAAM,YAAY,GAAkD,EAAE,CAAC;IACvE,MAAM,YAAY,GAAqB,IAAI,GAAG,EAAE,CAAC;IACjD,MAAM,YAAY,GAAqB,IAAI,GAAG,EAAE,CAAC;IAEjD,MAAM,YAAY,GAAG,CAAC,OAAoB,EAAE,MAAe,EAAQ,EAAE;QACnE,IAAI,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;YAC9B,OAAO;QACT,CAAC;QAED,YAAY,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;QAC1B,QAAQ,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;QAExD,KAAK,MAAM,CAAC,QAAQ,EAAE,GAAG,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,EAAE,CAAC;YACrD,IAAI,CAAC,IAAI,CAAC;gBACR,EAAE,EAAE,MAAM,EAAE;gBACZ,QAAQ,EAAE,GAAG,CAAC,GAAG,CAAC,IAAI;gBACtB,SAAS,EAAE,GAAG,CAAC,GAAG,CAAC,KAAK;gBACxB,QAAQ;gBACR,UAAU,EAAE,OAAO,CA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,CAAC,CAAC,CAAC,IAAI;QAChD,uBAAuB,EAAE,OAAO,CAAC,iBAAiB,CAAC,IAAI;QACvD,wBAAwB,EAAE,OAAO,CAAC,iBAAiB,CAAC,KAAK;QACzD,8BAA8B,EAAE,uBAAuB,EAAE,IAAI,IAAI,IAAI;QACrE,+BAA+B,EAAE,uBAAuB,EAAE,KAAK,IAAI,IAAI;QACvE,IAAI,EAAE,OAAO,CAAC,IAAI;KACnB,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CACrB,MAAc,EACd,OAAoB,EACpB,MAAe;IAEf,OAAO;QACL,OAAO,EAAE,OAAO,CAAC,OAAO;QACxB,EAAE,EAAE,OAAO,CAAC,EAAE;QACd,WAAW,EAAE,OAAO,CAAC,UAAU;QAC/B,OAAO,EAAE,MAAM;QACf,SAAS,EAAE,OAAO,CAAC,IAAI,EAAE,IAAI,IAAI,IAAI;QACrC,UAAU,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,IAAI,IAAI;QACvC,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,OAAO,EAAE,MAAM;QACf,uBAAuB,EAAE,OAAO,CAAC,iBAAiB,CAAC,IAAI;QACvD,wBAAwB,EAAE,OAAO,CAAC,iBAAiB,CAAC,KAAK;KAC1D,CAAC;AACJ,CAAC;AAED,SAAS,YAAY,CACnB,KAAoB;IAEpB,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACnB,OAAO,MAAM,CAAC,QAAQ,CAAC;IACzB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definePlanJson.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/calculations/definePlanJson.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,CAOzD"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
export function definePlanJson(service) {
|
|
2
|
+
Object.defineProperty(service, 'toJSON', {
|
|
3
|
+
configurable: true,
|
|
4
|
+
enumerable: false,
|
|
5
|
+
value: readPlanServiceJsonMethod,
|
|
6
|
+
writable: false,
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function readPlanServiceJsonMethod() {
|
|
10
|
+
return readPlanServiceJson(this, new WeakSet());
|
|
11
|
+
}
|
|
12
|
+
function readPlanServiceJson(service, seen) {
|
|
13
|
+
if (seen.has(service)) {
|
|
14
|
+
return {
|
|
15
|
+
id: service.id,
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
seen.add(service);
|
|
19
|
+
return {
|
|
20
|
+
bindings: service.bindings.map((binding) => readPlanBindingJson(binding, seen)),
|
|
21
|
+
chained: service.chained,
|
|
22
|
+
id: service.id,
|
|
23
|
+
isMultiple: service.isMultiple,
|
|
24
|
+
name: service.name,
|
|
25
|
+
optional: service.optional,
|
|
26
|
+
serviceIdentifier: service.serviceIdentifier,
|
|
27
|
+
tags: service.tags,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function readPlanBindingJson(binding, seen) {
|
|
31
|
+
switch (binding.type) {
|
|
32
|
+
case 'ConstantValue':
|
|
33
|
+
case 'Factory':
|
|
34
|
+
return {
|
|
35
|
+
bindingId: binding.bindingId,
|
|
36
|
+
id: binding.id,
|
|
37
|
+
moduleId: binding.moduleId,
|
|
38
|
+
scope: binding.scope,
|
|
39
|
+
serviceIdentifier: binding.serviceIdentifier,
|
|
40
|
+
type: binding.type,
|
|
41
|
+
};
|
|
42
|
+
case 'DynamicValue':
|
|
43
|
+
return {
|
|
44
|
+
bindingId: binding.bindingId,
|
|
45
|
+
id: binding.id,
|
|
46
|
+
moduleId: binding.moduleId,
|
|
47
|
+
scope: binding.scope,
|
|
48
|
+
serviceIdentifier: binding.serviceIdentifier,
|
|
49
|
+
type: 'DynamicValue',
|
|
50
|
+
};
|
|
51
|
+
case 'Instance':
|
|
52
|
+
return {
|
|
53
|
+
bindingId: binding.bindingId,
|
|
54
|
+
constructorArguments: binding.constructorArguments.map((service) => service === null ? null : readPlanServiceJson(service, seen)),
|
|
55
|
+
id: binding.id,
|
|
56
|
+
implementationType: binding.implementationType,
|
|
57
|
+
moduleId: binding.moduleId,
|
|
58
|
+
properties: binding.properties.map((property) => ({
|
|
59
|
+
key: property.key,
|
|
60
|
+
service: readPlanServiceJson(property.service, seen),
|
|
61
|
+
})),
|
|
62
|
+
scope: binding.scope,
|
|
63
|
+
serviceIdentifier: binding.serviceIdentifier,
|
|
64
|
+
type: 'Instance',
|
|
65
|
+
};
|
|
66
|
+
case 'ResolvedValue':
|
|
67
|
+
return {
|
|
68
|
+
arguments: binding.arguments.map((service) => readPlanServiceJson(service, seen)),
|
|
69
|
+
bindingId: binding.bindingId,
|
|
70
|
+
id: binding.id,
|
|
71
|
+
moduleId: binding.moduleId,
|
|
72
|
+
scope: binding.scope,
|
|
73
|
+
serviceIdentifier: binding.serviceIdentifier,
|
|
74
|
+
type: 'ResolvedValue',
|
|
75
|
+
};
|
|
76
|
+
case 'ServiceRedirection':
|
|
77
|
+
return {
|
|
78
|
+
bindingId: binding.bindingId,
|
|
79
|
+
id: binding.id,
|
|
80
|
+
moduleId: binding.moduleId,
|
|
81
|
+
redirection: readPlanServiceJson(binding.redirection, seen),
|
|
82
|
+
serviceIdentifier: binding.serviceIdentifier,
|
|
83
|
+
targetServiceIdentifier: binding.targetServiceIdentifier,
|
|
84
|
+
type: 'ServiceRedirection',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=definePlanJson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"definePlanJson.js","sourceRoot":"","sources":["../../../../src/insights/domain/calculations/definePlanJson.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,cAAc,CAAC,OAAoB;IACjD,MAAM,CAAC,cAAc,CAAC,O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,CAAC,SAAS;gBAC5B,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;gBACpB,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;gBAC5C,IAAI,EAAE,eAAe;aACtB,CAAC;QACJ,KAAK,oBAAoB;YACvB,OAAO;gBACL,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,EAAE,EAAE,OAAO,CAAC,EAAE;gBACd,QAAQ,EAAE,OAAO,CAAC,QAAQ;gBAC1B,WAAW,EAAE,mBAAmB,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;gBAC3D,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;gBAC5C,uBAAuB,EAAE,OAAO,CAAC,uBAAuB;gBACxD,IAAI,EAAE,oBAAoB;aAC3B,CAAC;IACN,CAAC;AACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ErrorTrace } from './ErrorTrace.js';
|
|
2
|
+
import { type Plan } from './Plan.js';
|
|
2
3
|
export interface Controller {
|
|
3
4
|
readonly id: string;
|
|
4
5
|
readonly controller: string;
|
|
@@ -6,6 +7,7 @@ export interface Controller {
|
|
|
6
7
|
readonly error: unknown;
|
|
7
8
|
readonly errorTraces: readonly ErrorTrace[] | null;
|
|
8
9
|
readonly method: string;
|
|
10
|
+
readonly plan: Plan | null;
|
|
9
11
|
readonly startedAt: Date;
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=Controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controller.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Controller.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ErrorTrace } from './ErrorTrace.js';
|
|
2
|
+
import { type Plan } from './Plan.js';
|
|
2
3
|
export interface Guard {
|
|
3
4
|
readonly id: string;
|
|
4
5
|
readonly allowed: boolean | null;
|
|
@@ -6,6 +7,7 @@ export interface Guard {
|
|
|
6
7
|
readonly error: unknown;
|
|
7
8
|
readonly errorTraces: readonly ErrorTrace[] | null;
|
|
8
9
|
readonly guard: string;
|
|
10
|
+
readonly plan: Plan | null;
|
|
9
11
|
readonly startedAt: Date;
|
|
10
12
|
}
|
|
11
13
|
//# sourceMappingURL=Guard.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Guard.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Guard.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,KAAK;IACpB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { type ErrorTrace } from './ErrorTrace.js';
|
|
2
|
+
import { type Plan } from './Plan.js';
|
|
2
3
|
export interface Interceptor {
|
|
3
4
|
readonly id: string;
|
|
4
5
|
readonly endedAt: Date;
|
|
5
6
|
readonly error: unknown;
|
|
6
7
|
readonly errorTraces: readonly ErrorTrace[] | null;
|
|
7
8
|
readonly interceptor: string;
|
|
9
|
+
readonly plan: Plan | null;
|
|
8
10
|
readonly startedAt: Date;
|
|
9
11
|
}
|
|
10
12
|
//# sourceMappingURL=Interceptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Interceptor.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Interceptor.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Interceptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type MiddlewarePhase } from '@inversifyjs/http-core';
|
|
2
2
|
import { type ErrorTrace } from './ErrorTrace.js';
|
|
3
|
+
import { type Plan } from './Plan.js';
|
|
3
4
|
export interface Middleware {
|
|
4
5
|
readonly id: string;
|
|
5
6
|
readonly endedAt: Date;
|
|
@@ -7,6 +8,7 @@ export interface Middleware {
|
|
|
7
8
|
readonly errorTraces: readonly ErrorTrace[] | null;
|
|
8
9
|
readonly middleware: string;
|
|
9
10
|
readonly phase: MiddlewarePhase;
|
|
11
|
+
readonly plan: Plan | null;
|
|
10
12
|
readonly startedAt: Date;
|
|
11
13
|
}
|
|
12
14
|
//# sourceMappingURL=Middleware.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Middleware.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Middleware.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type ErrorTrace } from './ErrorTrace.js';
|
|
2
|
+
import { type Plan } from './Plan.js';
|
|
2
3
|
export interface Pipe {
|
|
3
4
|
readonly id: string;
|
|
4
5
|
readonly endedAt: Date;
|
|
@@ -7,6 +8,7 @@ export interface Pipe {
|
|
|
7
8
|
readonly method: string;
|
|
8
9
|
readonly parameterIndex: number;
|
|
9
10
|
readonly pipe: string;
|
|
11
|
+
readonly plan: Plan | null;
|
|
10
12
|
readonly startedAt: Date;
|
|
11
13
|
}
|
|
12
14
|
//# sourceMappingURL=Pipe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pipe.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"Pipe.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,OAAO,EAAE,IAAI,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,WAAW,EAAE,SAAS,UAAU,EAAE,GAAG,IAAI,CAAC;IACnD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC;CAC1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plan.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/Plan.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,IAAI;IACnB,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plan.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/Plan.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type PlanProperty } from './PlanProperty.js';
|
|
2
|
+
import { type PlanService } from './PlanService.js';
|
|
3
|
+
import { type PlanServiceIdentifier } from './PlanServiceIdentifier.js';
|
|
4
|
+
type PlanBindingType = 'ConstantValue' | 'DynamicValue' | 'Factory' | 'Instance' | 'ResolvedValue' | 'ServiceRedirection';
|
|
5
|
+
declare const planBindingTypeValues: {
|
|
6
|
+
[TKey in PlanBindingType]: TKey;
|
|
7
|
+
};
|
|
8
|
+
export type PlanBindingScope = 'Request' | 'Singleton' | 'Transient';
|
|
9
|
+
declare const planBindingScopeValues: {
|
|
10
|
+
[TKey in PlanBindingScope]: TKey;
|
|
11
|
+
};
|
|
12
|
+
interface BasePlanBinding<TType extends PlanBindingType> {
|
|
13
|
+
readonly id: string;
|
|
14
|
+
readonly bindingId: number;
|
|
15
|
+
readonly moduleId: number | null;
|
|
16
|
+
readonly serviceIdentifier: PlanServiceIdentifier;
|
|
17
|
+
readonly type: TType;
|
|
18
|
+
}
|
|
19
|
+
interface ScopedPlanBinding<TType extends PlanBindingType, TScope extends PlanBindingScope = PlanBindingScope> extends BasePlanBinding<TType> {
|
|
20
|
+
readonly scope: TScope;
|
|
21
|
+
}
|
|
22
|
+
type ConstantValuePlanBinding = ScopedPlanBinding<typeof planBindingTypeValues.ConstantValue, typeof planBindingScopeValues.Singleton>;
|
|
23
|
+
type DynamicValuePlanBinding = ScopedPlanBinding<typeof planBindingTypeValues.DynamicValue>;
|
|
24
|
+
type FactoryPlanBinding = ScopedPlanBinding<typeof planBindingTypeValues.Factory, typeof planBindingScopeValues.Singleton>;
|
|
25
|
+
interface InstancePlanBinding extends ScopedPlanBinding<typeof planBindingTypeValues.Instance> {
|
|
26
|
+
readonly constructorArguments: readonly (PlanService | null)[];
|
|
27
|
+
readonly implementationType: PlanServiceIdentifier;
|
|
28
|
+
readonly properties: readonly PlanProperty[];
|
|
29
|
+
}
|
|
30
|
+
interface ResolvedValuePlanBinding extends ScopedPlanBinding<typeof planBindingTypeValues.ResolvedValue> {
|
|
31
|
+
readonly arguments: readonly PlanService[];
|
|
32
|
+
}
|
|
33
|
+
interface ServiceRedirectionPlanBinding extends BasePlanBinding<typeof planBindingTypeValues.ServiceRedirection> {
|
|
34
|
+
readonly redirection: PlanService;
|
|
35
|
+
readonly targetServiceIdentifier: PlanServiceIdentifier;
|
|
36
|
+
}
|
|
37
|
+
export type PlanBinding = ConstantValuePlanBinding | DynamicValuePlanBinding | FactoryPlanBinding | InstancePlanBinding | ResolvedValuePlanBinding | ServiceRedirectionPlanBinding;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=PlanBinding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanBinding.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanBinding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,KAAK,eAAe,GAChB,eAAe,GACf,cAAc,GACd,SAAS,GACT,UAAU,GACV,eAAe,GACf,oBAAoB,CAAC;AAEzB,QAAA,MAAM,qBAAqB,EAAE;KAC1B,IAAI,IAAI,eAAe,GAAG,IAAI;CAQhC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAErE,QAAA,MAAM,sBAAsB,EAAE;KAC3B,IAAI,IAAI,gBAAgB,GAAG,IAAI;CAKjC,CAAC;AAEF,UAAU,eAAe,CAAC,KAAK,SAAS,eAAe;IACrD,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAClD,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;CACtB;AAED,UAAU,iBAAiB,CACzB,KAAK,SAAS,eAAe,EAC7B,MAAM,SAAS,gBAAgB,GAAG,gBAAgB,CAClD,SAAQ,eAAe,CAAC,KAAK,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,wBAAwB,GAAG,iBAAiB,CAC/C,OAAO,qBAAqB,CAAC,aAAa,EAC1C,OAAO,sBAAsB,CAAC,SAAS,CACxC,CAAC;AAEF,KAAK,uBAAuB,GAAG,iBAAiB,CAC9C,OAAO,qBAAqB,CAAC,YAAY,CAC1C,CAAC;AAEF,KAAK,kBAAkB,GAAG,iBAAiB,CACzC,OAAO,qBAAqB,CAAC,OAAO,EACpC,OAAO,sBAAsB,CAAC,SAAS,CACxC,CAAC;AAEF,UAAU,mBAAoB,SAAQ,iBAAiB,CACrD,OAAO,qBAAqB,CAAC,QAAQ,CACtC;IACC,QAAQ,CAAC,oBAAoB,EAAE,SAAS,CAAC,WAAW,GAAG,IAAI,CAAC,EAAE,CAAC;IAC/D,QAAQ,CAAC,kBAAkB,EAAE,qBAAqB,CAAC;IACnD,QAAQ,CAAC,UAAU,EAAE,SAAS,YAAY,EAAE,CAAC;CAC9C;AAED,UAAU,wBAAyB,SAAQ,iBAAiB,CAC1D,OAAO,qBAAqB,CAAC,aAAa,CAC3C;IACC,QAAQ,CAAC,SAAS,EAAE,SAAS,WAAW,EAAE,CAAC;CAC5C;AAED,UAAU,6BAA8B,SAAQ,eAAe,CAC7D,OAAO,qBAAqB,CAAC,kBAAkB,CAChD;IACC,QAAQ,CAAC,WAAW,EAAE,WAAW,CAAC;IAClC,QAAQ,CAAC,uBAAuB,EAAE,qBAAqB,CAAC;CACzD;AAED,MAAM,MAAM,WAAW,GACnB,wBAAwB,GACxB,uBAAuB,GACvB,kBAAkB,GAClB,mBAAmB,GACnB,wBAAwB,GACxB,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const planBindingTypeValues = {
|
|
2
|
+
ConstantValue: 'ConstantValue',
|
|
3
|
+
DynamicValue: 'DynamicValue',
|
|
4
|
+
Factory: 'Factory',
|
|
5
|
+
Instance: 'Instance',
|
|
6
|
+
ResolvedValue: 'ResolvedValue',
|
|
7
|
+
ServiceRedirection: 'ServiceRedirection',
|
|
8
|
+
};
|
|
9
|
+
const planBindingScopeValues = {
|
|
10
|
+
Request: 'Request',
|
|
11
|
+
Singleton: 'Singleton',
|
|
12
|
+
Transient: 'Transient',
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=PlanBinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanBinding.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanBinding.ts"],"names":[],"mappings":"AAYA,MAAM,qBAAqB,GAEvB;IACF,aAAa,EAAE,eAAe;IAC9B,YAAY,EAAE,cAAc;IAC5B,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,aAAa,EAAE,eAAe;IAC9B,kBAAkB,EAAE,oBAAoB;CACzC,CAAC;AAIF,MAAM,sBAAsB,GAExB;IACF,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,SAAS,EAAE,WAAW;CACvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanJsonValue.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanJsonValue.ts"],"names":[],"mappings":"AAAA,UAAU,cAAc;IACtB,QAAQ,EAAE,GAAG,EAAE,MAAM,GAAG,aAAa,CAAC;CACvC;AAED,MAAM,MAAM,aAAa,GACrB,OAAO,GACP,MAAM,GACN,MAAM,GACN,IAAI,GACJ,cAAc,GACd,SAAS,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanJsonValue.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanJsonValue.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanMetadataKey.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanMetadataKey.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanMetadataKey.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanMetadataKey.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanProperty.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanProperty.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,GAAG,EAAE,eAAe,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanProperty.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanProperty.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type PlanBinding } from './PlanBinding.js';
|
|
2
|
+
import { type PlanMetadataKey } from './PlanMetadataKey.js';
|
|
3
|
+
import { type PlanServiceIdentifier } from './PlanServiceIdentifier.js';
|
|
4
|
+
import { type PlanTag } from './PlanTag.js';
|
|
5
|
+
export interface PlanService {
|
|
6
|
+
readonly id: string;
|
|
7
|
+
readonly bindings: readonly PlanBinding[];
|
|
8
|
+
readonly chained: boolean | null;
|
|
9
|
+
readonly isMultiple: boolean;
|
|
10
|
+
readonly name: PlanMetadataKey | null;
|
|
11
|
+
readonly optional: boolean;
|
|
12
|
+
readonly serviceIdentifier: PlanServiceIdentifier;
|
|
13
|
+
readonly tags: readonly PlanTag[];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=PlanService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanService.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanService.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACxE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,SAAS,WAAW,EAAE,CAAC;IAC1C,QAAQ,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,qBAAqB,CAAC;IAClD,QAAQ,CAAC,IAAI,EAAE,SAAS,OAAO,EAAE,CAAC;CACnC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanService.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanService.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanServiceIdentifier.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanServiceIdentifier.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanServiceIdentifier.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanServiceIdentifier.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanTag.d.ts","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanTag.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,GAAG,EAAE,eAAe,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanTag.js","sourceRoot":"","sources":["../../../../src/insights/domain/models/PlanTag.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type PlanInspection } from 'inversify';
|
|
2
|
+
import { type Plan } from '../../../../insights/domain/models/Plan.js';
|
|
3
|
+
export declare function buildHttpInsightsPlan(inspection: PlanInspection, readId: () => string): Plan;
|
|
4
|
+
//# sourceMappingURL=buildHttpInsightsPlan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildHttpInsightsPlan.d.ts","sourceRoot":"","sources":["../../../../../src/instrumentation/adapter/inversify/calculations/buildHttpInsightsPlan.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,cAAc,EAGpB,MAAM,WAAW,CAAC;AAGnB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,4CAA4C,CAAC;AASvE,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,cAAc,EAC1B,MAAM,EAAE,MAAM,MAAM,GACnB,IAAI,CAmJN"}
|