@wippy-fe/types-global-proxy 0.0.38 → 0.0.40

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.
Files changed (2) hide show
  1. package/index.d.ts +24 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -111,6 +111,12 @@ type HostFloatingDef = HostOverlayContent & HostOverlayBase & {
111
111
  minimizable?: boolean;
112
112
  maximizable?: boolean;
113
113
  zIndex?: number;
114
+ /**
115
+ * Window chrome toggle (default `true`). Set `false` for a bare,
116
+ * content-only "flap" — no header/close/grips/drag/border. See
117
+ * `FloatingPanelDef.chrome` in `@wippy-fe/layout`.
118
+ */
119
+ chrome?: boolean;
114
120
  };
115
121
  /**
116
122
  * Modal def — centered overlay. Size is either a single `ModalSize`
@@ -499,6 +505,23 @@ interface AppEnv {
499
505
  APP_WEBSOCKET_URL: string;
500
506
  }
501
507
  type ThemeMode = 'auto' | 'light' | 'dark';
508
+ interface TanstackQueryOptions {
509
+ refetchOnWindowFocus?: boolean;
510
+ refetchOnReconnect?: boolean;
511
+ refetchOnMount?: boolean;
512
+ staleTime?: number;
513
+ gcTime?: number;
514
+ retry?: boolean | number;
515
+ refetchInterval?: number | false;
516
+ }
517
+ interface TanstackConfig {
518
+ /** Overrides the in-code global query defaults for every request. */
519
+ default?: TanstackQueryOptions;
520
+ /** Overrides layered over `default` for single-resource (content) queries. */
521
+ content?: TanstackQueryOptions;
522
+ /** Overrides layered over `default` for list / navigation queries. */
523
+ lists?: TanstackQueryOptions;
524
+ }
502
525
  interface AppConfig {
503
526
  $schema: string;
504
527
  auth: AppAuthConfig;
@@ -506,6 +529,7 @@ interface AppConfig {
506
529
  axiosDefaults?: Partial<AxiosDefaults>;
507
530
  routePrefix?: string;
508
531
  apiRoutes?: ApiRoutesOverride;
532
+ tanstack?: TanstackConfig;
509
533
  themeMode?: ThemeMode;
510
534
  theming: {
511
535
  global?: ThemingScope;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wippy-fe/types-global-proxy",
3
- "version": "0.0.38",
3
+ "version": "0.0.40",
4
4
  "description": "Global type declarations for Wippy iframe proxy (window.getWippyApi, $W, etc.)",
5
5
  "license": "UNLICENSED",
6
6
  "types": "index.d.ts",