@nvwa-app/sdk-core 0.4.9 → 0.4.12
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.mts +1 -13
- package/dist/index.d.ts +1 -13
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +4 -1
package/dist/index.d.mts
CHANGED
|
@@ -165,18 +165,6 @@ type HttpResponse<T> = {
|
|
|
165
165
|
[key: string]: string;
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
|
-
declare class FetchResponse {
|
|
169
|
-
ok: boolean;
|
|
170
|
-
status: number;
|
|
171
|
-
statusText: string;
|
|
172
|
-
headers: Record<string, string>;
|
|
173
|
-
body: any;
|
|
174
|
-
constructor(ok: boolean, status: number, statusText: string, headers: Record<string, string>, body: any);
|
|
175
|
-
text(): Promise<string>;
|
|
176
|
-
json(): Promise<any>;
|
|
177
|
-
arrayBuffer(): Promise<ArrayBuffer>;
|
|
178
|
-
blob(): Promise<Blob>;
|
|
179
|
-
}
|
|
180
168
|
declare abstract class NvwaHttpClient {
|
|
181
169
|
abstract request<T>(url: string | URL, request: HttpRequest): Promise<HttpResponse<T>>;
|
|
182
170
|
abstract requestWithAuth<T>(url: string | URL, request: HttpRequest, handleUnauthorized: () => void): Promise<HttpResponse<T>>;
|
|
@@ -219,4 +207,4 @@ interface INvwa {
|
|
|
219
207
|
fileStorage: NvwaFileStorage;
|
|
220
208
|
}
|
|
221
209
|
|
|
222
|
-
export { AUTH_BASE_PATH, AbortController, AbortSignal, type AuthClient, ENTITIES_BASE_PATH, FILE_STORAGE_BASE_PATH,
|
|
210
|
+
export { AUTH_BASE_PATH, AbortController, AbortSignal, type AuthClient, ENTITIES_BASE_PATH, FILE_STORAGE_BASE_PATH, type FunctionInvokeOptions, GENERATE_UPLOAD_URL_PATH, Headers, type HttpMethod, type HttpRequest, type HttpResponse, type HttpUploadFileResponse, type INvwa, LOGIN_TOKEN_KEY, LOGIN_USER_PROFILE_KEY, type NvwaAppUser, NvwaAuthClient, NvwaEdgeFunctions, type NvwaFetch, NvwaFileStorage, NvwaHttpClient, type NvwaLocalStorage, Request, type RequestInfo, type RequestInit, Response, type ResponseInit, URL$1 as URL, URLSearchParams, createPostgrestClient, polyfill };
|
package/dist/index.d.ts
CHANGED
|
@@ -165,18 +165,6 @@ type HttpResponse<T> = {
|
|
|
165
165
|
[key: string]: string;
|
|
166
166
|
};
|
|
167
167
|
};
|
|
168
|
-
declare class FetchResponse {
|
|
169
|
-
ok: boolean;
|
|
170
|
-
status: number;
|
|
171
|
-
statusText: string;
|
|
172
|
-
headers: Record<string, string>;
|
|
173
|
-
body: any;
|
|
174
|
-
constructor(ok: boolean, status: number, statusText: string, headers: Record<string, string>, body: any);
|
|
175
|
-
text(): Promise<string>;
|
|
176
|
-
json(): Promise<any>;
|
|
177
|
-
arrayBuffer(): Promise<ArrayBuffer>;
|
|
178
|
-
blob(): Promise<Blob>;
|
|
179
|
-
}
|
|
180
168
|
declare abstract class NvwaHttpClient {
|
|
181
169
|
abstract request<T>(url: string | URL, request: HttpRequest): Promise<HttpResponse<T>>;
|
|
182
170
|
abstract requestWithAuth<T>(url: string | URL, request: HttpRequest, handleUnauthorized: () => void): Promise<HttpResponse<T>>;
|
|
@@ -219,4 +207,4 @@ interface INvwa {
|
|
|
219
207
|
fileStorage: NvwaFileStorage;
|
|
220
208
|
}
|
|
221
209
|
|
|
222
|
-
export { AUTH_BASE_PATH, AbortController, AbortSignal, type AuthClient, ENTITIES_BASE_PATH, FILE_STORAGE_BASE_PATH,
|
|
210
|
+
export { AUTH_BASE_PATH, AbortController, AbortSignal, type AuthClient, ENTITIES_BASE_PATH, FILE_STORAGE_BASE_PATH, type FunctionInvokeOptions, GENERATE_UPLOAD_URL_PATH, Headers, type HttpMethod, type HttpRequest, type HttpResponse, type HttpUploadFileResponse, type INvwa, LOGIN_TOKEN_KEY, LOGIN_USER_PROFILE_KEY, type NvwaAppUser, NvwaAuthClient, NvwaEdgeFunctions, type NvwaFetch, NvwaFileStorage, NvwaHttpClient, type NvwaLocalStorage, Request, type RequestInfo, type RequestInit, Response, type ResponseInit, URL$1 as URL, URLSearchParams, createPostgrestClient, polyfill };
|