@plusscommunities/pluss-core-app 8.0.29 → 8.0.31
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/module/actions/FollowerActions.js +34 -0
- package/dist/module/actions/FollowerActions.js.map +1 -0
- package/dist/module/actions/MediaActions.js +29 -0
- package/dist/module/actions/MediaActions.js.map +1 -0
- package/dist/module/actions/ResidentActions.js +26 -0
- package/dist/module/actions/ResidentActions.js.map +1 -0
- package/dist/module/actions/UserActions.js +223 -0
- package/dist/module/actions/UserActions.js.map +1 -0
- package/dist/module/actions/UserSettingsActions.js +14 -0
- package/dist/module/actions/UserSettingsActions.js.map +1 -0
- package/dist/module/actions/index.js +6 -0
- package/dist/module/actions/index.js.map +1 -0
- package/dist/module/actions/types.js +17 -0
- package/dist/module/actions/types.js.map +1 -0
- package/dist/module/apis/analyticsActions.js +20 -0
- package/dist/module/apis/analyticsActions.js.map +1 -0
- package/dist/module/apis/contactActions.js +27 -0
- package/dist/module/apis/contactActions.js.map +1 -0
- package/dist/module/apis/eventActions.js +161 -0
- package/dist/module/apis/eventActions.js.map +1 -0
- package/dist/module/apis/fileActions.js +93 -0
- package/dist/module/apis/fileActions.js.map +1 -0
- package/dist/module/apis/followerActions.js +38 -0
- package/dist/module/apis/followerActions.js.map +1 -0
- package/dist/module/apis/index.js +13 -0
- package/dist/module/apis/index.js.map +1 -0
- package/dist/module/apis/notificationActions.js +60 -0
- package/dist/module/apis/notificationActions.js.map +1 -0
- package/dist/module/apis/profileActions.js +14 -0
- package/dist/module/apis/profileActions.js.map +1 -0
- package/dist/module/apis/reactionActions.js +76 -0
- package/dist/module/apis/reactionActions.js.map +1 -0
- package/dist/module/apis/settingActions.js +22 -0
- package/dist/module/apis/settingActions.js.map +1 -0
- package/dist/module/apis/stringActions.js +30 -0
- package/dist/module/apis/stringActions.js.map +1 -0
- package/dist/module/apis/typeActions.js +15 -0
- package/dist/module/apis/typeActions.js.map +1 -0
- package/dist/module/apis/userActions.js +104 -0
- package/dist/module/apis/userActions.js.map +1 -0
- package/dist/module/assets/icons/fontawesome/fa-brands-400.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-light-300.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-regular-400.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-solid-900.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa-thin-100.ttf +0 -0
- package/dist/module/assets/icons/fontawesome/fa7-glyphmap.json +4205 -0
- package/dist/module/assets/icons/reactions/heart.png +0 -0
- package/dist/module/assets/icons/reactions/party.png +0 -0
- package/dist/module/assets/icons/reactions/sad.png +0 -0
- package/dist/module/assets/icons/reactions/smile.png +0 -0
- package/dist/module/colours.js +165 -0
- package/dist/module/colours.js.map +1 -0
- package/dist/module/components/AddButton.js +43 -0
- package/dist/module/components/AddButton.js.map +1 -0
- package/dist/module/components/AddToCalendarButton.js +225 -0
- package/dist/module/components/AddToCalendarButton.js.map +1 -0
- package/dist/module/components/Attachment.js +55 -0
- package/dist/module/components/Attachment.js.map +1 -0
- package/dist/module/components/AudienceSelectorLauncher.js +64 -0
- package/dist/module/components/AudienceSelectorLauncher.js.map +1 -0
- package/dist/module/components/AudienceSelectorPage.js +351 -0
- package/dist/module/components/AudienceSelectorPage.js.map +1 -0
- package/dist/module/components/AutoOffsetImage.js +184 -0
- package/dist/module/components/AutoOffsetImage.js.map +1 -0
- package/dist/module/components/BackButton.js +58 -0
- package/dist/module/components/BackButton.js.map +1 -0
- package/dist/module/components/CalendarPopup.js +126 -0
- package/dist/module/components/CalendarPopup.js.map +1 -0
- package/dist/module/components/CategoryTabs.js +155 -0
- package/dist/module/components/CategoryTabs.js.map +1 -0
- package/dist/module/components/CommentReply.js +334 -0
- package/dist/module/components/CommentReply.js.map +1 -0
- package/dist/module/components/CommentSection.js +823 -0
- package/dist/module/components/CommentSection.js.map +1 -0
- package/dist/module/components/ConfirmPopup.js +109 -0
- package/dist/module/components/ConfirmPopup.js.map +1 -0
- package/dist/module/components/ConfirmationPopup.js +72 -0
- package/dist/module/components/ConfirmationPopup.js.map +1 -0
- package/dist/module/components/DocumentUploader.js +253 -0
- package/dist/module/components/DocumentUploader.js.map +1 -0
- package/dist/module/components/DropDownItem.js +75 -0
- package/dist/module/components/DropDownItem.js.map +1 -0
- package/dist/module/components/DropDownMenu.js +41 -0
- package/dist/module/components/DropDownMenu.js.map +1 -0
- package/dist/module/components/EmptyStateMain.js +51 -0
- package/dist/module/components/EmptyStateMain.js.map +1 -0
- package/dist/module/components/EmptyStateWidget.js +48 -0
- package/dist/module/components/EmptyStateWidget.js.map +1 -0
- package/dist/module/components/FontScaleButton.js +37 -0
- package/dist/module/components/FontScaleButton.js.map +1 -0
- package/dist/module/components/FontScalePopup.js +76 -0
- package/dist/module/components/FontScalePopup.js.map +1 -0
- package/dist/module/components/Forbidden.js +58 -0
- package/dist/module/components/Forbidden.js.map +1 -0
- package/dist/module/components/FormCard.js +25 -0
- package/dist/module/components/FormCard.js.map +1 -0
- package/dist/module/components/FormCardSection.js +214 -0
- package/dist/module/components/FormCardSection.js.map +1 -0
- package/dist/module/components/FormCardSectionOptionLauncher.js +73 -0
- package/dist/module/components/FormCardSectionOptionLauncher.js.map +1 -0
- package/dist/module/components/FormattedText.js +133 -0
- package/dist/module/components/FormattedText.js.map +1 -0
- package/dist/module/components/GenericInput.js +151 -0
- package/dist/module/components/GenericInput.js.map +1 -0
- package/dist/module/components/GenericInputSection.js +173 -0
- package/dist/module/components/GenericInputSection.js.map +1 -0
- package/dist/module/components/Header.js +459 -0
- package/dist/module/components/Header.js.map +1 -0
- package/dist/module/components/Icon.js +109 -0
- package/dist/module/components/Icon.js.map +1 -0
- package/dist/module/components/ImagePopup.js +400 -0
- package/dist/module/components/ImagePopup.js.map +1 -0
- package/dist/module/components/ImageUploadProgress.js +69 -0
- package/dist/module/components/ImageUploadProgress.js.map +1 -0
- package/dist/module/components/ImageUploader.js +831 -0
- package/dist/module/components/ImageUploader.js.map +1 -0
- package/dist/module/components/InlineButton.js +66 -0
- package/dist/module/components/InlineButton.js.map +1 -0
- package/dist/module/components/Input.js +156 -0
- package/dist/module/components/Input.js.map +1 -0
- package/dist/module/components/LoadingCircles.js +219 -0
- package/dist/module/components/LoadingCircles.js.map +1 -0
- package/dist/module/components/LoadingIndicator.js +86 -0
- package/dist/module/components/LoadingIndicator.js.map +1 -0
- package/dist/module/components/LoadingStateWidget.js +46 -0
- package/dist/module/components/LoadingStateWidget.js.map +1 -0
- package/dist/module/components/MediaPlayer.js +407 -0
- package/dist/module/components/MediaPlayer.js.map +1 -0
- package/dist/module/components/MiddlePopup.js +49 -0
- package/dist/module/components/MiddlePopup.js.map +1 -0
- package/dist/module/components/PDFPopup.js +296 -0
- package/dist/module/components/PDFPopup.js.map +1 -0
- package/dist/module/components/PlussChat.js +1078 -0
- package/dist/module/components/PlussChat.js.map +1 -0
- package/dist/module/components/PlussChatMessage.js +299 -0
- package/dist/module/components/PlussChatMessage.js.map +1 -0
- package/dist/module/components/PlussChatTime.js +59 -0
- package/dist/module/components/PlussChatTime.js.map +1 -0
- package/dist/module/components/Popup.js +126 -0
- package/dist/module/components/Popup.js.map +1 -0
- package/dist/module/components/PopupMenu.js +120 -0
- package/dist/module/components/PopupMenu.js.map +1 -0
- package/dist/module/components/PositionedImage.js +313 -0
- package/dist/module/components/PositionedImage.js.map +1 -0
- package/dist/module/components/ProfilePic.js +105 -0
- package/dist/module/components/ProfilePic.js.map +1 -0
- package/dist/module/components/RadioButton.js +78 -0
- package/dist/module/components/RadioButton.js.map +1 -0
- package/dist/module/components/Reaction.js +117 -0
- package/dist/module/components/Reaction.js.map +1 -0
- package/dist/module/components/Reactions.js +71 -0
- package/dist/module/components/Reactions.js.map +1 -0
- package/dist/module/components/SharingTools.js +189 -0
- package/dist/module/components/SharingTools.js.map +1 -0
- package/dist/module/components/Spinner.js +22 -0
- package/dist/module/components/Spinner.js.map +1 -0
- package/dist/module/components/StickyFooter.js +34 -0
- package/dist/module/components/StickyFooter.js.map +1 -0
- package/dist/module/components/Text.js +57 -0
- package/dist/module/components/Text.js.map +1 -0
- package/dist/module/components/TickIcon.js +24 -0
- package/dist/module/components/TickIcon.js.map +1 -0
- package/dist/module/components/Toggle.js +66 -0
- package/dist/module/components/Toggle.js.map +1 -0
- package/dist/module/components/TouchableSearchBar.js +68 -0
- package/dist/module/components/TouchableSearchBar.js.map +1 -0
- package/dist/module/components/UserListPopup.js +136 -0
- package/dist/module/components/UserListPopup.js.map +1 -0
- package/dist/module/components/UserListing.js +268 -0
- package/dist/module/components/UserListing.js.map +1 -0
- package/dist/module/components/VideoPopup.js +113 -0
- package/dist/module/components/VideoPopup.js.map +1 -0
- package/dist/module/components/WarningPopup.js +85 -0
- package/dist/module/components/WarningPopup.js.map +1 -0
- package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js +289 -0
- package/dist/module/components/expo-image-picker-multiple/ImageBrowser.js.map +1 -0
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js +117 -0
- package/dist/module/components/expo-image-picker-multiple/ImageTile.js.map +1 -0
- package/dist/module/components/index.js +60 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js +422 -0
- package/dist/module/components/react-native-expo-image-cropper/ExpoImageManipulator.js.map +1 -0
- package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js +387 -0
- package/dist/module/components/react-native-expo-image-cropper/ImageCropOverlay.js.map +1 -0
- package/dist/module/config.js +27 -0
- package/dist/module/config.js.map +1 -0
- package/dist/module/constants.js +18 -0
- package/dist/module/constants.js.map +1 -0
- package/dist/module/helper.js +424 -0
- package/dist/module/helper.js.map +1 -0
- package/dist/module/index.js +13 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/js/images/detectFaces.js +31 -0
- package/dist/module/js/images/detectFaces.js.map +1 -0
- package/dist/module/js/images/findLandmarkRange.js +93 -0
- package/dist/module/js/images/findLandmarkRange.js.map +1 -0
- package/dist/module/js/images/getScaledOffset.js +81 -0
- package/dist/module/js/images/getScaledOffset.js.map +1 -0
- package/dist/module/js/site/getSiteLevelFromState.js +29 -0
- package/dist/module/js/site/getSiteLevelFromState.js.map +1 -0
- package/dist/module/js/site/isTVEnabled.js +10 -0
- package/dist/module/js/site/isTVEnabled.js.map +1 -0
- package/dist/module/session.js +58 -0
- package/dist/module/session.js.map +1 -0
- package/dist/module/styles.js +67 -0
- package/dist/module/styles.js.map +1 -0
- package/dist/module/withNavigationFocus.js +30 -0
- package/dist/module/withNavigationFocus.js.map +1 -0
- package/package.json +1 -1
- package/src/components/PDFPopup.js +130 -35
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import mime from "mime-types";
|
|
2
|
+
import { Storage } from "aws-amplify";
|
|
3
|
+
import { getUrl, generateImageName, randomString } from "../helper";
|
|
4
|
+
import { authedFunction } from "../session";
|
|
5
|
+
import Config from "../config";
|
|
6
|
+
export const fileActions = {
|
|
7
|
+
getUploadUrl: (userId, fileName) => {
|
|
8
|
+
const newFilename = fileName.replace(/[^a-z0-9+.]+/gi, "").toLowerCase();
|
|
9
|
+
return `uploads/users/${userId}/public/${randomString()}/${newFilename}`;
|
|
10
|
+
},
|
|
11
|
+
uploadUserMediaWithProgress: async (imageUri, url, progressCallback = null) => {
|
|
12
|
+
const blob = await fileActions.imageToBlob(imageUri);
|
|
13
|
+
return fileActions.uploadBlobAWS(Config.env.awsUploadsBucket, url, blob, "", progressCallback);
|
|
14
|
+
},
|
|
15
|
+
// uploadUserMedia: async (userId, image, fileName) => {
|
|
16
|
+
// const blob = await fileActions.imageToBlob(image.uri);
|
|
17
|
+
// const url = fileActions.getUploadUrl(userId, fileName);
|
|
18
|
+
// return fileActions.uploadBlobAWS(Config.env.awsUploadsBucket, url, blob);
|
|
19
|
+
// },
|
|
20
|
+
// uploadSignatureImage: async (image, name) => {
|
|
21
|
+
// const blob = await fileActions.imageToBlob(image);
|
|
22
|
+
// const newImageName = generateImageName(name, 'signature.png');
|
|
23
|
+
// return fileActions.uploadBlobAWS(Config.env.awsStorageBucket, newImageName, blob, 'images/');
|
|
24
|
+
// },
|
|
25
|
+
imageToBlob: async imageUri => {
|
|
26
|
+
const response = await fetch(imageUri);
|
|
27
|
+
return response.blob();
|
|
28
|
+
},
|
|
29
|
+
uploadBlobAWS: (bucket, uri, blob, prefix = "", progressCallback = null) => {
|
|
30
|
+
const imageName = prefix ? uri.replace(/^.*[\\/]/, "") : uri;
|
|
31
|
+
const fileType = mime.lookup(uri);
|
|
32
|
+
const access = {
|
|
33
|
+
level: "public",
|
|
34
|
+
bucket,
|
|
35
|
+
contentType: fileType,
|
|
36
|
+
customPrefix: {
|
|
37
|
+
public: ""
|
|
38
|
+
},
|
|
39
|
+
progressCallback: progress => progressCallback && progressCallback({
|
|
40
|
+
uri,
|
|
41
|
+
loaded: progress.loaded,
|
|
42
|
+
total: progress.total,
|
|
43
|
+
percentage: `${Math.floor(progress.loaded / progress.total * 100)}%`
|
|
44
|
+
})
|
|
45
|
+
};
|
|
46
|
+
return Storage.put(`${prefix}${imageName}`, blob, access);
|
|
47
|
+
},
|
|
48
|
+
getStockPhotos: async () => {
|
|
49
|
+
const response = await authedFunction({
|
|
50
|
+
method: "GET",
|
|
51
|
+
url: "https://pluss60.pluss60-api.com/media-demo/library"
|
|
52
|
+
});
|
|
53
|
+
// Convert to images object
|
|
54
|
+
const images = response.data.map(image => {
|
|
55
|
+
return {
|
|
56
|
+
uri: image
|
|
57
|
+
};
|
|
58
|
+
});
|
|
59
|
+
return images;
|
|
60
|
+
},
|
|
61
|
+
getMediaFolders: site => {
|
|
62
|
+
const query = {
|
|
63
|
+
site
|
|
64
|
+
};
|
|
65
|
+
return authedFunction({
|
|
66
|
+
method: "GET",
|
|
67
|
+
url: getUrl("media", "folders", query)
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
// addMediaFolder: (site, name, images) => {
|
|
71
|
+
// return authedFunction({
|
|
72
|
+
// method: 'POST',
|
|
73
|
+
// url: getUrl('media', 'addFolder'),
|
|
74
|
+
// data: {
|
|
75
|
+
// site,
|
|
76
|
+
// name,
|
|
77
|
+
// images,
|
|
78
|
+
// },
|
|
79
|
+
// });
|
|
80
|
+
// },
|
|
81
|
+
// addImagesToFolder: (id, site, images) => {
|
|
82
|
+
// return authedFunction({
|
|
83
|
+
// method: 'POST',
|
|
84
|
+
// url: getUrl('media', 'addImages'),
|
|
85
|
+
// data: {
|
|
86
|
+
// id,
|
|
87
|
+
// site,
|
|
88
|
+
// images,
|
|
89
|
+
// },
|
|
90
|
+
// });
|
|
91
|
+
// },
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=fileActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["mime","Storage","getUrl","generateImageName","randomString","authedFunction","Config","fileActions","getUploadUrl","userId","fileName","newFilename","replace","toLowerCase","uploadUserMediaWithProgress","imageUri","url","progressCallback","blob","imageToBlob","uploadBlobAWS","env","awsUploadsBucket","response","fetch","bucket","uri","prefix","imageName","fileType","lookup","access","level","contentType","customPrefix","public","progress","loaded","total","percentage","Math","floor","put","getStockPhotos","method","images","data","map","image","getMediaFolders","site","query"],"sources":["fileActions.js"],"sourcesContent":["import mime from \"mime-types\";\nimport { Storage } from \"aws-amplify\";\nimport { getUrl, generateImageName, randomString } from \"../helper\";\nimport { authedFunction } from \"../session\";\nimport Config from \"../config\";\n\nexport const fileActions = {\n\tgetUploadUrl: (userId, fileName) => {\n\t\tconst newFilename = fileName.replace(/[^a-z0-9+.]+/gi, \"\").toLowerCase();\n\t\treturn `uploads/users/${userId}/public/${randomString()}/${newFilename}`;\n\t},\n\tuploadUserMediaWithProgress: async (\n\t\timageUri,\n\t\turl,\n\t\tprogressCallback = null,\n\t) => {\n\t\tconst blob = await fileActions.imageToBlob(imageUri);\n\t\treturn fileActions.uploadBlobAWS(\n\t\t\tConfig.env.awsUploadsBucket,\n\t\t\turl,\n\t\t\tblob,\n\t\t\t\"\",\n\t\t\tprogressCallback,\n\t\t);\n\t},\n\t// uploadUserMedia: async (userId, image, fileName) => {\n\t// const blob = await fileActions.imageToBlob(image.uri);\n\t// const url = fileActions.getUploadUrl(userId, fileName);\n\t// return fileActions.uploadBlobAWS(Config.env.awsUploadsBucket, url, blob);\n\t// },\n\t// uploadSignatureImage: async (image, name) => {\n\t// const blob = await fileActions.imageToBlob(image);\n\t// const newImageName = generateImageName(name, 'signature.png');\n\t// return fileActions.uploadBlobAWS(Config.env.awsStorageBucket, newImageName, blob, 'images/');\n\t// },\n\timageToBlob: async (imageUri) => {\n\t\tconst response = await fetch(imageUri);\n\t\treturn response.blob();\n\t},\n\tuploadBlobAWS: (bucket, uri, blob, prefix = \"\", progressCallback = null) => {\n\t\tconst imageName = prefix ? uri.replace(/^.*[\\\\/]/, \"\") : uri;\n\t\tconst fileType = mime.lookup(uri);\n\t\tconst access = {\n\t\t\tlevel: \"public\",\n\t\t\tbucket,\n\t\t\tcontentType: fileType,\n\t\t\tcustomPrefix: { public: \"\" },\n\t\t\tprogressCallback: (progress) =>\n\t\t\t\tprogressCallback &&\n\t\t\t\tprogressCallback({\n\t\t\t\t\turi,\n\t\t\t\t\tloaded: progress.loaded,\n\t\t\t\t\ttotal: progress.total,\n\t\t\t\t\tpercentage: `${Math.floor((progress.loaded / progress.total) * 100)}%`,\n\t\t\t\t}),\n\t\t};\n\t\treturn Storage.put(`${prefix}${imageName}`, blob, access);\n\t},\n\tgetStockPhotos: async () => {\n\t\tconst response = await authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: \"https://pluss60.pluss60-api.com/media-demo/library\",\n\t\t});\n\t\t// Convert to images object\n\t\tconst images = response.data.map((image) => {\n\t\t\treturn { uri: image };\n\t\t});\n\t\treturn images;\n\t},\n\tgetMediaFolders: (site) => {\n\t\tconst query = { site };\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"media\", \"folders\", query),\n\t\t});\n\t},\n\t// addMediaFolder: (site, name, images) => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('media', 'addFolder'),\n\t// data: {\n\t// site,\n\t// name,\n\t// images,\n\t// },\n\t// });\n\t// },\n\t// addImagesToFolder: (id, site, images) => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('media', 'addImages'),\n\t// data: {\n\t// id,\n\t// site,\n\t// images,\n\t// },\n\t// });\n\t// },\n};\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { getUrl, getAuthTokenHeader } from "../helper";
|
|
2
|
+
import { authedFunction } from "../session";
|
|
3
|
+
export const followerActions = {
|
|
4
|
+
addFollower: async (contact, userID) => {
|
|
5
|
+
const request = {
|
|
6
|
+
method: "POST",
|
|
7
|
+
url: getUrl("followers", "addFollower"),
|
|
8
|
+
data: {
|
|
9
|
+
contact,
|
|
10
|
+
userID
|
|
11
|
+
},
|
|
12
|
+
headers: {}
|
|
13
|
+
};
|
|
14
|
+
request.headers.authorization = await getAuthTokenHeader();
|
|
15
|
+
return authedFunction(request);
|
|
16
|
+
},
|
|
17
|
+
removeFollower: async (contactID, userID) => {
|
|
18
|
+
const request = {
|
|
19
|
+
method: "POST",
|
|
20
|
+
url: getUrl("followers", "removeFollower"),
|
|
21
|
+
data: {
|
|
22
|
+
contactID,
|
|
23
|
+
userID
|
|
24
|
+
},
|
|
25
|
+
headers: {}
|
|
26
|
+
};
|
|
27
|
+
request.headers.authorization = await getAuthTokenHeader();
|
|
28
|
+
return authedFunction(request);
|
|
29
|
+
},
|
|
30
|
+
getFollowing: async () => {
|
|
31
|
+
const request = {
|
|
32
|
+
method: "GET",
|
|
33
|
+
url: getUrl("followers", "getFollowing")
|
|
34
|
+
};
|
|
35
|
+
return authedFunction(request);
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=followerActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getUrl","getAuthTokenHeader","authedFunction","followerActions","addFollower","contact","userID","request","method","url","data","headers","authorization","removeFollower","contactID","getFollowing"],"sources":["followerActions.js"],"sourcesContent":["import { getUrl, getAuthTokenHeader } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport const followerActions = {\n\taddFollower: async (contact, userID) => {\n\t\tconst request = {\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"followers\", \"addFollower\"),\n\t\t\tdata: { contact, userID },\n\t\t\theaders: {},\n\t\t};\n\t\trequest.headers.authorization = await getAuthTokenHeader();\n\t\treturn authedFunction(request);\n\t},\n\tremoveFollower: async (contactID, userID) => {\n\t\tconst request = {\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"followers\", \"removeFollower\"),\n\t\t\tdata: { contactID, userID },\n\t\t\theaders: {},\n\t\t};\n\t\trequest.headers.authorization = await getAuthTokenHeader();\n\t\treturn authedFunction(request);\n\t},\n\tgetFollowing: async () => {\n\t\tconst request = {\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"followers\", \"getFollowing\"),\n\t\t};\n\t\treturn authedFunction(request);\n\t},\n};\n"],"mappings":"AAAA,SAASA,MAAM,EAAEC,kBAAkB,QAAQ,WAAW;AACtD,SAASC,cAAc,QAAQ,YAAY;AAE3C,OAAO,MAAMC,eAAe,GAAG;EAC9BC,WAAW,EAAE,MAAAA,CAAOC,OAAO,EAAEC,MAAM,KAAK;IACvC,MAAMC,OAAO,GAAG;MACfC,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,aAAa,CAAC;MACvCU,IAAI,EAAE;QAAEL,OAAO;QAAEC;MAAO,CAAC;MACzBK,OAAO,EAAE,CAAC;IACX,CAAC;IACDJ,OAAO,CAACI,OAAO,CAACC,aAAa,GAAG,MAAMX,kBAAkB,CAAC,CAAC;IAC1D,OAAOC,cAAc,CAACK,OAAO,CAAC;EAC/B,CAAC;EACDM,cAAc,EAAE,MAAAA,CAAOC,SAAS,EAAER,MAAM,KAAK;IAC5C,MAAMC,OAAO,GAAG;MACfC,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,gBAAgB,CAAC;MAC1CU,IAAI,EAAE;QAAEI,SAAS;QAAER;MAAO,CAAC;MAC3BK,OAAO,EAAE,CAAC;IACX,CAAC;IACDJ,OAAO,CAACI,OAAO,CAACC,aAAa,GAAG,MAAMX,kBAAkB,CAAC,CAAC;IAC1D,OAAOC,cAAc,CAACK,OAAO,CAAC;EAC/B,CAAC;EACDQ,YAAY,EAAE,MAAAA,CAAA,KAAY;IACzB,MAAMR,OAAO,GAAG;MACfC,MAAM,EAAE,KAAK;MACbC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,cAAc;IACxC,CAAC;IACD,OAAOE,cAAc,CAACK,OAAO,CAAC;EAC/B;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from "./reactionActions";
|
|
2
|
+
export * from "./fileActions";
|
|
3
|
+
export * from "./followerActions";
|
|
4
|
+
export * from "./contactActions";
|
|
5
|
+
export * from "./eventActions";
|
|
6
|
+
export * from "./analyticsActions";
|
|
7
|
+
export * from "./notificationActions";
|
|
8
|
+
export * from "./stringActions";
|
|
9
|
+
export * from "./typeActions";
|
|
10
|
+
export * from "./settingActions";
|
|
11
|
+
export { default as userActions } from "./userActions";
|
|
12
|
+
export { default as profileActions } from "./profileActions";
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["default","userActions","profileActions"],"sources":["index.js"],"sourcesContent":["export * from \"./reactionActions\";\nexport * from \"./fileActions\";\nexport * from \"./followerActions\";\nexport * from \"./contactActions\";\nexport * from \"./eventActions\";\nexport * from \"./analyticsActions\";\nexport * from \"./notificationActions\";\nexport * from \"./stringActions\";\nexport * from \"./typeActions\";\nexport * from \"./settingActions\";\nexport { default as userActions } from \"./userActions\";\nexport { default as profileActions } from \"./profileActions\";\n"],"mappings":"AAAA,cAAc,mBAAmB;AACjC,cAAc,eAAe;AAC7B,cAAc,mBAAmB;AACjC,cAAc,kBAAkB;AAChC,cAAc,gBAAgB;AAC9B,cAAc,oBAAoB;AAClC,cAAc,uBAAuB;AACrC,cAAc,iBAAiB;AAC/B,cAAc,eAAe;AAC7B,cAAc,kBAAkB;AAChC,SAASA,OAAO,IAAIC,WAAW,QAAQ,eAAe;AACtD,SAASD,OAAO,IAAIE,cAAc,QAAQ,kBAAkB","ignoreList":[]}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { getUrl } from "../helper";
|
|
2
|
+
import { authedFunction } from "../session";
|
|
3
|
+
export const notificationActions = {
|
|
4
|
+
getAppNotificationSetting: () => {
|
|
5
|
+
return authedFunction({
|
|
6
|
+
method: "GET",
|
|
7
|
+
url: getUrl("notifications", "getState/get", {
|
|
8
|
+
type: "app"
|
|
9
|
+
})
|
|
10
|
+
});
|
|
11
|
+
},
|
|
12
|
+
muteApp: () => {
|
|
13
|
+
return authedFunction({
|
|
14
|
+
method: "POST",
|
|
15
|
+
url: getUrl("notifications", "updateState/mute"),
|
|
16
|
+
data: {
|
|
17
|
+
type: "app"
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
},
|
|
21
|
+
unmuteApp: () => {
|
|
22
|
+
return authedFunction({
|
|
23
|
+
method: "POST",
|
|
24
|
+
url: getUrl("notifications", "updateState/unmute"),
|
|
25
|
+
data: {
|
|
26
|
+
type: "app"
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
},
|
|
30
|
+
getEntityNotificationSetting: (type, id) => {
|
|
31
|
+
return authedFunction({
|
|
32
|
+
method: "GET",
|
|
33
|
+
url: getUrl("notifications", "getState/get", {
|
|
34
|
+
type,
|
|
35
|
+
id
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
},
|
|
39
|
+
muteEntity: (type, id) => {
|
|
40
|
+
return authedFunction({
|
|
41
|
+
method: "POST",
|
|
42
|
+
url: getUrl("notifications", "updateState/mute"),
|
|
43
|
+
data: {
|
|
44
|
+
type,
|
|
45
|
+
id
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
},
|
|
49
|
+
unmuteEntity: (type, id) => {
|
|
50
|
+
return authedFunction({
|
|
51
|
+
method: "POST",
|
|
52
|
+
url: getUrl("notifications", "updateState/unmute"),
|
|
53
|
+
data: {
|
|
54
|
+
type,
|
|
55
|
+
id
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
//# sourceMappingURL=notificationActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getUrl","authedFunction","notificationActions","getAppNotificationSetting","method","url","type","muteApp","data","unmuteApp","getEntityNotificationSetting","id","muteEntity","unmuteEntity"],"sources":["notificationActions.js"],"sourcesContent":["import { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport const notificationActions = {\n\tgetAppNotificationSetting: () => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"notifications\", \"getState/get\", {\n\t\t\t\ttype: \"app\",\n\t\t\t}),\n\t\t});\n\t},\n\tmuteApp: () => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"notifications\", \"updateState/mute\"),\n\t\t\tdata: { type: \"app\" },\n\t\t});\n\t},\n\tunmuteApp: () => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"notifications\", \"updateState/unmute\"),\n\t\t\tdata: { type: \"app\" },\n\t\t});\n\t},\n\tgetEntityNotificationSetting: (type, id) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"notifications\", \"getState/get\", { type, id }),\n\t\t});\n\t},\n\tmuteEntity: (type, id) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"notifications\", \"updateState/mute\"),\n\t\t\tdata: { type, id },\n\t\t});\n\t},\n\tunmuteEntity: (type, id) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"notifications\", \"updateState/unmute\"),\n\t\t\tdata: { type, id },\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,OAAO,MAAMC,mBAAmB,GAAG;EAClCC,yBAAyB,EAAEA,CAAA,KAAM;IAChC,OAAOF,cAAc,CAAC;MACrBG,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,cAAc,EAAE;QAC5CM,IAAI,EAAE;MACP,CAAC;IACF,CAAC,CAAC;EACH,CAAC;EACDC,OAAO,EAAEA,CAAA,KAAM;IACd,OAAON,cAAc,CAAC;MACrBG,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC;MAChDQ,IAAI,EAAE;QAAEF,IAAI,EAAE;MAAM;IACrB,CAAC,CAAC;EACH,CAAC;EACDG,SAAS,EAAEA,CAAA,KAAM;IAChB,OAAOR,cAAc,CAAC;MACrBG,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC;MAClDQ,IAAI,EAAE;QAAEF,IAAI,EAAE;MAAM;IACrB,CAAC,CAAC;EACH,CAAC;EACDI,4BAA4B,EAAEA,CAACJ,IAAI,EAAEK,EAAE,KAAK;IAC3C,OAAOV,cAAc,CAAC;MACrBG,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,cAAc,EAAE;QAAEM,IAAI;QAAEK;MAAG,CAAC;IAC1D,CAAC,CAAC;EACH,CAAC;EACDC,UAAU,EAAEA,CAACN,IAAI,EAAEK,EAAE,KAAK;IACzB,OAAOV,cAAc,CAAC;MACrBG,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC;MAChDQ,IAAI,EAAE;QAAEF,IAAI;QAAEK;MAAG;IAClB,CAAC,CAAC;EACH,CAAC;EACDE,YAAY,EAAEA,CAACP,IAAI,EAAEK,EAAE,KAAK;IAC3B,OAAOV,cAAc,CAAC;MACrBG,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEL,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC;MAClDQ,IAAI,EAAE;QAAEF,IAAI;QAAEK;MAAG;IAClB,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { getUrl } from "../helper";
|
|
2
|
+
import { authedFunction } from "../session";
|
|
3
|
+
const profileActions = {
|
|
4
|
+
getUserTagsBySite: site => {
|
|
5
|
+
return authedFunction({
|
|
6
|
+
method: "GET",
|
|
7
|
+
url: getUrl("profile", "usertags/site", {
|
|
8
|
+
site
|
|
9
|
+
})
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default profileActions;
|
|
14
|
+
//# sourceMappingURL=profileActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getUrl","authedFunction","profileActions","getUserTagsBySite","site","method","url"],"sources":["profileActions.js"],"sourcesContent":["import { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nconst profileActions = {\n\tgetUserTagsBySite: (site) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"profile\", \"usertags/site\", { site }),\n\t\t});\n\t},\n};\n\nexport default profileActions;\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,MAAMC,cAAc,GAAG;EACtBC,iBAAiB,EAAGC,IAAI,IAAK;IAC5B,OAAOH,cAAc,CAAC;MACrBI,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEN,MAAM,CAAC,SAAS,EAAE,eAAe,EAAE;QAAEI;MAAK,CAAC;IACjD,CAAC,CAAC;EACH;AACD,CAAC;AAED,eAAeF,cAAc","ignoreList":[]}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import _ from "lodash";
|
|
2
|
+
import { getUrl } from "../helper";
|
|
3
|
+
import { authedFunction } from "../session";
|
|
4
|
+
export const reactionActions = {
|
|
5
|
+
add: (entityId, entityType, reaction, site) => {
|
|
6
|
+
return authedFunction({
|
|
7
|
+
method: "POST",
|
|
8
|
+
url: getUrl("reactions", "add"),
|
|
9
|
+
data: {
|
|
10
|
+
entityId,
|
|
11
|
+
entityType,
|
|
12
|
+
reaction,
|
|
13
|
+
site
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
},
|
|
17
|
+
remove: (entityId, entityType, reaction) => {
|
|
18
|
+
return authedFunction({
|
|
19
|
+
method: "POST",
|
|
20
|
+
url: getUrl("reactions", "remove"),
|
|
21
|
+
data: {
|
|
22
|
+
entityId,
|
|
23
|
+
entityType,
|
|
24
|
+
reaction
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
},
|
|
28
|
+
addComment: (entityId, entityType, entityName, site, comment, image, parentId) => {
|
|
29
|
+
const data = {
|
|
30
|
+
entityId,
|
|
31
|
+
entityType,
|
|
32
|
+
entityName,
|
|
33
|
+
site,
|
|
34
|
+
comment,
|
|
35
|
+
parentId
|
|
36
|
+
};
|
|
37
|
+
if (!_.isEmpty(image)) data.image = image;
|
|
38
|
+
return authedFunction({
|
|
39
|
+
method: "POST",
|
|
40
|
+
url: getUrl("reactions", "comments/add"),
|
|
41
|
+
data
|
|
42
|
+
});
|
|
43
|
+
},
|
|
44
|
+
removeComment: id => {
|
|
45
|
+
return authedFunction({
|
|
46
|
+
method: "POST",
|
|
47
|
+
url: getUrl("reactions", "comments/remove"),
|
|
48
|
+
data: {
|
|
49
|
+
id
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
},
|
|
53
|
+
reportComment: id => {
|
|
54
|
+
return authedFunction({
|
|
55
|
+
method: "POST",
|
|
56
|
+
url: getUrl("reactions", "comments/report"),
|
|
57
|
+
data: {
|
|
58
|
+
id
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
getComments: (entityId, entityType, minTime) => {
|
|
63
|
+
const query = {
|
|
64
|
+
entityId,
|
|
65
|
+
entityType
|
|
66
|
+
};
|
|
67
|
+
if (minTime) {
|
|
68
|
+
query.minTime = minTime;
|
|
69
|
+
}
|
|
70
|
+
return authedFunction({
|
|
71
|
+
method: "GET",
|
|
72
|
+
url: getUrl("reactions", "comments/get", query)
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=reactionActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_","getUrl","authedFunction","reactionActions","add","entityId","entityType","reaction","site","method","url","data","remove","addComment","entityName","comment","image","parentId","isEmpty","removeComment","id","reportComment","getComments","minTime","query"],"sources":["reactionActions.js"],"sourcesContent":["import _ from \"lodash\";\nimport { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport const reactionActions = {\n\tadd: (entityId, entityType, reaction, site) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"reactions\", \"add\"),\n\t\t\tdata: {\n\t\t\t\tentityId,\n\t\t\t\tentityType,\n\t\t\t\treaction,\n\t\t\t\tsite,\n\t\t\t},\n\t\t});\n\t},\n\tremove: (entityId, entityType, reaction) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"reactions\", \"remove\"),\n\t\t\tdata: {\n\t\t\t\tentityId,\n\t\t\t\tentityType,\n\t\t\t\treaction,\n\t\t\t},\n\t\t});\n\t},\n\taddComment: (\n\t\tentityId,\n\t\tentityType,\n\t\tentityName,\n\t\tsite,\n\t\tcomment,\n\t\timage,\n\t\tparentId,\n\t) => {\n\t\tconst data = {\n\t\t\tentityId,\n\t\t\tentityType,\n\t\t\tentityName,\n\t\t\tsite,\n\t\t\tcomment,\n\t\t\tparentId,\n\t\t};\n\t\tif (!_.isEmpty(image)) data.image = image;\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"reactions\", \"comments/add\"),\n\t\t\tdata,\n\t\t});\n\t},\n\tremoveComment: (id) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"reactions\", \"comments/remove\"),\n\t\t\tdata: {\n\t\t\t\tid,\n\t\t\t},\n\t\t});\n\t},\n\treportComment: (id) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"reactions\", \"comments/report\"),\n\t\t\tdata: {\n\t\t\t\tid,\n\t\t\t},\n\t\t});\n\t},\n\tgetComments: (entityId, entityType, minTime) => {\n\t\tconst query = {\n\t\t\tentityId,\n\t\t\tentityType,\n\t\t};\n\t\tif (minTime) {\n\t\t\tquery.minTime = minTime;\n\t\t}\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"reactions\", \"comments/get\", query),\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,OAAOA,CAAC,MAAM,QAAQ;AACtB,SAASC,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,OAAO,MAAMC,eAAe,GAAG;EAC9BC,GAAG,EAAEA,CAACC,QAAQ,EAAEC,UAAU,EAAEC,QAAQ,EAAEC,IAAI,KAAK;IAC9C,OAAON,cAAc,CAAC;MACrBO,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,KAAK,CAAC;MAC/BU,IAAI,EAAE;QACLN,QAAQ;QACRC,UAAU;QACVC,QAAQ;QACRC;MACD;IACD,CAAC,CAAC;EACH,CAAC;EACDI,MAAM,EAAEA,CAACP,QAAQ,EAAEC,UAAU,EAAEC,QAAQ,KAAK;IAC3C,OAAOL,cAAc,CAAC;MACrBO,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,QAAQ,CAAC;MAClCU,IAAI,EAAE;QACLN,QAAQ;QACRC,UAAU;QACVC;MACD;IACD,CAAC,CAAC;EACH,CAAC;EACDM,UAAU,EAAEA,CACXR,QAAQ,EACRC,UAAU,EACVQ,UAAU,EACVN,IAAI,EACJO,OAAO,EACPC,KAAK,EACLC,QAAQ,KACJ;IACJ,MAAMN,IAAI,GAAG;MACZN,QAAQ;MACRC,UAAU;MACVQ,UAAU;MACVN,IAAI;MACJO,OAAO;MACPE;IACD,CAAC;IACD,IAAI,CAACjB,CAAC,CAACkB,OAAO,CAACF,KAAK,CAAC,EAAEL,IAAI,CAACK,KAAK,GAAGA,KAAK;IACzC,OAAOd,cAAc,CAAC;MACrBO,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC;MACxCU;IACD,CAAC,CAAC;EACH,CAAC;EACDQ,aAAa,EAAGC,EAAE,IAAK;IACtB,OAAOlB,cAAc,CAAC;MACrBO,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC;MAC3CU,IAAI,EAAE;QACLS;MACD;IACD,CAAC,CAAC;EACH,CAAC;EACDC,aAAa,EAAGD,EAAE,IAAK;IACtB,OAAOlB,cAAc,CAAC;MACrBO,MAAM,EAAE,MAAM;MACdC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,iBAAiB,CAAC;MAC3CU,IAAI,EAAE;QACLS;MACD;IACD,CAAC,CAAC;EACH,CAAC;EACDE,WAAW,EAAEA,CAACjB,QAAQ,EAAEC,UAAU,EAAEiB,OAAO,KAAK;IAC/C,MAAMC,KAAK,GAAG;MACbnB,QAAQ;MACRC;IACD,CAAC;IACD,IAAIiB,OAAO,EAAE;MACZC,KAAK,CAACD,OAAO,GAAGA,OAAO;IACxB;IACA,OAAOrB,cAAc,CAAC;MACrBO,MAAM,EAAE,KAAK;MACbC,GAAG,EAAET,MAAM,CAAC,WAAW,EAAE,cAAc,EAAEuB,KAAK;IAC/C,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { authedFunction } from "../session";
|
|
2
|
+
import { getUrl } from "../helper";
|
|
3
|
+
export const settingActions = {
|
|
4
|
+
getSetting: (site, key) => {
|
|
5
|
+
return authedFunction({
|
|
6
|
+
method: "GET",
|
|
7
|
+
url: getUrl("utility", `getSetting/${site}_${key}`)
|
|
8
|
+
});
|
|
9
|
+
},
|
|
10
|
+
setSetting: (site, key, value) => {
|
|
11
|
+
return authedFunction({
|
|
12
|
+
method: "POST",
|
|
13
|
+
url: getUrl("utility", "setSetting"),
|
|
14
|
+
data: {
|
|
15
|
+
site,
|
|
16
|
+
key,
|
|
17
|
+
value
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=settingActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["authedFunction","getUrl","settingActions","getSetting","site","key","method","url","setSetting","value","data"],"sources":["settingActions.js"],"sourcesContent":["import { authedFunction } from \"../session\";\nimport { getUrl } from \"../helper\";\n\nexport const settingActions = {\n\tgetSetting: (site, key) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"utility\", `getSetting/${site}_${key}`),\n\t\t});\n\t},\n\tsetSetting: (site, key, value) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl: getUrl(\"utility\", \"setSetting\"),\n\t\t\tdata: { site, key, value },\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,SAASA,cAAc,QAAQ,YAAY;AAC3C,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,MAAMC,cAAc,GAAG;EAC7BC,UAAU,EAAEA,CAACC,IAAI,EAAEC,GAAG,KAAK;IAC1B,OAAOL,cAAc,CAAC;MACrBM,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEN,MAAM,CAAC,SAAS,EAAE,cAAcG,IAAI,IAAIC,GAAG,EAAE;IACnD,CAAC,CAAC;EACH,CAAC;EACDG,UAAU,EAAEA,CAACJ,IAAI,EAAEC,GAAG,EAAEI,KAAK,KAAK;IACjC,OAAOT,cAAc,CAAC;MACrBM,MAAM,EAAE,MAAM;MACdC,GAAG,EAAEN,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC;MACpCS,IAAI,EAAE;QAAEN,IAAI;QAAEC,GAAG;QAAEI;MAAM;IAC1B,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import axios from "axios";
|
|
2
|
+
import { authedFunction } from "../session";
|
|
3
|
+
import { getUrl } from "../helper";
|
|
4
|
+
export const stringActions = {
|
|
5
|
+
getString: (site, id, useDefault) => {
|
|
6
|
+
const url = getUrl("strings", `get/${site}_${id}`, useDefault ? {
|
|
7
|
+
useDefault
|
|
8
|
+
} : undefined);
|
|
9
|
+
return axios({
|
|
10
|
+
method: "GET",
|
|
11
|
+
url
|
|
12
|
+
}).catch(error => {
|
|
13
|
+
console.log("getString error", error);
|
|
14
|
+
throw error;
|
|
15
|
+
});
|
|
16
|
+
},
|
|
17
|
+
setString: (site, key, value) => {
|
|
18
|
+
const url = getUrl("strings", "set");
|
|
19
|
+
return authedFunction({
|
|
20
|
+
method: "POST",
|
|
21
|
+
url,
|
|
22
|
+
data: {
|
|
23
|
+
site,
|
|
24
|
+
key,
|
|
25
|
+
value
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=stringActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["axios","authedFunction","getUrl","stringActions","getString","site","id","useDefault","url","undefined","method","catch","error","console","log","setString","key","value","data"],"sources":["stringActions.js"],"sourcesContent":["import axios from \"axios\";\nimport { authedFunction } from \"../session\";\nimport { getUrl } from \"../helper\";\n\nexport const stringActions = {\n\tgetString: (site, id, useDefault) => {\n\t\tconst url = getUrl(\n\t\t\t\"strings\",\n\t\t\t`get/${site}_${id}`,\n\t\t\tuseDefault ? { useDefault } : undefined,\n\t\t);\n\t\treturn axios({\n\t\t\tmethod: \"GET\",\n\t\t\turl,\n\t\t}).catch((error) => {\n\t\t\tconsole.log(\"getString error\", error);\n\t\t\tthrow error;\n\t\t});\n\t},\n\tsetString: (site, key, value) => {\n\t\tconst url = getUrl(\"strings\", \"set\");\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl,\n\t\t\tdata: {\n\t\t\t\tsite,\n\t\t\t\tkey,\n\t\t\t\tvalue,\n\t\t\t},\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,cAAc,QAAQ,YAAY;AAC3C,SAASC,MAAM,QAAQ,WAAW;AAElC,OAAO,MAAMC,aAAa,GAAG;EAC5BC,SAAS,EAAEA,CAACC,IAAI,EAAEC,EAAE,EAAEC,UAAU,KAAK;IACpC,MAAMC,GAAG,GAAGN,MAAM,CACjB,SAAS,EACT,OAAOG,IAAI,IAAIC,EAAE,EAAE,EACnBC,UAAU,GAAG;MAAEA;IAAW,CAAC,GAAGE,SAC/B,CAAC;IACD,OAAOT,KAAK,CAAC;MACZU,MAAM,EAAE,KAAK;MACbF;IACD,CAAC,CAAC,CAACG,KAAK,CAAEC,KAAK,IAAK;MACnBC,OAAO,CAACC,GAAG,CAAC,iBAAiB,EAAEF,KAAK,CAAC;MACrC,MAAMA,KAAK;IACZ,CAAC,CAAC;EACH,CAAC;EACDG,SAAS,EAAEA,CAACV,IAAI,EAAEW,GAAG,EAAEC,KAAK,KAAK;IAChC,MAAMT,GAAG,GAAGN,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC;IACpC,OAAOD,cAAc,CAAC;MACrBS,MAAM,EAAE,MAAM;MACdF,GAAG;MACHU,IAAI,EAAE;QACLb,IAAI;QACJW,GAAG;QACHC;MACD;IACD,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { getUrl } from "../helper";
|
|
2
|
+
import { authedFunction } from "../session";
|
|
3
|
+
export const typeActions = {
|
|
4
|
+
getUserTypes: site => {
|
|
5
|
+
const url = getUrl("types", "getusertypes");
|
|
6
|
+
return authedFunction({
|
|
7
|
+
method: "POST",
|
|
8
|
+
url,
|
|
9
|
+
data: {
|
|
10
|
+
site
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=typeActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getUrl","authedFunction","typeActions","getUserTypes","site","url","method","data"],"sources":["typeActions.js"],"sourcesContent":["import { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport const typeActions = {\n\tgetUserTypes: (site) => {\n\t\tconst url = getUrl(\"types\", \"getusertypes\");\n\t\treturn authedFunction({\n\t\t\tmethod: \"POST\",\n\t\t\turl,\n\t\t\tdata: { site },\n\t\t});\n\t},\n};\n"],"mappings":"AAAA,SAASA,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,OAAO,MAAMC,WAAW,GAAG;EAC1BC,YAAY,EAAGC,IAAI,IAAK;IACvB,MAAMC,GAAG,GAAGL,MAAM,CAAC,OAAO,EAAE,cAAc,CAAC;IAC3C,OAAOC,cAAc,CAAC;MACrBK,MAAM,EAAE,MAAM;MACdD,GAAG;MACHE,IAAI,EAAE;QAAEH;MAAK;IACd,CAAC,CAAC;EACH;AACD,CAAC","ignoreList":[]}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// import axios from 'axios';
|
|
2
|
+
// import Constants from 'expo-constants';
|
|
3
|
+
import { getUrl } from "../helper";
|
|
4
|
+
import { authedFunction } from "../session";
|
|
5
|
+
export default {
|
|
6
|
+
// registerUserToken: token => {
|
|
7
|
+
// return authedFunction({
|
|
8
|
+
// method: 'POST',
|
|
9
|
+
// url: getUrl('notifications', 'registerNotificationToken'),
|
|
10
|
+
// data: { token, deviceId: Constants.installationId },
|
|
11
|
+
// });
|
|
12
|
+
// },
|
|
13
|
+
// unregisterUserToken: () => {
|
|
14
|
+
// return authedFunction({
|
|
15
|
+
// method: 'POST',
|
|
16
|
+
// url: getUrl('notifications', 'unregisterNotificationToken'),
|
|
17
|
+
// data: { deviceId: Constants.installationId },
|
|
18
|
+
// });
|
|
19
|
+
// },
|
|
20
|
+
// updateProfile: input => {
|
|
21
|
+
// return authedFunction({
|
|
22
|
+
// method: 'POST',
|
|
23
|
+
// url: getUrl('users', 'updateProfile'),
|
|
24
|
+
// data: {
|
|
25
|
+
// details: input,
|
|
26
|
+
// },
|
|
27
|
+
// });
|
|
28
|
+
// },
|
|
29
|
+
getLinkedUsers: userID => {
|
|
30
|
+
return authedFunction({
|
|
31
|
+
method: "GET",
|
|
32
|
+
url: getUrl("linkedusers", "getLinkedTo", {
|
|
33
|
+
userID
|
|
34
|
+
})
|
|
35
|
+
});
|
|
36
|
+
},
|
|
37
|
+
getLinkedToMe: userID => {
|
|
38
|
+
return authedFunction({
|
|
39
|
+
method: "GET",
|
|
40
|
+
url: getUrl("linkedusers", "getLinkedToMe", {
|
|
41
|
+
userID
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
},
|
|
45
|
+
// getInviteCode: site => {
|
|
46
|
+
// return authedFunction({
|
|
47
|
+
// method: 'GET',
|
|
48
|
+
// url: getUrl('users', 'invite/get', { site }),
|
|
49
|
+
// });
|
|
50
|
+
// },
|
|
51
|
+
// generateInviteCode: site => {
|
|
52
|
+
// return authedFunction({
|
|
53
|
+
// method: 'POST',
|
|
54
|
+
// url: getUrl('users', 'invite/generate'),
|
|
55
|
+
// data: {
|
|
56
|
+
// site,
|
|
57
|
+
// },
|
|
58
|
+
// });
|
|
59
|
+
// },
|
|
60
|
+
// validateInviteCode: code => {
|
|
61
|
+
// return axios({
|
|
62
|
+
// method: 'POST',
|
|
63
|
+
// url: getUrl('users', 'invite/validate'),
|
|
64
|
+
// data: {
|
|
65
|
+
// code,
|
|
66
|
+
// },
|
|
67
|
+
// }).catch(error => {
|
|
68
|
+
// console.log('validateInviteCode error', error);
|
|
69
|
+
// throw error;
|
|
70
|
+
// });
|
|
71
|
+
// },
|
|
72
|
+
// signUpViaInviteCode: (user, code, info) => {
|
|
73
|
+
// return axios({
|
|
74
|
+
// method: 'POST',
|
|
75
|
+
// url: getUrl('users', 'invite/signup'),
|
|
76
|
+
// data: {
|
|
77
|
+
// user,
|
|
78
|
+
// code,
|
|
79
|
+
// info,
|
|
80
|
+
// },
|
|
81
|
+
// }).catch(error => {
|
|
82
|
+
// console.log('signUpViaInviteCode error', error);
|
|
83
|
+
// throw error;
|
|
84
|
+
// });
|
|
85
|
+
// },
|
|
86
|
+
getSiteUsers: site => {
|
|
87
|
+
return authedFunction({
|
|
88
|
+
method: "GET",
|
|
89
|
+
url: getUrl("users", "getsite", {
|
|
90
|
+
site
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
// getUsers: site => {
|
|
95
|
+
// return authedFunction({
|
|
96
|
+
// method: 'POST',
|
|
97
|
+
// url: getUrl('users', 'get'),
|
|
98
|
+
// data: {
|
|
99
|
+
// site,
|
|
100
|
+
// },
|
|
101
|
+
// });
|
|
102
|
+
// },
|
|
103
|
+
};
|
|
104
|
+
//# sourceMappingURL=userActions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["getUrl","authedFunction","getLinkedUsers","userID","method","url","getLinkedToMe","getSiteUsers","site"],"sources":["userActions.js"],"sourcesContent":["// import axios from 'axios';\n// import Constants from 'expo-constants';\nimport { getUrl } from \"../helper\";\nimport { authedFunction } from \"../session\";\n\nexport default {\n\t// registerUserToken: token => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('notifications', 'registerNotificationToken'),\n\t// data: { token, deviceId: Constants.installationId },\n\t// });\n\t// },\n\t// unregisterUserToken: () => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('notifications', 'unregisterNotificationToken'),\n\t// data: { deviceId: Constants.installationId },\n\t// });\n\t// },\n\t// updateProfile: input => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('users', 'updateProfile'),\n\t// data: {\n\t// details: input,\n\t// },\n\t// });\n\t// },\n\tgetLinkedUsers: (userID) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"linkedusers\", \"getLinkedTo\", { userID }),\n\t\t});\n\t},\n\tgetLinkedToMe: (userID) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"linkedusers\", \"getLinkedToMe\", { userID }),\n\t\t});\n\t},\n\t// getInviteCode: site => {\n\t// return authedFunction({\n\t// method: 'GET',\n\t// url: getUrl('users', 'invite/get', { site }),\n\t// });\n\t// },\n\t// generateInviteCode: site => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('users', 'invite/generate'),\n\t// data: {\n\t// site,\n\t// },\n\t// });\n\t// },\n\t// validateInviteCode: code => {\n\t// return axios({\n\t// method: 'POST',\n\t// url: getUrl('users', 'invite/validate'),\n\t// data: {\n\t// code,\n\t// },\n\t// }).catch(error => {\n\t// console.log('validateInviteCode error', error);\n\t// throw error;\n\t// });\n\t// },\n\t// signUpViaInviteCode: (user, code, info) => {\n\t// return axios({\n\t// method: 'POST',\n\t// url: getUrl('users', 'invite/signup'),\n\t// data: {\n\t// user,\n\t// code,\n\t// info,\n\t// },\n\t// }).catch(error => {\n\t// console.log('signUpViaInviteCode error', error);\n\t// throw error;\n\t// });\n\t// },\n\tgetSiteUsers: (site) => {\n\t\treturn authedFunction({\n\t\t\tmethod: \"GET\",\n\t\t\turl: getUrl(\"users\", \"getsite\", { site }),\n\t\t});\n\t},\n\t// getUsers: site => {\n\t// return authedFunction({\n\t// method: 'POST',\n\t// url: getUrl('users', 'get'),\n\t// data: {\n\t// site,\n\t// },\n\t// });\n\t// },\n};\n"],"mappings":"AAAA;AACA;AACA,SAASA,MAAM,QAAQ,WAAW;AAClC,SAASC,cAAc,QAAQ,YAAY;AAE3C,eAAe;EACd;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACAC,cAAc,EAAGC,MAAM,IAAK;IAC3B,OAAOF,cAAc,CAAC;MACrBG,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEL,MAAM,CAAC,aAAa,EAAE,aAAa,EAAE;QAAEG;MAAO,CAAC;IACrD,CAAC,CAAC;EACH,CAAC;EACDG,aAAa,EAAGH,MAAM,IAAK;IAC1B,OAAOF,cAAc,CAAC;MACrBG,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEL,MAAM,CAAC,aAAa,EAAE,eAAe,EAAE;QAAEG;MAAO,CAAC;IACvD,CAAC,CAAC;EACH,CAAC;EACD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACAI,YAAY,EAAGC,IAAI,IAAK;IACvB,OAAOP,cAAc,CAAC;MACrBG,MAAM,EAAE,KAAK;MACbC,GAAG,EAAEL,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE;QAAEQ;MAAK,CAAC;IACzC,CAAC,CAAC;EACH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACD,CAAC","ignoreList":[]}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|