@dev-crew-berlin/enter-js-utils 0.53.0 → 0.54.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,14 +1,14 @@
1
1
  import { components } from '../generated/api-schema';
2
2
  import { Field } from './field';
3
3
  export declare type Dictionary<T> = Record<string, T>;
4
- export declare type _FieldGroup = components['schemas']['FieldGroup'];
5
- export declare type FieldGroup = Omit<_FieldGroup, 'questions'>;
4
+ export declare type FieldGroupJSON = components['schemas']['FieldGroup'];
5
+ export declare type FieldGroup = Omit<FieldGroupJSON, 'questions'>;
6
6
  export declare class FieldGroups {
7
7
  private _groups;
8
8
  get groups(): Map<string, FieldGroup>;
9
9
  get fields(): Map<string, Field>;
10
- constructor(json: _FieldGroup[]);
11
- toJSON(): _FieldGroup[];
10
+ constructor(json: FieldGroupJSON[]);
11
+ toJSON(): FieldGroupJSON[];
12
12
  withoutMetaFields(): FieldGroups;
13
13
  getLabelForField(fieldKey: string, language: string): string;
14
14
  }
@@ -6,7 +6,7 @@ export type { CheckinJSON } from './checkin';
6
6
  export { Checkins } from './checkins';
7
7
  export type { CheckinsJSON } from './checkins';
8
8
  export type { Event, AttendeeUpdatedEvent, AttendeeCreatedEvent, AttendeeRespondedEvent, AttendeeDeletedEvent, CheckinCreatedEvent, CheckinDeletedEvent, PaymentPaidEvent, } from './event';
9
- export type { FieldGroup } from './field-group';
9
+ export type { FieldGroup, FieldGroupJSON } from './field-group';
10
10
  export { FieldGroups } from './field-group';
11
11
  export type { FieldValue } from './field-value';
12
12
  export type { StaticField, TextField, EmailField, NumberField, CheckboxField, SingleCheckboxField, RadioField, SelectField, Field, } from './field';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-crew-berlin/enter-js-utils",
3
- "version": "0.53.0",
3
+ "version": "0.54.1",
4
4
  "description": "utils such as vaildation and other helpers to work with data from the enter app",
5
5
  "files": [
6
6
  "dist",