Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazar73a committed Jan 8, 2024
2 parents df954f5 + 5b88db9 commit 492b33c
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
21 changes: 0 additions & 21 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ declare module 'vue' {
export interface GlobalComponents {
BarItem: typeof import('./src/components/bar/BarItem.vue')['default']
BarList: typeof import('./src/components/bar/BarList.vue')['default']
BarsItem: typeof import('./src/components/bars/barsItem.vue')['default']
BarsList: typeof import('./src/components/bars/barsList.vue')['default']
BBreadcrumb: typeof import('bootstrap-vue-next')['BBreadcrumb']
BBreadcrumbItem: typeof import('bootstrap-vue-next')['BBreadcrumbItem']
BButton: typeof import('bootstrap-vue-next')['BButton']
Expand All @@ -21,7 +19,6 @@ declare module 'vue' {
BCol: typeof import('bootstrap-vue-next')['BCol']
BCollapse: typeof import('bootstrap-vue-next')['BCollapse']
BContainer: typeof import('bootstrap-vue-next')['BContainer']
BFormGroup: typeof import('bootstrap-vue-next')['BFormGroup']
BFormInput: typeof import('bootstrap-vue-next')['BFormInput']
BImg: typeof import('bootstrap-vue-next')['BImg']
BInputGroup: typeof import('bootstrap-vue-next')['BInputGroup']
Expand All @@ -31,40 +28,22 @@ declare module 'vue' {
BNavbarNav: typeof import('bootstrap-vue-next')['BNavbarNav']
BNavbarToggle: typeof import('bootstrap-vue-next')['BNavbarToggle']
BNavItem: typeof import('bootstrap-vue-next')['BNavItem']
BNavText: typeof import('bootstrap-vue-next')['BNavText']
BOffcanvas: typeof import('bootstrap-vue-next')['BOffcanvas']
BPlaceholder: typeof import('bootstrap-vue-next')['BPlaceholder']
BPlaceholderCard: typeof import('bootstrap-vue-next')['BPlaceholderCard']
BPlaceholderWrapper: typeof import('bootstrap-vue-next')['BPlaceholderWrapper']
BRow: typeof import('bootstrap-vue-next')['BRow']
BSkeleton: typeof import('bootstrap-vue-next')['BSkeleton']
BSkeletonWrapper: typeof import('bootstrap-vue-next')['BSkeletonWrapper']
ClubItem: typeof import('./src/components/club/ClubItem.vue')['default']
ClubList: typeof import('./src/components/club/ClubList.vue')['default']
ContentItem: typeof import('./src/components/ContentItem.vue')['default']
EventItem: typeof import('./src/components/events/EventItem.vue')['default']
EventList: typeof import('./src/components/events/EventList.vue')['default']
FilterSidebar: typeof import('./src/components/FilterSidebar.vue')['default']
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
HomeContent: typeof import('./src/components/HomeContent.vue')['default']
IconCommunity: typeof import('./src/components/icons/IconCommunity.vue')['default']
IconDocumentation: typeof import('./src/components/icons/IconDocumentation.vue')['default']
IconEcosystem: typeof import('./src/components/icons/IconEcosystem.vue')['default']
IconSupport: typeof import('./src/components/icons/IconSupport.vue')['default']
IconTooling: typeof import('./src/components/icons/IconTooling.vue')['default']
LocaleeHeader: typeof import('./src/components/LocaleeHeader.vue')['default']
NavigationBar: typeof import('./src/components/NavigationBar.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
SearchBar: typeof import('./src/components/SearchBar.vue')['default']
Template: typeof import('./src/components/template.vue')['default']
TheWelcome: typeof import('./src/components/TheWelcome.vue')['default']
Verleih1: typeof import('./src/components/verleih/Verleih1.vue')['default']
VerleihItem: typeof import('./src/components/verleih/VerleihItem.vue')['default']
Verleihlist: typeof import('./src/components/verleih/Verleihlist.vue')['default']
VerleihList: typeof import('./src/components/verleih/VerleihList.vue')['default']
Verleihlistcontent: typeof import('./src/components/events/Verleihlistcontent.vue')['default']
WelcomeItem: typeof import('./src/components/WelcomeItem.vue')['default']
}
export interface ComponentCustomProperties {
vBColorMode: typeof import('bootstrap-vue-next')['vBColorMode']
Expand Down
8 changes: 8 additions & 0 deletions src/models/EventItem.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
export default interface EventItem {
id: string;
name: string;
bild: string;
beschreinung: string;
adresse: string;
ort: string;
plz: string;
datum: string;
uhrzeit: string;
eintrittspreis: string;
}
10 changes: 9 additions & 1 deletion src/services/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,15 @@ const eventService = {
partialRecords.forEach((partialRecord) => {
resultList.push({
id: partialRecord.id,
name: partialRecord.get('Name') as string
name: partialRecord.get('Name') as string,
bild: partialRecord.get('Bild') as string,
beschreinung: partialRecord.get('Beschreibung') as string,
adresse: partialRecord.get('Adresse') as string,
ort: partialRecord.get('Ort') as string,
plz: partialRecord.get('PLZ') as string,
datum: partialRecord.get('Datum') as string,
uhrzeit: partialRecord.get('Uhrzeit') as string,
eintrittspreis: partialRecord.get('Eintrittspreis') as string
})
})
// To fetch the next page of records, call `fetchNextPage`.
Expand Down

0 comments on commit 492b33c

Please sign in to comment.