@vocollege/app 0.0.117 → 0.0.118

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.
@@ -34,7 +34,13 @@
34
34
  "userDeleted": "Användaren har raderats",
35
35
  "statusHelper": "Detta avgör om en användare syns utåt, exempelvis i köer.",
36
36
  "readMoreDataPolicy": "Läs mer i vår dataskyddspolicy"
37
- }
37
+ },
38
+ "settings": [
39
+ {
40
+ "name": "excludeFromAutomaticDeletion",
41
+ "label": "Uteslut denna användare från automatisk radering"
42
+ }
43
+ ]
38
44
  },
39
45
  "acl": {
40
46
  "label": "ACL",
@@ -7,6 +7,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.DELETE_USER = exports.UPDATE_USER = exports.CREATE_USER = void 0;
8
8
  var client_1 = require("@apollo/client");
9
9
  exports.CREATE_USER = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation CreateUser($input: UpdateUserInput!) {\n createUser(input: $input) {\n id\n name\n email\n firstname\n lastname\n }\n }\n"], ["\n mutation CreateUser($input: UpdateUserInput!) {\n createUser(input: $input) {\n id\n name\n email\n firstname\n lastname\n }\n }\n"])));
10
- exports.UPDATE_USER = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n id\n name\n email\n firstname\n lastname\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n updated_at\n created_at\n groups {\n id\n title\n type\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n }\n }\n"], ["\n mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n id\n name\n email\n firstname\n lastname\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n updated_at\n created_at\n groups {\n id\n title\n type\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n }\n }\n"])));
10
+ exports.UPDATE_USER = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n id\n name\n email\n firstname\n lastname\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n updated_at\n created_at\n groups {\n id\n title\n type\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n apps\n settings\n }\n }\n"], ["\n mutation UpdateUser($id: ID!, $input: UpdateUserInput!) {\n updateUser(id: $id, input: $input) {\n id\n name\n email\n firstname\n lastname\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n updated_at\n created_at\n groups {\n id\n title\n type\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n apps\n settings\n }\n }\n"])));
11
11
  exports.DELETE_USER = (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n mutation DeleteUser($id: ID!) {\n deleteUser(id: $id) {\n id\n }\n }\n"], ["\n mutation DeleteUser($id: ID!) {\n deleteUser(id: $id) {\n id\n }\n }\n"])));
12
12
  var templateObject_1, templateObject_2, templateObject_3;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.GET_ACCOUNT = exports.GET_USERS_SIMPLIFIED = exports.GET_USERS = exports.GET_USER = exports.GET_USERS_FIELDS = void 0;
8
8
  var client_1 = require("@apollo/client");
9
9
  exports.GET_USERS_FIELDS = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment UsersFields on User {\n id\n name\n email\n active\n status\n updated_at\n created_at\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n name\n title\n }\n validig {\n id\n }\n }\n"], ["\n fragment UsersFields on User {\n id\n name\n email\n active\n status\n updated_at\n created_at\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n name\n title\n }\n validig {\n id\n }\n }\n"])));
