@iblai/data-layer 1.24.0 → 1.25.1
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.d.ts +15 -4
- package/dist/index.esm.js +8 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/hosting/types.d.ts +11 -4
- package/dist/src/features/user-chat-history/types.d.ts +4 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -46641,15 +46641,18 @@ const hostingApiSlice = react.createApi({
|
|
|
46641
46641
|
{ type: HOSTING_QUERY_KEYS.HOSTING_PROJECT_DOMAINS, id: args.project },
|
|
46642
46642
|
],
|
|
46643
46643
|
}),
|
|
46644
|
-
// Attach a domain the organization owns, or
|
|
46645
|
-
// the platform
|
|
46644
|
+
// Attach a domain the organization owns, or serve the app at a chosen
|
|
46645
|
+
// subdomain of the platform's shared domain. Only a key that is set is
|
|
46646
|
+
// sent: a present-but-empty value would be a request for "".
|
|
46646
46647
|
createHostingProjectDomain: builder.mutation({
|
|
46647
46648
|
query: (args) => ({
|
|
46648
46649
|
url: HOSTING_ENDPOINTS.CREATE_HOSTING_PROJECT_DOMAIN.path(args.org, args.username),
|
|
46649
46650
|
method: 'POST',
|
|
46650
|
-
body:
|
|
46651
|
-
|
|
46652
|
-
|
|
46651
|
+
body: {
|
|
46652
|
+
project: args.project,
|
|
46653
|
+
...(args.domain ? { domain: args.domain } : {}),
|
|
46654
|
+
...(args.subdomain ? { subdomain: args.subdomain } : {}),
|
|
46655
|
+
},
|
|
46653
46656
|
service: HOSTING_ENDPOINTS.CREATE_HOSTING_PROJECT_DOMAIN.service,
|
|
46654
46657
|
}),
|
|
46655
46658
|
invalidatesTags: (result, error, args) => [
|