Kaynağa Gözat

Generate from tree - sample and format doc

Vijayakrishnan 5 yıl önce
ebeveyn
işleme
dbf689c7fd
2 değiştirilmiş dosya ile 200 ekleme ve 0 silme
  1. 39 0
      generatecv/tree-format.txt
  2. 161 0
      generatecv/tree.txt

+ 39 - 0
generatecv/tree-format.txt

@@ -0,0 +1,39 @@
+
+// {XXX} view type: "PRO", "ADMIN", etc.
+// no leading space
+// will create directory under resources/views/{XXX}
+PRO:
+
+    // top level views under PRO
+    // 4 leading spaces
+    // will create my_teams_Controller
+    // will create index method in my_teams_Controller
+    // will create resources/views/{XXX}/my_teams/index.blade.php
+	my_teams
+
+	// will create add_new method in my_teams_Controller
+    // will create resources/views/{XXX}/my_teams/add_new.blade.php
+	my_teams/add_new
+
+	// "view" will always redirect to my_teams/view/:uid/dashboard
+    // will create my_teams_SINGLE_Controller
+	my_teams/view/{uid}
+
+	    // actions in my_teams_SINGLE_Controller
+        ACTIONS:
+
+            // 12 leading spaces
+            // will create resources/views/{XXX}/my_teams_SINGLE/ACTION_updateTeamNumber.blade.php
+            // uses 2-level layout
+            updateTeamNumber
+
+        // subs in my_teams_SINGLE_Controller
+        SUB:
+
+            // 12 leading spaces
+            // will create resources/views/{XXX}/my_teams_SINGLE/SUB_dashboard.blade.php
+            // uses 2-level layout
+            dashboard
+
+            clients
+            audit_log

+ 161 - 0
generatecv/tree.txt

@@ -0,0 +1,161 @@
+PRO:
+	dashboard
+	my_payment_schedule
+	my_teams
+    my_teams/add_new
+    view/:uid
+        ACTIONS:
+            updateTeamNumber
+        SUB:
+            dashboard
+            clients
+            audit_log
+	my_clients
+    my_clients/add_new
+    my_clients/view/:uid
+        ACTIONS:
+            sendCellNumberConfirmationMessage
+            confirmCellNumberWithConfirmationToken
+            putNewCellNumber
+            sendEmailAddressConfirmationMessage
+            confirmEmailAddressWithConfirmationToken
+            putNewEmailAddress
+            putTeam
+            removeTeam
+            putMcp
+            removeMcp
+            putAlly
+            removeAlly
+            putName
+            putGender
+            putDateOfBirth
+            putProfilePicture
+            removeProfilePicture
+            updatePhoneInfo
+            updateAddress
+            updateMedicareNumber
+            manuallySetIsPartBPrimaryConfirmedToTrue
+            manuallySetIsPartBPrimaryConfirmedToFalse
+            setHasMcpDoneEmVisitToTrue
+            updateMcpEmVisitInfo
+            setHasMcpDoneEmVisitToFalse
+            putCrmReasons
+            removeCrmReasons
+            setIsClientEnrolledInCmToTrue
+            setIsClientEnrolledInCmToFalse
+            updateWhyNotEnrolledInCm
+            setIsClientEnrolledInRmToTrue
+            setIsClientEnrolledInRmToFalse
+            updateWhyNotEnrolledInRm
+            updateIntakeInfo
+            deactivate
+            updateDeactivationMemo
+            reactivate
+            updateReactivationMemo
+        SUB:
+            dashboard
+            med_profile
+            med_profile_log
+            pro_access
+            notes
+            notes/add_new
+            care_months
+            care_months/add_new
+            care_month_entries
+            bills
+            related_transactions
+            action_items
+            action_items/add_new
+            erx
+            erx/add_new
+            mcp_updates
+            ally_updates
+            audit_log
+	notes
+    notes/view/:uid
+        ACTIONS:
+        SUB:
+            dashboard
+            audit_log
+	erx
+    erx/view/:uid
+        ACTIONS:
+        SUB:
+            dashboard
+            audit_log
+	action_items
+	action_items/view/:uid
+            ACTIONS:
+            SUB:
+                dashboard
+                audit_log
+	care_months
+    care_months/view/:uid
+        ACTIONS:
+        SUB:
+            dashboard
+            time_entries
+            audit_log
+	care_month_entries
+	bills
+	bills/view/:uid
+        ACTIONS:
+        SUB:
+            dashboard
+            transactions
+            audit_log
+	transactions
+	med_profile_lines
+	med_profile_line_updates
+	pro_access
+	mcp_updates
+	ally_updates
+	audit_log
+
+ADMIN:
+	admin_dashboard
+	facilities
+	facilities/add_new
+	facilities/view/:uid
+	    ACTIONS:
+        SUB:
+            dashboard
+            erx
+            action_items
+            audit_log
+    pros
+    pros/add_new
+    pros/view/:uid
+        ACTIONS:
+            sendCellNumberConfirmationMessage
+            confirmCellNumberWithConfirmationToken
+            putNewCellNumber
+            confirmEmailAddressWithConfirmationToken
+            putNewEmailAddress
+            updateName
+            updateProfession
+            updateEnrolledHcpInfo
+            putProfilePicture
+            updatePhoneInfo
+            updateAddress
+            updatePaymentProcessingDetail
+            uploadDriverLicense
+            updateDriverLicenseInfo
+            updateSsn
+        SUB:
+            dashboard
+            payment_schedule
+            teams
+            clients
+            pro_access
+            mcp_updates
+            ally_updates
+            erx
+            action_items
+            care_months
+            care_month_entries
+            notes
+            bills
+            pro_transactions
+            sessions
+            audit_log