@bash-app/bash-common 12.0.0 → 12.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "12.0.0",
3
+ "version": "12.1.1",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -51,7 +51,7 @@ export const HTTP_CODE_NOT_FOUND = 404 as const;
51
51
  export const ERR_UNAUTHORIZED_REQUEST = "Unauthorized to perform requested action. Have you logged in?" as const;
52
52
 
53
53
  export const URL_PARAMS_BASH_EVENT_ID = 'bashEventId' as const;
54
- export const URL_PARAMS_BASH_EVENT_TITLE = 'bashEventId' as const;
54
+ export const URL_PARAMS_BASH_EVENT_TITLE = 'bashEventTitle' as const;
55
55
  export const URL_PARAMS_BASH_EVENT_DESC = 'bashEventDesc' as const;
56
56
  export const URL_PARAMS_BASH_EVENT_COVER_PHOTO = 'bashEventCoverPhoto' as const;
57
57
  export const URL_PARAMS_EMAIL = 'email' as const;
@@ -97,6 +97,12 @@ export type FilterFields = {
97
97
  included: string[];
98
98
  };
99
99
 
100
+ export interface DeletedAndHiddenTiers {
101
+ deletedTiers: TicketTier[];
102
+ hiddenTiers: TicketTier[];
103
+ errorType?: ApiErrorType;
104
+ }
105
+
100
106
  export interface AttendeeOfBashEvent {
101
107
  user: User;
102
108
  tickets: Ticket[];