@jealous-robot-dev/shared-types-responses 1.54.1 → 1.54.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,6 +2,8 @@ import { RegistrationRejectionReason, HostEventPics, EventTypes, HostEventTime,
2
2
  export interface HELookup {
3
3
  data?: {
4
4
  selected_currency: string;
5
+ categories: EventTypes[];
6
+ audiences: ServiceAudience[];
5
7
  max: number;
6
8
  min: number;
7
9
  };
@@ -1,6 +1,4 @@
1
- import { QueryResponse } from '../common';
2
1
  import { HostEventPics, HostEventFee, EventTypes, HostingPriceLimits, HostEventTime, CurrencyLmits, ServiceAudience } from '@jealous-robot-dev/drophr-common';
3
- import { EventManagerPhrases } from '@jealous-robot-dev/shared-phrases';
4
2
  export declare type UpdatableEventValue = string | HostEventPics[] | HostEventPics | string[] | HostEventFee | ServiceAudience | number | HostEventTime;
5
3
  export interface EventInManager {
6
4
  id: string;
@@ -22,8 +20,10 @@ export interface EventInManager {
22
20
  }
23
21
  export interface EventManagerData {
24
22
  is_restricted: boolean;
25
- events: EventInManager[];
26
23
  fee?: HostingPriceLimits;
24
+ events: EventInManager[];
25
+ categories: EventTypes[];
26
+ audiences: ServiceAudience[];
27
27
  }
28
28
  export interface EventManagerCustomTime {
29
29
  limits: CurrencyLmits;
@@ -31,5 +31,3 @@ export interface EventManagerCustomTime {
31
31
  originalDuration: number;
32
32
  originalCapacity: number;
33
33
  }
34
- export interface EventManagerResponse extends QueryResponse<EventManagerData, EventManagerPhrases> {
35
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.54.1",
3
+ "version": "1.54.2",
4
4
  "description": "Meetle common types of API responses",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",