@antlur/backstage 1.8.0 → 1.8.1

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.
@@ -1,4 +1,4 @@
1
- import { Alert } from "../types/index.js";
1
+ import type { Alert } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class AlertService extends BaseService {
4
4
  getAlerts(): Promise<Alert[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"alerts.d.ts","sourceRoot":"","sources":["../../src/endpoints/alerts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,SAAS,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;CAIpC"}
1
+ {"version":3,"file":"alerts.d.ts","sourceRoot":"","sources":["../../src/endpoints/alerts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,SAAS,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;CAIpC"}
@@ -1,4 +1,4 @@
1
- import { Event } from "../types/index.js";
1
+ import type { Event } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class EventService extends BaseService {
4
4
  getEvents(): Promise<Event[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/endpoints/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,SAAS,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAK7B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAKpC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;CAInD"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/endpoints/events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,SAAS,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAK7B,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAKpC,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;CAInD"}
@@ -1,4 +1,4 @@
1
- import { InstagramPost } from "../types/index.js";
1
+ import type { InstagramPost } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class InstagramService extends BaseService {
4
4
  latest(): Promise<InstagramPost[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"instagram.d.ts","sourceRoot":"","sources":["../../src/endpoints/instagram.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,aAAa,EAAE,MAAM,mBAAmB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,gBAAiB,SAAQ,WAAW;IACzC,MAAM,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAIzC"}
1
+ {"version":3,"file":"instagram.d.ts","sourceRoot":"","sources":["../../src/endpoints/instagram.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,gBAAiB,SAAQ,WAAW;IACzC,MAAM,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;CAIzC"}
@@ -1,4 +1,4 @@
1
- import { Location } from "../types/index.js";
1
+ import type { Location } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class LocationService extends BaseService {
4
4
  getLocations(): Promise<Location[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../src/endpoints/locations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,eAAgB,SAAQ,WAAW;IACxC,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAYnC,iBAAiB,CAAC,IAAI,EAAE,MAAM;CAUrC"}
1
+ {"version":3,"file":"locations.d.ts","sourceRoot":"","sources":["../../src/endpoints/locations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,eAAgB,SAAQ,WAAW;IACxC,YAAY,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAYnC,iBAAiB,CAAC,IAAI,EAAE,MAAM;CAUrC"}
@@ -1,4 +1,4 @@
1
- import { Media } from "../types/index.js";
1
+ import type { Media } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class MediaService extends BaseService {
4
4
  all(): Promise<Media[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/endpoints/media.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,GAAG;CAIV"}
1
+ {"version":3,"file":"media.d.ts","sourceRoot":"","sources":["../../src/endpoints/media.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,GAAG;CAIV"}
@@ -1,4 +1,4 @@
1
- import { Menu } from "../types/index.js";
1
+ import type { Menu } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class MenuService extends BaseService {
4
4
  getMenus(): Promise<Menu[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"menus.d.ts","sourceRoot":"","sources":["../../src/endpoints/menus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,WAAY,SAAQ,WAAW;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAM3B,OAAO,CAAC,EAAE,EAAE,MAAM;IAWlB,aAAa,CAAC,IAAI,EAAE,MAAM;CAYjC"}
1
+ {"version":3,"file":"menus.d.ts","sourceRoot":"","sources":["../../src/endpoints/menus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,WAAY,SAAQ,WAAW;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAM3B,OAAO,CAAC,EAAE,EAAE,MAAM;IAWlB,aAAa,CAAC,IAAI,EAAE,MAAM;CAYjC"}
@@ -1,4 +1,4 @@
1
- import { Navigation } from "../types/index.js";
1
+ import type { Navigation } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class NavigationService extends BaseService {
4
4
  getNavigations(): Promise<Navigation[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/endpoints/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,WAAW;IAC1C,cAAc,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAYvC,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC;IAK3C,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;CAcrD"}
1
+ {"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../src/endpoints/navigation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC3F,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,iBAAkB,SAAQ,WAAW;IAC1C,cAAc,IAAI,OAAO,CAAC,UAAU,EAAE,CAAC;IAYvC,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC;IAK3C,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC;CAcrD"}
@@ -1,4 +1,4 @@
1
- import { Page } from "../types/index.js";
1
+ import type { Page } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class PageService extends BaseService {
4
4
  getPages(): Promise<Page[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../src/endpoints/pages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,WAAY,SAAQ,WAAW;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAK3B,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKlC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK1C,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAK5B,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIzD"}
1
+ {"version":3,"file":"pages.d.ts","sourceRoot":"","sources":["../../src/endpoints/pages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,WAAY,SAAQ,WAAW;IACpC,QAAQ,IAAI,OAAO,CAAC,IAAI,EAAE,CAAC;IAK3B,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKlC,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAK1C,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;IAK5B,iBAAiB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAIzD"}
@@ -1,4 +1,4 @@
1
- import { Press } from "../types/index.js";
1
+ import type { Press } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class PressService extends BaseService {
4
4
  getPress(): Promise<Press[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"press.d.ts","sourceRoot":"","sources":["../../src/endpoints/press.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;CAInC"}
1
+ {"version":3,"file":"press.d.ts","sourceRoot":"","sources":["../../src/endpoints/press.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,YAAa,SAAQ,WAAW;IACrC,QAAQ,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;CAInC"}
@@ -1,4 +1,4 @@
1
- import { Website } from "../types/index.js";
1
+ import type { Website } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
  export declare class WebsiteService extends BaseService {
4
4
  getWebsite(): Promise<Website>;
@@ -1 +1 @@
1
- {"version":3,"file":"website.d.ts","sourceRoot":"","sources":["../../src/endpoints/website.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,OAAO,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,cAAe,SAAQ,WAAW;IACvC,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAK9B,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAKlC"}
1
+ {"version":3,"file":"website.d.ts","sourceRoot":"","sources":["../../src/endpoints/website.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAyB,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,qBAAa,cAAe,SAAQ,WAAW;IACvC,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAK9B,MAAM,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;CAKlC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@antlur/backstage",
3
3
  "author": "Anthony Holmes",
4
- "version": "1.8.0",
4
+ "version": "1.8.1",
5
5
  "description": "A simple client for Backstage CMS",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Alert } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Alert } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class AlertService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiSingleResponse } from "../types/index.js";
1
+ import type { ApiSingleResponse } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  interface BlockParams {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Event } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Event } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class EventService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, InstagramPost } from "../types/index.js";
1
+ import type { ApiCollectionResponse, InstagramPost } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class InstagramService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiSingleResponse } from "../types/index.js";
1
+ import type { ApiSingleResponse } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  interface LayoutParams {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Location } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Location } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class LocationService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Media } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Media } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class MediaService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Menu } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Menu } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class MenuService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiSingleResponse, ApiCollectionResponse, Navigation } from "../types/index.js";
1
+ import type { ApiSingleResponse, ApiCollectionResponse, Navigation } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class NavigationService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Page } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Page } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class PageService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Press } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Press } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class PressService extends BaseService {
@@ -1,4 +1,4 @@
1
- import { ApiCollectionResponse, Website } from "../types/index.js";
1
+ import type { ApiCollectionResponse, Website } from "../types/index";
2
2
  import { BaseService } from "./base.js";
3
3
 
4
4
  export class WebsiteService extends BaseService {