@goweekdays/core 2.1.2 → 2.1.3
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +419 -413
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +393 -387
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -866,7 +866,7 @@ declare function usePermissionRepo(): {
|
|
|
866
866
|
status?: string | undefined;
|
|
867
867
|
}) => Promise<Record<string, any>>;
|
|
868
868
|
getById: (_id: string | ObjectId) => Promise<TPermission | null>;
|
|
869
|
-
getByKey: (key: string, group?: string) => Promise<TPermission | null>;
|
|
869
|
+
getByKey: (key: string, group?: string, app?: string) => Promise<TPermission | null>;
|
|
870
870
|
updateById: (_id: ObjectId | string, value: {
|
|
871
871
|
key?: string;
|
|
872
872
|
group?: string;
|
|
@@ -925,6 +925,7 @@ declare function usePermissionGroupRepo(): {
|
|
|
925
925
|
};
|
|
926
926
|
|
|
927
927
|
declare function usePermissionGroupService(): {
|
|
928
|
+
addDefaultModule: () => Promise<void>;
|
|
928
929
|
deleteById: (id: string) => Promise<string>;
|
|
929
930
|
};
|
|
930
931
|
|