@veltdev/types-dev 5.0.2-beta.37 → 5.0.2-beta.39

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.
@@ -408,6 +408,16 @@ export declare class Snippyly {
408
408
  */
409
409
  disableSafeEval: () => void;
410
410
 
411
+ /**
412
+ * Enable Firestore persistent cache for offline support.
413
+ */
414
+ enableFirestorePersistentCache: (config?: { ha?: boolean }) => void;
415
+
416
+ /**
417
+ * Disable Firestore persistent cache.
418
+ */
419
+ disableFirestorePersistentCache: (config?: { ha?: boolean }) => void;
420
+
411
421
  /**
412
422
  * To reset the button toggle map.
413
423
  */
@@ -51,6 +51,7 @@ export declare class Config {
51
51
  advancedQueriesDisabled?: boolean;
52
52
  /**
53
53
  * The domain of the API proxy.
54
+ * @deprecated Use `proxyConfig.apiHost` instead.
54
55
  */
55
56
  apiProxyDomain?: string;
56
57
  /**
@@ -61,6 +62,26 @@ export declare class Config {
61
62
  * Default: true
62
63
  */
63
64
  globalStyles?: boolean;
65
+ /**
66
+ * Configuration for routing all traffic through reverse proxies.
67
+ */
68
+ proxyConfig?: ProxyConfig;
69
+ }
70
+ export interface ProxyConfig {
71
+ /** Custom host for the Velt CDN (e.g., 'cdn-proxy.customer.com') */
72
+ cdnHost?: string;
73
+ /** Custom host for the Velt API (e.g., 'api-proxy.customer.com') */
74
+ apiHost?: string;
75
+ /** Custom host for Firestore (e.g., 'firestore-proxy.customer.com') */
76
+ v2DbHost?: string;
77
+ /** Custom host for Firebase RTDB (e.g., 'rtdb-proxy.customer.com'). Replaces the firebaseio.com domain in all RTDB URLs. */
78
+ v1DbHost?: string;
79
+ /** Custom host for Firebase Storage (e.g., 'storage-proxy.customer.com'). Replaces firebasestorage.googleapis.com. */
80
+ storageHost?: string;
81
+ /** Custom host for Firebase Auth (e.g., 'auth-proxy.customer.com'). Replaces identitytoolkit.googleapis.com and securetoken.googleapis.com. */
82
+ authHost?: string;
83
+ /** Force long-polling for Firestore and RTDB instead of WebSocket. Default: false (WebSocket). */
84
+ forceLongPolling?: boolean;
64
85
  }
65
86
  export interface ExtendedFirebaseOptions extends FirebaseOptions {
66
87
  storeDbId: string;
@@ -16,6 +16,8 @@ export interface SetDocumentsRequestOptions {
16
16
  locationId?: string;
17
17
  rootDocumentId?: string;
18
18
  context?: SetDocumentsContext;
19
+ debounceTime?: number;
20
+ optimisticPermissions?: boolean;
19
21
  }
20
22
  export interface UpdateDocumentsRequest<T = unknown> {
21
23
  organizationId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/types-dev",
3
- "version": "5.0.2-beta.37",
3
+ "version": "5.0.2-beta.39",
4
4
  "description": "Velt is an SDK to add collaborative features to your product within minutes. Example: Comments like Figma, Frame.io, Google docs or sheets, Recording like Loom, Huddles like Slack and much more.",
5
5
  "homepage": "https://velt.dev",
6
6
  "keywords": [