@acms-subir/client 0.1.0 → 0.1.2

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
@@ -18,9 +18,15 @@ export interface ContentOptions extends ListOptions {
18
18
  export interface PostOptions extends Omit<ContentOptions, 'kind'> {
19
19
  tag?: string;
20
20
  }
21
+ /**
22
+ * An event-window bound: a day in the site's timezone (`'2026-10-01'` = that
23
+ * midnight) or an ISO 8601 date-time with a zone (`'2026-10-01T18:00:00Z'`,
24
+ * `new Date().toISOString()`). Windows are 1–90 days; `to` defaults to `from` + 30 days.
25
+ */
26
+ export type EventBound = `${number}-${number}-${number}` | `${number}-${number}-${number}T${string}`;
21
27
  export interface EventOptions extends ListOptions {
22
- from?: string;
23
- to?: string;
28
+ from?: EventBound | (string & {});
29
+ to?: EventBound | (string & {});
24
30
  calendar?: string;
25
31
  q?: string;
26
32
  }
package/dist/types.d.ts CHANGED
@@ -7,6 +7,7 @@ export type Site = {
7
7
  "name": string;
8
8
  "description": string;
9
9
  "logo": string;
10
+ "logoDark": string;
10
11
  "icon": string;
11
12
  "menu": Array<{
12
13
  "label": string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acms-subir/client",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Typed, dependency-free client for the ACMS public mobile API.",
5
5
  "type": "module",
6
6
  "license": "MIT",