@bob-kit/types 0.0.9 → 0.0.10
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/dist/errors.d.ts +28 -21
- package/dist/errors.js +28 -21
- package/package.json +1 -1
package/dist/errors.d.ts
CHANGED
|
@@ -1,30 +1,37 @@
|
|
|
1
1
|
export declare const BobErrors: {
|
|
2
|
-
readonly LimitValueRequired: "LimitValueRequired";
|
|
3
|
-
readonly LimitValueMustBeInteger: "LimitValueMustBeInteger";
|
|
4
|
-
readonly OffsetValueMustBeInteger: "OffsetValueMustBeInteger";
|
|
5
|
-
readonly MalformedQuery: "MalformedQuery";
|
|
6
|
-
readonly ConditionValidation: "ConditionValidation";
|
|
7
|
-
readonly DeleteCondition: "DeleteCondition";
|
|
8
|
-
readonly UndefinedReferenceTable: "UndefinedReferenceTable";
|
|
9
|
-
readonly UndefinedReferencedColumn: "UndefinedReferencedColumn";
|
|
10
2
|
readonly UndefinedTypeForColumn: "UndefinedTypeForColumn";
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly UndefinedToken: "UndefinedToken";
|
|
14
|
-
readonly InvalidTypeForColumn: "InvalidTypeForColumn";
|
|
15
|
-
readonly InvalidProperty: "InvalidProperty";
|
|
16
|
-
readonly UnknownDriver: "UnknownDriver";
|
|
3
|
+
readonly ConditionValidation: "ConditionValidation";
|
|
4
|
+
readonly UndefinedConditionComparator: "UndefinedConditionComparator";
|
|
17
5
|
readonly MalformedCondition: "MalformedCondition";
|
|
18
|
-
readonly
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
6
|
+
readonly UndefinedFunction: "UndefinedFunction";
|
|
7
|
+
readonly InvalidMotor: "InvalidMotor";
|
|
8
|
+
readonly UndefinedKeyword: "UndefinedKeyword";
|
|
9
|
+
readonly TypeNotFound: "TypeNotFound";
|
|
10
|
+
readonly NotEnoughValues: "NotEnoughValues";
|
|
11
|
+
readonly UnknownDriver: "UnknownDriver";
|
|
12
|
+
readonly UndefinedValueOnSetter: "UndefinedValueOnSetter";
|
|
13
|
+
readonly UndefinedNullsDefinition: "UndefinedNullsDefinition";
|
|
14
|
+
readonly SubqueryMustBeSingleColumn: "SubqueryMustBeSingleColumn";
|
|
15
|
+
readonly CannotUseExpressionOrStringAsSelection: "CannotUseExpressionOrStringAsSelection";
|
|
16
|
+
readonly TypeDoesNotImplementMerge: "TypeDoesNotImplementMerge";
|
|
17
|
+
readonly UnclosedExpression: "UnclosedExpression";
|
|
18
|
+
readonly UnclosedStringLiteral: "UnclosedStringLiteral";
|
|
19
|
+
readonly InvalidExpressionBeforeParenthesis: "InvalidExpressionBeforeParenthesis";
|
|
20
|
+
readonly UnexpectedClosingParenthesis: "UnexpectedClosingParenthesis";
|
|
21
|
+
readonly ExpressionProcessingEmptyResult: "ExpressionProcessingEmptyResult";
|
|
22
|
+
readonly TypeDoesNotImplementTableChild: "TypeDoesNotImplementTableChild";
|
|
23
|
+
readonly MissingAliasForExpression: "MissingAliasForExpression";
|
|
24
|
+
readonly SelectionValueIsAlreadyDefined: "SelectionValueIsAlreadyDefined";
|
|
25
|
+
readonly InvalidTableColumn: "InvalidTableColumn";
|
|
26
|
+
readonly InvalidTableReference: "InvalidTableReference";
|
|
27
|
+
readonly TableNameIsEmpty: "TableNameIsEmpty";
|
|
21
28
|
readonly InvalidInput: "InvalidInput";
|
|
29
|
+
readonly CollectFiles: "CollectFiles";
|
|
22
30
|
readonly IO: "IO";
|
|
23
|
-
readonly
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
31
|
+
readonly MalformedArgs: "MalformedArgs";
|
|
32
|
+
readonly JsonParse: "JsonParse";
|
|
33
|
+
readonly UndefinedOrderTarget: "UndefinedOrderTarget";
|
|
26
34
|
readonly MultipleActions: "MultipleActions";
|
|
27
|
-
readonly InvalidSetter: "InvalidSetter";
|
|
28
35
|
};
|
|
29
36
|
export type BobQueryError = {
|
|
30
37
|
name: (typeof BobErrors)[keyof typeof BobErrors];
|
package/dist/errors.js
CHANGED
|
@@ -1,28 +1,35 @@
|
|
|
1
1
|
export const BobErrors = {
|
|
2
|
-
LimitValueRequired: "LimitValueRequired",
|
|
3
|
-
LimitValueMustBeInteger: "LimitValueMustBeInteger",
|
|
4
|
-
OffsetValueMustBeInteger: "OffsetValueMustBeInteger",
|
|
5
|
-
MalformedQuery: "MalformedQuery",
|
|
6
|
-
ConditionValidation: "ConditionValidation",
|
|
7
|
-
DeleteCondition: "DeleteCondition",
|
|
8
|
-
UndefinedReferenceTable: "UndefinedReferenceTable",
|
|
9
|
-
UndefinedReferencedColumn: "UndefinedReferencedColumn",
|
|
10
2
|
UndefinedTypeForColumn: "UndefinedTypeForColumn",
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
UndefinedToken: "UndefinedToken",
|
|
14
|
-
InvalidTypeForColumn: "InvalidTypeForColumn",
|
|
15
|
-
InvalidProperty: "InvalidProperty",
|
|
16
|
-
UnknownDriver: "UnknownDriver",
|
|
3
|
+
ConditionValidation: "ConditionValidation",
|
|
4
|
+
UndefinedConditionComparator: "UndefinedConditionComparator",
|
|
17
5
|
MalformedCondition: "MalformedCondition",
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
UndefinedFunction: "UndefinedFunction",
|
|
7
|
+
InvalidMotor: "InvalidMotor",
|
|
8
|
+
UndefinedKeyword: "UndefinedKeyword",
|
|
9
|
+
TypeNotFound: "TypeNotFound",
|
|
10
|
+
NotEnoughValues: "NotEnoughValues",
|
|
11
|
+
UnknownDriver: "UnknownDriver",
|
|
12
|
+
UndefinedValueOnSetter: "UndefinedValueOnSetter",
|
|
13
|
+
UndefinedNullsDefinition: "UndefinedNullsDefinition",
|
|
14
|
+
SubqueryMustBeSingleColumn: "SubqueryMustBeSingleColumn",
|
|
15
|
+
CannotUseExpressionOrStringAsSelection: "CannotUseExpressionOrStringAsSelection",
|
|
16
|
+
TypeDoesNotImplementMerge: "TypeDoesNotImplementMerge",
|
|
17
|
+
UnclosedExpression: "UnclosedExpression",
|
|
18
|
+
UnclosedStringLiteral: "UnclosedStringLiteral",
|
|
19
|
+
InvalidExpressionBeforeParenthesis: "InvalidExpressionBeforeParenthesis",
|
|
20
|
+
UnexpectedClosingParenthesis: "UnexpectedClosingParenthesis",
|
|
21
|
+
ExpressionProcessingEmptyResult: "ExpressionProcessingEmptyResult",
|
|
22
|
+
TypeDoesNotImplementTableChild: "TypeDoesNotImplementTableChild",
|
|
23
|
+
MissingAliasForExpression: "MissingAliasForExpression",
|
|
24
|
+
SelectionValueIsAlreadyDefined: "SelectionValueIsAlreadyDefined",
|
|
25
|
+
InvalidTableColumn: "InvalidTableColumn",
|
|
26
|
+
InvalidTableReference: "InvalidTableReference",
|
|
27
|
+
TableNameIsEmpty: "TableNameIsEmpty",
|
|
21
28
|
InvalidInput: "InvalidInput",
|
|
29
|
+
CollectFiles: "CollectFiles",
|
|
22
30
|
IO: "IO",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
31
|
+
MalformedArgs: "MalformedArgs",
|
|
32
|
+
JsonParse: "JsonParse",
|
|
33
|
+
UndefinedOrderTarget: "UndefinedOrderTarget",
|
|
26
34
|
MultipleActions: "MultipleActions",
|
|
27
|
-
InvalidSetter: "InvalidSetter",
|
|
28
35
|
};
|