@scoutflo/topology-contracts 0.5.0 → 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/README.md +5 -1
- package/dist/src/correlation/lifecycle.d.ts +42 -42
- package/dist/src/correlation/lifecycle.js +2 -2
- package/dist/src/correlation/lifecycle.js.map +1 -1
- package/dist/src/investigation/context.d.ts +126 -126
- package/dist/src/providers/aliases.d.ts +1 -1
- package/dist/src/providers/providers.d.ts +4 -2
- package/dist/src/providers/providers.js +4 -0
- package/dist/src/providers/providers.js.map +1 -1
- package/dist/src/source-sync/candidate.d.ts +47 -47
- package/dist/src/source-sync/capability.d.ts +3 -3
- package/dist/src/source-sync/intent.d.ts +12 -12
- package/dist/src/source-sync/lifecycle.d.ts +9 -9
- package/dist/src/source-sync/scope.d.ts +3 -3
- package/dist/src/topology/relationTypes.d.ts +31 -5
- package/dist/src/topology/relationTypes.js +60 -6
- package/dist/src/topology/relationTypes.js.map +1 -1
- package/dist/src/topology/resourceTypes.d.ts +25 -7
- package/dist/src/topology/resourceTypes.js +48 -10
- package/dist/src/topology/resourceTypes.js.map +1 -1
- package/dist/test/contracts.test.js +33 -0
- package/dist/test/contracts.test.js.map +1 -1
- package/dist/test/correlation-lifecycle.test.js +2 -2
- package/dist/test/correlation-lifecycle.test.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,4 +9,4 @@ export declare const TOPOLOGY_PROVIDER_ALIASES: {
|
|
|
9
9
|
export type TopologyProviderAlias = keyof typeof TOPOLOGY_PROVIDER_ALIASES;
|
|
10
10
|
export type TopologyProviderInput = TopologyProvider | TopologyProviderAlias;
|
|
11
11
|
export declare function normalizeTopologyProvider(provider: string): TopologyProvider;
|
|
12
|
-
export declare const topologyProviderInputSchema: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "jira", "confluence", "jsm", "custom"]>, z.ZodLiteral<"kubernetes">]>, "aws" | "k8s" | "gcp" | "azure" | "sentry" | "prometheus" | "grafana" | "loki" | "tempo" | "mimir" | "victoriametrics" | "victorialogs" | "victoriatraces" | "github" | "gitlab" | "bitbucket" | "argocd" | "datadog" | "groundcover" | "elk" | "jira" | "confluence" | "jsm" | "custom", "aws" | "k8s" | "gcp" | "azure" | "sentry" | "prometheus" | "grafana" | "loki" | "tempo" | "mimir" | "victoriametrics" | "victorialogs" | "victoriatraces" | "github" | "gitlab" | "bitbucket" | "argocd" | "datadog" | "groundcover" | "elk" | "jira" | "confluence" | "jsm" | "custom" | "kubernetes">;
|
|
12
|
+
export declare const topologyProviderInputSchema: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "pagerduty", "correlation", "jira", "confluence", "jsm", "custom"]>, z.ZodLiteral<"kubernetes">]>, "aws" | "k8s" | "gcp" | "azure" | "sentry" | "prometheus" | "grafana" | "loki" | "tempo" | "mimir" | "victoriametrics" | "victorialogs" | "victoriatraces" | "github" | "gitlab" | "bitbucket" | "argocd" | "datadog" | "groundcover" | "elk" | "pagerduty" | "correlation" | "jira" | "confluence" | "jsm" | "custom", "aws" | "k8s" | "gcp" | "azure" | "sentry" | "prometheus" | "grafana" | "loki" | "tempo" | "mimir" | "victoriametrics" | "victorialogs" | "victoriatraces" | "github" | "gitlab" | "bitbucket" | "argocd" | "datadog" | "groundcover" | "elk" | "pagerduty" | "correlation" | "jira" | "confluence" | "jsm" | "custom" | "kubernetes">;
|
|
@@ -20,11 +20,13 @@ export declare const TOPOLOGY_PROVIDER: {
|
|
|
20
20
|
readonly DATADOG: "datadog";
|
|
21
21
|
readonly GROUNDCOVER: "groundcover";
|
|
22
22
|
readonly ELK: "elk";
|
|
23
|
+
readonly PAGERDUTY: "pagerduty";
|
|
24
|
+
readonly CORRELATION: "correlation";
|
|
23
25
|
readonly JIRA: "jira";
|
|
24
26
|
readonly CONFLUENCE: "confluence";
|
|
25
27
|
readonly JSM: "jsm";
|
|
26
28
|
readonly CUSTOM: "custom";
|
|
27
29
|
};
|
|
28
|
-
export declare const TOPOLOGY_PROVIDER_VALUES: readonly ["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "jira", "confluence", "jsm", "custom"];
|
|
29
|
-
export declare const topologyProviderSchema: z.ZodEnum<["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "jira", "confluence", "jsm", "custom"]>;
|
|
30
|
+
export declare const TOPOLOGY_PROVIDER_VALUES: readonly ["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "pagerduty", "correlation", "jira", "confluence", "jsm", "custom"];
|
|
31
|
+
export declare const topologyProviderSchema: z.ZodEnum<["aws", "k8s", "gcp", "azure", "sentry", "prometheus", "grafana", "loki", "tempo", "mimir", "victoriametrics", "victorialogs", "victoriatraces", "github", "gitlab", "bitbucket", "argocd", "datadog", "groundcover", "elk", "pagerduty", "correlation", "jira", "confluence", "jsm", "custom"]>;
|
|
30
32
|
export type TopologyProvider = z.infer<typeof topologyProviderSchema>;
|
|
@@ -23,6 +23,8 @@ exports.TOPOLOGY_PROVIDER = {
|
|
|
23
23
|
DATADOG: 'datadog',
|
|
24
24
|
GROUNDCOVER: 'groundcover',
|
|
25
25
|
ELK: 'elk',
|
|
26
|
+
PAGERDUTY: 'pagerduty',
|
|
27
|
+
CORRELATION: 'correlation',
|
|
26
28
|
JIRA: 'jira',
|
|
27
29
|
CONFLUENCE: 'confluence',
|
|
28
30
|
JSM: 'jsm',
|
|
@@ -49,6 +51,8 @@ exports.TOPOLOGY_PROVIDER_VALUES = [
|
|
|
49
51
|
exports.TOPOLOGY_PROVIDER.DATADOG,
|
|
50
52
|
exports.TOPOLOGY_PROVIDER.GROUNDCOVER,
|
|
51
53
|
exports.TOPOLOGY_PROVIDER.ELK,
|
|
54
|
+
exports.TOPOLOGY_PROVIDER.PAGERDUTY,
|
|
55
|
+
exports.TOPOLOGY_PROVIDER.CORRELATION,
|
|
52
56
|
exports.TOPOLOGY_PROVIDER.JIRA,
|
|
53
57
|
exports.TOPOLOGY_PROVIDER.CONFLUENCE,
|
|
54
58
|
exports.TOPOLOGY_PROVIDER.JSM,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers.js","sourceRoot":"","sources":["../../../src/providers/providers.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AAEX,QAAA,iBAAiB,GAAG;IAC/B,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;IACV,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,eAAe,EAAE,iBAAiB;IAClC,YAAY,EAAE,cAAc;IAC5B,cAAc,EAAE,gBAAgB;IAChC,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,UAAU,EAAE,YAAY;IACx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