@plus45/types 1.2.27 → 1.2.28

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.
@@ -1,8 +1,8 @@
1
- export type OrganizationRoles = {
2
- client: "client";
3
- member: "member";
4
- admin: "admin";
5
- };
1
+ export declare enum OrganizationRoles {
2
+ client = "client",
3
+ member = "member",
4
+ admin = "admin"
5
+ }
6
6
  export type OrganizationMember = {
7
7
  organization_id: string;
8
8
  user_id: string;
@@ -1,2 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrganizationRoles = void 0;
4
+ var OrganizationRoles;
5
+ (function (OrganizationRoles) {
6
+ // A managed user of the organization. Has essentially no permissions.
7
+ OrganizationRoles["client"] = "client";
8
+ // A coach/staff member of the organization. Can view and manage clients, assign workouts, etc.
9
+ OrganizationRoles["member"] = "member";
10
+ // An administrator of the organization. Can manage members, organization settings, etc.
11
+ OrganizationRoles["admin"] = "admin";
12
+ })(OrganizationRoles || (exports.OrganizationRoles = OrganizationRoles = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plus45/types",
3
- "version": "1.2.27",
3
+ "version": "1.2.28",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [