@churchapps/apphelper 0.1.26 → 0.2.0
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/dist/components/CreatePerson.d.ts +1 -1
- package/dist/components/CreatePerson.d.ts.map +1 -1
- package/dist/components/CreatePerson.js +2 -2
- package/dist/components/CreatePerson.js.map +1 -1
- package/dist/components/PersonAdd.d.ts +1 -1
- package/dist/components/PersonAdd.d.ts.map +1 -1
- package/dist/components/QuestionEdit.d.ts +1 -1
- package/dist/components/QuestionEdit.d.ts.map +1 -1
- package/dist/components/notes/AddNote.d.ts +1 -1
- package/dist/components/notes/AddNote.d.ts.map +1 -1
- package/dist/components/notes/Conversation.d.ts +1 -1
- package/dist/components/notes/Conversation.d.ts.map +1 -1
- package/dist/components/notes/Conversations.d.ts +1 -1
- package/dist/components/notes/Conversations.d.ts.map +1 -1
- package/dist/components/notes/NewConversation.d.ts +1 -1
- package/dist/components/notes/NewConversation.d.ts.map +1 -1
- package/dist/components/notes/Note.d.ts +1 -1
- package/dist/components/notes/Note.d.ts.map +1 -1
- package/dist/components/notes/Notes.d.ts +1 -1
- package/dist/components/notes/Notes.d.ts.map +1 -1
- package/dist/components/reporting/ChartReport.d.ts +1 -1
- package/dist/components/reporting/ChartReport.d.ts.map +1 -1
- package/dist/components/reporting/ChartReport.js +5 -16
- package/dist/components/reporting/ChartReport.js.map +1 -1
- package/dist/components/reporting/ReportFilter.d.ts +1 -1
- package/dist/components/reporting/ReportFilter.d.ts.map +1 -1
- package/dist/components/reporting/ReportFilterField.d.ts +1 -1
- package/dist/components/reporting/ReportFilterField.d.ts.map +1 -1
- package/dist/components/reporting/ReportOutput.d.ts +1 -1
- package/dist/components/reporting/ReportOutput.d.ts.map +1 -1
- package/dist/components/reporting/TableReport.d.ts +1 -1
- package/dist/components/reporting/TableReport.d.ts.map +1 -1
- package/dist/components/reporting/TableReport.js +4 -19
- package/dist/components/reporting/TableReport.js.map +1 -1
- package/dist/components/reporting/TreeReport.d.ts +1 -1
- package/dist/components/reporting/TreeReport.d.ts.map +1 -1
- package/dist/components/reporting/TreeReport.js +5 -16
- package/dist/components/reporting/TreeReport.js.map +1 -1
- package/dist/components/wrapper/AppList.d.ts +1 -1
- package/dist/components/wrapper/AppList.d.ts.map +1 -1
- package/dist/components/wrapper/ChurchList.d.ts +1 -1
- package/dist/components/wrapper/ChurchList.d.ts.map +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts +1 -1
- package/dist/components/wrapper/NewPrivateMessage.d.ts.map +1 -1
- package/dist/components/wrapper/NotificationMenu.d.ts +1 -1
- package/dist/components/wrapper/NotificationMenu.d.ts.map +1 -1
- package/dist/components/wrapper/Notifications.d.ts +1 -1
- package/dist/components/wrapper/Notifications.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.d.ts +1 -1
- package/dist/components/wrapper/PrivateMessageDetails.d.ts.map +1 -1
- package/dist/components/wrapper/PrivateMessages.d.ts +1 -1
- package/dist/components/wrapper/PrivateMessages.d.ts.map +1 -1
- package/dist/components/wrapper/SiteWrapper.d.ts +1 -1
- package/dist/components/wrapper/SiteWrapper.d.ts.map +1 -1
- package/dist/components/wrapper/UserMenu.d.ts +1 -1
- package/dist/components/wrapper/UserMenu.d.ts.map +1 -1
- package/dist/donationComponents/DonationPage.d.ts +1 -1
- package/dist/donationComponents/DonationPage.d.ts.map +1 -1
- package/dist/donationComponents/DonationPage.js +3 -3
- package/dist/donationComponents/DonationPage.js.map +1 -1
- package/dist/donationComponents/components/BankForm.d.ts +1 -1
- package/dist/donationComponents/components/BankForm.d.ts.map +1 -1
- package/dist/donationComponents/components/CardForm.d.ts +1 -1
- package/dist/donationComponents/components/CardForm.d.ts.map +1 -1
- package/dist/donationComponents/components/DonationForm.d.ts +1 -1
- package/dist/donationComponents/components/DonationForm.d.ts.map +1 -1
- package/dist/donationComponents/components/FundDonation.d.ts +1 -1
- package/dist/donationComponents/components/FundDonation.d.ts.map +1 -1
- package/dist/donationComponents/components/FundDonations.d.ts +1 -1
- package/dist/donationComponents/components/FundDonations.d.ts.map +1 -1
- package/dist/donationComponents/components/NonAuthDonationInner.d.ts.map +1 -1
- package/dist/donationComponents/components/NonAuthDonationInner.js +9 -7
- package/dist/donationComponents/components/NonAuthDonationInner.js.map +1 -1
- package/dist/donationComponents/components/PaymentMethods.d.ts +1 -1
- package/dist/donationComponents/components/PaymentMethods.d.ts.map +1 -1
- package/dist/donationComponents/components/PaymentMethods.js +6 -6
- package/dist/donationComponents/components/PaymentMethods.js.map +1 -1
- package/dist/donationComponents/components/RecurringDonations.js +2 -2
- package/dist/donationComponents/components/RecurringDonations.js.map +1 -1
- package/dist/donationComponents/components/RecurringDonationsEdit.d.ts +1 -1
- package/dist/donationComponents/components/RecurringDonationsEdit.d.ts.map +1 -1
- package/dist/donationComponents/modals/DonationPreviewModal.d.ts +1 -1
- package/dist/donationComponents/modals/DonationPreviewModal.d.ts.map +1 -1
- package/dist/helpers/ApiHelper.d.ts +1 -1
- package/dist/helpers/ApiHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.d.ts +1 -1
- package/dist/helpers/ErrorHelper.d.ts.map +1 -1
- package/dist/helpers/ErrorHelper.js +2 -1
- package/dist/helpers/ErrorHelper.js.map +1 -1
- package/dist/helpers/EventHelper.d.ts +1 -1
- package/dist/helpers/EventHelper.d.ts.map +1 -1
- package/dist/helpers/PersonHelper.d.ts +1 -1
- package/dist/helpers/PersonHelper.d.ts.map +1 -1
- package/dist/helpers/ReportHelper.d.ts +5 -0
- package/dist/helpers/ReportHelper.d.ts.map +1 -0
- package/dist/helpers/ReportHelper.js +38 -0
- package/dist/helpers/ReportHelper.js.map +1 -0
- package/dist/helpers/SocketHelper.d.ts +1 -1
- package/dist/helpers/SocketHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.d.ts +2 -2
- package/dist/helpers/UserHelper.d.ts.map +1 -1
- package/dist/helpers/UserHelper.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/pageComponents/LoginPage.d.ts +1 -1
- package/dist/pageComponents/LoginPage.d.ts.map +1 -1
- package/dist/pageComponents/LogoutPage.d.ts +1 -1
- package/dist/pageComponents/LogoutPage.d.ts.map +1 -1
- package/dist/pageComponents/LogoutPage.js.map +1 -1
- package/dist/pageComponents/components/Register.d.ts +1 -1
- package/dist/pageComponents/components/Register.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchModal.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchModal.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchRegister.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchRegister.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectChurchSearch.d.ts +1 -1
- package/dist/pageComponents/components/SelectChurchSearch.d.ts.map +1 -1
- package/dist/pageComponents/components/SelectableChurch.d.ts +1 -1
- package/dist/pageComponents/components/SelectableChurch.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/components/CreatePerson.tsx +1 -1
- package/src/components/FormSubmissionEdit.tsx +1 -1
- package/src/components/PersonAdd.tsx +1 -1
- package/src/components/QuestionEdit.tsx +1 -1
- package/src/components/notes/AddNote.tsx +1 -1
- package/src/components/notes/Conversation.tsx +1 -1
- package/src/components/notes/Conversations.tsx +1 -1
- package/src/components/notes/NewConversation.tsx +1 -1
- package/src/components/notes/Note.tsx +1 -1
- package/src/components/notes/Notes.tsx +1 -1
- package/src/components/reporting/ChartReport.tsx +6 -18
- package/src/components/reporting/ReportFilter.tsx +1 -1
- package/src/components/reporting/ReportFilterField.tsx +1 -1
- package/src/components/reporting/ReportOutput.tsx +1 -1
- package/src/components/reporting/ReportWithFilter.tsx +1 -1
- package/src/components/reporting/TableReport.tsx +5 -20
- package/src/components/reporting/TreeReport.tsx +6 -16
- package/src/components/wrapper/AppList.tsx +1 -1
- package/src/components/wrapper/ChurchList.tsx +1 -1
- package/src/components/wrapper/NewPrivateMessage.tsx +1 -1
- package/src/components/wrapper/NotificationMenu.tsx +1 -1
- package/src/components/wrapper/Notifications.tsx +1 -1
- package/src/components/wrapper/PrivateMessageDetails.tsx +1 -1
- package/src/components/wrapper/PrivateMessages.tsx +1 -1
- package/src/components/wrapper/SiteWrapper.tsx +1 -1
- package/src/components/wrapper/UserMenu.tsx +1 -1
- package/src/donationComponents/DonationPage.tsx +1 -1
- package/src/donationComponents/components/BankForm.tsx +1 -1
- package/src/donationComponents/components/CardForm.tsx +1 -1
- package/src/donationComponents/components/DonationForm.tsx +1 -1
- package/src/donationComponents/components/FundDonation.tsx +1 -1
- package/src/donationComponents/components/FundDonations.tsx +1 -1
- package/src/donationComponents/components/NonAuthDonationInner.tsx +10 -8
- package/src/donationComponents/components/PaymentMethods.tsx +1 -1
- package/src/donationComponents/components/RecurringDonations.tsx +1 -1
- package/src/donationComponents/components/RecurringDonationsEdit.tsx +1 -1
- package/src/donationComponents/modals/DonationPreviewModal.tsx +1 -1
- package/src/helpers/ApiHelper.ts +1 -1
- package/src/helpers/ErrorHelper.ts +4 -2
- package/src/helpers/EventHelper.ts +1 -1
- package/src/helpers/PersonHelper.ts +1 -1
- package/src/helpers/ReportHelper.ts +35 -0
- package/src/helpers/SocketHelper.ts +1 -1
- package/src/helpers/UserHelper.ts +2 -2
- package/src/index.ts +1 -1
- package/src/pageComponents/LoginPage.tsx +1 -1
- package/src/pageComponents/LogoutPage.tsx +1 -2
- package/src/pageComponents/components/Forgot.tsx +1 -1
- package/src/pageComponents/components/LoginSetPassword.tsx +1 -1
- package/src/pageComponents/components/Register.tsx +1 -1
- package/src/pageComponents/components/SelectChurchModal.tsx +1 -1
- package/src/pageComponents/components/SelectChurchRegister.tsx +1 -1
- package/src/pageComponents/components/SelectChurchSearch.tsx +1 -1
- package/src/pageComponents/components/SelectableChurch.tsx +1 -1
- package/dist/interfaces/Access.d.ts +0 -131
- package/dist/interfaces/Access.d.ts.map +0 -1
- package/dist/interfaces/Access.js +0 -3
- package/dist/interfaces/Access.js.map +0 -1
- package/dist/interfaces/Attendance.d.ts +0 -45
- package/dist/interfaces/Attendance.d.ts.map +0 -1
- package/dist/interfaces/Attendance.js +0 -3
- package/dist/interfaces/Attendance.js.map +0 -1
- package/dist/interfaces/Content.d.ts +0 -86
- package/dist/interfaces/Content.d.ts.map +0 -1
- package/dist/interfaces/Content.js +0 -3
- package/dist/interfaces/Content.js.map +0 -1
- package/dist/interfaces/Doing.d.ts +0 -50
- package/dist/interfaces/Doing.d.ts.map +0 -1
- package/dist/interfaces/Doing.js +0 -3
- package/dist/interfaces/Doing.js.map +0 -1
- package/dist/interfaces/Donation.d.ts +0 -138
- package/dist/interfaces/Donation.d.ts.map +0 -1
- package/dist/interfaces/Donation.js +0 -24
- package/dist/interfaces/Donation.js.map +0 -1
- package/dist/interfaces/Error.d.ts +0 -17
- package/dist/interfaces/Error.d.ts.map +0 -1
- package/dist/interfaces/Error.js +0 -4
- package/dist/interfaces/Error.js.map +0 -1
- package/dist/interfaces/Membership.d.ts +0 -172
- package/dist/interfaces/Membership.d.ts.map +0 -1
- package/dist/interfaces/Membership.js +0 -3
- package/dist/interfaces/Membership.js.map +0 -1
- package/dist/interfaces/Messaging.d.ts +0 -77
- package/dist/interfaces/Messaging.d.ts.map +0 -1
- package/dist/interfaces/Messaging.js +0 -3
- package/dist/interfaces/Messaging.js.map +0 -1
- package/dist/interfaces/Permissions.d.ts +0 -159
- package/dist/interfaces/Permissions.d.ts.map +0 -1
- package/dist/interfaces/Permissions.js +0 -67
- package/dist/interfaces/Permissions.js.map +0 -1
- package/dist/interfaces/Reporting.d.ts +0 -45
- package/dist/interfaces/Reporting.d.ts.map +0 -1
- package/dist/interfaces/Reporting.js +0 -3
- package/dist/interfaces/Reporting.js.map +0 -1
- package/dist/interfaces/UserContextInterface.d.ts +0 -13
- package/dist/interfaces/UserContextInterface.d.ts.map +0 -1
- package/dist/interfaces/UserContextInterface.js +0 -3
- package/dist/interfaces/UserContextInterface.js.map +0 -1
- package/dist/interfaces/index.d.ts +0 -12
- package/dist/interfaces/index.d.ts.map +0 -1
- package/dist/interfaces/index.js +0 -29
- package/dist/interfaces/index.js.map +0 -1
- package/src/interfaces/Access.ts +0 -24
- package/src/interfaces/Attendance.ts +0 -8
- package/src/interfaces/Content.ts +0 -10
- package/src/interfaces/Doing.ts +0 -24
- package/src/interfaces/Donation.ts +0 -45
- package/src/interfaces/Error.ts +0 -17
- package/src/interfaces/Membership.ts +0 -51
- package/src/interfaces/Messaging.ts +0 -11
- package/src/interfaces/Permissions.ts +0 -68
- package/src/interfaces/Reporting.ts +0 -7
- package/src/interfaces/UserContextInterface.ts +0 -13
- package/src/interfaces/index.ts +0 -13
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Permissions = void 0;
|
|
4
|
-
class Permissions {
|
|
5
|
-
}
|
|
6
|
-
exports.Permissions = Permissions;
|
|
7
|
-
Permissions.attendanceApi = {
|
|
8
|
-
attendance: {
|
|
9
|
-
view: { api: "AttendanceApi", contentType: "Attendance", action: "View" },
|
|
10
|
-
viewSummary: { api: "AttendanceApi", contentType: "Attendance", action: "View Summary" },
|
|
11
|
-
edit: { api: "AttendanceApi", contentType: "Attendance", action: "Edit" }
|
|
12
|
-
},
|
|
13
|
-
services: {
|
|
14
|
-
edit: { api: "AttendanceApi", contentType: "Services", action: "Edit" }
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
Permissions.membershipApi = {
|
|
18
|
-
roles: {
|
|
19
|
-
view: { api: "MembershipApi", contentType: "Roles", action: "View" },
|
|
20
|
-
edit: { api: "MembershipApi", contentType: "Roles", action: "Edit" }
|
|
21
|
-
},
|
|
22
|
-
settings: {
|
|
23
|
-
edit: { api: "MembershipApi", contentType: "Settings", action: "Edit" }
|
|
24
|
-
},
|
|
25
|
-
server: {
|
|
26
|
-
admin: { api: "MembershipApi", contentType: "Server", action: "Admin" }
|
|
27
|
-
},
|
|
28
|
-
forms: {
|
|
29
|
-
admin: { api: "MembershipApi", contentType: "Forms", action: "Admin" },
|
|
30
|
-
edit: { api: "MembershipApi", contentType: "Forms", action: "Edit" }
|
|
31
|
-
},
|
|
32
|
-
groups: {
|
|
33
|
-
edit: { api: "MembershipApi", contentType: "Groups", action: "Edit" }
|
|
34
|
-
},
|
|
35
|
-
people: {
|
|
36
|
-
view: { api: "MembershipApi", contentType: "People", action: "View" },
|
|
37
|
-
viewMembers: { api: "MembershipApi", contentType: "People", action: "View Members" },
|
|
38
|
-
edit: { api: "MembershipApi", contentType: "People", action: "Edit" }
|
|
39
|
-
},
|
|
40
|
-
groupMembers: {
|
|
41
|
-
edit: { api: "MembershipApi", contentType: "Group Members", action: "Edit" },
|
|
42
|
-
view: { api: "MembershipApi", contentType: "Group Members", action: "View" }
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
Permissions.givingApi = {
|
|
46
|
-
donations: {
|
|
47
|
-
viewSummary: { api: "GivingApi", contentType: "Donations", action: "View Summary" },
|
|
48
|
-
view: { api: "GivingApi", contentType: "Donations", action: "View" },
|
|
49
|
-
edit: { api: "GivingApi", contentType: "Donations", action: "Edit" }
|
|
50
|
-
},
|
|
51
|
-
settings: {
|
|
52
|
-
view: { api: "GivingApi", contentType: "Settings", action: "View" },
|
|
53
|
-
edit: { api: "GivingApi", contentType: "Settings", action: "Edit" }
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
Permissions.contentApi = {
|
|
57
|
-
chat: {
|
|
58
|
-
host: { api: "ContentApi", contentType: "Chat", action: "Host" }
|
|
59
|
-
},
|
|
60
|
-
content: {
|
|
61
|
-
edit: { api: "ContentApi", contentType: "Content", action: "Edit" }
|
|
62
|
-
},
|
|
63
|
-
streamingServices: {
|
|
64
|
-
edit: { api: "ContentApi", contentType: "StreamingServices", action: "Edit" }
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
//# sourceMappingURL=Permissions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Permissions.js","sourceRoot":"","sources":["../../src/interfaces/Permissions.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export interface ReportResultInterface {
|
|
2
|
-
displayName: string;
|
|
3
|
-
description: string;
|
|
4
|
-
table: any[];
|
|
5
|
-
outputs: ReportOutputInterface[];
|
|
6
|
-
}
|
|
7
|
-
export interface ReportInterface {
|
|
8
|
-
keyName: string;
|
|
9
|
-
displayName: string;
|
|
10
|
-
description: string;
|
|
11
|
-
parameters: ParameterInterface[];
|
|
12
|
-
permissions: ReportPermissionGroupInterface[];
|
|
13
|
-
}
|
|
14
|
-
export interface ParameterInterface {
|
|
15
|
-
keyName: string;
|
|
16
|
-
displayName?: string;
|
|
17
|
-
source: string;
|
|
18
|
-
sourceKey: string;
|
|
19
|
-
options: {
|
|
20
|
-
value: string;
|
|
21
|
-
text: string;
|
|
22
|
-
}[];
|
|
23
|
-
value?: string;
|
|
24
|
-
requiredParentIds?: string[];
|
|
25
|
-
defaultValue: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ReportOutputInterface {
|
|
28
|
-
outputType: string;
|
|
29
|
-
columns: ColumnInterface[];
|
|
30
|
-
groupings?: number[];
|
|
31
|
-
}
|
|
32
|
-
export interface ColumnInterface {
|
|
33
|
-
header: string;
|
|
34
|
-
value: string;
|
|
35
|
-
formatter: string;
|
|
36
|
-
}
|
|
37
|
-
export interface ReportPermissionGroupInterface {
|
|
38
|
-
requireOne: ReportPermissionInterface[];
|
|
39
|
-
}
|
|
40
|
-
export interface ReportPermissionInterface {
|
|
41
|
-
api: string;
|
|
42
|
-
contentType: string;
|
|
43
|
-
action: string;
|
|
44
|
-
}
|
|
45
|
-
//# sourceMappingURL=Reporting.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Reporting.d.ts","sourceRoot":"","sources":["../../src/interfaces/Reporting.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IAAG,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,GAAG,EAAE,CAAC;IAAC,OAAO,EAAE,qBAAqB,EAAE,CAAA;CAAE;AACnI,MAAM,WAAW,eAAe;IAAG,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,kBAAkB,EAAE,CAAC;IAAC,WAAW,EAAE,8BAA8B,EAAE,CAAA;CAAE;AAC/K,MAAM,WAAW,kBAAkB;IAAG,OAAO,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE;AAChO,MAAM,WAAW,qBAAqB;IAAG,UAAU,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,eAAe,EAAE,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE;AAC/G,MAAM,WAAW,eAAe;IAAG,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;AACrF,MAAM,WAAW,8BAA8B;IAAG,UAAU,EAAE,yBAAyB,EAAE,CAAA;CAAE;AAC3F,MAAM,WAAW,yBAAyB;IAAG,GAAG,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Reporting.js","sourceRoot":"","sources":["../../src/interfaces/Reporting.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LoginUserChurchInterface, UserInterface } from "./Access";
|
|
2
|
-
import { PersonInterface } from "./Membership";
|
|
3
|
-
export interface UserContextInterface {
|
|
4
|
-
user: UserInterface;
|
|
5
|
-
setUser: (user: UserInterface) => void;
|
|
6
|
-
person: PersonInterface;
|
|
7
|
-
setPerson: (person: PersonInterface) => void;
|
|
8
|
-
userChurch: LoginUserChurchInterface;
|
|
9
|
-
setUserChurch: (userChurch: LoginUserChurchInterface) => void;
|
|
10
|
-
userChurches: LoginUserChurchInterface[];
|
|
11
|
-
setUserChurches: (userChurches: LoginUserChurchInterface[]) => void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=UserContextInterface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserContextInterface.d.ts","sourceRoot":"","sources":["../../src/interfaces/UserContextInterface.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvC,MAAM,EAAE,eAAe,CAAC;IACxB,SAAS,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IAC7C,UAAU,EAAE,wBAAwB,CAAC;IACrC,aAAa,EAAE,CAAC,UAAU,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAC9D,YAAY,EAAE,wBAAwB,EAAE,CAAC;IACzC,eAAe,EAAE,CAAC,YAAY,EAAE,wBAAwB,EAAE,KAAK,IAAI,CAAC;CACrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UserContextInterface.js","sourceRoot":"","sources":["../../src/interfaces/UserContextInterface.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export * from "./Error";
|
|
2
|
-
export * from "./UserContextInterface";
|
|
3
|
-
export * from "./Permissions";
|
|
4
|
-
export * from "./Access";
|
|
5
|
-
export * from "./Attendance";
|
|
6
|
-
export * from "./Content";
|
|
7
|
-
export * from "./Doing";
|
|
8
|
-
export * from "./Donation";
|
|
9
|
-
export * from "./Membership";
|
|
10
|
-
export * from "./Messaging";
|
|
11
|
-
export * from "./Reporting";
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAA;AAG7B,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
package/dist/interfaces/index.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./Error"), exports);
|
|
18
|
-
__exportStar(require("./UserContextInterface"), exports);
|
|
19
|
-
__exportStar(require("./Permissions"), exports);
|
|
20
|
-
// API interfaces
|
|
21
|
-
__exportStar(require("./Access"), exports);
|
|
22
|
-
__exportStar(require("./Attendance"), exports);
|
|
23
|
-
__exportStar(require("./Content"), exports);
|
|
24
|
-
__exportStar(require("./Doing"), exports);
|
|
25
|
-
__exportStar(require("./Donation"), exports);
|
|
26
|
-
__exportStar(require("./Membership"), exports);
|
|
27
|
-
__exportStar(require("./Messaging"), exports);
|
|
28
|
-
__exportStar(require("./Reporting"), exports);
|
|
29
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yDAAuC;AACvC,gDAA6B;AAE7B,iBAAiB;AACjB,2CAAyB;AACzB,+CAA6B;AAC7B,4CAA0B;AAC1B,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,8CAA4B;AAC5B,8CAA4B"}
|
package/src/interfaces/Access.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PersonInterface } from "./Membership";
|
|
2
|
-
|
|
3
|
-
export interface ApiInterface { name: string, keyName?: string, permissions: RolePermissionInterface[], jwt: string }
|
|
4
|
-
export interface ChurchInterface { id?: string, name?: string, registrationDate?: Date, address1?: string, address2?: string, city?: string, state?: string, zip?: string, country?: string, subDomain?: string, settings?: GenericSettingInterface[], archivedDate?: Date }
|
|
5
|
-
export interface DomainInterface { id?: string, domainName?: string }
|
|
6
|
-
export interface RegisterChurchRequestInterface extends ChurchInterface { appName?: string }
|
|
7
|
-
export interface LoadCreateUserRequestInterface { userEmail: string, fromEmail?: string, subject?: string, body?: string, firstName: string, lastName: string }
|
|
8
|
-
export interface LoginResponseInterface { user: UserInterface, userChurches: LoginUserChurchInterface[], errors: string[] }
|
|
9
|
-
export interface LoginUserChurchInterface { person: PersonInterface, church: ChurchInterface, apis: ApiInterface[], jwt: string, groups: { id: string, name: string, leader:boolean }[] }
|
|
10
|
-
|
|
11
|
-
export interface PermissionInterface { apiName?: string, section?: string, action?: string, displaySection?: string, displayAction?: string }
|
|
12
|
-
export interface RegisterUserInterface { firstName?: string, lastName: string, email?: string, appName: string, appUrl: string }
|
|
13
|
-
export interface RoleInterface { id?: string, churchId?: string, name?: string }
|
|
14
|
-
export interface RolePermissionInterface { id?: string, churchId?: string, roleId?: string, apiName?: string, contentType?: string, contentId?: string, action?: string }
|
|
15
|
-
export interface RoleMemberInterface { id?: string, churchId?: string, roleId?: string, userId?: string, user?: UserInterface, personId?: string }
|
|
16
|
-
export interface ResetPasswordRequestInterface { userEmail: string }
|
|
17
|
-
export interface ResetPasswordResponseInterface { emailed: boolean }
|
|
18
|
-
export interface UserInterface { id?: string, email?: string, authGuid?: string, firstName?: string, lastName?: string, registrationDate?: Date, lastLogin?: Date, password?: string, jwt?: string }
|
|
19
|
-
export interface GenericSettingInterface { id?: string, churchId?: string, keyName?: string, value?: string, public?: number }
|
|
20
|
-
export interface UserChurchInterface { id?: string, userId?: string, churchId?: string, personId?: string }
|
|
21
|
-
|
|
22
|
-
export interface ApiConfig { keyName: string, url: string, jwt: string, permisssions: RolePermissionInterface[] }
|
|
23
|
-
export type ApiListType = "MembershipApi" | "AttendanceApi" | "GivingApi" | "DoingApi" | "MessagingApi" | "LessonsApi" | "ReportingApi" | "ContentApi";
|
|
24
|
-
export interface IPermission { api: string, contentType: string, action: string }
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { CampusInterface, ServiceInterface, ServiceTimeInterface, PersonInterface } from "."
|
|
2
|
-
|
|
3
|
-
export interface AttendanceInterface { campus: CampusInterface, service: ServiceInterface, serviceTime: ServiceTimeInterface, groupId: string }
|
|
4
|
-
export interface AttendanceRecordInterface { serviceTime: ServiceTimeInterface, service: ServiceInterface, campus: CampusInterface, week: number, count: number, visitDate: Date, groupId: string }
|
|
5
|
-
export interface VisitInterface { id?: string, personId?: string, serviceId?: string, groupId?: string, visitDate?: Date, visitSessions?: VisitSessionInterface[], person?: PersonInterface }
|
|
6
|
-
export interface VisitSessionInterface { id?: string, visitId?: string, sessionId?: string, visit?: VisitInterface, session?: SessionInterface }
|
|
7
|
-
export interface SessionInterface { id?: string, groupId: string, serviceTimeId: string, sessionDate?: Date, displayName: string }
|
|
8
|
-
export interface SettingInterface { id?: string, keyName?: string, value?: string }
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface LinkInterface { id?: string; churchId?: string; url?: string; text?: string; sort?: number; linkType: string; linkData: string; icon: string; category: string; parentId?: string; children?: any }
|
|
2
|
-
export interface SermonInterface { id?: string, churchId?: string, playlistId?: string, videoType?: string, videoData?: string, videoUrl?: string, title?: string, description?: string, publishDate?: Date, thumbnail?: string, duration?: number, permanentUrl?: boolean }
|
|
3
|
-
export interface PlaylistInterface { id?: string, churchId?: string, title?: string, description?: string, publishDate?: Date, thumbnail?: string }
|
|
4
|
-
export interface StreamingServiceInterface { id?: string, churchId?: string, serviceTime?: Date, earlyStart?: number, duration: number, chatBefore: number, chatAfter: number, provider: string, providerKey: string, videoUrl: string, timezoneOffset: number, recurring: boolean, label: string, sermonId?: string }
|
|
5
|
-
export interface EventInterface { id?: string; churchId?: string; groupId?: string; start?: Date; end?:Date, title?: string; description?: string; allDay?: boolean; visibility?:string; recurrenceRule?:string; exceptionDates?:Date[] }
|
|
6
|
-
export interface EventExceptionInterface { id?: string; churchId?: string; eventId?: string; exceptionDate?: Date; }
|
|
7
|
-
export interface CuratedCalendarInterface { id?: string, churchId?: string, name?:string }
|
|
8
|
-
export interface CuratedEventInterface { id?: string, churchId?: string, curratedCalendarId?: string, groupId?: string, eventId?: string }
|
|
9
|
-
export interface CuratedEventWithEventInterface extends EventInterface, CuratedEventInterface {}
|
|
10
|
-
export type VisibilityOptions = "public" | "private" | "hidden";
|
package/src/interfaces/Doing.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface ActionInterface { id?: string, automationId?: string, actionType?: string, actionData?: string }
|
|
2
|
-
export interface AutomationInterface { id?: string, title: string, recurs: string, active: boolean }
|
|
3
|
-
export interface ConditionInterface { id?: string, conjunctionId?: string, field?: string, fieldData?: string, operator?: string, value?: string, label?: string }
|
|
4
|
-
export interface ConjunctionInterface { id?: string, automationId?: string, parentId?: string, groupType?: string, conjunctions?: ConjunctionInterface[], conditions?: ConditionInterface[] }
|
|
5
|
-
export interface TaskInterface {
|
|
6
|
-
id?: string,
|
|
7
|
-
taskNumber?: number,
|
|
8
|
-
taskType?: string,
|
|
9
|
-
dateCreated?: Date,
|
|
10
|
-
dateClosed?: Date,
|
|
11
|
-
associatedWithType?: string,
|
|
12
|
-
associatedWithId?: string,
|
|
13
|
-
associatedWithLabel?: string,
|
|
14
|
-
createdByType?: string,
|
|
15
|
-
createdById?: string,
|
|
16
|
-
createdByLabel?: string,
|
|
17
|
-
assignedToType?: string,
|
|
18
|
-
assignedToId?: string,
|
|
19
|
-
assignedToLabel?: string,
|
|
20
|
-
title?: string,
|
|
21
|
-
status?: string,
|
|
22
|
-
automationId?: string,
|
|
23
|
-
conversationId?: string
|
|
24
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { PersonInterface } from "."
|
|
2
|
-
|
|
3
|
-
export interface DonationBatchInterface { id?: string, name?: string, batchDate?: Date, donationCount?: number, totalAmount?: number }
|
|
4
|
-
export interface DonationInterface { id?: string, batchId?: string, personId?: string, donationDate?: Date, amount?: number, method?: string, methodDetails?: string, notes?: string, person?: PersonInterface, fund?: FundInterface }
|
|
5
|
-
export interface DonationSummaryInterface { week: number, donations?: DonationSummaryDonation[] }
|
|
6
|
-
export interface DonationSummaryDonation { totalAmount: number, fund?: FundInterface }
|
|
7
|
-
export interface FundInterface { id: string, name: string, amount?: number }
|
|
8
|
-
export interface FundDonationInterface { id?: string, donationId?: string, fundId?: string, amount?: number, donation?: DonationInterface }
|
|
9
|
-
export interface PaymentMethodInterface { id?: string, churchId?: string, personId?: string, customerId?: string, email?: string, name?: string }
|
|
10
|
-
export interface StripeCardUpdateInterface { paymentMethodId: string, cardData: StripeCardDataInterface, personId?: string }
|
|
11
|
-
export interface StripeCardDataInterface { card: StripeCardExpirationInterface }
|
|
12
|
-
export interface StripeCardExpirationInterface { exp_month: string, exp_year: string }
|
|
13
|
-
export interface StripeBankAccountInterface { account_holder_name: any, account_holder_type: any, country: string, currency: string, account_number: any, routing_number: any }
|
|
14
|
-
export interface StripeBankAccountUpdateInterface { paymentMethodId: string, customerId: string, personId?: string, bankData: StripeBankAccountHolderDataInterface }
|
|
15
|
-
export interface StripeBankAccountHolderDataInterface { account_holder_name: string, account_holder_type: string }
|
|
16
|
-
export interface StripeBankAccountVerifyInterface { customerId: string, paymentMethodId: string, amountData: { amounts: string[] } }
|
|
17
|
-
export interface StripePersonDonationInterface { id: string, email: string, name: string };
|
|
18
|
-
export interface StripeFundDonationInterface { id: string, amount: number, name?: string };
|
|
19
|
-
export interface StripeDonationInterface { id?: string, type?: string, amount?: number, customerId?: string, billing_cycle_anchor?: number, proration_behavior?: string, interval?: StripeDonationIntervalInterface, person?: StripePersonDonationInterface, funds?: StripeFundDonationInterface[], notes?: string, churchId?: string };
|
|
20
|
-
export interface StripeDonationIntervalInterface { interval: string, interval_count: number };
|
|
21
|
-
export interface SubscriptionInterface { id: string, funds: [], billing_cycle_anchor: number, default_payment_method: string, default_source: string, plan: { amount: number, interval: string, interval_count: number }, customer: string };
|
|
22
|
-
|
|
23
|
-
export class StripePaymentMethod {
|
|
24
|
-
id: string;
|
|
25
|
-
type: string;
|
|
26
|
-
name: string;
|
|
27
|
-
last4: string;
|
|
28
|
-
exp_month?: string;
|
|
29
|
-
exp_year?: string;
|
|
30
|
-
status?: string;
|
|
31
|
-
account_holder_name?: string;
|
|
32
|
-
account_holder_type?: string;
|
|
33
|
-
|
|
34
|
-
constructor(obj?: any) {
|
|
35
|
-
this.id = obj?.id || null;
|
|
36
|
-
this.type = obj?.type || (obj?.object && obj.object === "bank_account" ? "bank" : null);
|
|
37
|
-
this.name = obj?.card?.brand || obj?.bank_name || null;
|
|
38
|
-
this.last4 = obj?.last4 || obj?.card?.last4 || null;
|
|
39
|
-
this.exp_month = obj?.exp_month || obj?.card?.exp_month || null;
|
|
40
|
-
this.exp_year = obj?.exp_year || obj?.card?.exp_year || null;
|
|
41
|
-
this.status = obj?.status || null;
|
|
42
|
-
this.account_holder_name = obj?.account_holder_name || "";
|
|
43
|
-
this.account_holder_type = obj?.account_holder_type || "individual";
|
|
44
|
-
}
|
|
45
|
-
}
|
package/src/interfaces/Error.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface ErrorLogInterface {
|
|
2
|
-
application?: string,
|
|
3
|
-
errorTime?: Date,
|
|
4
|
-
userId?: string,
|
|
5
|
-
churchId?: string,
|
|
6
|
-
originUrl?: string,
|
|
7
|
-
errorType?: string,
|
|
8
|
-
message?: string,
|
|
9
|
-
details?: string,
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export interface ErrrorAppDataInterface {
|
|
13
|
-
churchId: string,
|
|
14
|
-
userId: string,
|
|
15
|
-
originUrl: string,
|
|
16
|
-
application: string
|
|
17
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
export interface AnswerInterface { id?: string, value?: string, questionId?: string, formSubmissionId?: string, required?: boolean }
|
|
2
|
-
export interface CampusInterface { id?: string, name?: string }
|
|
3
|
-
export interface ContactInfoInterface { address1?: string, address2?: string, city?: string, state?: string, zip?: string, homePhone?: string, mobilePhone?: string, workPhone?: string, email?: string, pager?: string, fax?: string, skype?: string, workEmail?: string }
|
|
4
|
-
export interface FormInterface { id?: string, name?: string, contentType?: string, restricted?: boolean, accessStartTime?: Date, accessEndTime?: Date, archived: boolean, action?: string }
|
|
5
|
-
export interface FormSubmissionInterface { id?: string, formId?: string, contentType?: string, contentId?: string, form?: FormInterface, answers?: AnswerInterface[], questions?: QuestionInterface[] }
|
|
6
|
-
export interface GroupInterface { id?: string, name?: string, categoryName?: string, memberCount?: number, trackAttendance?: boolean, parentPickup?: boolean, about?: string, photoUrl?: string }
|
|
7
|
-
export interface GroupMemberInterface { id?: string, personId: string, person?: PersonInterface, groupId: string, group?: GroupInterface, leader?: boolean }
|
|
8
|
-
export interface GroupServiceTimeInterface { id?: string, groupId?: string, serviceTimeId?: string, serviceTime?: ServiceTimeInterface }
|
|
9
|
-
export interface HouseholdInterface { id?: string, name?: string }
|
|
10
|
-
export interface HouseholdMemberInterface { id?: string, householdId?: string, household?: HouseholdInterface, personId?: string, person?: PersonInterface, role?: string }
|
|
11
|
-
export interface NameInterface { first?: string, middle?: string, last?: string, nick?: string, display?: string, title?: string, suffix?: string }
|
|
12
|
-
export interface SearchCondition { field: string, operator: string, value: string }
|
|
13
|
-
|
|
14
|
-
export interface PersonInterface {
|
|
15
|
-
id?: string,
|
|
16
|
-
name: NameInterface,
|
|
17
|
-
contactInfo: ContactInfoInterface,
|
|
18
|
-
membershipStatus?: string,
|
|
19
|
-
gender?: string,
|
|
20
|
-
birthDate?: Date,
|
|
21
|
-
maritalStatus?: string,
|
|
22
|
-
anniversary?: Date,
|
|
23
|
-
photo?: string,
|
|
24
|
-
photoUpdated?: Date,
|
|
25
|
-
householdId?: string,
|
|
26
|
-
householdRole?: string,
|
|
27
|
-
userId?: string,
|
|
28
|
-
school?: string,
|
|
29
|
-
grade?: string,
|
|
30
|
-
graduationDate?: string,
|
|
31
|
-
employer?: string,
|
|
32
|
-
formSubmissions?: [FormSubmissionInterface]
|
|
33
|
-
child?: boolean,
|
|
34
|
-
inactiveReason?: string,
|
|
35
|
-
inactiveDate?: Date,
|
|
36
|
-
servicesUser?: boolean,
|
|
37
|
-
calendarUser?: boolean,
|
|
38
|
-
checkInsUser?: boolean,
|
|
39
|
-
registrationsUser?: boolean,
|
|
40
|
-
givingUser?: boolean,
|
|
41
|
-
groupsUser?: boolean,
|
|
42
|
-
conversationId?: string,
|
|
43
|
-
optedOut?: boolean,
|
|
44
|
-
nametagNotes?: string
|
|
45
|
-
}
|
|
46
|
-
export interface QuestionInterface { id?: string, formId?: string, title?: string, fieldType?: string, placeholder?: string, description?: string, required?: boolean, choices?: [{ value?: string, text?: string }] }
|
|
47
|
-
export interface ServiceInterface { id?: string, campusId?: string, name?: string, campus?: CampusInterface }
|
|
48
|
-
export interface ServiceTimeInterface { id?: string, name?: string, longName?: string, serviceId?: string, groups?: GroupInterface[] }
|
|
49
|
-
export interface MemberPermissionInterface { id?: string, churchId?: string, memberId?: string, contentType?: string, contentId?: string, action?: string, personName: string, formName?: string, emailNotification?: boolean }
|
|
50
|
-
export interface FormMemberInterface { person?: PersonInterface, access?: string }
|
|
51
|
-
export interface FormMemberListInterface { members?: FormMemberInterface[] }
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PersonInterface } from "./Membership";
|
|
2
|
-
|
|
3
|
-
export interface ConnectionInterface { id?: string, churchId?: string, conversationId?: string, personId?: string, displayName?: string, timeJoined?: Date, socketId?: string }
|
|
4
|
-
export interface ConversationInterface { id?: string, churchId?: string, contentType?: string, contentId?: string, title?: string, dateCreated?: Date, groupId?: string, visibility?: string, firstPostId?: string, lastPostId?: string, postCount?: number, allowAnonymousPosts?: boolean, messages?: MessageInterface[] }
|
|
5
|
-
export interface MessageInterface { id?: string, churchId?: string, conversationId?: string, personId?: string, displayName?: string, timeSent?: Date, timeUpdated?: Date, messageType?: string, content?: string, person?: PersonInterface }
|
|
6
|
-
export interface NotificationInterface { id?: string, churchId?: string, personId?: string, contentType?: string, contentId:string, timeSent?: Date, isNew:boolean, message?:string, deliveryMethod?:string }
|
|
7
|
-
export interface NotificationPreferenceInterface { id?: string, churchId?: string, personId?: string, allowPush:boolean, emailFrequency:string }
|
|
8
|
-
export interface PrivateMessageInterface { id?: string, churchId?: string, fromPersonId?: string, toPersonId?: string, conversationId?: string, notifyPersonId?: string, conversation?: ConversationInterface, person?: PersonInterface, deliveryMethod?: string }
|
|
9
|
-
export interface SocketActionHandlerInterface { action:string, id:string, handleMessage:(data:any) => void }
|
|
10
|
-
export type SocketPayloadAction = "message" | "deleteMessage" | "callout" | "attendance" | "prayerRequest" | "socketId" | "privateMessage" | "privateRoomAdded" | "videoChatInvite" | "reconnect";
|
|
11
|
-
export interface SocketPayloadInterface { action: SocketPayloadAction, data: any }
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
export class Permissions {
|
|
2
|
-
static attendanceApi = {
|
|
3
|
-
attendance: {
|
|
4
|
-
view: { api: "AttendanceApi", contentType: "Attendance", action: "View" },
|
|
5
|
-
viewSummary: { api: "AttendanceApi", contentType: "Attendance", action: "View Summary" },
|
|
6
|
-
edit: { api: "AttendanceApi", contentType: "Attendance", action: "Edit" }
|
|
7
|
-
},
|
|
8
|
-
services: {
|
|
9
|
-
edit: { api: "AttendanceApi", contentType: "Services", action: "Edit" }
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
static membershipApi = {
|
|
14
|
-
roles: {
|
|
15
|
-
view: { api: "MembershipApi", contentType: "Roles", action: "View" },
|
|
16
|
-
edit: { api: "MembershipApi", contentType: "Roles", action: "Edit" }
|
|
17
|
-
},
|
|
18
|
-
settings: {
|
|
19
|
-
edit: { api: "MembershipApi", contentType: "Settings", action: "Edit" }
|
|
20
|
-
},
|
|
21
|
-
server: {
|
|
22
|
-
admin: { api: "MembershipApi", contentType: "Server", action: "Admin" }
|
|
23
|
-
},
|
|
24
|
-
forms: {
|
|
25
|
-
admin: { api: "MembershipApi", contentType: "Forms", action: "Admin" },
|
|
26
|
-
edit: { api: "MembershipApi", contentType: "Forms", action: "Edit" }
|
|
27
|
-
},
|
|
28
|
-
groups: {
|
|
29
|
-
edit: { api: "MembershipApi", contentType: "Groups", action: "Edit" }
|
|
30
|
-
},
|
|
31
|
-
people: {
|
|
32
|
-
view: { api: "MembershipApi", contentType: "People", action: "View" },
|
|
33
|
-
viewMembers: { api: "MembershipApi", contentType: "People", action: "View Members" },
|
|
34
|
-
edit: { api: "MembershipApi", contentType: "People", action: "Edit" }
|
|
35
|
-
},
|
|
36
|
-
groupMembers: {
|
|
37
|
-
edit: { api: "MembershipApi", contentType: "Group Members", action: "Edit" },
|
|
38
|
-
view: { api: "MembershipApi", contentType: "Group Members", action: "View" }
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
static givingApi = {
|
|
43
|
-
donations: {
|
|
44
|
-
viewSummary: { api: "GivingApi", contentType: "Donations", action: "View Summary" },
|
|
45
|
-
view: { api: "GivingApi", contentType: "Donations", action: "View" },
|
|
46
|
-
edit: { api: "GivingApi", contentType: "Donations", action: "Edit" }
|
|
47
|
-
},
|
|
48
|
-
settings: {
|
|
49
|
-
view: { api: "GivingApi", contentType: "Settings", action: "View" },
|
|
50
|
-
edit: { api: "GivingApi", contentType: "Settings", action: "Edit" }
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
static contentApi = {
|
|
56
|
-
chat: {
|
|
57
|
-
host: { api: "ContentApi", contentType: "Chat", action: "Host" }
|
|
58
|
-
},
|
|
59
|
-
content: {
|
|
60
|
-
edit: { api: "ContentApi", contentType: "Content", action: "Edit" }
|
|
61
|
-
},
|
|
62
|
-
streamingServices: {
|
|
63
|
-
edit: { api: "ContentApi", contentType: "StreamingServices", action: "Edit" }
|
|
64
|
-
},
|
|
65
|
-
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export interface ReportResultInterface { displayName: string, description: string, table: any[], outputs: ReportOutputInterface[] }
|
|
2
|
-
export interface ReportInterface { keyName: string, displayName: string, description: string, parameters: ParameterInterface[], permissions: ReportPermissionGroupInterface[] }
|
|
3
|
-
export interface ParameterInterface { keyName: string, displayName?: string, source: string, sourceKey: string, options: { value: string, text: string }[], value?: string, requiredParentIds?: string[], defaultValue: string }
|
|
4
|
-
export interface ReportOutputInterface { outputType: string, columns: ColumnInterface[], groupings?: number[] }
|
|
5
|
-
export interface ColumnInterface { header: string, value: string, formatter: string }
|
|
6
|
-
export interface ReportPermissionGroupInterface { requireOne: ReportPermissionInterface[] }
|
|
7
|
-
export interface ReportPermissionInterface { api: string, contentType: string, action: string }
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LoginUserChurchInterface, UserInterface } from "./Access";
|
|
2
|
-
import { PersonInterface } from "./Membership";
|
|
3
|
-
|
|
4
|
-
export interface UserContextInterface {
|
|
5
|
-
user: UserInterface,
|
|
6
|
-
setUser: (user: UserInterface) => void,
|
|
7
|
-
person: PersonInterface,
|
|
8
|
-
setPerson: (person: PersonInterface) => void,
|
|
9
|
-
userChurch: LoginUserChurchInterface,
|
|
10
|
-
setUserChurch: (userChurch: LoginUserChurchInterface) => void,
|
|
11
|
-
userChurches: LoginUserChurchInterface[],
|
|
12
|
-
setUserChurches: (userChurches: LoginUserChurchInterface[]) => void,
|
|
13
|
-
}
|
package/src/interfaces/index.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from "./Error";
|
|
2
|
-
export * from "./UserContextInterface";
|
|
3
|
-
export * from "./Permissions"
|
|
4
|
-
|
|
5
|
-
// API interfaces
|
|
6
|
-
export * from "./Access";
|
|
7
|
-
export * from "./Attendance";
|
|
8
|
-
export * from "./Content";
|
|
9
|
-
export * from "./Doing";
|
|
10
|
-
export * from "./Donation";
|
|
11
|
-
export * from "./Membership";
|
|
12
|
-
export * from "./Messaging";
|
|
13
|
-
export * from "./Reporting";
|