Begin the process of saving quick reports
This commit is contained in:
parent
462febe1d7
commit
3c8436fe10
26 changed files with 3125 additions and 21 deletions
|
|
@ -55,6 +55,8 @@ type preloaders struct {
|
|||
Notification notificationPreloader
|
||||
OauthToken oauthTokenPreloader
|
||||
Organization organizationPreloader
|
||||
PublicreportQuick publicreportQuickPreloader
|
||||
PublicreportQuickPhoto publicreportQuickPhotoPreloader
|
||||
User userPreloader
|
||||
}
|
||||
|
||||
|
|
@ -98,6 +100,8 @@ func getPreloaders() preloaders {
|
|||
Notification: buildNotificationPreloader(),
|
||||
OauthToken: buildOauthTokenPreloader(),
|
||||
Organization: buildOrganizationPreloader(),
|
||||
PublicreportQuick: buildPublicreportQuickPreloader(),
|
||||
PublicreportQuickPhoto: buildPublicreportQuickPhotoPreloader(),
|
||||
User: buildUserPreloader(),
|
||||
}
|
||||
}
|
||||
|
|
@ -147,6 +151,8 @@ type thenLoaders[Q orm.Loadable] struct {
|
|||
Notification notificationThenLoader[Q]
|
||||
OauthToken oauthTokenThenLoader[Q]
|
||||
Organization organizationThenLoader[Q]
|
||||
PublicreportQuick publicreportQuickThenLoader[Q]
|
||||
PublicreportQuickPhoto publicreportQuickPhotoThenLoader[Q]
|
||||
User userThenLoader[Q]
|
||||
}
|
||||
|
||||
|
|
@ -190,6 +196,8 @@ func getThenLoaders[Q orm.Loadable]() thenLoaders[Q] {
|
|||
Notification: buildNotificationThenLoader[Q](),
|
||||
OauthToken: buildOauthTokenThenLoader[Q](),
|
||||
Organization: buildOrganizationThenLoader[Q](),
|
||||
PublicreportQuick: buildPublicreportQuickThenLoader[Q](),
|
||||
PublicreportQuickPhoto: buildPublicreportQuickPhotoThenLoader[Q](),
|
||||
User: buildUserThenLoader[Q](),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue