@ludo.ninja/api 2.8.29 → 2.8.31
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/build/config/index.js +4 -4
- package/build/graphql_tools/__generated__/adminHost/schema.d.ts +1434 -0
- package/build/graphql_tools/__generated__/adminHost/schema.js +688 -0
- package/build/graphql_tools/__generated__/assetsHost/schema.d.ts +392 -0
- package/build/graphql_tools/__generated__/assetsHost/schema.js +80 -0
- package/build/graphql_tools/__generated__/authHost/schema.d.ts +238 -0
- package/build/graphql_tools/__generated__/authHost/schema.js +85 -0
- package/build/graphql_tools/__generated__/collectionsHost/schema.d.ts +455 -0
- package/build/graphql_tools/__generated__/collectionsHost/schema.js +80 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.d.ts +356 -0
- package/build/graphql_tools/__generated__/experiencesHost/schema.js +191 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.d.ts +808 -0
- package/build/graphql_tools/__generated__/extensionHost/schema.js +449 -0
- package/build/graphql_tools/__generated__/galleriesHost/schema.d.ts +794 -0
- package/build/graphql_tools/__generated__/galleriesHost/schema.js +575 -0
- package/build/graphql_tools/__generated__/identityHost/schema.d.ts +1205 -0
- package/build/graphql_tools/__generated__/identityHost/schema.js +757 -0
- package/build/graphql_tools/__generated__/mediasHost/schema.d.ts +242 -0
- package/build/graphql_tools/__generated__/mediasHost/schema.js +110 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.d.ts +486 -0
- package/build/graphql_tools/__generated__/opportunitiesHost/schema.js +148 -0
- package/build/graphql_tools/__generated__/preferencesHost/schema.d.ts +604 -0
- package/build/graphql_tools/__generated__/preferencesHost/schema.js +411 -0
- package/build/graphql_tools/__generated__/searchHost/schema.d.ts +1304 -0
- package/build/graphql_tools/__generated__/searchHost/schema.js +1191 -0
- package/build/hosts/index.d.ts +0 -3
- package/build/hosts/index.js +1 -4
- package/build/index.d.ts +13 -2
- package/build/index.js +25 -3
- package/package.json +1 -1
- package/src/config/index.ts +50 -50
- package/src/graphql_tools/__generated__/adminHost/schema.ts +1814 -0
- package/src/graphql_tools/__generated__/assetsHost/schema.ts +482 -0
- package/src/graphql_tools/__generated__/authHost/schema.ts +317 -0
- package/src/graphql_tools/__generated__/collectionsHost/schema.ts +554 -0
- package/src/graphql_tools/__generated__/experiencesHost/schema.ts +478 -0
- package/src/graphql_tools/__generated__/extensionHost/schema.ts +1074 -0
- package/src/graphql_tools/__generated__/galleriesHost/schema.ts +1090 -0
- package/src/graphql_tools/__generated__/identityHost/schema.ts +1584 -0
- package/src/graphql_tools/__generated__/mediasHost/schema.ts +333 -0
- package/src/graphql_tools/__generated__/opportunitiesHost/schema.ts +629 -0
- package/src/graphql_tools/__generated__/preferencesHost/schema.ts +772 -0
- package/src/graphql_tools/__generated__/searchHost/schema.ts +2137 -0
- package/src/hosts/index.ts +0 -6
- package/src/index.ts +29 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/build/graphql_tools/__generated__/schema.d.ts +0 -8942
- package/build/graphql_tools/__generated__/schema.js +0 -5434
- package/src/graphql_tools/__generated__/schema.ts +0 -12037
package/build/config/index.js
CHANGED
|
@@ -38,7 +38,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
|
|
|
38
38
|
.mutate({
|
|
39
39
|
context: { uri: index_1.hosts.authHost },
|
|
40
40
|
variables: { refreshToken },
|
|
41
|
-
mutation: index_1.
|
|
41
|
+
mutation: index_1.authSchema.RefreshTokenDocument,
|
|
42
42
|
})
|
|
43
43
|
.then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
|
|
44
44
|
(0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
|
|
@@ -48,7 +48,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
|
|
|
48
48
|
.catch(async () => {
|
|
49
49
|
await apolloClient?.mutate({
|
|
50
50
|
context: { uri: index_1.hosts.authHost },
|
|
51
|
-
mutation: index_1.
|
|
51
|
+
mutation: index_1.authSchema.RevokeTokenDocument,
|
|
52
52
|
});
|
|
53
53
|
(0, cookies_1.destroyCookies)(mainDomain);
|
|
54
54
|
pendingRequests = [];
|
|
@@ -80,7 +80,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
|
|
|
80
80
|
.mutate({
|
|
81
81
|
context: { uri: index_1.hosts.authHost },
|
|
82
82
|
variables: { refreshToken },
|
|
83
|
-
mutation: index_1.
|
|
83
|
+
mutation: index_1.authSchema.RefreshTokenDocument,
|
|
84
84
|
})
|
|
85
85
|
.then(({ data: { refreshToken: { tokenAuth, tokenRefresh }, }, }) => {
|
|
86
86
|
(0, cookies_1.refreshCookies)(tokenAuth, tokenRefresh, mainDomain);
|
|
@@ -90,7 +90,7 @@ const errorLink = (0, error_1.onError)(({ graphQLErrors, networkError, operation
|
|
|
90
90
|
.catch(async () => {
|
|
91
91
|
await apolloClient?.mutate({
|
|
92
92
|
context: { uri: index_1.hosts.authHost },
|
|
93
|
-
mutation: index_1.
|
|
93
|
+
mutation: index_1.authSchema.RevokeTokenDocument,
|
|
94
94
|
});
|
|
95
95
|
(0, cookies_1.destroyCookies)(mainDomain);
|
|
96
96
|
pendingRequests = [];
|