@cyberskill/shared 1.6.0 → 1.6.1
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/commands.cjs +1 -1
- package/dist/commands.js +1 -1
- package/dist/configs/index.cjs +1 -1
- package/dist/configs/index.js +1 -1
- package/dist/controllers/index.cjs +1 -1
- package/dist/controllers/index.js +1 -1
- package/dist/controllers/mongoose.cjs +1 -1
- package/dist/controllers/mongoose.js +1 -1
- package/dist/hooks/react/index.cjs +1 -1
- package/dist/hooks/react/index.js +1 -1
- package/dist/hooks/react/useLocalStorage.cjs +1 -1
- package/dist/hooks/react/useLocalStorage.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/typescript/command.d.cts +7 -1
- package/dist/typescript/command.d.ts +7 -1
- package/dist/typescript/index.d.cts +1 -1
- package/dist/typescript/index.d.ts +1 -1
- package/dist/utils/command-error.cjs +1 -0
- package/dist/utils/command-error.d.cts +18 -0
- package/dist/utils/command-error.d.ts +18 -0
- package/dist/utils/command-error.js +1 -0
- package/dist/utils/command-log.cjs +1 -0
- package/dist/utils/command-log.d.cts +3 -0
- package/dist/utils/command-log.d.ts +3 -0
- package/dist/utils/command-log.js +1 -0
- package/dist/utils/command-spinner.cjs +1 -0
- package/dist/utils/command-spinner.d.cts +11 -0
- package/dist/utils/command-spinner.d.ts +11 -0
- package/dist/utils/command-spinner.js +1 -0
- package/dist/utils/command.cjs +1 -0
- package/dist/utils/command.d.cts +5 -0
- package/dist/utils/command.d.ts +5 -0
- package/dist/utils/command.js +1 -0
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +7 -1
- package/dist/utils/index.d.ts +7 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/npm-package.cjs +1 -0
- package/dist/utils/npm-package.d.cts +15 -0
- package/dist/utils/npm-package.d.ts +15 -0
- package/dist/utils/npm-package.js +1 -0
- package/package.json +1 -2
- package/dist/cyberskill-shared-1.6.0.tgz +0 -0
- /package/dist/utils/{localStorage.cjs → local-storage.cjs} +0 -0
- /package/dist/utils/{localStorage.d.cts → local-storage.d.cts} +0 -0
- /package/dist/utils/{localStorage.d.ts → local-storage.d.ts} +0 -0
- /package/dist/utils/{localStorage.js → local-storage.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { I_LoadingProps, Loading } from './components/react/loading/index.cjs';
|
|
2
|
-
export { E_ErrorType, E_SpinnerMessage, I_ErrorEntry, I_EslintError } from './typescript/command.cjs';
|
|
2
|
+
export { E_ErrorType, E_SpinnerMessage, I_ErrorEntry, I_EslintError, I_SpinnerOptions } from './typescript/command.cjs';
|
|
3
3
|
export { I_Config } from './typescript/config.cjs';
|
|
4
4
|
export { T_ThrowResponseArgs } from './typescript/log.cjs';
|
|
5
5
|
export { C_Collection, C_Db, C_Document, C_Model, I_DeleteOptionsExtended, I_ExtendedModel, I_GenerateModelOptions, I_GenerateSchemaOptions, I_GenericDocument, I_HookNextFunction, I_Input_CreateMany, I_Input_CreateOne, I_Input_DeleteMany, I_Input_DeleteOne, I_Input_FindAll, I_Input_FindOne, I_Input_FindPaging, I_Input_FindPagingAggregate, I_Input_UpdateMany, I_Input_UpdateOne, I_MongooseModelMiddleware, I_MongooseOptions, I_Return, I_ReturnFailure, I_ReturnSuccess, I_SlugifyOptions, I_UpdateOptionsExtended, T_AggregatePaginateResult, T_DeleteResult, T_Filter, T_FilterQuery, T_GenerateSlugQueryResponse, T_Input_MongooseSchema, T_Input_Populate, T_InsertManyOptions, T_InsertManyResult, T_InsertOneResult, T_MiddlewareContext, T_MongooseModelMiddlewareFunction, T_MongoosePlugin, T_MongooseShema, T_OptionalUnlessRequiredId, T_PaginateOptions, T_PaginateOptionsWithPopulate, T_PaginateResult, T_PipelineStage, T_PopulateOption, T_PopulateOptions, T_ProjectionType, T_QueryOptions, T_UpdateQuery, T_UpdateResult, T_WithId } from './typescript/mongoose.cjs';
|
|
@@ -15,11 +15,16 @@ export { useLocalStorage } from './hooks/react/useLocalStorage.cjs';
|
|
|
15
15
|
export { ApolloProvider } from './providers/react/apollo-client.cjs';
|
|
16
16
|
export { LoadingProvider } from './providers/react/loading.cjs';
|
|
17
17
|
export { deepMerge, isJson, regexSearchMapper, removeAccent } from './utils/index.cjs';
|
|
18
|
-
export {
|
|
18
|
+
export { clearExpiredErrorLists, getStoredErrorLists, saveErrorListToStorage } from './utils/command-error.cjs';
|
|
19
|
+
export { displayResults } from './utils/command-log.cjs';
|
|
20
|
+
export { runWithSpinner } from './utils/command-spinner.cjs';
|
|
21
|
+
export { executeCommand, logProcessStep } from './utils/command.cjs';
|
|
22
|
+
export { localStorage } from './utils/local-storage.cjs';
|
|
19
23
|
export { throwResponse } from './utils/log.cjs';
|
|
20
24
|
export { default as aggregatePaginate } from 'mongoose-aggregate-paginate-v2';
|
|
21
25
|
export { default as mongoosePaginate } from 'mongoose-paginate-v2';
|
|
22
26
|
export { generateModel, generateSchema, generateShortId, generateSlug, generateSlugQuery } from './utils/mongoose.cjs';
|
|
27
|
+
export { getLatestPackageVersion, isPackageOutdated, updatePackage } from './utils/npm-package.cjs';
|
|
23
28
|
export { serializer } from './utils/serializer.cjs';
|
|
24
29
|
export { validate } from './utils/validate.cjs';
|
|
25
30
|
import 'react/jsx-runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { I_LoadingProps, Loading } from './components/react/loading/index.js';
|
|
2
|
-
export { E_ErrorType, E_SpinnerMessage, I_ErrorEntry, I_EslintError } from './typescript/command.js';
|
|
2
|
+
export { E_ErrorType, E_SpinnerMessage, I_ErrorEntry, I_EslintError, I_SpinnerOptions } from './typescript/command.js';
|
|
3
3
|
export { I_Config } from './typescript/config.js';
|
|
4
4
|
export { T_ThrowResponseArgs } from './typescript/log.js';
|
|
5
5
|
export { C_Collection, C_Db, C_Document, C_Model, I_DeleteOptionsExtended, I_ExtendedModel, I_GenerateModelOptions, I_GenerateSchemaOptions, I_GenericDocument, I_HookNextFunction, I_Input_CreateMany, I_Input_CreateOne, I_Input_DeleteMany, I_Input_DeleteOne, I_Input_FindAll, I_Input_FindOne, I_Input_FindPaging, I_Input_FindPagingAggregate, I_Input_UpdateMany, I_Input_UpdateOne, I_MongooseModelMiddleware, I_MongooseOptions, I_Return, I_ReturnFailure, I_ReturnSuccess, I_SlugifyOptions, I_UpdateOptionsExtended, T_AggregatePaginateResult, T_DeleteResult, T_Filter, T_FilterQuery, T_GenerateSlugQueryResponse, T_Input_MongooseSchema, T_Input_Populate, T_InsertManyOptions, T_InsertManyResult, T_InsertOneResult, T_MiddlewareContext, T_MongooseModelMiddlewareFunction, T_MongoosePlugin, T_MongooseShema, T_OptionalUnlessRequiredId, T_PaginateOptions, T_PaginateOptionsWithPopulate, T_PaginateResult, T_PipelineStage, T_PopulateOption, T_PopulateOptions, T_ProjectionType, T_QueryOptions, T_UpdateQuery, T_UpdateResult, T_WithId } from './typescript/mongoose.js';
|
|
@@ -15,11 +15,16 @@ export { useLocalStorage } from './hooks/react/useLocalStorage.js';
|
|
|
15
15
|
export { ApolloProvider } from './providers/react/apollo-client.js';
|
|
16
16
|
export { LoadingProvider } from './providers/react/loading.js';
|
|
17
17
|
export { deepMerge, isJson, regexSearchMapper, removeAccent } from './utils/index.js';
|
|
18
|
-
export {
|
|
18
|
+
export { clearExpiredErrorLists, getStoredErrorLists, saveErrorListToStorage } from './utils/command-error.js';
|
|
19
|
+
export { displayResults } from './utils/command-log.js';
|
|
20
|
+
export { runWithSpinner } from './utils/command-spinner.js';
|
|
21
|
+
export { executeCommand, logProcessStep } from './utils/command.js';
|
|
22
|
+
export { localStorage } from './utils/local-storage.js';
|
|
19
23
|
export { throwResponse } from './utils/log.js';
|
|
20
24
|
export { default as aggregatePaginate } from 'mongoose-aggregate-paginate-v2';
|
|
21
25
|
export { default as mongoosePaginate } from 'mongoose-paginate-v2';
|
|
22
26
|
export { generateModel, generateSchema, generateShortId, generateSlug, generateSlugQuery } from './utils/mongoose.js';
|
|
27
|
+
export { getLatestPackageVersion, isPackageOutdated, updatePackage } from './utils/npm-package.js';
|
|
23
28
|
export { serializer } from './utils/serializer.js';
|
|
24
29
|
export { validate } from './utils/validate.js';
|
|
25
30
|
import 'react/jsx-runtime';
|