@geexcode/geex-angular 0.0.15 → 0.0.16

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/dist/index.js CHANGED
@@ -66,10 +66,10 @@ var OrgTypeEnum = {
66
66
  Default: "Default"
67
67
  };
68
68
  var GQL_CHECK_TENANT = import_graphql_tag.default`mutation checkTenant($code: String!) { checkTenant(code: $code) { id code name isEnabled createdOn } }`;
69
- var GQL_FEDERATE_AUTH = import_graphql_tag.default`mutation federateAuthenticate($code: String!, $loginProvider: LoginProviderEnum!) { federateAuthenticate(code: $code, loginProvider: $loginProvider) { ...UserDetail } }`;
69
+ var GQL_FEDERATE_AUTH = import_graphql_tag.default`mutation federateAuthenticate($code: String!, $loginProvider: LoginProviderEnum!) { federateAuthenticate(code: $code, loginProvider: $loginProvider) { id orgs { code name allParentOrgs { id orgType code name parentOrgCode } } isEnable permissions orgCodes roleIds roleNames loginProvider } }`;
70
70
  var GQL_ON_PUBLIC_NOTIFY = import_graphql_tag.default`subscription onPublicNotify { onPublicNotify { __typename ... on DataChangeClientNotify { dataChangeType } } }`;
71
- var GQL_ORGS_CACHE = import_graphql_tag.default`query orgsCache { orgs(take: 999) { items { ... OrgCacheItem } } }`;
72
- var GQL_INIT_SETTINGS = import_graphql_tag.default`query initSettings { initSettings { ... SettingBrief } }`;
71
+ var GQL_ORGS_CACHE = import_graphql_tag.default`query orgsCache { orgs(take: 999) { items { id orgType code name parentOrgCode } } }`;
72
+ var GQL_INIT_SETTINGS = import_graphql_tag.default`query initSettings { initSettings { id name value } }`;
73
73
  function createTenantModule(injector) {
74
74
  const current = (0, import_core.signal)(null);
75
75
  return {
package/dist/index.mjs CHANGED
@@ -21,10 +21,10 @@ var OrgTypeEnum = {
21
21
  Default: "Default"
22
22
  };
23
23
  var GQL_CHECK_TENANT = gql`mutation checkTenant($code: String!) { checkTenant(code: $code) { id code name isEnabled createdOn } }`;
24
- var GQL_FEDERATE_AUTH = gql`mutation federateAuthenticate($code: String!, $loginProvider: LoginProviderEnum!) { federateAuthenticate(code: $code, loginProvider: $loginProvider) { ...UserDetail } }`;
24
+ var GQL_FEDERATE_AUTH = gql`mutation federateAuthenticate($code: String!, $loginProvider: LoginProviderEnum!) { federateAuthenticate(code: $code, loginProvider: $loginProvider) { id orgs { code name allParentOrgs { id orgType code name parentOrgCode } } isEnable permissions orgCodes roleIds roleNames loginProvider } }`;
25
25
  var GQL_ON_PUBLIC_NOTIFY = gql`subscription onPublicNotify { onPublicNotify { __typename ... on DataChangeClientNotify { dataChangeType } } }`;
26
- var GQL_ORGS_CACHE = gql`query orgsCache { orgs(take: 999) { items { ... OrgCacheItem } } }`;
27
- var GQL_INIT_SETTINGS = gql`query initSettings { initSettings { ... SettingBrief } }`;
26
+ var GQL_ORGS_CACHE = gql`query orgsCache { orgs(take: 999) { items { id orgType code name parentOrgCode } } }`;
27
+ var GQL_INIT_SETTINGS = gql`query initSettings { initSettings { id name value } }`;
28
28
  function createTenantModule(injector) {
29
29
  const current = signal(null);
30
30
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geexcode/geex-angular",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Angular adapter for Geex core.",
5
5
  "module": "dist/index.js",
6
6
  "main": "dist/index.cjs",