@enonic/explorer-utils
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -41,2 +41,3 @@ import { AccessControlEntry } from '/lib/xp/node'; | ||
declare const Role: { | ||
readonly EXPLORER_ADMIN: "com.enonic.app.explorer.admin"; | ||
readonly EXPLORER_READ: "com.enonic.app.explorer.read"; | ||
@@ -43,0 +44,0 @@ readonly EXPLORER_WRITE: "com.enonic.app.explorer.write"; |
@@ -75,3 +75,3 @@ { | ||
"types": "index.d.mts", | ||
"version": "0.1.2" | ||
"version": "0.2.0" | ||
} |
@@ -81,2 +81,3 @@ import type {AccessControlEntry} from '/lib/xp/node'; | ||
export const Role = { | ||
EXPLORER_ADMIN: `${APP_EXPLORER}.admin` as const, | ||
EXPLORER_READ: `${APP_EXPLORER}.read` as const, | ||
@@ -92,2 +93,3 @@ EXPLORER_WRITE: `${APP_EXPLORER}.write` as const, | ||
export const Principal = { | ||
// EXPLORER_ADMIN: `role:${Role.EXPLORER_ADMIN}` as const, // Not used anywhere yet? | ||
EXPLORER_READ: `role:${Role.EXPLORER_READ}` as const, | ||
@@ -167,4 +169,2 @@ EXPLORER_WRITE: `role:${Role.EXPLORER_WRITE}` as const, | ||
//────────────────────────────────────────────────────────────────────────────── | ||
// NOTE: This constant is duplicated in app-explorer/src/main/resources/assets/react/constants.ts | ||
export const DEFAULT_INTERFACE_FIELDS = [{ | ||
@@ -171,0 +171,0 @@ name: '_alltext', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
76865
962
0