10
- exports.GET_USER = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n query User($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n gdpr\n description\n updated_at\n created_at\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n title\n type\n }\n validig {\n id\n }\n apps\n }\n }\n"], ["\n query User($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n gdpr\n description\n updated_at\n created_at\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n title\n type\n }\n validig {\n id\n }\n apps\n }\n }\n"])));
10
+ exports.GET_USER = (0, client_1.gql)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n query User($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n gdpr\n description\n updated_at\n created_at\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n title\n type\n }\n validig {\n id\n }\n apps\n settings\n }\n }\n"], ["\n query User($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n gdpr\n description\n updated_at\n created_at\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n roles {\n id\n label\n type\n }\n groupRoles {\n id\n label\n type\n }\n groups {\n id\n title\n type\n }\n validig {\n id\n }\n apps\n settings\n }\n }\n"])));
11
11
  exports.GET_USERS = (0, client_1.gql)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n # query Users($page: Int!, $search: String) {\n # users(page: $page, search: $search) {\n # paginatorInfo {\n # total\n # currentPage\n # hasMorePages\n # }\n # data {\n # name\n # email\n # }\n # }\n # }\n\n query Users(\n $search: String\n $page: Int\n $limit: Int\n $orderBy: [GetUsersOrderByClause]\n $filters: [GetUsersFilter]\n ) {\n allGroups(categories: [\"region\", \"local\"]) {\n id\n title\n }\n roles {\n id\n name\n label\n }\n users(\n search: $search\n page: $page\n limit: $limit\n orderBy: $orderBy\n filters: $filters\n ) {\n paginatorInfo {\n total\n currentPage\n hasMorePages\n }\n data {\n ...UsersFields\n }\n }\n }\n ", "\n"], ["\n # query Users($page: Int!, $search: String) {\n # users(page: $page, search: $search) {\n # paginatorInfo {\n # total\n # currentPage\n # hasMorePages\n # }\n # data {\n # name\n # email\n # }\n # }\n # }\n\n query Users(\n $search: String\n $page: Int\n $limit: Int\n $orderBy: [GetUsersOrderByClause]\n $filters: [GetUsersFilter]\n ) {\n allGroups(categories: [\"region\", \"local\"]) {\n id\n title\n }\n roles {\n id\n name\n label\n }\n users(\n search: $search\n page: $page\n limit: $limit\n orderBy: $orderBy\n filters: $filters\n ) {\n paginatorInfo {\n total\n currentPage\n hasMorePages\n }\n data {\n ...UsersFields\n }\n }\n }\n ", "\n"])), exports.GET_USERS_FIELDS);
12
12
  exports.GET_USERS_SIMPLIFIED = (0, client_1.gql)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n query UsersSimplified(\n $search: String\n $page: Int\n $limit: Int\n $orderBy: [GetUsersOrderByClause]\n $filters: [GetUsersFilter]\n ) {\n users(\n search: $search\n page: $page\n limit: $limit\n orderBy: $orderBy\n filters: $filters\n ) {\n paginatorInfo {\n total\n currentPage\n hasMorePages\n }\n data {\n ...UsersFields\n }\n }\n }\n ", "\n"], ["\n query UsersSimplified(\n $search: String\n $page: Int\n $limit: Int\n $orderBy: [GetUsersOrderByClause]\n $filters: [GetUsersFilter]\n ) {\n users(\n search: $search\n page: $page\n limit: $limit\n orderBy: $orderBy\n filters: $filters\n ) {\n paginatorInfo {\n total\n currentPage\n hasMorePages\n }\n data {\n ...UsersFields\n }\n }\n }\n ", "\n"])), exports.GET_USERS_FIELDS);
13
13
  exports.GET_ACCOUNT = (0, client_1.gql)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n query Account($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n description\n workplace\n gdpr\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n }\n userSettings {\n publicDefaultPortfolio {\n id\n name\n disk\n }\n }\n }\n"], ["\n query Account($id: ID!) {\n user(id: $id) {\n id\n name\n email\n firstname\n lastname\n active\n personal_number\n address1\n address2\n postalcode\n town\n country\n phone1\n profession\n status\n description\n workplace\n gdpr\n images {\n id\n title\n filename\n filesize\n filetype\n url\n }\n }\n userSettings {\n publicDefaultPortfolio {\n id\n name\n disk\n }\n }\n }\n"])));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocollege/app",
3
- "version": "0.0.117",
3
+ "version": "0.0.118",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -34,7 +34,13 @@
34
34
  "userDeleted": "Användaren har raderats",
35
35
  "statusHelper": "Detta avgör om en användare syns utåt, exempelvis i köer.",
36
36
  "readMoreDataPolicy": "Läs mer i vår dataskyddspolicy"
37
- }
37
+ },
38
+ "settings": [
39
+ {
40
+ "name": "excludeFromAutomaticDeletion",
41
+ "label": "Uteslut denna användare från automatisk radering"
42
+ }
43
+ ]
38
44
  },
39
45
  "acl": {
40
46
  "label": "ACL",
@@ -45,6 +45,8 @@ export const UPDATE_USER = gql`
45
45
  label
46
46
  type
47
47
  }
48
+ apps
49
+ settings
48
50
  }
49
51
  }
50
52
  `;
@@ -79,6 +79,7 @@ export const GET_USER = gql`
79
79
  id
80
80
  }
81
81
  apps
82
+ settings
82
83
  }
83
84
  }
84
85
  `;