488 lines
10 KiB
TypeScript
488 lines
10 KiB
TypeScript
declare namespace App.Contribution.Data {
|
|
export type MemberData = {
|
|
firstname: string;
|
|
lastname: string;
|
|
address: string;
|
|
zip: string;
|
|
location: string;
|
|
birthday: string;
|
|
gender: any | null;
|
|
isLeader: boolean;
|
|
};
|
|
}
|
|
declare namespace App.Contribution.Documents {
|
|
export type BdkjHesse = {
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
country: any | null;
|
|
members: any;
|
|
eventName: string;
|
|
filename: string | null;
|
|
type: string;
|
|
};
|
|
export type CityFrankfurtMainDocument = {
|
|
fromName: string;
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
country: any | null;
|
|
members: any;
|
|
eventName: string;
|
|
filename: string | null;
|
|
type: string;
|
|
};
|
|
export type CityRemscheidDocument = {
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
country: any | null;
|
|
leaders: any;
|
|
children: any;
|
|
filename: string | null;
|
|
type: string;
|
|
eventName: string;
|
|
};
|
|
export type CitySolingenDocument = {
|
|
fromName: string;
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
members: Array<App.Contribution.Data.MemberData>;
|
|
eventName: string;
|
|
type: string;
|
|
};
|
|
export type ContributionDocument = {
|
|
};
|
|
export type RdpNrwDocument = {
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
country: any | null;
|
|
members: any;
|
|
filename: string | null;
|
|
type: string;
|
|
eventName: string;
|
|
};
|
|
export type WuppertalDocument = {
|
|
dateFrom: string;
|
|
dateUntil: string;
|
|
zipLocation: string;
|
|
country: any | null;
|
|
members: any;
|
|
filename: string | null;
|
|
type: string;
|
|
eventName: string;
|
|
};
|
|
}
|
|
declare namespace App.Efz {
|
|
export type EfzDocument = {
|
|
name: string;
|
|
slug: string;
|
|
secondLine: string;
|
|
now: string;
|
|
sender: App.Pdf.Sender;
|
|
member: any;
|
|
};
|
|
}
|
|
declare namespace App.Fileshare.ConnectionTypes {
|
|
export type ConnectionType = {
|
|
};
|
|
export type NextcloudConnection = {
|
|
user: string;
|
|
password: string;
|
|
base_url: string;
|
|
};
|
|
export type OwncloudConnection = {
|
|
user: string;
|
|
password: string;
|
|
base_url: string;
|
|
};
|
|
}
|
|
declare namespace App.Fileshare.Data {
|
|
export type FileshareResourceData = {
|
|
connection_id: number;
|
|
resource: string;
|
|
};
|
|
export type ResourceData = {
|
|
name: string;
|
|
path: string;
|
|
parent: string;
|
|
};
|
|
}
|
|
declare namespace App.Form.Data {
|
|
export type ColumnData = {
|
|
mobile: number;
|
|
tablet: number;
|
|
desktop: number;
|
|
};
|
|
export type ExportData = {
|
|
root: App.Fileshare.Data.FileshareResourceData | null;
|
|
group_by: string | null;
|
|
to_group_field: string | null;
|
|
};
|
|
export type FormConfigData = {
|
|
sections: Array<App.Form.Data.SectionData>;
|
|
};
|
|
export type SectionData = {
|
|
name: string;
|
|
fields: Array<App.Form.Fields.Field>;
|
|
intro: string | null;
|
|
};
|
|
}
|
|
declare namespace App.Form.Enums {
|
|
export type NamiType = 'Vorname' | 'Nachname' | 'Spitzname' | 'Geburtstag' | 'Bezirk' | 'Stamm' | 'E-Mail-Adresse' | 'Adresse' | 'PLZ' | 'Ort' | 'Geschlecht' | 'Handynummer' | 'Alter (zum Zeitpunkt der Anmeldung)' | 'Alter (zum Zeitpunkt der Veranstaltung)';
|
|
export type SpecialType = 'Vorname' | 'Nachname' | 'E-Mail-Adresse';
|
|
}
|
|
declare namespace App.Form.Fields {
|
|
export type CheckboxField = {
|
|
required: boolean;
|
|
description: string;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type CheckboxesField = {
|
|
options: { [key: number]: string };
|
|
min: number | null;
|
|
max: number | null;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type DateField = {
|
|
required: boolean;
|
|
max_today: boolean;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type DropdownField = {
|
|
required: boolean;
|
|
options: { [key: number]: string };
|
|
allowcustom: boolean;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type EmailField = {
|
|
required: boolean;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type Field = {
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type GroupField = {
|
|
required: boolean;
|
|
parent_field: string | null;
|
|
parent_group: number | null;
|
|
has_empty_option: boolean;
|
|
empty_option_value: string | null;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type NamiField = {
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type NumberField = {
|
|
required: boolean;
|
|
min: number | null;
|
|
max: number | null;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type RadioField = {
|
|
required: boolean;
|
|
options: { [key: number]: string };
|
|
allowcustom: boolean;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type TextField = {
|
|
required: boolean;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
export type TextareaField = {
|
|
required: boolean;
|
|
rows: number;
|
|
key: string;
|
|
name: string;
|
|
nami_type: App.Form.Enums.NamiType | null;
|
|
columns: App.Form.Data.ColumnData;
|
|
for_members: boolean;
|
|
special_type: App.Form.Enums.SpecialType | null;
|
|
hint: string | null;
|
|
intro: string | null;
|
|
value: any;
|
|
};
|
|
}
|
|
declare namespace App.Form.Scopes {
|
|
export type FormFilterScope = {
|
|
search: string | null;
|
|
past: boolean;
|
|
inactive: boolean;
|
|
};
|
|
export type ParticipantFilterScope = {
|
|
data: Array<any>;
|
|
search: string;
|
|
options: Array<any>;
|
|
parent: number | null;
|
|
sort: App.Lib.Sorting | null;
|
|
};
|
|
}
|
|
declare namespace App.Group.Enums {
|
|
export type Level = 'Diözese' | 'Bezirk' | 'Stamm';
|
|
}
|
|
declare namespace App.Invoice {
|
|
export type BillKind = 'E-Mail' | 'Post';
|
|
export type BillDocument = {
|
|
until: string;
|
|
filename: string;
|
|
toName: string;
|
|
toAddress: string;
|
|
toZip: string;
|
|
toLocation: string;
|
|
greeting: string;
|
|
positions: Array<any>;
|
|
usage: string;
|
|
};
|
|
export type InvoiceDocument = {
|
|
until: string;
|
|
filename: string;
|
|
toName: string;
|
|
toAddress: string;
|
|
toZip: string;
|
|
toLocation: string;
|
|
greeting: string;
|
|
positions: Array<any>;
|
|
usage: string;
|
|
};
|
|
export type RememberDocument = {
|
|
until: string;
|
|
filename: string;
|
|
toName: string;
|
|
toAddress: string;
|
|
toZip: string;
|
|
toLocation: string;
|
|
greeting: string;
|
|
positions: Array<any>;
|
|
usage: string;
|
|
};
|
|
}
|
|
declare namespace App.Invoice.Enums {
|
|
export type InvoiceStatus = 'Neu' | 'Rechnung gestellt' | 'Rechnung beglichen';
|
|
}
|
|
declare namespace App.Invoice.Scopes {
|
|
export type InvoiceFilterScope = {
|
|
statuses: Array<any> | null;
|
|
search: string | null;
|
|
};
|
|
}
|
|
declare namespace App.Lib {
|
|
export type Filter = {
|
|
};
|
|
export type ScoutFilter = {
|
|
};
|
|
export type Sorting = {
|
|
by: string;
|
|
direction: boolean;
|
|
};
|
|
}
|
|
declare namespace App.Lib.Data {
|
|
export type DateData = {
|
|
raw: string;
|
|
human: string;
|
|
};
|
|
}
|
|
declare namespace App.Lib.Editor {
|
|
export type Comparator = 'isEqual' | 'isNotEqual' | 'isIn' | 'isNotIn';
|
|
export type ConditionMode = 'all' | 'any';
|
|
export type Condition = {
|
|
mode: App.Lib.Editor.ConditionMode;
|
|
ifs: Array<App.Lib.Editor.Statement>;
|
|
};
|
|
export type EditorData = {
|
|
version: string;
|
|
blocks: Array<any>;
|
|
time: number;
|
|
};
|
|
export type Statement = {
|
|
field: string;
|
|
value: any;
|
|
comparator: App.Lib.Editor.Comparator;
|
|
};
|
|
}
|
|
declare namespace App.Maildispatcher.Data {
|
|
export type MailEntry = {
|
|
email: string;
|
|
};
|
|
}
|
|
declare namespace App.Mailman.Data {
|
|
export type MailingList = {
|
|
description: string;
|
|
display_name: string;
|
|
name: string;
|
|
id: string;
|
|
list_name: string;
|
|
mail_host: string;
|
|
member_count: number;
|
|
self_link: string;
|
|
volume: number;
|
|
};
|
|
export type Member = {
|
|
email: string;
|
|
member_id: string;
|
|
};
|
|
}
|
|
declare namespace App.Member {
|
|
export type FilterScope = {
|
|
options: { [key: string]: any };
|
|
ausstand: boolean;
|
|
bill_kind: string | null;
|
|
memberships: Array<any>;
|
|
activity_ids: Array<any>;
|
|
subactivity_ids: Array<any>;
|
|
search: string | null;
|
|
group_ids: Array<any>;
|
|
include: Array<any>;
|
|
exclude: Array<any>;
|
|
has_full_address: boolean | null;
|
|
has_birthday: boolean | null;
|
|
has_svk: boolean | null;
|
|
has_vk: boolean | null;
|
|
};
|
|
}
|
|
declare namespace App.Member.Data {
|
|
export type ActivityData = {
|
|
id: number;
|
|
name: string;
|
|
};
|
|
export type FullMember = {
|
|
member: any;
|
|
courses: Array<any>;
|
|
memberships: Array<any>;
|
|
};
|
|
export type GroupData = {
|
|
id: number;
|
|
name: string;
|
|
};
|
|
export type MembershipData = {
|
|
activity: App.Member.Data.ActivityData | null;
|
|
subactivity: App.Member.Data.SubactivityData | null;
|
|
group: App.Member.Data.GroupData | null;
|
|
promisedAt: App.Lib.Data.DateData | null;
|
|
from: App.Lib.Data.DateData | null;
|
|
isActive: boolean;
|
|
links: Array<any>;
|
|
};
|
|
export type MembershipMeta = {
|
|
links: Array<any>;
|
|
groups: any;
|
|
activities: any;
|
|
subactivities: any;
|
|
default: App.Member.Data.MembershipData;
|
|
};
|
|
export type NestedGroup = {
|
|
id: number;
|
|
name: string;
|
|
};
|
|
export type SubactivityData = {
|
|
id: number;
|
|
name: string;
|
|
};
|
|
}
|
|
declare namespace App.Module {
|
|
export type Module = 'bill' | 'course' | 'event';
|
|
}
|
|
declare namespace App.Pdf {
|
|
export type Sender = {
|
|
name: string;
|
|
address: string;
|
|
zipLocation: string;
|
|
mglnr?: string;
|
|
};
|
|
}
|
|
declare namespace App.Prevention.Data {
|
|
export type PreventionData = {
|
|
type: any;
|
|
expires: string;
|
|
};
|
|
}
|