Skip to content

Commit ee814c0

Browse files
committed
fix(config): clean up not used strings
1 parent 8a4c379 commit ee814c0

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/if-run/config/strings.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
export const STRINGS = {
22
MISSING_METHOD: "Initalization param 'method' is missing.",
33
MISSING_PATH: "Initalization param 'path' is missing.",
4-
UNSUPPORTED_PLUGIN:
5-
"Plugin interface doesn't implement 'execute' or 'metadata' methods.",
64
NOT_NATIVE_PLUGIN: (path: string) =>
75
`
86
You are using plugin ${path} which is not part of the Impact Framework standard library. You should do your own research to ensure the plugins are up to date and accurate. They may not be actively maintained.`,
97
INVALID_MODULE_PATH: (path: string, error?: any) =>
108
`Provided module \`${path}\` is invalid or not found. ${error ?? ''}
119
`,
12-
INVALID_TIME_NORMALIZATION: 'Start time or end time is missing.',
1310
INCOMPATIBLE_RESOLUTION_WITH_INTERVAL:
1411
'The upsampling resolution must be a divisor of the given interval, but the provided value does not satisfy this criteria.',
1512
INCOMPATIBLE_RESOLUTION_WITH_INPUTS:
@@ -18,21 +15,14 @@ export const STRINGS = {
1815
'The upsampling resolution must be a divisor of gaps and paddings in the time-series, but the provided values do not satisfy this criteria.',
1916
UNEXPECTED_TIME_CONFIG:
2017
'Unexpected node-level config provided for time-sync plugin.',
21-
INVALID_TIME_INTERVAL: 'Interval is missing.',
22-
AVOIDING_PADDING: (description: string) =>
23-
`Avoiding padding at ${description}`,
2418
AVOIDING_PADDING_BY_EDGES: (start: boolean, end: boolean) =>
2519
`Avoiding padding at ${
2620
start && end ? 'start and end' : start ? 'start' : 'end'
2721
}`,
28-
INVALID_AGGREGATION_METHOD: (metric: string) =>
29-
`Aggregation is not possible for given ${metric} since method is 'none'.`,
3022
METRIC_MISSING: (metric: string, index: number) =>
3123
`Aggregation metric ${metric} is not found in inputs[${index}].`,
3224
INVALID_GROUP_KEY: (key: string) => `Invalid group ${key}.`,
3325
REGROUP_ERROR: 'not an array or should contain at least one key',
34-
INVALID_EXHAUST_PLUGIN: (pluginName: string) =>
35-
`Invalid exhaust plugin: ${pluginName}.`,
3626
UNKNOWN_PARAM: (name: string) =>
3727
`Unknown parameter: ${name}. Omitting from the output.`,
3828
NOT_INITALIZED_PLUGIN: (name: string) =>
@@ -80,8 +70,6 @@ https://if.greensoftware.foundation/major-concepts/manifest-file`,
8070
/** Plugins messages */
8171
INVALID_NAME: '`name` config parameter is empty or contains all spaces',
8272
START_LOWER_END: '`start-time` should be lower than `end-time`',
83-
TIMESTAMP_REQUIRED: (index: number) => `required in input[${index}]`,
84-
INVALID_DATETIME: (index: number) => `invalid datetime in input[${index}]`,
8573
X_Y_EQUAL: 'The length of `x` and `y` should be equal',
8674
ARRAY_LENGTH_NON_EMPTY:
8775
'the length of the input arrays must be greater than 1',

0 commit comments

Comments
 (0)