summaryrefslogtreecommitdiff
path: root/src/node_modules/inversify/dts/constants
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-21 16:52:28 +0100
committerMinteck <contact@minteck.org>2021-12-21 16:52:28 +0100
commit46e43f4bde4a35785b4997b81e86cd19f046b69b (patch)
treec53c2f826f777f9d6b2d249dab556feb72a6c3a6 /src/node_modules/inversify/dts/constants
downloadlangdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.tar.gz
langdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.tar.bz2
langdetect-46e43f4bde4a35785b4997b81e86cd19f046b69b.zip
Commit
Diffstat (limited to 'src/node_modules/inversify/dts/constants')
-rw-r--r--src/node_modules/inversify/dts/constants/error_msgs.d.ts27
-rw-r--r--src/node_modules/inversify/dts/constants/literal_types.d.ts5
-rw-r--r--src/node_modules/inversify/dts/constants/metadata_keys.d.ts11
3 files changed, 43 insertions, 0 deletions
diff --git a/src/node_modules/inversify/dts/constants/error_msgs.d.ts b/src/node_modules/inversify/dts/constants/error_msgs.d.ts
new file mode 100644
index 0000000..81d3c82
--- /dev/null
+++ b/src/node_modules/inversify/dts/constants/error_msgs.d.ts
@@ -0,0 +1,27 @@
+export declare const DUPLICATED_INJECTABLE_DECORATOR = "Cannot apply @injectable decorator multiple times.";
+export declare const DUPLICATED_METADATA = "Metadata key was used more than once in a parameter:";
+export declare const NULL_ARGUMENT = "NULL argument";
+export declare const KEY_NOT_FOUND = "Key Not Found";
+export declare const AMBIGUOUS_MATCH = "Ambiguous match found for serviceIdentifier:";
+export declare const CANNOT_UNBIND = "Could not unbind serviceIdentifier:";
+export declare const NOT_REGISTERED = "No matching bindings found for serviceIdentifier:";
+export declare const MISSING_INJECTABLE_ANNOTATION = "Missing required @injectable annotation in:";
+export declare const MISSING_INJECT_ANNOTATION = "Missing required @inject or @multiInject annotation in:";
+export declare const UNDEFINED_INJECT_ANNOTATION: (name: string) => string;
+export declare const CIRCULAR_DEPENDENCY = "Circular dependency found:";
+export declare const NOT_IMPLEMENTED = "Sorry, this feature is not fully implemented yet.";
+export declare const INVALID_BINDING_TYPE = "Invalid binding type:";
+export declare const NO_MORE_SNAPSHOTS_AVAILABLE = "No snapshot available to restore.";
+export declare const INVALID_MIDDLEWARE_RETURN = "Invalid return type in middleware. Middleware must return!";
+export declare const INVALID_FUNCTION_BINDING = "Value provided to function binding must be a function!";
+export declare const INVALID_TO_SELF_VALUE: string;
+export declare const INVALID_DECORATOR_OPERATION: string;
+export declare const ARGUMENTS_LENGTH_MISMATCH: (...values: any[]) => string;
+export declare const CONTAINER_OPTIONS_MUST_BE_AN_OBJECT: string;
+export declare const CONTAINER_OPTIONS_INVALID_DEFAULT_SCOPE: string;
+export declare const CONTAINER_OPTIONS_INVALID_AUTO_BIND_INJECTABLE: string;
+export declare const CONTAINER_OPTIONS_INVALID_SKIP_BASE_CHECK: string;
+export declare const MULTIPLE_POST_CONSTRUCT_METHODS = "Cannot apply @postConstruct decorator multiple times in the same class";
+export declare const POST_CONSTRUCT_ERROR: (...values: any[]) => string;
+export declare const CIRCULAR_DEPENDENCY_IN_FACTORY: (...values: any[]) => string;
+export declare const STACK_OVERFLOW = "Maximum call stack size exceeded";
diff --git a/src/node_modules/inversify/dts/constants/literal_types.d.ts b/src/node_modules/inversify/dts/constants/literal_types.d.ts
new file mode 100644
index 0000000..4fdb2ec
--- /dev/null
+++ b/src/node_modules/inversify/dts/constants/literal_types.d.ts
@@ -0,0 +1,5 @@
+import { interfaces } from "../interfaces/interfaces";
+declare const BindingScopeEnum: interfaces.BindingScopeEnum;
+declare const BindingTypeEnum: interfaces.BindingTypeEnum;
+declare const TargetTypeEnum: interfaces.TargetTypeEnum;
+export { BindingScopeEnum, BindingTypeEnum, TargetTypeEnum };
diff --git a/src/node_modules/inversify/dts/constants/metadata_keys.d.ts b/src/node_modules/inversify/dts/constants/metadata_keys.d.ts
new file mode 100644
index 0000000..f6bfaac
--- /dev/null
+++ b/src/node_modules/inversify/dts/constants/metadata_keys.d.ts
@@ -0,0 +1,11 @@
+export declare const NAMED_TAG = "named";
+export declare const NAME_TAG = "name";
+export declare const UNMANAGED_TAG = "unmanaged";
+export declare const OPTIONAL_TAG = "optional";
+export declare const INJECT_TAG = "inject";
+export declare const MULTI_INJECT_TAG = "multi_inject";
+export declare const TAGGED = "inversify:tagged";
+export declare const TAGGED_PROP = "inversify:tagged_props";
+export declare const PARAM_TYPES = "inversify:paramtypes";
+export declare const DESIGN_PARAM_TYPES = "design:paramtypes";
+export declare const POST_CONSTRUCT = "post_construct";