utopia-ui 3.0.93 → 3.0.95

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 CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { GeoJsonObject, Geometry, Point } from 'geojson';
3
3
  export { Point } from 'geojson';
4
+ import { I as ItemsApi } from './ItemsApi.d-D5bfsxpo.js';
4
5
  import * as react from 'react';
5
6
  import { Key } from 'react';
6
7
  export { default as SVG } from 'react-inlinesvg';
@@ -71,18 +72,6 @@ declare function UtopiaMap({ height, width, center, zoom, children, geo, showFil
71
72
  expandLayerControl?: boolean;
72
73
  }): react_jsx_runtime.JSX.Element;
73
74
 
74
- /**
75
- * @category Types
76
- */
77
- interface ItemsApi<T> {
78
- getItems(): Promise<T[]>
79
- getItem?(id: string): Promise<T>
80
- createItem?(item: T): Promise<T>
81
- updateItem?(item: Partial<T>): Promise<T>
82
- deleteItem?(id: string): Promise<boolean>
83
- collectionName?: string
84
- }
85
-
86
75
  interface MarkerIcon {
87
76
  image: string
88
77
  size?: number
@@ -451,23 +440,6 @@ declare function RequestPasswordPage({ resetUrl }: {
451
440
  */
452
441
  declare function SetNewPasswordPage(): react_jsx_runtime.JSX.Element;
453
442
 
454
- /**
455
- * @category Profile
456
- */
457
- declare function UserSettings(): react_jsx_runtime.JSX.Element;
458
-
459
- /**
460
- * @category Profile
461
- */
462
- declare function ProfileView({ attestationApi }: {
463
- attestationApi?: ItemsApi<any>;
464
- }): react_jsx_runtime.JSX.Element;
465
-
466
- /**
467
- * @category Profile
468
- */
469
- declare function ProfileForm(): react_jsx_runtime.JSX.Element;
470
-
471
443
  /**
472
444
  * @category Gaming
473
445
  */
@@ -644,4 +616,4 @@ declare global {
644
616
  }
645
617
  }
646
618
 
647
- export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, type ItemsApi, Layer, type LayerProps, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, type Permission, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, ProfileForm, ProfileView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, type Tag, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UserSettings, UtopiaMap };
619
+ export { AppShell, type AssetsApi, AttestationForm, AuthProvider, CardPage, Content, type Item, ItemsApi, Layer, type LayerProps, LoginPage, MapOverlayPage, MarketView, Modal, OverlayItemsIndexPage, type Permission, Permissions, PopupButton, PopupCheckboxInput, PopupForm, PopupStartEndInput, PopupTextAreaInput, PopupTextInput, PopupView, Quests, RequestPasswordPage, SelectUser, SetNewPasswordPage, SideBar, SignupPage, StartEndView, type Tag, Tags, TextAreaInput, TextInput, TextView, TitleCard, type UserApi, type UserItem, UtopiaMap };