Skip to content

Commit

Permalink
Reapply "24389, 22238 - allowable actions logic; some other updates t…
Browse files Browse the repository at this point in the history
…o allowed actions (#79)" (#82) (#83)

This reverts commit e3b7097.
  • Loading branch information
hfekete authored Nov 27, 2024
1 parent e3b7097 commit 7161a11
Show file tree
Hide file tree
Showing 21 changed files with 875 additions and 64 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ logs
.vscode

#Cypress screenshots
cypress/screenshots
cypress/screenshots
cypress/downloads
7 changes: 7 additions & 0 deletions cypress/fixtures/allowable-actions/bc-historical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"couldFile": {
"filing": {
"filingTypes": []
}
}
}
64 changes: 64 additions & 0 deletions cypress/fixtures/allowable-actions/ben-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Request for AGM Extension",
"name": "agmExtension"
},
{
"displayName": "AGM Location Change",
"name": "agmLocationChange"
},
{
"displayName": "Alteration",
"name": "alteration"
},
{
"displayName": "Amalgamation Application (Regular)",
"name": "amalgamationApplication",
"type": "regular"
},
{
"displayName": "Amalgamation Application Short-form (Vertical)",
"name": "amalgamationApplication",
"type": "vertical"
},
{
"displayName": "Amalgamation Application Short-form (Horizontal)",
"name": "amalgamationApplication",
"type": "horizontal"
},
{
"displayName": "Annual Report",
"name": "annualReport"
},
{
"displayName": "Address Change",
"name": "changeOfAddress"
},
{
"displayName": "Director Change",
"name": "changeOfDirectors"
},
{
"displayName": "6-Month Consent to Continue Out",
"name": "consentContinuationOut"
},
{
"displayName": "Voluntary Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "BC Benefit Company Incorporation Application",
"name": "incorporationApplication"
},
{
"displayName": "Transition Application",
"name": "transition"
}
]
}
}
}
7 changes: 7 additions & 0 deletions cypress/fixtures/allowable-actions/ben-historical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"couldFile": {
"filing": {
"filingTypes": []
}
}
}
64 changes: 64 additions & 0 deletions cypress/fixtures/allowable-actions/cc-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Request for AGM Extension",
"name": "agmExtension"
},
{
"displayName": "AGM Location Change",
"name": "agmLocationChange"
},
{
"displayName": "Alteration",
"name": "alteration"
},
{
"displayName": "Amalgamation Application (Regular)",
"name": "amalgamationApplication",
"type": "regular"
},
{
"displayName": "Amalgamation Application Short-form (Vertical)",
"name": "amalgamationApplication",
"type": "vertical"
},
{
"displayName": "Amalgamation Application Short-form (Horizontal)",
"name": "amalgamationApplication",
"type": "horizontal"
},
{
"displayName": "Annual Report",
"name": "annualReport"
},
{
"displayName": "Address Change",
"name": "changeOfAddress"
},
{
"displayName": "Director Change",
"name": "changeOfDirectors"
},
{
"displayName": "6-Month Consent to Continue Out",
"name": "consentContinuationOut"
},
{
"displayName": "Voluntary Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "BC Community Contribution Company Incorporation Application",
"name": "incorporationApplication"
},
{
"displayName": "Transition Application",
"name": "transition"
}
]
}
}
}
33 changes: 33 additions & 0 deletions cypress/fixtures/allowable-actions/cp-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Annual Report",
"name": "annualReport"
},
{
"displayName": "Address Change",
"name": "changeOfAddress"
},
{
"displayName": "Director Change",
"name": "changeOfDirectors"
},
{
"displayName": "Voluntary Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "Incorporation Application",
"name": "incorporationApplication"
},
{
"displayName": "Special Resolution",
"name": "specialResolution"
}
]
}
}
}
21 changes: 21 additions & 0 deletions cypress/fixtures/allowable-actions/gp-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Change of Registration Application",
"name": "changeOfRegistration"
},
{
"displayName": "Statement of Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "BC General Partnership Registration",
"name": "registration"
}
]
}
}
}
7 changes: 7 additions & 0 deletions cypress/fixtures/allowable-actions/gp-historical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"couldFile": {
"filing": {
"filingTypes": []
}
}
}
21 changes: 21 additions & 0 deletions cypress/fixtures/allowable-actions/sp-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Change of Registration Application",
"name": "changeOfRegistration"
},
{
"displayName": "Statement of Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "BC Sole Proprietorship Registration",
"name": "registration"
}
]
}
}
}
107 changes: 107 additions & 0 deletions cypress/fixtures/allowable-actions/staff/bc-active.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Admin Freeze",
"name": "adminFreeze"
},
{
"displayName": "Request for AGM Extension",
"name": "agmExtension"
},
{
"displayName": "AGM Location Change",
"name": "agmLocationChange"
},
{
"displayName": "Alteration",
"name": "alteration"
},
{
"displayName": "Amalgamation Application (Regular)",
"name": "amalgamationApplication",
"type": "regular"
},
{
"displayName": "Amalgamation Application Short-form (Vertical)",
"name": "amalgamationApplication",
"type": "vertical"
},
{
"displayName": "Amalgamation Application Short-form (Horizontal)",
"name": "amalgamationApplication",
"type": "horizontal"
},
{
"displayName": "Annual Report",
"name": "annualReport"
},
{
"displayName": "Address Change",
"name": "changeOfAddress"
},
{
"displayName": "Director Change",
"name": "changeOfDirectors"
},
{
"displayName": "6-Month Consent to Continue Out",
"name": "consentContinuationOut"
},
{
"displayName": "Continuation Out",
"name": "continuationOut"
},
{
"displayName": "Register Correction Application",
"name": "correction"
},
{
"displayName": "Court Order",
"name": "courtOrder"
},
{
"displayName": "Voluntary Dissolution",
"name": "dissolution",
"type": "voluntary"
},
{
"displayName": "Administrative Dissolution",
"name": "dissolution",
"type": "administrative"
},
{
"displayName": "BC Limited Company Incorporation Application",
"name": "incorporationApplication"
},
{
"displayName": "Registrar's Notation",
"name": "registrarsNotation"
},
{
"displayName": "Registrar's Order",
"name": "registrarsOrder"
},
{
"displayName": "Transition Application",
"name": "transition"
},
{
"displayName": "Limited Restoration Extension Application",
"name": "restoration",
"type": "limitedRestorationExtension"
},
{
"displayName": "Conversion to Full Restoration Application",
"name": "restoration",
"type": "limitedRestorationToFull"
},
{
"displayName": "Notice of Withdrawal",
"name": "noticeOfWithdrawal"
}
]
}
}
}
34 changes: 34 additions & 0 deletions cypress/fixtures/allowable-actions/staff/bc-historical.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"couldFile": {
"filing": {
"filingTypes": [
{
"displayName": "Court Order",
"name": "courtOrder"
},
{
"displayName": "Correction - Put Back On",
"name": "putBackOn"
},
{
"displayName": "Registrar's Notation",
"name": "registrarsNotation"
},
{
"displayName": "Registrar's Order",
"name": "registrarsOrder"
},
{
"displayName": "Full Restoration Application",
"name": "restoration",
"type": "fullRestoration"
},
{
"displayName": "Limited Restoration Application",
"name": "restoration",
"type": "limitedRestoration"
}
]
}
}
}
Loading

0 comments on commit 7161a11

Please sign in to comment.