@onlyflows/servicenow-mcp 2.3.0-rc.1 → 2.3.0-rc.2
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/CHANGELOG.md +732 -3
- package/README.md +418 -40
- package/dist/atf-policy.d.ts +1 -1
- package/dist/atf-policy.d.ts.map +1 -1
- package/dist/atf-policy.js +2 -0
- package/dist/atf-policy.js.map +1 -1
- package/dist/call-metrics.d.ts +42 -0
- package/dist/call-metrics.d.ts.map +1 -0
- package/dist/call-metrics.js +89 -0
- package/dist/call-metrics.js.map +1 -0
- package/dist/client.d.ts +18 -14
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +51 -36
- package/dist/client.js.map +1 -1
- package/dist/code-search-snippet.d.ts +25 -0
- package/dist/code-search-snippet.d.ts.map +1 -0
- package/dist/code-search-snippet.js +67 -0
- package/dist/code-search-snippet.js.map +1 -0
- package/dist/code-search-targets.d.ts +66 -0
- package/dist/code-search-targets.d.ts.map +1 -0
- package/dist/code-search-targets.js +82 -0
- package/dist/code-search-targets.js.map +1 -0
- package/dist/config.d.ts +1 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/credential-tables.d.ts +32 -0
- package/dist/credential-tables.d.ts.map +1 -0
- package/dist/credential-tables.js +58 -0
- package/dist/credential-tables.js.map +1 -0
- package/dist/encoded-query-policy.d.ts +9 -0
- package/dist/encoded-query-policy.d.ts.map +1 -1
- package/dist/encoded-query-policy.js +27 -2
- package/dist/encoded-query-policy.js.map +1 -1
- package/dist/execution-context.d.ts +14 -0
- package/dist/execution-context.d.ts.map +1 -1
- package/dist/execution-context.js +8 -0
- package/dist/execution-context.js.map +1 -1
- package/dist/field-policy.d.ts +34 -1
- package/dist/field-policy.d.ts.map +1 -1
- package/dist/field-policy.js +325 -30
- package/dist/field-policy.js.map +1 -1
- package/dist/hidden-values.d.ts +225 -0
- package/dist/hidden-values.d.ts.map +1 -0
- package/dist/hidden-values.js +748 -0
- package/dist/hidden-values.js.map +1 -0
- package/dist/http-entrypoint.d.ts.map +1 -1
- package/dist/http-entrypoint.js +7 -0
- package/dist/http-entrypoint.js.map +1 -1
- package/dist/http-observability.js +1 -0
- package/dist/http-observability.js.map +1 -1
- package/dist/http-runtime.js +16 -0
- package/dist/http-runtime.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/metadata-cache.d.ts +135 -7
- package/dist/metadata-cache.d.ts.map +1 -1
- package/dist/metadata-cache.js +357 -21
- package/dist/metadata-cache.js.map +1 -1
- package/dist/policy-card.d.ts +16 -1
- package/dist/policy-card.d.ts.map +1 -1
- package/dist/policy-card.js +13 -2
- package/dist/policy-card.js.map +1 -1
- package/dist/profile-admin.d.ts +18 -0
- package/dist/profile-admin.d.ts.map +1 -1
- package/dist/profile-admin.js +26 -1
- package/dist/profile-admin.js.map +1 -1
- package/dist/profile-manager.d.ts +13 -1
- package/dist/profile-manager.d.ts.map +1 -1
- package/dist/profile-manager.js +23 -1
- package/dist/profile-manager.js.map +1 -1
- package/dist/response-too-large.d.ts +23 -0
- package/dist/response-too-large.d.ts.map +1 -0
- package/dist/response-too-large.js +42 -0
- package/dist/response-too-large.js.map +1 -0
- package/dist/risky-grants.d.ts.map +1 -1
- package/dist/risky-grants.js +1 -0
- package/dist/risky-grants.js.map +1 -1
- package/dist/setup-prompts.js +1 -1
- package/dist/setup-prompts.js.map +1 -1
- package/dist/setup.d.ts +4 -0
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +176 -68
- package/dist/setup.js.map +1 -1
- package/dist/structured-query.d.ts +61 -2
- package/dist/structured-query.d.ts.map +1 -1
- package/dist/structured-query.js +382 -36
- package/dist/structured-query.js.map +1 -1
- package/dist/table-policy.d.ts +75 -2
- package/dist/table-policy.d.ts.map +1 -1
- package/dist/table-policy.js +184 -15
- package/dist/table-policy.js.map +1 -1
- package/dist/tool-error.d.ts +47 -4
- package/dist/tool-error.d.ts.map +1 -1
- package/dist/tool-error.js +104 -4
- package/dist/tool-error.js.map +1 -1
- package/dist/tool-table-access.d.ts +9 -2
- package/dist/tool-table-access.d.ts.map +1 -1
- package/dist/tool-table-access.js +118 -36
- package/dist/tool-table-access.js.map +1 -1
- package/dist/tools/aggregate.js +2 -2
- package/dist/tools/aggregate.js.map +1 -1
- package/dist/tools/all-fields-cap.d.ts.map +1 -1
- package/dist/tools/all-fields-cap.js +29 -7
- package/dist/tools/all-fields-cap.js.map +1 -1
- package/dist/tools/atf-author-module.d.ts +1 -7
- package/dist/tools/atf-author-module.d.ts.map +1 -1
- package/dist/tools/atf-author-module.js +16 -7
- package/dist/tools/atf-author-module.js.map +1 -1
- package/dist/tools/atf-contracts.d.ts +69 -4
- package/dist/tools/atf-contracts.d.ts.map +1 -1
- package/dist/tools/atf-contracts.js +32 -2
- package/dist/tools/atf-contracts.js.map +1 -1
- package/dist/tools/atf-renderers.js +2 -1
- package/dist/tools/atf-renderers.js.map +1 -1
- package/dist/tools/atf-results-module.d.ts.map +1 -1
- package/dist/tools/atf-results-module.js +5 -3
- package/dist/tools/atf-results-module.js.map +1 -1
- package/dist/tools/atf-run-module.js +3 -2
- package/dist/tools/atf-run-module.js.map +1 -1
- package/dist/tools/atf-shared.d.ts +6 -0
- package/dist/tools/atf-shared.d.ts.map +1 -1
- package/dist/tools/atf-shared.js +49 -10
- package/dist/tools/atf-shared.js.map +1 -1
- package/dist/tools/atf-step-catalog.d.ts +13 -8
- package/dist/tools/atf-step-catalog.d.ts.map +1 -1
- package/dist/tools/atf-step-catalog.js +169 -5
- package/dist/tools/atf-step-catalog.js.map +1 -1
- package/dist/tools/batch.d.ts.map +1 -1
- package/dist/tools/batch.js +25 -7
- package/dist/tools/batch.js.map +1 -1
- package/dist/tools/catalog.d.ts.map +1 -1
- package/dist/tools/catalog.js +2 -1
- package/dist/tools/catalog.js.map +1 -1
- package/dist/tools/codesearch.d.ts +2 -2
- package/dist/tools/codesearch.d.ts.map +1 -1
- package/dist/tools/codesearch.js +536 -67
- package/dist/tools/codesearch.js.map +1 -1
- package/dist/tools/flow-view-contracts.d.ts +59 -3
- package/dist/tools/flow-view-contracts.d.ts.map +1 -1
- package/dist/tools/flow-view-contracts.js +34 -2
- package/dist/tools/flow-view-contracts.js.map +1 -1
- package/dist/tools/flow-view-graph.d.ts +14 -0
- package/dist/tools/flow-view-graph.d.ts.map +1 -1
- package/dist/tools/flow-view-graph.js +43 -1
- package/dist/tools/flow-view-graph.js.map +1 -1
- package/dist/tools/flow-view-module.js +2 -2
- package/dist/tools/flow-view-module.js.map +1 -1
- package/dist/tools/flow-view-policy.d.ts +3 -3
- package/dist/tools/flow-view-policy.d.ts.map +1 -1
- package/dist/tools/flow-view-policy.js +5 -4
- package/dist/tools/flow-view-policy.js.map +1 -1
- package/dist/tools/flow-view-renderers.d.ts.map +1 -1
- package/dist/tools/flow-view-renderers.js +9 -21
- package/dist/tools/flow-view-renderers.js.map +1 -1
- package/dist/tools/get-module.js +1 -1
- package/dist/tools/get-module.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +116 -25
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/platform-view-contracts.d.ts +189 -0
- package/dist/tools/platform-view-contracts.d.ts.map +1 -0
- package/dist/tools/platform-view-contracts.js +353 -0
- package/dist/tools/platform-view-contracts.js.map +1 -0
- package/dist/tools/platform-view-evaluate.d.ts +11 -0
- package/dist/tools/platform-view-evaluate.d.ts.map +1 -0
- package/dist/tools/platform-view-evaluate.js +19 -0
- package/dist/tools/platform-view-evaluate.js.map +1 -0
- package/dist/tools/platform-view-module.d.ts +28 -0
- package/dist/tools/platform-view-module.d.ts.map +1 -0
- package/dist/tools/platform-view-module.js +111 -0
- package/dist/tools/platform-view-module.js.map +1 -0
- package/dist/tools/platform-view-scan.d.ts +57 -0
- package/dist/tools/platform-view-scan.d.ts.map +1 -0
- package/dist/tools/platform-view-scan.js +375 -0
- package/dist/tools/platform-view-scan.js.map +1 -0
- package/dist/tools/platform-view-upgrades.d.ts +152 -0
- package/dist/tools/platform-view-upgrades.d.ts.map +1 -0
- package/dist/tools/platform-view-upgrades.js +545 -0
- package/dist/tools/platform-view-upgrades.js.map +1 -0
- package/dist/tools/profile.d.ts.map +1 -1
- package/dist/tools/profile.js +1 -0
- package/dist/tools/profile.js.map +1 -1
- package/dist/tools/query-module.d.ts.map +1 -1
- package/dist/tools/query-module.js +231 -64
- package/dist/tools/query-module.js.map +1 -1
- package/dist/tools/record-write-shared.d.ts.map +1 -1
- package/dist/tools/record-write-shared.js +4 -3
- package/dist/tools/record-write-shared.js.map +1 -1
- package/dist/tools/result-envelope.d.ts +429 -38
- package/dist/tools/result-envelope.d.ts.map +1 -1
- package/dist/tools/result-envelope.js +372 -36
- package/dist/tools/result-envelope.js.map +1 -1
- package/dist/tools/schema-module.d.ts.map +1 -1
- package/dist/tools/schema-module.js +1 -1
- package/dist/tools/schema-module.js.map +1 -1
- package/dist/tools/syslog-cursor.d.ts +61 -0
- package/dist/tools/syslog-cursor.d.ts.map +1 -0
- package/dist/tools/syslog-cursor.js +146 -0
- package/dist/tools/syslog-cursor.js.map +1 -0
- package/dist/tools/syslog.d.ts +2 -0
- package/dist/tools/syslog.d.ts.map +1 -1
- package/dist/tools/syslog.js +126 -2
- package/dist/tools/syslog.js.map +1 -1
- package/dist/tools/truncation-hint.d.ts +125 -0
- package/dist/tools/truncation-hint.d.ts.map +1 -0
- package/dist/tools/truncation-hint.js +298 -0
- package/dist/tools/truncation-hint.js.map +1 -0
- package/dist/unknown-filter-fields.d.ts +52 -0
- package/dist/unknown-filter-fields.d.ts.map +1 -0
- package/dist/unknown-filter-fields.js +87 -0
- package/dist/unknown-filter-fields.js.map +1 -0
- package/dist/update-set-eval/secret-patterns.d.ts +75 -0
- package/dist/update-set-eval/secret-patterns.d.ts.map +1 -0
- package/dist/update-set-eval/secret-patterns.js +570 -0
- package/dist/update-set-eval/secret-patterns.js.map +1 -0
- package/dist/update-set-eval/xml-reader.d.ts +117 -0
- package/dist/update-set-eval/xml-reader.d.ts.map +1 -0
- package/dist/update-set-eval/xml-reader.js +561 -0
- package/dist/update-set-eval/xml-reader.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/docs/CLIENT-SETUP.md +30 -7
- package/docs/FLOW-VIEW.md +14 -5
- package/docs/PRODUCTION-SECURITY.md +84 -1
- package/docs/PROFILE-CREDENTIALS.md +10 -4
- package/docs/V2-MIGRATION.md +1 -1
- package/package.json +1 -1
- package/server.json +2 -2
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `sn_platform_view`, view `upgrade_skipped`: the skipped files of one upgrade
|
|
3
|
+
* run, and what the run's own counters say.
|
|
4
|
+
*
|
|
5
|
+
* Reads, in this order, each in its own response scope and never cached:
|
|
6
|
+
* 1. `sys_upgrade_history`: the run (a given sys_id, or the latest of its
|
|
7
|
+
* `kind`) and, for "latest", up to five other recent runs, in one read;
|
|
8
|
+
* 2. `sys_upgrade_history_log`: the page of skipped files of that run, with
|
|
9
|
+
* dispositions in {4, 9, 10, 11, 104} only. A 403 here is not an error: the
|
|
10
|
+
* run summary is returned with `log: "denied"` and a fixed hint that names
|
|
11
|
+
* the `upgrade_admin` role;
|
|
12
|
+
* 3. `sys_choice`: the labels of the dispositions. Its query is fixed, so it
|
|
13
|
+
* starts together with the log read, and its answer is used only when log
|
|
14
|
+
* rows come back. It cannot fail the call: without it, codes are `unknown(n)`.
|
|
15
|
+
*
|
|
16
|
+
* The run's counters are exactly `skipped`, `skipped_error`,
|
|
17
|
+
* `skipped_manual_merge` and `skipped_apply_once`. `kind` is a heuristic: a
|
|
18
|
+
* run whose `from_version` is empty or "n/a" is an app install, anything else
|
|
19
|
+
* an upgrade, and the result says so.
|
|
20
|
+
*
|
|
21
|
+
* Never requested: `payload`, `payload_diff`, `comments`, `file_path`.
|
|
22
|
+
* Every row passes the field access the module supplies (see
|
|
23
|
+
* `PlatformViewFieldAccess`) before it is projected.
|
|
24
|
+
*
|
|
25
|
+
* Text: instance strings are bounded here and rendered by
|
|
26
|
+
* `renderUpgradeSkippedText` through `markdown.ts` (escaped cells and an
|
|
27
|
+
* `untrustedBlock`), never concatenated.
|
|
28
|
+
*
|
|
29
|
+
* @module tools/platform-view-upgrades
|
|
30
|
+
*/
|
|
31
|
+
import type { CallToolResult } from "@modelcontextprotocol/sdk/types.js";
|
|
32
|
+
import { type ToolErrorCategory } from "../tool-error.js";
|
|
33
|
+
import { type CanonicalPlatformViewArgs, type PlatformViewData, UPGRADE_KINDS } from "./platform-view-contracts.js";
|
|
34
|
+
import type { ServiceNowToolHandlerServices } from "./tool-module.js";
|
|
35
|
+
/**
|
|
36
|
+
* What a view needs from field policy, supplied by the module per call:
|
|
37
|
+
* - `canRead(table, field)`: whether the profile may read the field. A view
|
|
38
|
+
* asks for, filters on and orders by readable fields only, so an unreadable
|
|
39
|
+
* field is never an oracle.
|
|
40
|
+
* - `filter(table, row)`: the row with only its readable fields. Every row an
|
|
41
|
+
* upstream read returns passes through it before it is projected.
|
|
42
|
+
*
|
|
43
|
+
* The module builds it from the call's prepared field arguments
|
|
44
|
+
* (`preparedReadableFields` and `filterReadableRecord`) and passes it as the
|
|
45
|
+
* handler's third argument. Without it a handler falls back to
|
|
46
|
+
* `liveFieldAccess`, which asks the field policy of the current scope.
|
|
47
|
+
*/
|
|
48
|
+
export interface PlatformViewFieldAccess {
|
|
49
|
+
canRead(table: string, field: string): boolean;
|
|
50
|
+
filter(table: string, row: Readonly<Record<string, unknown>>): Record<string, unknown>;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* A view handler as the dispatcher's `PlatformViewHandler`, plus the module's
|
|
54
|
+
* field access as an optional third argument. Assignable to `PlatformViewHandler`.
|
|
55
|
+
*/
|
|
56
|
+
export type FieldAccessHandler = (args: CanonicalPlatformViewArgs, services: ServiceNowToolHandlerServices, fieldAccess?: PlatformViewFieldAccess) => Promise<CallToolResult>;
|
|
57
|
+
/** The current scope's field policy, for a handler the module has not given an access. */
|
|
58
|
+
export declare const liveFieldAccess: PlatformViewFieldAccess;
|
|
59
|
+
/** A per-call memo of `canRead`: a view asks about the same field many times. */
|
|
60
|
+
export declare function memoizedFieldAccess(access: PlatformViewFieldAccess): PlatformViewFieldAccess;
|
|
61
|
+
/**
|
|
62
|
+
* One upstream row, as the view may show it: it passes the module's `filter`,
|
|
63
|
+
* then only the fields the view asked for stay, so a field the instance
|
|
64
|
+
* returned unasked (or the policy hid after the request) never reaches a
|
|
65
|
+
* projection.
|
|
66
|
+
*/
|
|
67
|
+
export declare function readableRow(access: PlatformViewFieldAccess, table: string, row: Readonly<Record<string, unknown>>, asked: readonly string[]): Record<string, unknown>;
|
|
68
|
+
/** The fields of `candidates` the profile may read on `table`, in order. */
|
|
69
|
+
export declare function readableOf(access: PlatformViewFieldAccess, table: string, candidates: readonly string[]): string[];
|
|
70
|
+
export declare const TABLE_PATH = "/api/now/table/";
|
|
71
|
+
export declare const STATS_PATH = "/api/now/stats/";
|
|
72
|
+
export declare const SYS_ID: RegExp;
|
|
73
|
+
/** Rows of a Table API response, or none. */
|
|
74
|
+
export declare function rowsOf(response: unknown): Record<string, unknown>[];
|
|
75
|
+
/** A field value as text: a string, or the `value` of a `{value, display_value}` pair. */
|
|
76
|
+
export declare function scalar(value: unknown, depth?: number): string | undefined;
|
|
77
|
+
/** Instance text: control characters replaced, trimmed, cut at `max` without splitting a surrogate pair. */
|
|
78
|
+
export declare function cleanText(value: unknown, max: number): string | undefined;
|
|
79
|
+
/** A whole number from a string field, or undefined. */
|
|
80
|
+
export declare function wholeNumber(value: unknown): number | undefined;
|
|
81
|
+
/** A boolean field. */
|
|
82
|
+
export declare function flag(value: unknown): boolean | undefined;
|
|
83
|
+
/** The category of an issued tool error, or undefined for anything else. */
|
|
84
|
+
export declare function errorCategory(error: unknown): ToolErrorCategory | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* What the Table API returns (HTTP 400) for a table that does not exist: an
|
|
87
|
+
* issued `upstream` error with no retry and no reason. An error with a reason
|
|
88
|
+
* (an HTML page, a redirect, a hibernating instance) is a bad response, not a
|
|
89
|
+
* missing table.
|
|
90
|
+
*/
|
|
91
|
+
export declare function isMissingTable(error: unknown): boolean;
|
|
92
|
+
/**
|
|
93
|
+
* Run `operation` in a fresh response scope bound to the call's signal, so one
|
|
94
|
+
* read's bytes do not count against the next one's 1 MiB allowance. Without a
|
|
95
|
+
* signal (a handler called directly) it runs in the caller's scope.
|
|
96
|
+
*/
|
|
97
|
+
export declare function inOwnScope<T>(signal: AbortSignal | undefined, operation: () => Promise<T>): Promise<T>;
|
|
98
|
+
/** Parameters of one Table API list read. Raw values only: no display values, no links. */
|
|
99
|
+
export declare function listParams(options: {
|
|
100
|
+
readonly fields: readonly string[];
|
|
101
|
+
readonly query: string;
|
|
102
|
+
readonly limit: number;
|
|
103
|
+
readonly offset?: number;
|
|
104
|
+
}): Record<string, string>;
|
|
105
|
+
/** The first table in `table` that has none of `required` readable, as a field name; undefined when all are. */
|
|
106
|
+
export declare function firstUnreadable(access: PlatformViewFieldAccess, table: string, required: readonly string[]): string | undefined;
|
|
107
|
+
export declare const FIELD_POLICY_HINT = "Field policy hides a field this view needs.";
|
|
108
|
+
/** The result of a view. The envelope adds counts, paging and limits. */
|
|
109
|
+
export declare function viewResult(args: CanonicalPlatformViewArgs, data: PlatformViewData): CallToolResult;
|
|
110
|
+
/** One page of rows read with one look-ahead row: the page, and whether more exist. */
|
|
111
|
+
export declare function pageOf<T>(rows: readonly T[], limit: number): {
|
|
112
|
+
readonly page: T[];
|
|
113
|
+
readonly hasMore: boolean;
|
|
114
|
+
};
|
|
115
|
+
/** Dispositions of `sys_upgrade_history_log` that mean a file was skipped. */
|
|
116
|
+
export declare const SKIPPED_DISPOSITIONS: readonly [4, 9, 10, 11, 104];
|
|
117
|
+
/** The four run counters, and no other `skipped*` field. */
|
|
118
|
+
export declare const RUN_COUNTER_FIELDS: readonly ["skipped", "skipped_error", "skipped_manual_merge", "skipped_apply_once"];
|
|
119
|
+
export declare const RUN_FIELDS: readonly string[];
|
|
120
|
+
/** Never `payload`, `payload_diff`, `comments` or `file_path`. */
|
|
121
|
+
export declare const UPGRADE_LOG_FIELDS: readonly string[];
|
|
122
|
+
/**
|
|
123
|
+
* Every field this view may request or filter on, by table: what the module
|
|
124
|
+
* prepares in `resolveAccess` (intersected with what the profile may read; a
|
|
125
|
+
* field that is not readable is left out, never an error).
|
|
126
|
+
*/
|
|
127
|
+
export declare const UPGRADE_SKIPPED_FIELD_PLAN: Readonly<Record<string, readonly string[]>>;
|
|
128
|
+
export declare const UPGRADE_LOG_DENIED_HINT = "Reading the upgrade log needs the `upgrade_admin` role.";
|
|
129
|
+
export declare const UPGRADE_HISTORY_DENIED_HINT = "Reading the upgrade history was denied for this account.";
|
|
130
|
+
export declare const KIND_BASIS = "Heuristic: a run whose from_version is empty or n/a is an app install; any other run is an upgrade.";
|
|
131
|
+
export type UpgradeKind = Exclude<(typeof UPGRADE_KINDS)[number], "all">;
|
|
132
|
+
/** A run's `kind`: an app install has no `from_version` (empty or "n/a"). */
|
|
133
|
+
export declare function upgradeKindOf(fromVersion: string | undefined): UpgradeKind;
|
|
134
|
+
/** The label of a disposition, from the choice list; `unknown(n)` when the list has none. */
|
|
135
|
+
export declare function dispositionLabel(value: number, labels: ReadonlyMap<number, string>): string;
|
|
136
|
+
/**
|
|
137
|
+
* Build the `view: "upgrade_skipped"` handler. `handleUpgradeSkipped` is the
|
|
138
|
+
* one the module registers; a test builds its own with a fixed field access.
|
|
139
|
+
*/
|
|
140
|
+
export declare function createUpgradeSkippedHandler(defaults?: {
|
|
141
|
+
readonly fieldAccess?: PlatformViewFieldAccess;
|
|
142
|
+
}): FieldAccessHandler;
|
|
143
|
+
/** The handler the dispatcher registers. */
|
|
144
|
+
export declare const handleUpgradeSkipped: FieldAccessHandler;
|
|
145
|
+
export declare function asRecord(value: unknown): Record<string, unknown>;
|
|
146
|
+
/**
|
|
147
|
+
* The readable text of an `upgrade_skipped` result. `data` is the envelope's
|
|
148
|
+
* `data`; every value in it is instance text, so it reaches the output only as
|
|
149
|
+
* an escaped table cell, escaped inline text or inside an `untrustedBlock`.
|
|
150
|
+
*/
|
|
151
|
+
export declare function renderUpgradeSkippedText(data: unknown): string | undefined;
|
|
152
|
+
//# sourceMappingURL=platform-view-upgrades.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-view-upgrades.d.ts","sourceRoot":"","sources":["../../src/tools/platform-view-upgrades.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAMzE,OAAO,EAA+C,KAAK,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEvG,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,aAAa,EACd,MAAM,8BAA8B,CAAC;AAGtC,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AAMtE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC;IAC/C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACxF;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAC/B,IAAI,EAAE,yBAAyB,EAC/B,QAAQ,EAAE,6BAA6B,EACvC,WAAW,CAAC,EAAE,uBAAuB,KAClC,OAAO,CAAC,cAAc,CAAC,CAAC;AAE7B,0FAA0F;AAC1F,eAAO,MAAM,eAAe,EAAE,uBAe5B,CAAC;AAEH,iFAAiF;AACjF,wBAAgB,mBAAmB,CAAC,MA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