accomadesc 0.0.7 → 0.0.8

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.
@@ -13,7 +13,7 @@
13
13
  import AccoDescription from './AccoDescription.svelte';
14
14
 
15
15
  import {
16
- type Section,
16
+ type Section as SectionI,
17
17
  type I18nFacade,
18
18
  isAmenitiesCore,
19
19
  isLeafletMap,
@@ -40,7 +40,7 @@
40
40
  formatFunc,
41
41
  currentLang,
42
42
  calendarTranslation,
43
- }: Section & I18nFacade = $props();
43
+ }: SectionI & I18nFacade = $props();
44
44
 
45
45
  let translatedHeader = $derived(header && translateFunc ? translateFunc(header) : '');
46
46
 
@@ -1,4 +1,4 @@
1
- import { type Section } from './types.ts';
2
- declare const Section: any;
1
+ import { type Section as SectionI, type I18nFacade } from './types.ts';
2
+ declare const Section: import("svelte").Component<SectionI & I18nFacade, {}, "padding">;
3
3
  type Section = ReturnType<typeof Section>;
4
4
  export default Section;
package/dist/types.d.ts CHANGED
@@ -1,12 +1,6 @@
1
1
  import { type Dinero, type DineroSnapshot } from 'dinero.js';
2
2
  import type { DateTime } from 'luxon';
3
3
  import type { I18n } from 'occuplan';
4
- export interface Acco {
5
- path: string;
6
- displayName: string;
7
- cardContent?: AccoCardContent;
8
- siteContent?: Section[];
9
- }
10
4
  export interface GridPhoto {
11
5
  photo: Photo;
12
6
  zoomed: boolean;
@@ -170,6 +164,12 @@ export interface AmenitiesCoreContent {
170
164
  parking: boolean;
171
165
  showParking?: boolean;
172
166
  }
167
+ export interface Acco {
168
+ path: string;
169
+ displayName: string;
170
+ cardContent?: AccoCardContent;
171
+ siteContent?: Section[];
172
+ }
173
173
  export interface AccoCard {
174
174
  id: string;
175
175
  kind: 'acco-card';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "accomadesc",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "files": [
5
5
  "dist",
6
6
  "!dist/**/*.test.*",