@telos-dev-team/dealernode-permissions 1.1.47 → 1.1.49
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 +4 -9
- package/dist/permissions.d.ts +1 -0
- package/dist/permissions.js +1 -0
- package/package.json +1 -1
- package/src/permissions.ts +1 -0
package/README.md
CHANGED
|
@@ -2,18 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Shared permissions constants for dealernode projects (backend, frontend, migration).
|
|
4
4
|
|
|
5
|
-
Published to
|
|
6
|
-
|
|
7
|
-
## Setup
|
|
8
|
-
|
|
9
|
-
Add a `.npmrc` file to the root of your consuming project:
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
@telos-dev-team:registry=https://npm.pkg.github.com
|
|
13
|
-
```
|
|
5
|
+
Published to the public npm registry (npmjs.org). Pushes to `main` trigger automatic publishing via GitHub Actions.
|
|
14
6
|
|
|
15
7
|
## Install
|
|
16
8
|
|
|
9
|
+
No `.npmrc` needed — the package is public, so `npm install` resolves it
|
|
10
|
+
straight from `registry.npmjs.org` like any other dependency.
|
|
11
|
+
|
|
17
12
|
```bash
|
|
18
13
|
npm install @telos-dev-team/dealernode-permissions
|
|
19
14
|
```
|
package/dist/permissions.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ export declare const PERMISSIONS: {
|
|
|
152
152
|
readonly OPERATIONS: {
|
|
153
153
|
readonly VIEW: "arbitration.operations.view";
|
|
154
154
|
readonly MANAGE: "arbitration.operations.manage";
|
|
155
|
+
readonly DELETE: "arbitration.operations.delete";
|
|
155
156
|
};
|
|
156
157
|
readonly FILES: {
|
|
157
158
|
readonly UPLOAD: "arbitration.files.upload";
|
package/dist/permissions.js
CHANGED
package/package.json
CHANGED
package/src/permissions.ts
CHANGED