@esposter/shared 2.9.0 → 2.10.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/README.md +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ declare enum Operation {
|
|
|
4
4
|
Delete = "Delete",
|
|
5
5
|
Push = "Push",
|
|
6
6
|
Read = "Read",
|
|
7
|
+
Unshift = "Unshift",
|
|
7
8
|
Update = "Update",
|
|
8
9
|
}
|
|
9
10
|
//#endregion
|
|
@@ -718,9 +719,8 @@ declare const exhaustiveGuard: (value: never) => never;
|
|
|
718
719
|
//#region src/util/id/uuid/constants.d.ts
|
|
719
720
|
declare const NIL = "00000000-0000-0000-0000-000000000000";
|
|
720
721
|
declare const UUIDV4_REGEX: RegExp;
|
|
721
|
-
declare const UUIDV4_SEARCH_REGEX: RegExp;
|
|
722
722
|
//#endregion
|
|
723
723
|
//#region src/util/id/uuid/uuidValidateV4.d.ts
|
|
724
724
|
declare const uuidValidateV4: (uuid: string) => boolean;
|
|
725
725
|
//#endregion
|
|
726
|
-
export { CamelToKebab, ExcludeFunctionProperties, FunctionProperties, ID_SEPARATOR, InvalidOperationError, KebabToCamel, MergeObjectsStrict, NIL, NotFoundError, NotInitializedError, Operation, SkipFirst, TakeFirst, TupleSlice, TupleSplit, TupleSplitHead, TupleSplitTail, UUIDV4_REGEX,
|
|
726
|
+
export { CamelToKebab, ExcludeFunctionProperties, FunctionProperties, ID_SEPARATOR, InvalidOperationError, KebabToCamel, MergeObjectsStrict, NIL, NotFoundError, NotInitializedError, Operation, SkipFirst, TakeFirst, TupleSlice, TupleSplit, TupleSplitHead, TupleSplitTail, UUIDV4_REGEX, capitalize, css, exhaustiveGuard, html, isPlainObject, mergeObjectsStrict, streamToText, toKebabCase, uuidValidateV4 };
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,7 @@ let Operation = /* @__PURE__ */ function(Operation$1) {
|
|
|
31
31
|
Operation$1["Delete"] = "Delete";
|
|
32
32
|
Operation$1["Push"] = "Push";
|
|
33
33
|
Operation$1["Read"] = "Read";
|
|
34
|
+
Operation$1["Unshift"] = "Unshift";
|
|
34
35
|
Operation$1["Update"] = "Update";
|
|
35
36
|
return Operation$1;
|
|
36
37
|
}({});
|
|
@@ -86,11 +87,10 @@ const exhaustiveGuard = (value) => {
|
|
|
86
87
|
//#region src/util/id/uuid/constants.ts
|
|
87
88
|
const NIL = "00000000-0000-0000-0000-000000000000";
|
|
88
89
|
const UUIDV4_REGEX = /^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i;
|
|
89
|
-
const UUIDV4_SEARCH_REGEX = /[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}/i;
|
|
90
90
|
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region src/util/id/uuid/uuidValidateV4.ts
|
|
93
93
|
const uuidValidateV4 = (uuid) => UUIDV4_REGEX.test(uuid);
|
|
94
94
|
|
|
95
95
|
//#endregion
|
|
96
|
-
export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX,
|
|
96
|
+
export { ID_SEPARATOR, InvalidOperationError, NIL, NotFoundError, NotInitializedError, Operation, UUIDV4_REGEX, capitalize, css, exhaustiveGuard, html, isPlainObject, mergeObjectsStrict, streamToText, toKebabCase, uuidValidateV4 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esposter/shared",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0",
|
|
4
4
|
"description": "A library that contains shared typescript code.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"homepage": "https://github.com/Esposter/Esposter/blob/main/packages/shared#readme",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"typecheck": "tsc",
|
|
31
31
|
"export:gen": "ctix build --config ../configuration/.ctirc-ts"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "ccf4ffe4c50cf43881b91045207eb5814ecf1cd3"
|
|
34
34
|
}
|