@sylphx/sdk 0.8.0 → 0.10.0
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 +118 -291
- package/dist/index.mjs +470 -194
- package/dist/index.mjs.map +1 -1
- package/dist/react/index.d.ts +91 -310
- package/dist/react/index.mjs +1284 -1038
- package/dist/react/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/react/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SdkBillingPlan, SdkBillingSubscription, SdkConsentType, UserConsent as UserConsent$1, ReferralRewardDefaults as ReferralRewardDefaults$1, WebhookDelivery as WebhookDelivery$2, OrgSdkRole, OrgInvitation, OrgMember, Organization } from '@sylphx/contract';
|
|
2
|
-
export { Organization } from '@sylphx/contract';
|
|
1
|
+
import { SdkBillingPlan, SdkBillingSubscription, SdkConsentType, UserConsent as UserConsent$1, ReferralRewardDefaults as ReferralRewardDefaults$1, WebhookDelivery as WebhookDelivery$2, OrgSdkRole, OrgInvitation, OrgMember, Organization, File as File$1, FileId } from '@sylphx/contract';
|
|
2
|
+
export { Organization, File as StorageFile, FileId as StorageFileId } from '@sylphx/contract';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import * as react from 'react';
|
|
5
5
|
import react__default, { CSSProperties, ReactNode, SVGProps, Context, ErrorInfo, Component } from 'react';
|
|
@@ -4038,47 +4038,6 @@ interface ConsentContextValue {
|
|
|
4038
4038
|
}
|
|
4039
4039
|
declare const ConsentContext: Context<ConsentContextValue | null>;
|
|
4040
4040
|
declare function useConsentContext(): ConsentContextValue;
|
|
4041
|
-
interface UploadProgressEvent {
|
|
4042
|
-
loaded: number;
|
|
4043
|
-
total: number;
|
|
4044
|
-
progress: number;
|
|
4045
|
-
}
|
|
4046
|
-
interface UploadOptions$1 {
|
|
4047
|
-
path?: string;
|
|
4048
|
-
onProgress?: (event: UploadProgressEvent) => void;
|
|
4049
|
-
/**
|
|
4050
|
-
* Enable multipart upload for large files.
|
|
4051
|
-
* - `true`: Always use multipart upload
|
|
4052
|
-
* - `false`: Never use multipart upload
|
|
4053
|
-
* - `'auto'` (default): Auto-enable for files > 5MB
|
|
4054
|
-
*
|
|
4055
|
-
* Multipart uploads support files up to 5TB with better
|
|
4056
|
-
* reliability for large files.
|
|
4057
|
-
*/
|
|
4058
|
-
multipart?: boolean | 'auto';
|
|
4059
|
-
/**
|
|
4060
|
-
* AbortSignal to cancel the upload.
|
|
4061
|
-
* Vercel Blob pattern - enables cancellation of in-progress uploads.
|
|
4062
|
-
*
|
|
4063
|
-
* @example
|
|
4064
|
-
* ```typescript
|
|
4065
|
-
* const controller = new AbortController()
|
|
4066
|
-
* setTimeout(() => controller.abort(), 30000) // Cancel after 30s
|
|
4067
|
-
* await upload(file, { signal: controller.signal })
|
|
4068
|
-
* ```
|
|
4069
|
-
*/
|
|
4070
|
-
signal?: AbortSignal;
|
|
4071
|
-
}
|
|
4072
|
-
interface StorageContextValue {
|
|
4073
|
-
upload: (file: File, options?: UploadOptions$1) => Promise<string>;
|
|
4074
|
-
uploadAvatar: (file: File, options?: {
|
|
4075
|
-
onProgress?: (event: UploadProgressEvent) => void;
|
|
4076
|
-
}) => Promise<string>;
|
|
4077
|
-
deleteFile: (fileId: string) => Promise<void>;
|
|
4078
|
-
getUrl: (fileId: string) => Promise<string | null>;
|
|
4079
|
-
}
|
|
4080
|
-
declare const StorageContext: Context<StorageContextValue | null>;
|
|
4081
|
-
declare function useStorageContext(): StorageContextValue;
|
|
4082
4041
|
interface NewsletterContextValue {
|
|
4083
4042
|
subscribe: (options: NewsletterSubscribeInput) => Promise<NewsletterSubscribeResult>;
|
|
4084
4043
|
verify: (token: string) => Promise<NewsletterVerifyResult>;
|
|
@@ -6045,82 +6004,6 @@ interface UseTaskRunResult {
|
|
|
6045
6004
|
*/
|
|
6046
6005
|
declare function useTaskRun(runId: string | null, options?: UseTaskRunOptions): UseTaskRunResult;
|
|
6047
6006
|
|
|
6048
|
-
/**
|
|
6049
|
-
* useUpload — Simple file upload hook with progress tracking.
|
|
6050
|
-
*
|
|
6051
|
-
* Thin DX wrapper around `useStorage` / `useFileUpload` that exposes a
|
|
6052
|
-
* minimal, ergonomic API: upload a file, watch progress, handle errors.
|
|
6053
|
-
*
|
|
6054
|
-
* Uses `XMLHttpRequest` under the hood (via the platform storage context)
|
|
6055
|
-
* for real byte-level progress events.
|
|
6056
|
-
*
|
|
6057
|
-
* @example
|
|
6058
|
-
* ```tsx
|
|
6059
|
-
* function Upload() {
|
|
6060
|
-
* const { upload, progress, isUploading, error, reset } = useUpload()
|
|
6061
|
-
*
|
|
6062
|
-
* const handleChange = async (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
6063
|
-
* const file = e.target.files?.[0]
|
|
6064
|
-
* if (!file) return
|
|
6065
|
-
* try {
|
|
6066
|
-
* const { url } = await upload(file, { generateKey: true })
|
|
6067
|
-
* console.log('Uploaded:', url)
|
|
6068
|
-
* } catch {}
|
|
6069
|
-
* }
|
|
6070
|
-
*
|
|
6071
|
-
* return (
|
|
6072
|
-
* <div>
|
|
6073
|
-
* <input type="file" onChange={handleChange} disabled={isUploading} />
|
|
6074
|
-
* {isUploading && <progress value={progress} max={100} />}
|
|
6075
|
-
* {error && <p>{error.message}</p>}
|
|
6076
|
-
* </div>
|
|
6077
|
-
* )
|
|
6078
|
-
* }
|
|
6079
|
-
* ```
|
|
6080
|
-
*/
|
|
6081
|
-
|
|
6082
|
-
interface UploadOptions {
|
|
6083
|
-
/** Destination bucket (defaults to app default) */
|
|
6084
|
-
bucket?: string;
|
|
6085
|
-
/** Custom storage path / key */
|
|
6086
|
-
path?: string;
|
|
6087
|
-
/** Called with progress 0–100 during upload */
|
|
6088
|
-
onProgress?: (progress: number) => void;
|
|
6089
|
-
/** Auto-generate a unique key for the file (default: true) */
|
|
6090
|
-
generateKey?: boolean;
|
|
6091
|
-
}
|
|
6092
|
-
interface UploadResult$1 {
|
|
6093
|
-
/** Public (or signed) URL of the uploaded file */
|
|
6094
|
-
url: string;
|
|
6095
|
-
/** Storage key / path of the uploaded file */
|
|
6096
|
-
key: string;
|
|
6097
|
-
}
|
|
6098
|
-
interface UseUploadResult {
|
|
6099
|
-
/**
|
|
6100
|
-
* Upload a file.
|
|
6101
|
-
* Resolves with `{ url, key }` on success.
|
|
6102
|
-
* Throws `SylphxError` on failure.
|
|
6103
|
-
*/
|
|
6104
|
-
upload: (file: File, options?: UploadOptions) => Promise<UploadResult$1>;
|
|
6105
|
-
/** Upload progress 0–100 */
|
|
6106
|
-
progress: number;
|
|
6107
|
-
/** True while an upload is in flight */
|
|
6108
|
-
isUploading: boolean;
|
|
6109
|
-
/** Non-null when the last upload failed */
|
|
6110
|
-
error: SylphxError | null;
|
|
6111
|
-
/** Cancel an in-progress upload */
|
|
6112
|
-
cancel: () => void;
|
|
6113
|
-
/** Reset progress, error and state to initial values */
|
|
6114
|
-
reset: () => void;
|
|
6115
|
-
}
|
|
6116
|
-
/**
|
|
6117
|
-
* Minimal file upload hook with real-time progress and error surfacing.
|
|
6118
|
-
*
|
|
6119
|
-
* Delegates to the platform `StorageContext` (injected by `SylphxProvider`)
|
|
6120
|
-
* which handles XHR progress events, presigned-URL flows, and retries.
|
|
6121
|
-
*/
|
|
6122
|
-
declare function useUpload(): UseUploadResult;
|
|
6123
|
-
|
|
6124
6007
|
/**
|
|
6125
6008
|
* Monitoring Hooks
|
|
6126
6009
|
*
|
|
@@ -7896,216 +7779,114 @@ interface UseHasPermissionReturn {
|
|
|
7896
7779
|
*/
|
|
7897
7780
|
declare function useHasPermission(permissions: string[], required: string | string[]): UseHasPermissionReturn;
|
|
7898
7781
|
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7782
|
+
/**
|
|
7783
|
+
* Storage SDK — pure functional, namespaced. Per ADR-100.
|
|
7784
|
+
*
|
|
7785
|
+
* Wire is the contract in `@sylphx/contract` (`schemas/storage.ts` +
|
|
7786
|
+
* `endpoints/storage.ts`). This module is the only public surface for
|
|
7787
|
+
* uploads / files; consumers import the `storage` namespace.
|
|
7788
|
+
*
|
|
7789
|
+
* Features (built-in defaults, ADR-100 §2.8):
|
|
7790
|
+
* - Idempotency-Key auto-generated (UUIDv7) on every POST
|
|
7791
|
+
* - Single-part PUT or multipart, picked server-side from `size`
|
|
7792
|
+
* - Streaming SHA-256 (browser `crypto.subtle.digest` / node `crypto.createHash`)
|
|
7793
|
+
* - Resumable: persists `(uploadId, completedParts[])` to localStorage
|
|
7794
|
+
* (browser) or `~/.sylphx/uploads.json` (node)
|
|
7795
|
+
* - AbortSignal cancellation; auto-DELETE upload session on abort
|
|
7796
|
+
* - Exponential backoff with full jitter (5 retries, 1s base, 30s cap)
|
|
7797
|
+
* - Progress: byte-accurate via XHR (browser) or stream sampling (node)
|
|
7798
|
+
*
|
|
7799
|
+
* No vendor SDKs. Pure `fetch` + `XMLHttpRequest`.
|
|
7800
|
+
*/
|
|
7801
|
+
|
|
7802
|
+
interface UploadProgressEvent {
|
|
7803
|
+
loaded: number;
|
|
7804
|
+
total: number;
|
|
7805
|
+
partsCompleted: number;
|
|
7806
|
+
partsTotal: number;
|
|
7807
|
+
}
|
|
7808
|
+
interface UploadCreateOptions {
|
|
7809
|
+
/** Logical name; preserved as metadata. Defaults to `blob.name` if `File`. */
|
|
7810
|
+
filename?: string;
|
|
7811
|
+
/** MIME type override; defaults to `blob.type` or `application/octet-stream`. */
|
|
7812
|
+
contentType?: string;
|
|
7813
|
+
/** Logical folder path within the project namespace. */
|
|
7814
|
+
folder?: string;
|
|
7815
|
+
/** Defaults to `'private'`. */
|
|
7816
|
+
visibility?: 'public' | 'private';
|
|
7817
|
+
/** Arbitrary user-attached metadata. */
|
|
7818
|
+
metadata?: Record<string, unknown>;
|
|
7819
|
+
/** Pre-computed SHA-256 (hex). If absent, the SDK computes it. */
|
|
7820
|
+
checksumSha256?: string;
|
|
7821
|
+
/** Fail when a file already exists at `(folder, filename)`. */
|
|
7822
|
+
ifNoneMatch?: '*';
|
|
7823
|
+
/** Cancellation. Aborts in-flight PUTs and triggers `DELETE /uploads/{id}`. */
|
|
7824
|
+
signal?: AbortSignal;
|
|
7825
|
+
/** Override the auto-generated UUIDv7 idempotency key. */
|
|
7826
|
+
idempotencyKey?: string;
|
|
7827
|
+
/** Progress callback. */
|
|
7828
|
+
onProgress?: (event: UploadProgressEvent) => void;
|
|
7829
|
+
}
|
|
7830
|
+
interface ListFilesOptions {
|
|
7831
|
+
folder?: string;
|
|
7832
|
+
cursor?: string;
|
|
7833
|
+
limit?: number;
|
|
7834
|
+
includeDeleted?: boolean;
|
|
7916
7835
|
}
|
|
7917
7836
|
|
|
7918
7837
|
/**
|
|
7919
|
-
* Storage
|
|
7838
|
+
* Storage hooks — ADR-100.
|
|
7839
|
+
*
|
|
7840
|
+
* Surface (3 hooks, no legacy):
|
|
7920
7841
|
*
|
|
7921
|
-
*
|
|
7922
|
-
*
|
|
7842
|
+
* - `useStorage()` — `{ upload, files, isUploading, isLoadingFiles, error, refetch }`
|
|
7843
|
+
* - `useFile(fileId)` — `{ file, isLoading, error }`
|
|
7844
|
+
* - `useFileList(options?)` — `{ files, nextCursor, isLoading, loadMore }`
|
|
7923
7845
|
*
|
|
7924
|
-
*
|
|
7925
|
-
*
|
|
7926
|
-
* - **Retry**: Exponential backoff with jitter (handled internally)
|
|
7927
|
-
* - **Progress**: Real-time upload progress tracking
|
|
7846
|
+
* Built on TanStack Query (peer dep). The pure functional surface comes
|
|
7847
|
+
* from `@sylphx/sdk` → `storage.uploads.*` / `storage.files.*`.
|
|
7928
7848
|
*/
|
|
7929
7849
|
|
|
7930
7850
|
interface UseStorageReturn {
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
path?: string;
|
|
7934
|
-
signal?: AbortSignal;
|
|
7935
|
-
}) => Promise<string>;
|
|
7936
|
-
/** Upload an avatar (shortcut for profile pictures) */
|
|
7937
|
-
uploadAvatar: (file: File) => Promise<string>;
|
|
7938
|
-
/** Delete a file by ID */
|
|
7939
|
-
deleteFile: (fileId: string) => Promise<void>;
|
|
7940
|
-
/** Get a signed URL for a file (returns null if not found) */
|
|
7941
|
-
getUrl: (fileId: string) => Promise<string | null>;
|
|
7942
|
-
/** Cancel the current upload (Vercel Blob pattern) */
|
|
7943
|
-
cancel: () => void;
|
|
7944
|
-
/** Whether an upload is in progress */
|
|
7851
|
+
upload(file: Blob | File, options?: UploadCreateOptions): Promise<File$1>;
|
|
7852
|
+
files: File$1[] | undefined;
|
|
7945
7853
|
isUploading: boolean;
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
|
|
7949
|
-
bytesUploaded: number;
|
|
7950
|
-
/** Total bytes to upload */
|
|
7951
|
-
bytesTotal: number;
|
|
7952
|
-
/** Last upload error */
|
|
7953
|
-
uploadError: Error | null;
|
|
7954
|
-
/** Whether the last upload was cancelled */
|
|
7955
|
-
wasCancelled: boolean;
|
|
7854
|
+
isLoadingFiles: boolean;
|
|
7855
|
+
error: Error | null;
|
|
7856
|
+
refetch(): Promise<void>;
|
|
7956
7857
|
}
|
|
7957
7858
|
/**
|
|
7958
|
-
*
|
|
7959
|
-
*
|
|
7960
|
-
*
|
|
7961
|
-
* - **Cancellation**: `cancel()` method to abort in-progress uploads (Vercel Blob pattern)
|
|
7962
|
-
* - **AbortSignal**: Pass custom signal via upload options
|
|
7963
|
-
* - **Progress**: Real-time byte-level progress tracking
|
|
7964
|
-
*
|
|
7965
|
-
* @example Basic usage
|
|
7966
|
-
* ```tsx
|
|
7967
|
-
* function AvatarUpload() {
|
|
7968
|
-
* const { uploadAvatar, isUploading, progress, bytesUploaded, bytesTotal, uploadError } = useStorage()
|
|
7969
|
-
* const { user, refresh } = useUser()
|
|
7970
|
-
*
|
|
7971
|
-
* const handleUpload = async (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
7972
|
-
* const file = e.target.files?.[0]
|
|
7973
|
-
* if (!file) return
|
|
7859
|
+
* Composite storage hook — exposes a one-shot `upload` mutation plus a
|
|
7860
|
+
* cached file list. For finer-grained control reach for `useFileList`
|
|
7861
|
+
* (paginated) or `useFile` (single resource).
|
|
7974
7862
|
*
|
|
7975
|
-
*
|
|
7976
|
-
* const url = await uploadAvatar(file)
|
|
7977
|
-
* await refresh() // Refresh user to get new avatar URL
|
|
7978
|
-
* console.log('Avatar uploaded:', url)
|
|
7979
|
-
* } catch (err) {
|
|
7980
|
-
* console.error('Upload failed:', err)
|
|
7981
|
-
* }
|
|
7982
|
-
* }
|
|
7983
|
-
*
|
|
7984
|
-
* return (
|
|
7985
|
-
* <div>
|
|
7986
|
-
* <input type="file" accept="image/*" onChange={handleUpload} disabled={isUploading} />
|
|
7987
|
-
* {isUploading && (
|
|
7988
|
-
* <div>
|
|
7989
|
-
* <progress value={progress} max={100} />
|
|
7990
|
-
* <span>{Math.round(progress)}% ({(bytesUploaded / 1024).toFixed(1)}KB / {(bytesTotal / 1024).toFixed(1)}KB)</span>
|
|
7991
|
-
* </div>
|
|
7992
|
-
* )}
|
|
7993
|
-
* {uploadError && <p>Error: {uploadError.message}</p>}
|
|
7994
|
-
* </div>
|
|
7995
|
-
* )
|
|
7996
|
-
* }
|
|
7997
|
-
* ```
|
|
7998
|
-
*
|
|
7999
|
-
* @example With cancellation
|
|
7863
|
+
* @example
|
|
8000
7864
|
* ```tsx
|
|
8001
|
-
*
|
|
8002
|
-
*
|
|
8003
|
-
*
|
|
8004
|
-
* return (
|
|
8005
|
-
* <div>
|
|
8006
|
-
* <input type="file" onChange={(e) => {
|
|
8007
|
-
* const file = e.target.files?.[0]
|
|
8008
|
-
* if (file) upload(file)
|
|
8009
|
-
* }} />
|
|
8010
|
-
* {isUploading && (
|
|
8011
|
-
* <button onClick={cancel}>Cancel Upload</button>
|
|
8012
|
-
* )}
|
|
8013
|
-
* {wasCancelled && <p>Upload was cancelled</p>}
|
|
8014
|
-
* </div>
|
|
8015
|
-
* )
|
|
8016
|
-
* }
|
|
7865
|
+
* const { upload, files, isUploading } = useStorage()
|
|
7866
|
+
* await upload(blob, { folder: 'docs' })
|
|
8017
7867
|
* ```
|
|
8018
7868
|
*/
|
|
8019
7869
|
declare function useStorage(): UseStorageReturn;
|
|
8020
|
-
interface
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
/** Allowed MIME types */
|
|
8024
|
-
accept?: string[];
|
|
8025
|
-
/** Max file size in bytes */
|
|
8026
|
-
maxSize?: number;
|
|
8027
|
-
/** Called when upload succeeds */
|
|
8028
|
-
onSuccess?: (url: string) => void;
|
|
8029
|
-
/** Called when upload fails */
|
|
8030
|
-
onError?: (error: Error) => void;
|
|
8031
|
-
/** Called when upload is cancelled */
|
|
8032
|
-
onCancel?: () => void;
|
|
8033
|
-
}
|
|
8034
|
-
interface UseFileUploadReturn {
|
|
8035
|
-
/** Upload a file */
|
|
8036
|
-
upload: (file: File) => Promise<string>;
|
|
8037
|
-
/** Cancel the current upload (Vercel Blob pattern) */
|
|
8038
|
-
cancel: () => void;
|
|
8039
|
-
/** Whether an upload is in progress */
|
|
8040
|
-
isUploading: boolean;
|
|
8041
|
-
/** Upload progress (0-100, real-time) */
|
|
8042
|
-
progress: number;
|
|
8043
|
-
/** Bytes uploaded so far */
|
|
8044
|
-
bytesUploaded: number;
|
|
8045
|
-
/** Total bytes to upload */
|
|
8046
|
-
bytesTotal: number;
|
|
8047
|
-
/** Last upload error */
|
|
7870
|
+
interface UseFileReturn {
|
|
7871
|
+
file: File$1 | undefined;
|
|
7872
|
+
isLoading: boolean;
|
|
8048
7873
|
error: Error | null;
|
|
8049
|
-
/** Whether there was an error */
|
|
8050
|
-
isError: boolean;
|
|
8051
|
-
/** Whether the last upload was cancelled */
|
|
8052
|
-
wasCancelled: boolean;
|
|
8053
|
-
/** Last uploaded URL */
|
|
8054
|
-
url: string | null;
|
|
8055
|
-
/** Reset state */
|
|
8056
|
-
reset: () => void;
|
|
8057
7874
|
}
|
|
8058
7875
|
/**
|
|
8059
|
-
*
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
*
|
|
8070
|
-
*
|
|
8071
|
-
* maxSize: 5 * 1024 * 1024, // 5MB
|
|
8072
|
-
* onSuccess: (url) => console.log('Uploaded:', url),
|
|
8073
|
-
* })
|
|
8074
|
-
*
|
|
8075
|
-
* return (
|
|
8076
|
-
* <input
|
|
8077
|
-
* type="file"
|
|
8078
|
-
* onChange={(e) => {
|
|
8079
|
-
* const file = e.target.files?.[0]
|
|
8080
|
-
* if (file) upload(file)
|
|
8081
|
-
* }}
|
|
8082
|
-
* disabled={isUploading}
|
|
8083
|
-
* />
|
|
8084
|
-
* )
|
|
8085
|
-
* }
|
|
8086
|
-
* ```
|
|
8087
|
-
*
|
|
8088
|
-
* @example With cancellation
|
|
8089
|
-
* ```tsx
|
|
8090
|
-
* function CancellableUpload() {
|
|
8091
|
-
* const { upload, cancel, isUploading, wasCancelled } = useFileUpload({
|
|
8092
|
-
* onCancel: () => console.log('Upload cancelled'),
|
|
8093
|
-
* })
|
|
8094
|
-
*
|
|
8095
|
-
* return (
|
|
8096
|
-
* <div>
|
|
8097
|
-
* <input type="file" onChange={(e) => {
|
|
8098
|
-
* const file = e.target.files?.[0]
|
|
8099
|
-
* if (file) upload(file)
|
|
8100
|
-
* }} />
|
|
8101
|
-
* {isUploading && <button onClick={cancel}>Cancel</button>}
|
|
8102
|
-
* {wasCancelled && <p>Upload cancelled</p>}
|
|
8103
|
-
* </div>
|
|
8104
|
-
* )
|
|
8105
|
-
* }
|
|
8106
|
-
* ```
|
|
7876
|
+
* Fetch a single file by id (cached).
|
|
7877
|
+
*/
|
|
7878
|
+
declare function useFile(fileId: FileId | string): UseFileReturn;
|
|
7879
|
+
interface UseFileListReturn {
|
|
7880
|
+
files: File$1[];
|
|
7881
|
+
nextCursor: string | null;
|
|
7882
|
+
isLoading: boolean;
|
|
7883
|
+
loadMore(): Promise<void>;
|
|
7884
|
+
}
|
|
7885
|
+
/**
|
|
7886
|
+
* Paginated, cursor-based file listing. Call `loadMore()` to append the
|
|
7887
|
+
* next page; `nextCursor` is `null` when exhausted.
|
|
8107
7888
|
*/
|
|
8108
|
-
declare function
|
|
7889
|
+
declare function useFileList(options?: ListFilesOptions): UseFileListReturn;
|
|
8109
7890
|
|
|
8110
7891
|
/**
|
|
8111
7892
|
* Background Task Hooks
|
|
@@ -14366,4 +14147,4 @@ interface VitalReportPayload {
|
|
|
14366
14147
|
*/
|
|
14367
14148
|
declare function SpeedInsights({ appKey, endpoint, samplingRate, debug, reportAllChanges, }: SpeedInsightsProps): null;
|
|
14368
14149
|
|
|
14369
|
-
export { AIContext, type AIContextValue, type APIKey, APIKeyManager, type APIKeyManagerProps, AccountSection, type AccountSectionProps, type AdditionalField, AdminOnly, type AmplitudeDestinationConfig, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDataPoint, type DeviceContext as AnalyticsDeviceContext, type AnalyticsEvent$1 as AnalyticsEvent, type EventProperties as AnalyticsEventProperties, type PageContext as AnalyticsPageContext, AnalyticsProvider, type AnalyticsProviderProps, type AnalyticsQuery, type AnalyticsQueryResult, type AnalyticsStat, AnalyticsTracker, type UserProperties as AnalyticsUserProperties, type AppConfig, type AppMetadata, type AsyncState, type AttributionData, AuthContext, type AuthContextValue, AuthLoading, type AuthLoginResult, type AuthRegisterResult, type AuthSession, type AuthState, type AuthUser, AuthorizationError, Autocapture, type AutocaptureConfig, AvatarUpload, type AvatarUploadProps, type BaseDestinationConfig, BillingCard, type BillingCardProps, BillingSection, type BillingSectionProps, type Breadcrumb$1 as Breadcrumb, type BreadcrumbType, type CaptureExceptionOptions$1 as CaptureExceptionOptions, type CaptureMessageOptions$1 as CaptureMessageOptions, type CaptureResult, ChatBubble, type ChatBubbleProps, ChatInput, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, CheckoutButton, type CheckoutButtonProps, type ClickIds, type ConditionalStep, ConfigContext, type ConnectedAccount, type ConsentCategory$1 as ConsentCategory, ConsentContext, type ConsentContextValue, ConsentGuard, type ConsentGuardProps, ConsentPreferences, type ConsentPreferencesProps, ConsentScript, type ConsentScriptProps, type ConsentType, type ConsoleLog, type ConversionData, CookieBanner, type CookieBannerProps, type CoreWebVitalName, type CreateCronInput, type CreateCronResult, CreateOrganization, type CreateOrganizationProps, type CreatePermissionInput, type CreateRoleInput, CronBuilder, type CronBuilderProps, type CronSchedule, type CustomDestinationConfig, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTOCAPTURE_CONFIG, DEFAULT_ERROR_CONFIG, DEFAULT_FLAGS_CONFIG, DEFAULT_JOBS_CONFIG, DEFAULT_RETRY_DELAYS, DEFAULT_WEB_VITALS_CONFIG, type DLQOptions, type DataState, DatabaseContext, type DatabaseContextValue, type DeadClick, DeadClickDetector, type DestinationConfig, type ConsentCategory as DestinationConsentCategory, type DestinationPlatform, type DestinationRouter, type DestinationRouterConfig, DestinationRouterProvider, type DestinationRouterProviderProps, type DestinationType, type DeviceSession, type ElementData, EmailContext, type EmailContextValue, type EmailOptions, type EnabledProvider, type EnvironmentType, ErrorBoundary, type ErrorBoundaryFallbackProps, type ErrorBoundaryProps, type Breadcrumb as ErrorBreadcrumb, type ErrorCallback, type CaptureExceptionOptions as ErrorCaptureExceptionOptions, type CaptureMessageOptions as ErrorCaptureMessageOptions, type ErrorCode, type ErrorEvent, ErrorTracker, type ErrorTrackingConfig, type EvaluationContext, type EvaluationReason, type EvaluationResult, type EventCallback, EventViewer, type EventViewerProps, type ExceptionValue, type Experiment, type ExperimentExposure, ExperimentManager, FacebookPixel, type FacebookPixelProps, type FeatureFlag, type FeatureFlagContextValue, type FeatureFlagDefinition, FeatureFlagProvider, type FeatureFlagProviderProps, type FeatureFlagsConfig, FeatureFlagsProvider, type FeatureFlagsProviderProps, FeatureGate, type FeatureGateProps, FeatureValue, type FeatureValueProps, FeatureVariant, type FeatureVariantProps, FeedbackWidget, type FeedbackWidgetProps, FileUpload, type FileUploadProps, type FlagClientEvent, type FlagDefinition, FlagDevTools, type FlagDevToolsProps, type FlagOverrides, FlagStream, type FlagValue, type FlagVariant, type FlagValue$1 as FlagsValue, ForgotPassword, type ForgotPasswordFormState, type ForgotPasswordProps, type GA4DestinationConfig, type GTMDestinationConfig, GoogleAnalytics, type GoogleAnalyticsProps, GoogleConsentMode, type GoogleConsentModeConfig, type GoogleConsentModeProps, type GoogleConsentState, type GoogleConsentType, GoogleTagManager, type GoogleTagManagerProps, Hotjar, type HotjarProps, ImageUploader, type ImageUploaderProps, type InAppMessage, type InAppMessagePriority, type InAppMessageType, type InAppMessageWithReadStatus, type InboxPreferences, Intercom, type IntercomProps, type InviteInfo, InviteMember, type InviteMemberProps, type Invoice, InvoiceHistory, type InvoiceHistoryProps, type JobContext, type JobDefinition, type JobEvent, type Job$1 as JobInstance, JobList, type JobListProps, type JobOptions, type JobPayload, type JobPriority, type JobResult, JobScheduler, type JobSchedulerProps, type JobStep, JobsClient, type TasksConfig as JobsConfig, JobsContext, type JobsContextValue, type JobStatus$1 as JobsStatus, type KeyType, type KeyValidationResult, type KvRateLimitResult, type KvSetOptions, type KvZMember, LocalEvaluator, type LoginHistoryEntry, type LoopStep, type MarkerType, type MemberPermissionsResult, MembersList, type MembersListProps, type MetricRating, type MixpanelDestinationConfig, type MobileDevice, Modal, type ModalProps, ModelCard, type ModelCardProps, ModelGrid, type ModelGridProps, ModelSelector, type ModelSelectorProps, MonitoringContext, type MonitoringContextValue, type MonitoringLevel, NavigationTracker, NetworkError, type NetworkRequest, type NewAPIKey, NewsletterContext, type NewsletterContextValue, NewsletterForm, type NewsletterFormProps, NotFoundError, type Notification, NotificationBell, type NotificationBellProps, NotificationList, type NotificationListProps, NotificationSettings, type NotificationSettingsProps, OAUTH_PROVIDER_META, OAuthButton, type OAuthButtonProps, OAuthButtons, type OAuthButtonsProps, OAuthIcons, type OAuthProvider, type OAuthProviderInfo, type OAuthProviderWithIcon, OrDivider, type OrgRole, type OrganizationInvitation, OrganizationList, type OrganizationListProps, type OrganizationMember, OrganizationProfile, type OrganizationProfileProps, OrganizationSwitcher, type OrganizationSwitcherProps, type ParallelStep, type PasskeyInfo, type PaymentMethod, PaymentMethodManager, type PaymentMethodManagerProps, type Permission, type Plan, type ClickIds as PlatformClickIds, PlatformContext, type PlatformContextValue, type PostHogDestinationConfig, type PreSubmitResult, type PreferenceOption, PremiumOnly, PricingTable, type PricingTableProps, type PrivacyMode, type ProfileSection, Protect, type ProtectProps, ProtectedRoute, type PushPreferences, PushPrompt, type PushPromptProps, type QueryResult, type RageClick, RageClickDetector, RateLimitError, type RealtimeStatus, type RecorderState, type RecorderStatus, ReferralCard, type ReferralCardProps, type ReferralStats, type ReferrerData, ResetPassword, type ResetPasswordFormState, type ResetPasswordProps, type RetryDelayStrategy, type Role, DEFAULT_CONFIG as SESSION_REPLAY_DEFAULT_CONFIG, type SagaStep, type SamplingStrategy, type ScheduleJobInput as ScheduleTaskInput, type ScheduleJobResult as ScheduleTaskResult, type ScheduledJob, type ScriptManagerContextValue, ScriptManagerProvider, type ScriptQueueItem, type ScriptStrategy, ScrollThrashingDetector, SdkAuthContext, type SdkAuthContextValue, type SdkConnectedAccount, type SdkLoginHistoryEntry, type SdkPasskeyInfo, type SdkPasswordStatus, type SdkSecurityAlert, type SdkSecurityAlertsResult, type SdkTwoFactorStatus, type SdkUserProfile, SecurityContext, type SecurityContextValue, type SecurityFactor, type SecurityGrade, type SecurityPriority, type SecurityRecommendation, type SecurityScoreResult, SecuritySettings, type SecuritySettingsProps, type SegmentDestinationConfig, type SessionData, type SessionMarker, type SessionMetadata, SessionRecorder, type SessionReplayConfig, type SessionSummary, SignIn, SignInForm, type SignInFormProps, type SignInFormState, type SignInMethod, type SignInOptions, type SignInProps, type SignInStep, type SignInWithOAuthOptions, SignUp, SignUpForm, type SignUpFormProps, type SignUpFormState, type SignUpProps, type SignUpStep, type SignUpSubmitResult, SignedIn, SignedOut, SimpleChart, type SimpleChartProps, type AnalyticsEvent as SmartAnalyticsEvent, SpeedInsights, type SpeedInsightsProps, type StackFrame, type StandardRole, StatsCard, type StatsCardProps, StatsGrid, type StatsGridProps, type StepContext, StorageContext, type StorageContextValue, type StorageFile, type StreamMessage, type Subscriber, SubscriberPreferences, type SubscriberPreferencesProps, type SubscriberStatus, type Subscription, type SubworkflowStep, type SylphxClientConfig, type SylphxDestinationConfig, SylphxError, SylphxErrorBoundary, type SylphxErrorBoundaryProps, type SylphxErrorCode, SylphxProvider, type SylphxProviderProps, type TargetingCondition, type TargetingOperator, type TargetingRule, type Task, type TaskRunStatus, TaskScheduler, type TaskSchedulerProps, type TaskStatus, type TaskStatusFilter, type ThemeVariables, type TimeSeriesData, type TrackOptions, type TwoFactorSetupResult, type TwoFactorStatus, UnsubscribeConfirm, type UnsubscribeConfirmProps, type UpdateRoleInput, type UploadCallback, type UploadOptions, type UploadResult$1 as UploadResult, type UsageItem, UsageOverview, type UsageOverviewProps, type UseAIReturn, type UseAchievementsReturn, type UseAnalyticsQueryOptions, type UseAnalyticsQueryReturn, type UseAnalyticsReturn$1 as UseAnalyticsReturn, type UseAuthReturn, type UseBillingReturn, type UseChatOptions, type UseChatReturn, type UseCombinedMonitoringOptions, type UseCompletionOptions, type UseCompletionReturn, type UseConsentCheckOptions, type UseConsentCheckReturn, type UseConsentGateOptions, type UseConsentGateReturn, type UseConsentReturn, type UseConversionTrackingReturn, type UseDestinationRouterOptions, type UseDestinationRouterReturn, type UseEmailReturn, type UseEmbeddingOptions, type UseEmbeddingReturn, type UseEnhancedErrorTrackingOptions, type UseEnhancedErrorTrackingReturn, type UseErrorBoundaryOptions, type UseErrorTrackingReturn, type UseFeatureFlagOptions, type UseFeatureFlagReturn, type UseFileUploadOptions, type UseFileUploadReturn, type UseFlagStatusOptions, type UseFlagStatusResult, type UseFeatureFlagsReturn as UseFlagsReturn, type UseForgotPasswordFormOptions, type UseForgotPasswordFormReturn, type UseGlobalErrorHandlerOptions, type UseHasPermissionReturn, type UseInboxReturn, type UseKvOptions, type UseKvReturn, type UseLeaderboardReturn, type UseMemberPermissionsReturn, type UseMobilePushReturn, type UseModelsOptions, type UseModelsReturn, type UseNewsletterReturn, type UseNotificationsReturn, type UseOAuthProvidersReturn, type UseOrganizationReturn, type UsePermissionsReturn, type UseRealtimeChannelsOptions, type UseRealtimeOptions, type UseRealtimeReturn, type UseReferralReturn, type UseResetPasswordFormOptions, type UseResetPasswordFormReturn, type UseRolesReturn, type UseSafeAchievementsReturn, type UseSafeAnalyticsReturn, type UseSafeAuthReturn, type UseSafeBillingReturn, type UseSafeConsentReturn, type UseSafeLeaderboardReturn, type UseSafeStreakReturn, type UseSafeUserReturn, type UseSearchOptions, type UseSearchReturn, type UseSessionReplayOptions, type UseSessionReplayReturn, type UseSessionReturn, type UseSignInFormOptions, type UseSignInFormReturn, type UseSignUpFormOptions, type UseSignUpFormReturn, type UseAnalyticsReturn as UseSmartAnalyticsReturn, type UseStorageReturn, type UseStreakReturn, type UseSubscriberFormOptions, type UseSubscriberFormReturn, type UseSylphxReturn, type UseTaskRunOptions, type UseTaskRunResult, type UseTasksReturn, type UseUploadResult, type UseUserReturn, type UseWebAnalyticsReturn, type UseWebVitalOptions, type UseWebVitalReturn, type UseWebVitalsAnalyticsOptions, type UseWebVitalsOptions, type UseWebVitalsReturn, type UseWebhookDeliveriesOptions, type UseWebhookDeliveriesReturn, type UseWebhookStatsReturn, type UseWebhooksReturn, UserButton, type UserButtonProps, type UserConsent, UserContext, type UserContextValue, UserProfile, type UserProfileProps, type UtmParams, ValidationError, VerifyEmail, type VerifyEmailProps, type VitalReportPayload, WEB_VITALS_THRESHOLDS, type WaitStep, WebAnalytics, type WebAnalyticsProps, type WebVitalAttribution, type WebVitalMetric, type WebVitalName, type WebVitalsConfig, type WebVitalsReport, type Webhook, type WebhookDelivery, WebhookDeliveryLog, type WebhookDeliveryLogProps, WebhookManager, type WebhookManagerProps, WebhooksContext, type WebhooksContextValue, type WithSessionReplayProps, type Workflow, WorkflowBuilder, type WorkflowDefinition, type WorkflowEvent, type WorkflowOptions, type WorkflowStep, addBreadcrumb as addErrorBreadcrumb, analyzeReferrer, baseStyles, buildElementData, calculateExperimentDuration, calculateSampleSize, checkCoreWebVitals, clearBreadcrumbs as clearErrorBreadcrumbs, conditional, conditionalStyle, createDestinationRouter, createExperiment, createFlagStream, createJobsClient, createStyles, createWorkflow, darkTheme, defaultTheme, delay, detectEnvironment, detectKeyType, detectSensitiveFields, enableAutoCapture, fanOut, fetchFlags, generateElementName, generateEventName, generatePrivacyReport, getAnalyticsTracker, getBucket, getCookieNamespace, getBreadcrumbs as getErrorBreadcrumbs, getEvaluator, getExperimentManager, getMetric, getPrivacyOptions, getRecorder, getTracker, getUserBucket, getWebVitalsReport, initAnalytics, initAutocapture, initErrorTracking, initFeatureFlags, initNavigationTracker, initWebVitals, injectGlobalStyles, isAppId, isDevelopmentKey, isDevelopmentRuntime, isProductionKey, isSecretKey, isSylphxError, isValidRedirectUrl, isWebVitalsInitialized, job, jobIf, loop, mergeStyles, murmurHash3, oauthProviderIcon, parallel, pollFlags, providerBrandColor, providerDisplayName, resetAnalyticsTracker, resetEvaluator, resetRecorder, resetTracker, resetWebVitals, resolveOAuthProviderIcon, resolveOAuthProviderMeta, safeRedirect, saga, sanitizeForLogging, sanitizeUrl as sanitizeReplayUrl, sanitizeUrl$1 as sanitizeUrl, selectVariant, sequence, sleepUntil, subworkflow, toSylphxError, useAI, useAIContext, useAchievements, useAnalytics, useAnalyticsQuery, useAppMetadata, useAuth, useBilling, useChat, useCombinedMonitoring, useCompletion, useComponentTracking, useConfig, useOAuthProviders as useConfigOAuthProviders, useConsent, useConsentCheck, useConsentContext, useConsentGate, useConsentTypes, useConversionTracking, useDatabaseContext, useDestinationRouter, useEmail, useEmailContext, useEmbedding, useEnhancedErrorTracking, useErrorBoundary, useErrorTracking, useExperiment, useFeatureFlag, useFeatureFlagDefinitions, useFeatureFlags$1 as useFeatureFlags, useFeatureTracking, useFileUpload, useFlag, useFlagEvaluation, useFlagJSON, useFlagNumber, useFlagOverrides, useFlagStatus, useFlagString, useFlagStatus as useFlagWithStatus, useFeatureFlags as useFlags, useFlagsReady, useForgotPasswordForm, useFormTracking, useGlobalErrorHandler, useGoogleConsentMode, useHasPermission, useInbox, useIsInTreatment, useIsInVariant, useKv, useLeaderboard, useMemberPermissions, useMobilePush, useModal, useModels, useMonitoringContext, useNewsletter, useNewsletterContext, useNotifications, useOAuthProviders$1 as useOAuthProviders, useOrganization, usePageView, usePermissions, usePlans, useProtect, useRealtime, useRealtimeChannels, useReferral, useResetPasswordForm, useRoles, useRouterContext, useSafeAchievements, useSafeAnalytics, useSafeAuth, useSafeBilling, useSafeConsent, useSafeLeaderboard, useSafeStreak, useSafeUser, useScriptManager, useSdkAuthContext, useSearch, useSecurityContext, useSession, useSessionReplay, useSessionReplayErrorMarker, useSignInForm, useSignUpForm, useAnalyticsHook as useSmartAnalytics, useStorage, useStorageContext, useStreak, useSubscriberForm, useSylphx, useTaskRun, useTasks, useTasksContext, useTimeTracking, useUpload, useUser, useUserContext, useWebAnalytics, useWebVital, useWebVitals, useWebVitalsAnalytics, useWebhookDeliveries, useWebhookStats, useWebhooks, useWebhooksContext, validateAndSanitizeAppId, validateAndSanitizeKey, validateAndSanitizeSecretKey, validateAppId, validateKey, validateSecretKey, validateWorkflow, wait, withRetry, withSessionReplay, withTimeout };
|
|
14150
|
+
export { AIContext, type AIContextValue, type APIKey, APIKeyManager, type APIKeyManagerProps, AccountSection, type AccountSectionProps, type AdditionalField, AdminOnly, type AmplitudeDestinationConfig, type AnalyticsConfig, AnalyticsDashboard, type AnalyticsDashboardProps, type AnalyticsDataPoint, type DeviceContext as AnalyticsDeviceContext, type AnalyticsEvent$1 as AnalyticsEvent, type EventProperties as AnalyticsEventProperties, type PageContext as AnalyticsPageContext, AnalyticsProvider, type AnalyticsProviderProps, type AnalyticsQuery, type AnalyticsQueryResult, type AnalyticsStat, AnalyticsTracker, type UserProperties as AnalyticsUserProperties, type AppConfig, type AppMetadata, type AsyncState, type AttributionData, AuthContext, type AuthContextValue, AuthLoading, type AuthLoginResult, type AuthRegisterResult, type AuthSession, type AuthState, type AuthUser, AuthorizationError, Autocapture, type AutocaptureConfig, AvatarUpload, type AvatarUploadProps, type BaseDestinationConfig, BillingCard, type BillingCardProps, BillingSection, type BillingSectionProps, type Breadcrumb$1 as Breadcrumb, type BreadcrumbType, type CaptureExceptionOptions$1 as CaptureExceptionOptions, type CaptureMessageOptions$1 as CaptureMessageOptions, type CaptureResult, ChatBubble, type ChatBubbleProps, ChatInput, type ChatInputProps, ChatInterface, type ChatInterfaceProps, type ChatMessage, CheckoutButton, type CheckoutButtonProps, type ClickIds, type ConditionalStep, ConfigContext, type ConnectedAccount, type ConsentCategory$1 as ConsentCategory, ConsentContext, type ConsentContextValue, ConsentGuard, type ConsentGuardProps, ConsentPreferences, type ConsentPreferencesProps, ConsentScript, type ConsentScriptProps, type ConsentType, type ConsoleLog, type ConversionData, CookieBanner, type CookieBannerProps, type CoreWebVitalName, type CreateCronInput, type CreateCronResult, CreateOrganization, type CreateOrganizationProps, type CreatePermissionInput, type CreateRoleInput, CronBuilder, type CronBuilderProps, type CronSchedule, type CustomDestinationConfig, DEFAULT_ANALYTICS_CONFIG, DEFAULT_AUTOCAPTURE_CONFIG, DEFAULT_ERROR_CONFIG, DEFAULT_FLAGS_CONFIG, DEFAULT_JOBS_CONFIG, DEFAULT_RETRY_DELAYS, DEFAULT_WEB_VITALS_CONFIG, type DLQOptions, type DataState, DatabaseContext, type DatabaseContextValue, type DeadClick, DeadClickDetector, type DestinationConfig, type ConsentCategory as DestinationConsentCategory, type DestinationPlatform, type DestinationRouter, type DestinationRouterConfig, DestinationRouterProvider, type DestinationRouterProviderProps, type DestinationType, type DeviceSession, type ElementData, EmailContext, type EmailContextValue, type EmailOptions, type EnabledProvider, type EnvironmentType, ErrorBoundary, type ErrorBoundaryFallbackProps, type ErrorBoundaryProps, type Breadcrumb as ErrorBreadcrumb, type ErrorCallback, type CaptureExceptionOptions as ErrorCaptureExceptionOptions, type CaptureMessageOptions as ErrorCaptureMessageOptions, type ErrorCode, type ErrorEvent, ErrorTracker, type ErrorTrackingConfig, type EvaluationContext, type EvaluationReason, type EvaluationResult, type EventCallback, EventViewer, type EventViewerProps, type ExceptionValue, type Experiment, type ExperimentExposure, ExperimentManager, FacebookPixel, type FacebookPixelProps, type FeatureFlag, type FeatureFlagContextValue, type FeatureFlagDefinition, FeatureFlagProvider, type FeatureFlagProviderProps, type FeatureFlagsConfig, FeatureFlagsProvider, type FeatureFlagsProviderProps, FeatureGate, type FeatureGateProps, FeatureValue, type FeatureValueProps, FeatureVariant, type FeatureVariantProps, FeedbackWidget, type FeedbackWidgetProps, FileUpload, type FileUploadProps, type FlagClientEvent, type FlagDefinition, FlagDevTools, type FlagDevToolsProps, type FlagOverrides, FlagStream, type FlagValue, type FlagVariant, type FlagValue$1 as FlagsValue, ForgotPassword, type ForgotPasswordFormState, type ForgotPasswordProps, type GA4DestinationConfig, type GTMDestinationConfig, GoogleAnalytics, type GoogleAnalyticsProps, GoogleConsentMode, type GoogleConsentModeConfig, type GoogleConsentModeProps, type GoogleConsentState, type GoogleConsentType, GoogleTagManager, type GoogleTagManagerProps, Hotjar, type HotjarProps, ImageUploader, type ImageUploaderProps, type InAppMessage, type InAppMessagePriority, type InAppMessageType, type InAppMessageWithReadStatus, type InboxPreferences, Intercom, type IntercomProps, type InviteInfo, InviteMember, type InviteMemberProps, type Invoice, InvoiceHistory, type InvoiceHistoryProps, type JobContext, type JobDefinition, type JobEvent, type Job$1 as JobInstance, JobList, type JobListProps, type JobOptions, type JobPayload, type JobPriority, type JobResult, JobScheduler, type JobSchedulerProps, type JobStep, JobsClient, type TasksConfig as JobsConfig, JobsContext, type JobsContextValue, type JobStatus$1 as JobsStatus, type KeyType, type KeyValidationResult, type KvRateLimitResult, type KvSetOptions, type KvZMember, type ListFilesOptions, LocalEvaluator, type LoginHistoryEntry, type LoopStep, type MarkerType, type MemberPermissionsResult, MembersList, type MembersListProps, type MetricRating, type MixpanelDestinationConfig, type MobileDevice, Modal, type ModalProps, ModelCard, type ModelCardProps, ModelGrid, type ModelGridProps, ModelSelector, type ModelSelectorProps, MonitoringContext, type MonitoringContextValue, type MonitoringLevel, NavigationTracker, NetworkError, type NetworkRequest, type NewAPIKey, NewsletterContext, type NewsletterContextValue, NewsletterForm, type NewsletterFormProps, NotFoundError, type Notification, NotificationBell, type NotificationBellProps, NotificationList, type NotificationListProps, NotificationSettings, type NotificationSettingsProps, OAUTH_PROVIDER_META, OAuthButton, type OAuthButtonProps, OAuthButtons, type OAuthButtonsProps, OAuthIcons, type OAuthProvider, type OAuthProviderInfo, type OAuthProviderWithIcon, OrDivider, type OrgRole, type OrganizationInvitation, OrganizationList, type OrganizationListProps, type OrganizationMember, OrganizationProfile, type OrganizationProfileProps, OrganizationSwitcher, type OrganizationSwitcherProps, type ParallelStep, type PasskeyInfo, type PaymentMethod, PaymentMethodManager, type PaymentMethodManagerProps, type Permission, type Plan, type ClickIds as PlatformClickIds, PlatformContext, type PlatformContextValue, type PostHogDestinationConfig, type PreSubmitResult, type PreferenceOption, PremiumOnly, PricingTable, type PricingTableProps, type PrivacyMode, type ProfileSection, Protect, type ProtectProps, ProtectedRoute, type PushPreferences, PushPrompt, type PushPromptProps, type QueryResult, type RageClick, RageClickDetector, RateLimitError, type RealtimeStatus, type RecorderState, type RecorderStatus, ReferralCard, type ReferralCardProps, type ReferralStats, type ReferrerData, ResetPassword, type ResetPasswordFormState, type ResetPasswordProps, type RetryDelayStrategy, type Role, DEFAULT_CONFIG as SESSION_REPLAY_DEFAULT_CONFIG, type SagaStep, type SamplingStrategy, type ScheduleJobInput as ScheduleTaskInput, type ScheduleJobResult as ScheduleTaskResult, type ScheduledJob, type ScriptManagerContextValue, ScriptManagerProvider, type ScriptQueueItem, type ScriptStrategy, ScrollThrashingDetector, SdkAuthContext, type SdkAuthContextValue, type SdkConnectedAccount, type SdkLoginHistoryEntry, type SdkPasskeyInfo, type SdkPasswordStatus, type SdkSecurityAlert, type SdkSecurityAlertsResult, type SdkTwoFactorStatus, type SdkUserProfile, SecurityContext, type SecurityContextValue, type SecurityFactor, type SecurityGrade, type SecurityPriority, type SecurityRecommendation, type SecurityScoreResult, SecuritySettings, type SecuritySettingsProps, type SegmentDestinationConfig, type SessionData, type SessionMarker, type SessionMetadata, SessionRecorder, type SessionReplayConfig, type SessionSummary, SignIn, SignInForm, type SignInFormProps, type SignInFormState, type SignInMethod, type SignInOptions, type SignInProps, type SignInStep, type SignInWithOAuthOptions, SignUp, SignUpForm, type SignUpFormProps, type SignUpFormState, type SignUpProps, type SignUpStep, type SignUpSubmitResult, SignedIn, SignedOut, SimpleChart, type SimpleChartProps, type AnalyticsEvent as SmartAnalyticsEvent, SpeedInsights, type SpeedInsightsProps, type StackFrame, type StandardRole, StatsCard, type StatsCardProps, StatsGrid, type StatsGridProps, type StepContext, type StreamMessage, type Subscriber, SubscriberPreferences, type SubscriberPreferencesProps, type SubscriberStatus, type Subscription, type SubworkflowStep, type SylphxClientConfig, type SylphxDestinationConfig, SylphxError, SylphxErrorBoundary, type SylphxErrorBoundaryProps, type SylphxErrorCode, SylphxProvider, type SylphxProviderProps, type TargetingCondition, type TargetingOperator, type TargetingRule, type Task, type TaskRunStatus, TaskScheduler, type TaskSchedulerProps, type TaskStatus, type TaskStatusFilter, type ThemeVariables, type TimeSeriesData, type TrackOptions, type TwoFactorSetupResult, type TwoFactorStatus, UnsubscribeConfirm, type UnsubscribeConfirmProps, type UpdateRoleInput, type UploadCallback, type UploadCreateOptions, type UsageItem, UsageOverview, type UsageOverviewProps, type UseAIReturn, type UseAchievementsReturn, type UseAnalyticsQueryOptions, type UseAnalyticsQueryReturn, type UseAnalyticsReturn$1 as UseAnalyticsReturn, type UseAuthReturn, type UseBillingReturn, type UseChatOptions, type UseChatReturn, type UseCombinedMonitoringOptions, type UseCompletionOptions, type UseCompletionReturn, type UseConsentCheckOptions, type UseConsentCheckReturn, type UseConsentGateOptions, type UseConsentGateReturn, type UseConsentReturn, type UseConversionTrackingReturn, type UseDestinationRouterOptions, type UseDestinationRouterReturn, type UseEmailReturn, type UseEmbeddingOptions, type UseEmbeddingReturn, type UseEnhancedErrorTrackingOptions, type UseEnhancedErrorTrackingReturn, type UseErrorBoundaryOptions, type UseErrorTrackingReturn, type UseFeatureFlagOptions, type UseFeatureFlagReturn, type UseFileListReturn, type UseFileReturn, type UseFlagStatusOptions, type UseFlagStatusResult, type UseFeatureFlagsReturn as UseFlagsReturn, type UseForgotPasswordFormOptions, type UseForgotPasswordFormReturn, type UseGlobalErrorHandlerOptions, type UseHasPermissionReturn, type UseInboxReturn, type UseKvOptions, type UseKvReturn, type UseLeaderboardReturn, type UseMemberPermissionsReturn, type UseMobilePushReturn, type UseModelsOptions, type UseModelsReturn, type UseNewsletterReturn, type UseNotificationsReturn, type UseOAuthProvidersReturn, type UseOrganizationReturn, type UsePermissionsReturn, type UseRealtimeChannelsOptions, type UseRealtimeOptions, type UseRealtimeReturn, type UseReferralReturn, type UseResetPasswordFormOptions, type UseResetPasswordFormReturn, type UseRolesReturn, type UseSafeAchievementsReturn, type UseSafeAnalyticsReturn, type UseSafeAuthReturn, type UseSafeBillingReturn, type UseSafeConsentReturn, type UseSafeLeaderboardReturn, type UseSafeStreakReturn, type UseSafeUserReturn, type UseSearchOptions, type UseSearchReturn, type UseSessionReplayOptions, type UseSessionReplayReturn, type UseSessionReturn, type UseSignInFormOptions, type UseSignInFormReturn, type UseSignUpFormOptions, type UseSignUpFormReturn, type UseAnalyticsReturn as UseSmartAnalyticsReturn, type UseStorageReturn, type UseStreakReturn, type UseSubscriberFormOptions, type UseSubscriberFormReturn, type UseSylphxReturn, type UseTaskRunOptions, type UseTaskRunResult, type UseTasksReturn, type UseUserReturn, type UseWebAnalyticsReturn, type UseWebVitalOptions, type UseWebVitalReturn, type UseWebVitalsAnalyticsOptions, type UseWebVitalsOptions, type UseWebVitalsReturn, type UseWebhookDeliveriesOptions, type UseWebhookDeliveriesReturn, type UseWebhookStatsReturn, type UseWebhooksReturn, UserButton, type UserButtonProps, type UserConsent, UserContext, type UserContextValue, UserProfile, type UserProfileProps, type UtmParams, ValidationError, VerifyEmail, type VerifyEmailProps, type VitalReportPayload, WEB_VITALS_THRESHOLDS, type WaitStep, WebAnalytics, type WebAnalyticsProps, type WebVitalAttribution, type WebVitalMetric, type WebVitalName, type WebVitalsConfig, type WebVitalsReport, type Webhook, type WebhookDelivery, WebhookDeliveryLog, type WebhookDeliveryLogProps, WebhookManager, type WebhookManagerProps, WebhooksContext, type WebhooksContextValue, type WithSessionReplayProps, type Workflow, WorkflowBuilder, type WorkflowDefinition, type WorkflowEvent, type WorkflowOptions, type WorkflowStep, addBreadcrumb as addErrorBreadcrumb, analyzeReferrer, baseStyles, buildElementData, calculateExperimentDuration, calculateSampleSize, checkCoreWebVitals, clearBreadcrumbs as clearErrorBreadcrumbs, conditional, conditionalStyle, createDestinationRouter, createExperiment, createFlagStream, createJobsClient, createStyles, createWorkflow, darkTheme, defaultTheme, delay, detectEnvironment, detectKeyType, detectSensitiveFields, enableAutoCapture, fanOut, fetchFlags, generateElementName, generateEventName, generatePrivacyReport, getAnalyticsTracker, getBucket, getCookieNamespace, getBreadcrumbs as getErrorBreadcrumbs, getEvaluator, getExperimentManager, getMetric, getPrivacyOptions, getRecorder, getTracker, getUserBucket, getWebVitalsReport, initAnalytics, initAutocapture, initErrorTracking, initFeatureFlags, initNavigationTracker, initWebVitals, injectGlobalStyles, isAppId, isDevelopmentKey, isDevelopmentRuntime, isProductionKey, isSecretKey, isSylphxError, isValidRedirectUrl, isWebVitalsInitialized, job, jobIf, loop, mergeStyles, murmurHash3, oauthProviderIcon, parallel, pollFlags, providerBrandColor, providerDisplayName, resetAnalyticsTracker, resetEvaluator, resetRecorder, resetTracker, resetWebVitals, resolveOAuthProviderIcon, resolveOAuthProviderMeta, safeRedirect, saga, sanitizeForLogging, sanitizeUrl as sanitizeReplayUrl, sanitizeUrl$1 as sanitizeUrl, selectVariant, sequence, sleepUntil, subworkflow, toSylphxError, useAI, useAIContext, useAchievements, useAnalytics, useAnalyticsQuery, useAppMetadata, useAuth, useBilling, useChat, useCombinedMonitoring, useCompletion, useComponentTracking, useConfig, useOAuthProviders as useConfigOAuthProviders, useConsent, useConsentCheck, useConsentContext, useConsentGate, useConsentTypes, useConversionTracking, useDatabaseContext, useDestinationRouter, useEmail, useEmailContext, useEmbedding, useEnhancedErrorTracking, useErrorBoundary, useErrorTracking, useExperiment, useFeatureFlag, useFeatureFlagDefinitions, useFeatureFlags$1 as useFeatureFlags, useFeatureTracking, useFile, useFileList, useFlag, useFlagEvaluation, useFlagJSON, useFlagNumber, useFlagOverrides, useFlagStatus, useFlagString, useFlagStatus as useFlagWithStatus, useFeatureFlags as useFlags, useFlagsReady, useForgotPasswordForm, useFormTracking, useGlobalErrorHandler, useGoogleConsentMode, useHasPermission, useInbox, useIsInTreatment, useIsInVariant, useKv, useLeaderboard, useMemberPermissions, useMobilePush, useModal, useModels, useMonitoringContext, useNewsletter, useNewsletterContext, useNotifications, useOAuthProviders$1 as useOAuthProviders, useOrganization, usePageView, usePermissions, usePlans, useProtect, useRealtime, useRealtimeChannels, useReferral, useResetPasswordForm, useRoles, useRouterContext, useSafeAchievements, useSafeAnalytics, useSafeAuth, useSafeBilling, useSafeConsent, useSafeLeaderboard, useSafeStreak, useSafeUser, useScriptManager, useSdkAuthContext, useSearch, useSecurityContext, useSession, useSessionReplay, useSessionReplayErrorMarker, useSignInForm, useSignUpForm, useAnalyticsHook as useSmartAnalytics, useStorage, useStreak, useSubscriberForm, useSylphx, useTaskRun, useTasks, useTasksContext, useTimeTracking, useUser, useUserContext, useWebAnalytics, useWebVital, useWebVitals, useWebVitalsAnalytics, useWebhookDeliveries, useWebhookStats, useWebhooks, useWebhooksContext, validateAndSanitizeAppId, validateAndSanitizeKey, validateAndSanitizeSecretKey, validateAppId, validateKey, validateSecretKey, validateWorkflow, wait, withRetry, withSessionReplay, withTimeout };
|