feat: create public profile URLs for users and develop functionality to make the report template public

This commit is contained in:
RaktimaNXG
2024-05-27 21:08:05 +05:30
parent f5e216fedc
commit 1764d7f9ba
8 changed files with 349 additions and 36 deletions
+4
View File
@@ -39,6 +39,8 @@ import encryptedpdf from './parsefunction/encryptedPdf.js';
import { getSignedUrl } from './parsefunction/getSignedUrl.js';
import createBatchDocs from './parsefunction/createBatchDocs.js';
import linkContactToDoc from './parsefunction/linkContactToDoc.js';
import CreatePublicTemplate from './parsefunction/CreatePublicTemplate.js';
import GetPublicUserName from './parsefunction/getPublicUserName.js';
// This afterSave function triggers after an object is added or updated in the specified class, allowing for post-processing logic.
Parse.Cloud.afterSave('contracts_Document', DocumentAftersave);
@@ -88,3 +90,5 @@ Parse.Cloud.define('encryptedpdf', encryptedpdf);
Parse.Cloud.define('getsignedurl', getSignedUrl);
Parse.Cloud.define('batchdocuments', createBatchDocs);
Parse.Cloud.define('linkcontacttodoc', linkContactToDoc);
Parse.Cloud.define('createPublicTemplate', CreatePublicTemplate);
Parse.Cloud.define('getPublicUserName', GetPublicUserName);