shoal-web-sdk 0.0.174 → 0.0.175
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/sdk/sdk.gen.js
CHANGED
|
@@ -830,7 +830,7 @@ export const checkSubdomainUniqueness = (options) => {
|
|
|
830
830
|
type: 'http'
|
|
831
831
|
}
|
|
832
832
|
],
|
|
833
|
-
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/check-subdomain/{subdomain}',
|
|
833
|
+
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/{nodeUUID}/check-subdomain/{subdomain}',
|
|
834
834
|
...options
|
|
835
835
|
});
|
|
836
836
|
};
|
package/dist/sdk/types.gen.d.ts
CHANGED
|
@@ -2744,13 +2744,17 @@ export type CheckSubdomainUniquenessData = {
|
|
|
2744
2744
|
* A version number with in an environment.
|
|
2745
2745
|
*/
|
|
2746
2746
|
version: string;
|
|
2747
|
+
/**
|
|
2748
|
+
* The node ID this source ZIP is associated with.
|
|
2749
|
+
*/
|
|
2750
|
+
nodeUUID: string;
|
|
2747
2751
|
/**
|
|
2748
2752
|
* The proxy subdomain to check for uniqueness.
|
|
2749
2753
|
*/
|
|
2750
2754
|
subdomain: string;
|
|
2751
2755
|
};
|
|
2752
2756
|
query?: never;
|
|
2753
|
-
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/check-subdomain/{subdomain}';
|
|
2757
|
+
url: '/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/{nodeUUID}/check-subdomain/{subdomain}';
|
|
2754
2758
|
};
|
|
2755
2759
|
export type CheckSubdomainUniquenessErrors = {
|
|
2756
2760
|
/**
|
package/dist/sdk/zod.gen.d.ts
CHANGED
|
@@ -2881,6 +2881,7 @@ export declare const zCheckSubdomainUniquenessData: z.ZodObject<{
|
|
|
2881
2881
|
projectHandle: z.ZodString;
|
|
2882
2882
|
environmentHandle: z.ZodString;
|
|
2883
2883
|
version: z.ZodString;
|
|
2884
|
+
nodeUUID: z.ZodUUID;
|
|
2884
2885
|
subdomain: z.ZodString;
|
|
2885
2886
|
}, z.core.$strip>;
|
|
2886
2887
|
query: z.ZodOptional<z.ZodNever>;
|
package/dist/sdk/zod.gen.js
CHANGED
|
@@ -987,7 +987,7 @@ export const useRequestSignedUploadUrl = (config) => {
|
|
|
987
987
|
export const useCheckSubdomainUniqueness = (options) => {
|
|
988
988
|
const token = useToken();
|
|
989
989
|
let { enabled, ...rest } = options || { enabled: true };
|
|
990
|
-
const opts = { throwOnError: true, url: "/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/check-subdomain/{subdomain}" };
|
|
990
|
+
const opts = { throwOnError: true, url: "/auth/{spaceHandle}/{projectHandle}/{environmentHandle}/{version}/graph/{nodeUUID}/check-subdomain/{subdomain}" };
|
|
991
991
|
const funcer = async () => {
|
|
992
992
|
const auth = isPromise(token) ? (await token) || "" : token || "";
|
|
993
993
|
if (isPromise(token) && !token)
|
|
@@ -998,7 +998,7 @@ export const useCheckSubdomainUniqueness = (options) => {
|
|
|
998
998
|
if (!token)
|
|
999
999
|
enabled = false;
|
|
1000
1000
|
return useQuery({
|
|
1001
|
-
queryKey: [options?.path?.spaceHandle, options?.path?.projectHandle, options?.path?.environmentHandle, options?.path?.version, "graph", "check-subdomain", options?.path?.subdomain, options.query ?? {}],
|
|
1001
|
+
queryKey: [options?.path?.spaceHandle, options?.path?.projectHandle, options?.path?.environmentHandle, options?.path?.version, "graph", options?.path?.nodeUUID, "check-subdomain", options?.path?.subdomain, options.query ?? {}],
|
|
1002
1002
|
queryFn: funcer,
|
|
1003
1003
|
enabled,
|
|
1004
1004
|
retry: false,
|