@riocrypto/common 1.0.1334 → 1.0.1335

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.
@@ -0,0 +1,4 @@
1
+ export declare enum AdminRole {
2
+ Write = "write",
3
+ Read = "read"
4
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AdminRole = void 0;
4
+ var AdminRole;
5
+ (function (AdminRole) {
6
+ AdminRole["Write"] = "write";
7
+ AdminRole["Read"] = "read";
8
+ })(AdminRole = exports.AdminRole || (exports.AdminRole = {}));
@@ -1,3 +1,4 @@
1
+ import { AdminRole } from "./admin-role";
1
2
  import { AdminTaskType } from "./admin-task-type";
2
3
  export interface Admin {
3
4
  id: string;
@@ -6,6 +7,7 @@ export interface Admin {
6
7
  name: string;
7
8
  email: string;
8
9
  slackWebhookUrl: string;
10
+ role: AdminRole;
9
11
  acceptingTasks?: boolean;
10
12
  assignedTaskTypes: AdminTaskType[];
11
13
  privileges: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.1334",
3
+ "version": "1.0.1335",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",