aws-cdk 2.1007.0 → 2.1009.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/THIRD_PARTY_LICENSES +52 -34
- package/build-info.json +2 -2
- package/db.json.gz +0 -0
- package/lib/api/aws-auth.d.ts +1 -0
- package/lib/api/{logs/index.js → aws-auth.js} +2 -3
- package/lib/api/bootstrap.d.ts +1 -0
- package/lib/api/bootstrap.js +18 -0
- package/lib/api/cloud-assembly.d.ts +1 -0
- package/lib/api/cloud-assembly.js +18 -0
- package/lib/api/cloudformation.d.ts +1 -0
- package/lib/api/cloudformation.js +18 -0
- package/lib/api/context.d.ts +1 -40
- package/lib/api/context.js +16 -80
- package/lib/api/deployments.d.ts +1 -0
- package/lib/api/deployments.js +18 -0
- package/lib/api/environment.d.ts +1 -0
- package/lib/api/environment.js +18 -0
- package/lib/api/garbage-collection.d.ts +1 -0
- package/lib/api/garbage-collection.js +18 -0
- package/lib/api/hotswap.d.ts +1 -0
- package/lib/api/hotswap.js +18 -0
- package/lib/api/index.d.ts +5 -1
- package/lib/api/index.js +6 -2
- package/lib/api/logs-monitor.d.ts +1 -0
- package/lib/api/logs-monitor.js +18 -0
- package/lib/api/notices.d.ts +1 -0
- package/lib/api/notices.js +18 -0
- package/lib/api/plugin.d.ts +1 -0
- package/lib/api/{garbage-collection/index.js → plugin.js} +2 -2
- package/lib/api/resource-import.d.ts +1 -0
- package/lib/api/resource-import.js +18 -0
- package/lib/api/rwlock.d.ts +1 -0
- package/lib/api/{resource-import/index.js → rwlock.js} +2 -3
- package/lib/api/settings.d.ts +1 -26
- package/lib/api/settings.js +16 -103
- package/lib/api/stack-events.d.ts +1 -0
- package/lib/api/stack-events.js +18 -0
- package/lib/api/tags.d.ts +1 -9
- package/lib/api/tags.js +16 -8
- package/lib/api/toolkit-info.d.ts +1 -52
- package/lib/api/toolkit-info.js +16 -152
- package/lib/api/tree.d.ts +1 -31
- package/lib/api/tree.js +16 -35
- package/lib/api/work-graph.d.ts +1 -0
- package/lib/api/work-graph.js +18 -0
- package/lib/api-private.d.ts +3 -0
- package/lib/api-private.js +22 -0
- package/lib/cli/cdk-toolkit.d.ts +17 -5
- package/lib/cli/cdk-toolkit.js +96 -44
- package/lib/cli/cli.d.ts +1 -1
- package/lib/cli/cli.js +30 -19
- package/lib/cli/io-host/cli-io-host.js +2 -2
- package/lib/cli/pretty-print-error.js +3 -1
- package/lib/cli/util/npm.d.ts +4 -1
- package/lib/cli/util/npm.js +25 -13
- package/lib/cli/version.d.ts +1 -1
- package/lib/cli/version.js +21 -25
- package/lib/commands/context.js +3 -2
- package/lib/commands/init/init-hooks.js +28 -6
- package/lib/commands/init/init.js +3 -2
- package/lib/commands/list-stacks.js +4 -4
- package/lib/context-providers/ami.d.ts +1 -13
- package/lib/context-providers/ami.js +16 -48
- package/lib/context-providers/availability-zones.d.ts +1 -13
- package/lib/context-providers/availability-zones.js +16 -25
- package/lib/context-providers/cc-api-provider.d.ts +1 -30
- package/lib/context-providers/cc-api-provider.js +16 -142
- package/lib/context-providers/endpoint-service-availability-zones.d.ts +1 -13
- package/lib/context-providers/endpoint-service-availability-zones.js +16 -31
- package/lib/context-providers/hosted-zones.d.ts +1 -12
- package/lib/context-providers/hosted-zones.js +16 -65
- package/lib/context-providers/index.d.ts +1 -44
- package/lib/context-providers/index.js +15 -126
- package/lib/context-providers/keys.d.ts +1 -13
- package/lib/context-providers/keys.js +16 -50
- package/lib/context-providers/load-balancers.d.ts +1 -20
- package/lib/context-providers/load-balancers.js +16 -154
- package/lib/context-providers/security-groups.d.ts +1 -9
- package/lib/context-providers/security-groups.js +16 -66
- package/lib/context-providers/ssm-parameters.d.ts +1 -25
- package/lib/context-providers/ssm-parameters.js +16 -57
- package/lib/context-providers/vpcs.d.ts +1 -13
- package/lib/context-providers/vpcs.js +16 -285
- package/lib/cxapp/cloud-assembly.d.ts +79 -0
- package/lib/cxapp/cloud-assembly.js +108 -0
- package/lib/{api/cxapp → cxapp}/cloud-executable.d.ts +6 -4
- package/lib/cxapp/cloud-executable.js +98 -0
- package/lib/{api/cxapp → cxapp}/environments.d.ts +1 -2
- package/lib/{api/cxapp → cxapp}/environments.js +2 -2
- package/lib/cxapp/exec.d.ts +14 -0
- package/lib/cxapp/exec.js +157 -0
- package/lib/cxapp/index.d.ts +4 -0
- package/lib/{api/bootstrap → cxapp}/index.js +5 -3
- package/lib/index.js +135349 -124905
- package/lib/init-templates/.init-version.json +1 -1
- package/lib/init-templates/.recommended-feature-flags.json +3 -2
- package/lib/legacy-aws-auth.d.ts +74 -0
- package/lib/legacy-aws-auth.js +40 -0
- package/lib/legacy-exports-source.d.ts +13 -18
- package/lib/legacy-exports-source.js +42 -49
- package/lib/legacy-exports.d.ts +3 -6
- package/lib/legacy-exports.js +5 -5
- package/lib/legacy-types.d.ts +31 -0
- package/lib/legacy-types.js +3 -0
- package/package.json +12 -11
- package/lib/api/aws-auth/account-cache.d.ts +0 -36
- package/lib/api/aws-auth/account-cache.js +0 -99
- package/lib/api/aws-auth/awscli-compatible.d.ts +0 -42
- package/lib/api/aws-auth/awscli-compatible.js +0 -263
- package/lib/api/aws-auth/cached.d.ts +0 -11
- package/lib/api/aws-auth/cached.js +0 -26
- package/lib/api/aws-auth/credential-plugins.d.ts +0 -36
- package/lib/api/aws-auth/credential-plugins.js +0 -152
- package/lib/api/aws-auth/index.d.ts +0 -3
- package/lib/api/aws-auth/index.js +0 -20
- package/lib/api/aws-auth/provider-caching.d.ts +0 -13
- package/lib/api/aws-auth/provider-caching.js +0 -24
- package/lib/api/aws-auth/sdk-logger.d.ts +0 -69
- package/lib/api/aws-auth/sdk-logger.js +0 -124
- package/lib/api/aws-auth/sdk-provider.d.ts +0 -207
- package/lib/api/aws-auth/sdk-provider.js +0 -357
- package/lib/api/aws-auth/sdk.d.ts +0 -229
- package/lib/api/aws-auth/sdk.js +0 -373
- package/lib/api/aws-auth/tracing.d.ts +0 -11
- package/lib/api/aws-auth/tracing.js +0 -60
- package/lib/api/aws-auth/user-agent.d.ts +0 -7
- package/lib/api/aws-auth/user-agent.js +0 -20
- package/lib/api/aws-auth/util.d.ts +0 -6
- package/lib/api/aws-auth/util.js +0 -23
- package/lib/api/bootstrap/bootstrap-environment.d.ts +0 -35
- package/lib/api/bootstrap/bootstrap-environment.js +0 -321
- package/lib/api/bootstrap/bootstrap-props.d.ts +0 -130
- package/lib/api/bootstrap/bootstrap-props.js +0 -14
- package/lib/api/bootstrap/deploy-bootstrap.d.ts +0 -39
- package/lib/api/bootstrap/deploy-bootstrap.js +0 -141
- package/lib/api/bootstrap/index.d.ts +0 -2
- package/lib/api/bootstrap/legacy-template.d.ts +0 -2
- package/lib/api/bootstrap/legacy-template.js +0 -82
- package/lib/api/cloudformation/evaluate-cloudformation-template.d.ts +0 -85
- package/lib/api/cloudformation/evaluate-cloudformation-template.js +0 -440
- package/lib/api/cloudformation/index.d.ts +0 -4
- package/lib/api/cloudformation/index.js +0 -21
- package/lib/api/cloudformation/nested-stack-helpers.d.ts +0 -19
- package/lib/api/cloudformation/nested-stack-helpers.js +0 -86
- package/lib/api/cloudformation/stack-helpers.d.ts +0 -88
- package/lib/api/cloudformation/stack-helpers.js +0 -158
- package/lib/api/cloudformation/template-body-parameter.d.ts +0 -22
- package/lib/api/cloudformation/template-body-parameter.js +0 -104
- package/lib/api/cxapp/cloud-assembly.d.ts +0 -137
- package/lib/api/cxapp/cloud-assembly.js +0 -305
- package/lib/api/cxapp/cloud-executable.js +0 -89
- package/lib/api/cxapp/exec.d.ts +0 -57
- package/lib/api/cxapp/exec.js +0 -279
- package/lib/api/deployments/asset-manifest-builder.d.ts +0 -8
- package/lib/api/deployments/asset-manifest-builder.js +0 -35
- package/lib/api/deployments/asset-publishing.d.ts +0 -60
- package/lib/api/deployments/asset-publishing.js +0 -141
- package/lib/api/deployments/assets.d.ts +0 -11
- package/lib/api/deployments/assets.js +0 -109
- package/lib/api/deployments/cfn-api.d.ts +0 -138
- package/lib/api/deployments/cfn-api.js +0 -438
- package/lib/api/deployments/checks.d.ts +0 -9
- package/lib/api/deployments/checks.js +0 -72
- package/lib/api/deployments/deploy-stack.d.ts +0 -155
- package/lib/api/deployments/deploy-stack.js +0 -478
- package/lib/api/deployments/deployment-method.d.ts +0 -24
- package/lib/api/deployments/deployment-method.js +0 -3
- package/lib/api/deployments/deployment-result.d.ts +0 -21
- package/lib/api/deployments/deployment-result.js +0 -10
- package/lib/api/deployments/deployments.d.ts +0 -296
- package/lib/api/deployments/deployments.js +0 -331
- package/lib/api/deployments/hotswap-deployments.d.ts +0 -17
- package/lib/api/deployments/hotswap-deployments.js +0 -441
- package/lib/api/deployments/index.d.ts +0 -5
- package/lib/api/deployments/index.js +0 -22
- package/lib/api/environment/environment-access.d.ts +0 -140
- package/lib/api/environment/environment-access.js +0 -202
- package/lib/api/environment/environment-resources.d.ts +0 -75
- package/lib/api/environment/environment-resources.js +0 -207
- package/lib/api/environment/index.d.ts +0 -3
- package/lib/api/environment/index.js +0 -20
- package/lib/api/environment/placeholders.d.ts +0 -10
- package/lib/api/environment/placeholders.js +0 -23
- package/lib/api/garbage-collection/garbage-collector.d.ts +0 -158
- package/lib/api/garbage-collection/garbage-collector.js +0 -599
- package/lib/api/garbage-collection/index.d.ts +0 -1
- package/lib/api/garbage-collection/progress-printer.d.ts +0 -23
- package/lib/api/garbage-collection/progress-printer.js +0 -70
- package/lib/api/garbage-collection/stack-refresh.d.ts +0 -49
- package/lib/api/garbage-collection/stack-refresh.js +0 -151
- package/lib/api/hotswap/appsync-mapping-templates.d.ts +0 -4
- package/lib/api/hotswap/appsync-mapping-templates.js +0 -162
- package/lib/api/hotswap/code-build-projects.d.ts +0 -4
- package/lib/api/hotswap/code-build-projects.js +0 -62
- package/lib/api/hotswap/common.d.ts +0 -89
- package/lib/api/hotswap/common.js +0 -128
- package/lib/api/hotswap/ecs-services.d.ts +0 -4
- package/lib/api/hotswap/ecs-services.js +0 -159
- package/lib/api/hotswap/lambda-functions.d.ts +0 -4
- package/lib/api/hotswap/lambda-functions.js +0 -297
- package/lib/api/hotswap/s3-bucket-deployments.d.ts +0 -5
- package/lib/api/hotswap/s3-bucket-deployments.js +0 -117
- package/lib/api/hotswap/stepfunctions-state-machines.d.ts +0 -4
- package/lib/api/hotswap/stepfunctions-state-machines.js +0 -48
- package/lib/api/logs/find-cloudwatch-logs.d.ts +0 -25
- package/lib/api/logs/find-cloudwatch-logs.js +0 -95
- package/lib/api/logs/index.d.ts +0 -2
- package/lib/api/logs/logs-monitor.d.ts +0 -76
- package/lib/api/logs/logs-monitor.js +0 -187
- package/lib/api/plugin/context-provider-plugin.d.ts +0 -6
- package/lib/api/plugin/context-provider-plugin.js +0 -7
- package/lib/api/plugin/index.d.ts +0 -3
- package/lib/api/plugin/index.js +0 -20
- package/lib/api/plugin/mode.d.ts +0 -4
- package/lib/api/plugin/mode.js +0 -9
- package/lib/api/plugin/plugin.d.ts +0 -63
- package/lib/api/plugin/plugin.js +0 -102
- package/lib/api/resource-import/importer.d.ts +0 -215
- package/lib/api/resource-import/importer.js +0 -322
- package/lib/api/resource-import/index.d.ts +0 -2
- package/lib/api/resource-import/migrator.d.ts +0 -26
- package/lib/api/resource-import/migrator.js +0 -71
- package/lib/api/stack-events/index.d.ts +0 -3
- package/lib/api/stack-events/index.js +0 -20
- package/lib/api/stack-events/stack-activity-monitor.d.ts +0 -100
- package/lib/api/stack-events/stack-activity-monitor.js +0 -142
- package/lib/api/stack-events/stack-event-poller.d.ts +0 -69
- package/lib/api/stack-events/stack-event-poller.js +0 -128
- package/lib/api/stack-events/stack-progress-monitor.d.ts +0 -48
- package/lib/api/stack-events/stack-progress-monitor.js +0 -94
- package/lib/api/stack-events/stack-status.d.ts +0 -42
- package/lib/api/stack-events/stack-status.js +0 -88
- package/lib/api/util/rwlock.d.ts +0 -65
- package/lib/api/util/rwlock.js +0 -179
- package/lib/api/work-graph/index.d.ts +0 -3
- package/lib/api/work-graph/index.js +0 -20
- package/lib/api/work-graph/work-graph-builder.d.ts +0 -34
- package/lib/api/work-graph/work-graph-builder.js +0 -168
- package/lib/api/work-graph/work-graph-types.d.ts +0 -50
- package/lib/api/work-graph/work-graph-types.js +0 -13
- package/lib/api/work-graph/work-graph.d.ts +0 -72
- package/lib/api/work-graph/work-graph.js +0 -346
- package/lib/cli/activity-printer/base.d.ts +0 -50
- package/lib/cli/activity-printer/base.js +0 -114
- package/lib/cli/activity-printer/current.d.ts +0 -26
- package/lib/cli/activity-printer/current.js +0 -118
- package/lib/cli/activity-printer/display.d.ts +0 -13
- package/lib/cli/activity-printer/display.js +0 -80
- package/lib/cli/activity-printer/history.d.ts +0 -32
- package/lib/cli/activity-printer/history.js +0 -108
- package/lib/cli/activity-printer/index.d.ts +0 -3
- package/lib/cli/activity-printer/index.js +0 -20
- package/lib/notices.d.ts +0 -203
- package/lib/notices.js +0 -411
package/lib/notices.d.ts
DELETED
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import type { Environment } from '@aws-cdk/cx-api';
|
|
2
|
-
import type { SdkHttpOptions } from './api';
|
|
3
|
-
import type { Context } from './api/context';
|
|
4
|
-
import type { IIoHost } from './cli/io-host';
|
|
5
|
-
import { IoDefaultMessages } from '../../@aws-cdk/tmp-toolkit-helpers/src/api/io/private';
|
|
6
|
-
export interface NoticesProps {
|
|
7
|
-
/**
|
|
8
|
-
* CDK context
|
|
9
|
-
*/
|
|
10
|
-
readonly context: Context;
|
|
11
|
-
/**
|
|
12
|
-
* Include notices that have already been acknowledged.
|
|
13
|
-
*
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
readonly includeAcknowledged?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Global CLI option for output directory for synthesized cloud assembly
|
|
19
|
-
*
|
|
20
|
-
* @default 'cdk.out'
|
|
21
|
-
*/
|
|
22
|
-
readonly output?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Options for the HTTP request
|
|
25
|
-
*/
|
|
26
|
-
readonly httpOptions?: SdkHttpOptions;
|
|
27
|
-
/**
|
|
28
|
-
* Where messages are going to be sent
|
|
29
|
-
*/
|
|
30
|
-
readonly ioHost: IIoHost;
|
|
31
|
-
}
|
|
32
|
-
export interface NoticesPrintOptions {
|
|
33
|
-
/**
|
|
34
|
-
* Whether to append the total number of unacknowledged notices to the display.
|
|
35
|
-
*
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
readonly showTotal?: boolean;
|
|
39
|
-
}
|
|
40
|
-
export interface NoticesRefreshOptions {
|
|
41
|
-
/**
|
|
42
|
-
* Whether to force a cache refresh regardless of expiration time.
|
|
43
|
-
*
|
|
44
|
-
* @default false
|
|
45
|
-
*/
|
|
46
|
-
readonly force?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Data source for fetch notices from.
|
|
49
|
-
*
|
|
50
|
-
* @default - WebsiteNoticeDataSource
|
|
51
|
-
*/
|
|
52
|
-
readonly dataSource?: NoticeDataSource;
|
|
53
|
-
}
|
|
54
|
-
export interface NoticesFilterFilterOptions {
|
|
55
|
-
readonly data: Notice[];
|
|
56
|
-
readonly cliVersion: string;
|
|
57
|
-
readonly outDir: string;
|
|
58
|
-
readonly bootstrappedEnvironments: BootstrappedEnvironment[];
|
|
59
|
-
}
|
|
60
|
-
export declare class NoticesFilter {
|
|
61
|
-
private readonly ioMessages;
|
|
62
|
-
constructor(ioMessages: IoDefaultMessages);
|
|
63
|
-
filter(options: NoticesFilterFilterOptions): FilteredNotice[];
|
|
64
|
-
/**
|
|
65
|
-
* From a set of input options, return the notices components we are searching for
|
|
66
|
-
*/
|
|
67
|
-
private otherComponents;
|
|
68
|
-
/**
|
|
69
|
-
* Based on a set of component names, find all notices that match one of the given components
|
|
70
|
-
*/
|
|
71
|
-
private findForNamedComponents;
|
|
72
|
-
/**
|
|
73
|
-
* Whether the given "affected component" name applies to the given actual component name.
|
|
74
|
-
*
|
|
75
|
-
* The name matches if the name is exactly the same, or the name in the notice
|
|
76
|
-
* is a prefix of the node name when the query ends in '.'.
|
|
77
|
-
*/
|
|
78
|
-
private componentNameMatches;
|
|
79
|
-
/**
|
|
80
|
-
* Adds dynamic values from the given ActualComponents
|
|
81
|
-
*
|
|
82
|
-
* If there are multiple components with the same dynamic name, they are joined
|
|
83
|
-
* by a comma.
|
|
84
|
-
*/
|
|
85
|
-
private addDynamicValues;
|
|
86
|
-
/**
|
|
87
|
-
* Treat 'framework' as an alias for either `aws-cdk-lib.` or `@aws-cdk/core.`.
|
|
88
|
-
*
|
|
89
|
-
* Because it's EITHER `aws-cdk-lib` or `@aws-cdk/core`, we need to add multiple
|
|
90
|
-
* arrays at the top level.
|
|
91
|
-
*/
|
|
92
|
-
private resolveAliases;
|
|
93
|
-
/**
|
|
94
|
-
* Load the construct tree from the given directory and return its components
|
|
95
|
-
*/
|
|
96
|
-
private constructTreeComponents;
|
|
97
|
-
}
|
|
98
|
-
/**
|
|
99
|
-
* Information about a bootstrapped environment.
|
|
100
|
-
*/
|
|
101
|
-
export interface BootstrappedEnvironment {
|
|
102
|
-
readonly bootstrapStackVersion: number;
|
|
103
|
-
readonly environment: Environment;
|
|
104
|
-
}
|
|
105
|
-
/**
|
|
106
|
-
* Provides access to notices the CLI can display.
|
|
107
|
-
*/
|
|
108
|
-
export declare class Notices {
|
|
109
|
-
/**
|
|
110
|
-
* Create an instance. Note that this replaces the singleton.
|
|
111
|
-
*/
|
|
112
|
-
static create(props: NoticesProps): Notices;
|
|
113
|
-
/**
|
|
114
|
-
* Get the singleton instance. May return `undefined` if `create` has not been called.
|
|
115
|
-
*/
|
|
116
|
-
static get(): Notices | undefined;
|
|
117
|
-
private static _instance;
|
|
118
|
-
private readonly context;
|
|
119
|
-
private readonly output;
|
|
120
|
-
private readonly acknowledgedIssueNumbers;
|
|
121
|
-
private readonly includeAcknowlegded;
|
|
122
|
-
private readonly httpOptions;
|
|
123
|
-
private readonly ioMessages;
|
|
124
|
-
private data;
|
|
125
|
-
private readonly bootstrappedEnvironments;
|
|
126
|
-
private constructor();
|
|
127
|
-
/**
|
|
128
|
-
* Add a bootstrap information to filter on. Can have multiple values
|
|
129
|
-
* in case of multi-environment deployments.
|
|
130
|
-
*/
|
|
131
|
-
addBootstrappedEnvironment(bootstrapped: BootstrappedEnvironment): void;
|
|
132
|
-
/**
|
|
133
|
-
* Refresh the list of notices this instance is aware of.
|
|
134
|
-
* To make sure this never crashes the CLI process, all failures are caught and
|
|
135
|
-
* silently logged.
|
|
136
|
-
*
|
|
137
|
-
* If context is configured to not display notices, this will no-op.
|
|
138
|
-
*/
|
|
139
|
-
refresh(options?: NoticesRefreshOptions): Promise<void>;
|
|
140
|
-
/**
|
|
141
|
-
* Display the relevant notices (unless context dictates we shouldn't).
|
|
142
|
-
*/
|
|
143
|
-
display(options?: NoticesPrintOptions): void;
|
|
144
|
-
}
|
|
145
|
-
export interface Component {
|
|
146
|
-
name: string;
|
|
147
|
-
/**
|
|
148
|
-
* The range of affected versions
|
|
149
|
-
*/
|
|
150
|
-
version: string;
|
|
151
|
-
}
|
|
152
|
-
export interface Notice {
|
|
153
|
-
title: string;
|
|
154
|
-
issueNumber: number;
|
|
155
|
-
overview: string;
|
|
156
|
-
/**
|
|
157
|
-
* A set of affected components
|
|
158
|
-
*
|
|
159
|
-
* The canonical form of a list of components is in Disjunctive Normal Form
|
|
160
|
-
* (i.e., an OR of ANDs). This is the form when the list of components is a
|
|
161
|
-
* doubly nested array: the notice matches if all components of at least one
|
|
162
|
-
* of the top-level array matches.
|
|
163
|
-
*
|
|
164
|
-
* If the `components` is a single-level array, it is evaluated as an OR; it
|
|
165
|
-
* matches if any of the components matches.
|
|
166
|
-
*/
|
|
167
|
-
components: Array<Component | Component[]>;
|
|
168
|
-
schemaVersion: string;
|
|
169
|
-
severity?: string;
|
|
170
|
-
}
|
|
171
|
-
/**
|
|
172
|
-
* Notice after passing the filter. A filter can augment a notice with
|
|
173
|
-
* dynamic values as it has access to the dynamic matching data.
|
|
174
|
-
*/
|
|
175
|
-
export declare class FilteredNotice {
|
|
176
|
-
readonly notice: Notice;
|
|
177
|
-
private readonly dynamicValues;
|
|
178
|
-
constructor(notice: Notice);
|
|
179
|
-
addDynamicValue(key: string, value: string): void;
|
|
180
|
-
format(): string;
|
|
181
|
-
private formatOverview;
|
|
182
|
-
private resolveDynamicValues;
|
|
183
|
-
}
|
|
184
|
-
export interface NoticeDataSource {
|
|
185
|
-
fetch(): Promise<Notice[]>;
|
|
186
|
-
}
|
|
187
|
-
export declare class WebsiteNoticeDataSource implements NoticeDataSource {
|
|
188
|
-
private readonly ioMessages;
|
|
189
|
-
private readonly options;
|
|
190
|
-
constructor(ioMessages: IoDefaultMessages, options?: SdkHttpOptions);
|
|
191
|
-
fetch(): Promise<Notice[]>;
|
|
192
|
-
}
|
|
193
|
-
export declare class CachedDataSource implements NoticeDataSource {
|
|
194
|
-
private readonly ioMessages;
|
|
195
|
-
private readonly fileName;
|
|
196
|
-
private readonly dataSource;
|
|
197
|
-
private readonly skipCache?;
|
|
198
|
-
constructor(ioMessages: IoDefaultMessages, fileName: string, dataSource: NoticeDataSource, skipCache?: boolean | undefined);
|
|
199
|
-
fetch(): Promise<Notice[]>;
|
|
200
|
-
private fetchInner;
|
|
201
|
-
private load;
|
|
202
|
-
private save;
|
|
203
|
-
}
|