├── .dockerignore ├── .env.example ├── .eslintrc ├── .eslintrc.json ├── .gitignore ├── .prettierrc.js ├── LICENSE ├── README.md ├── data └── lorem-ipsum.json ├── next.config.js ├── package.json ├── postcss.config.js ├── scripts ├── custom.rego └── setupPermit.js ├── src ├── app │ ├── access │ │ └── page.tsx │ ├── api │ │ ├── account │ │ │ ├── caregiver │ │ │ │ └── [[...user]] │ │ │ │ │ └── route.ts │ │ │ ├── dashboard │ │ │ │ ├── health-benefits │ │ │ │ │ └── route.ts │ │ │ │ ├── health-plan │ │ │ │ │ └── [[...user]] │ │ │ │ │ │ └── route.ts │ │ │ │ └── medical-records │ │ │ │ │ └── [[...user]] │ │ │ │ │ └── route.ts │ │ │ ├── member-groups │ │ │ │ └── [[...action]] │ │ │ │ │ └── route.ts │ │ │ ├── member │ │ │ │ └── [[...user]] │ │ │ │ │ └── route.ts │ │ │ └── profile │ │ │ │ └── [[...user]] │ │ │ │ └── route.ts │ │ ├── allowed-plans │ │ │ └── route.ts │ │ ├── authorizer.ts │ │ └── welcome │ │ │ └── route.ts │ ├── favicon.ico │ ├── globals.css │ ├── invite │ │ └── page.tsx │ ├── layout.tsx │ ├── page.tsx │ ├── plan │ │ └── page.tsx │ ├── sign-in │ │ └── [[...sign-in]] │ │ │ └── page.tsx │ ├── sign-up │ │ └── [[...sign-up]] │ │ │ └── page.tsx │ └── welcome │ │ └── page.tsx ├── components │ ├── access │ │ ├── CaregiverList.tsx │ │ └── MemberGroups.tsx │ ├── menu │ │ └── Menu.tsx │ ├── plans │ │ └── PlanDropdown.tsx │ └── wizard │ │ ├── AccessLength.tsx │ │ ├── ConfirmInformation.tsx │ │ ├── DelegatePermissions.tsx │ │ ├── ShareAccess.tsx │ │ ├── ShareAccessPerson.tsx │ │ ├── Summary.tsx │ │ └── Wizard.tsx ├── contexts │ ├── UserContext.tsx │ └── WizardFormContext.tsx ├── middleware.ts ├── models │ └── models.ts └── utils │ └── AbilityLoader.tsx ├── tailwind.config.js └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/.eslintrc -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/README.md -------------------------------------------------------------------------------- /data/lorem-ipsum.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/data/lorem-ipsum.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/postcss.config.js -------------------------------------------------------------------------------- /scripts/custom.rego: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/scripts/custom.rego -------------------------------------------------------------------------------- /scripts/setupPermit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/scripts/setupPermit.js -------------------------------------------------------------------------------- /src/app/access/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/access/page.tsx -------------------------------------------------------------------------------- /src/app/api/account/caregiver/[[...user]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/caregiver/[[...user]]/route.ts -------------------------------------------------------------------------------- /src/app/api/account/dashboard/health-benefits/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/dashboard/health-benefits/route.ts -------------------------------------------------------------------------------- /src/app/api/account/dashboard/health-plan/[[...user]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/dashboard/health-plan/[[...user]]/route.ts -------------------------------------------------------------------------------- /src/app/api/account/dashboard/medical-records/[[...user]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/dashboard/medical-records/[[...user]]/route.ts -------------------------------------------------------------------------------- /src/app/api/account/member-groups/[[...action]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/member-groups/[[...action]]/route.ts -------------------------------------------------------------------------------- /src/app/api/account/member/[[...user]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/member/[[...user]]/route.ts -------------------------------------------------------------------------------- /src/app/api/account/profile/[[...user]]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/account/profile/[[...user]]/route.ts -------------------------------------------------------------------------------- /src/app/api/allowed-plans/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/allowed-plans/route.ts -------------------------------------------------------------------------------- /src/app/api/authorizer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/authorizer.ts -------------------------------------------------------------------------------- /src/app/api/welcome/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/api/welcome/route.ts -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/globals.css -------------------------------------------------------------------------------- /src/app/invite/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/invite/page.tsx -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/plan/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/plan/page.tsx -------------------------------------------------------------------------------- /src/app/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /src/app/sign-up/[[...sign-up]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/sign-up/[[...sign-up]]/page.tsx -------------------------------------------------------------------------------- /src/app/welcome/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/app/welcome/page.tsx -------------------------------------------------------------------------------- /src/components/access/CaregiverList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/access/CaregiverList.tsx -------------------------------------------------------------------------------- /src/components/access/MemberGroups.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/access/MemberGroups.tsx -------------------------------------------------------------------------------- /src/components/menu/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/menu/Menu.tsx -------------------------------------------------------------------------------- /src/components/plans/PlanDropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/plans/PlanDropdown.tsx -------------------------------------------------------------------------------- /src/components/wizard/AccessLength.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/AccessLength.tsx -------------------------------------------------------------------------------- /src/components/wizard/ConfirmInformation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/ConfirmInformation.tsx -------------------------------------------------------------------------------- /src/components/wizard/DelegatePermissions.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/DelegatePermissions.tsx -------------------------------------------------------------------------------- /src/components/wizard/ShareAccess.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/ShareAccess.tsx -------------------------------------------------------------------------------- /src/components/wizard/ShareAccessPerson.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/ShareAccessPerson.tsx -------------------------------------------------------------------------------- /src/components/wizard/Summary.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/Summary.tsx -------------------------------------------------------------------------------- /src/components/wizard/Wizard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/components/wizard/Wizard.tsx -------------------------------------------------------------------------------- /src/contexts/UserContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/contexts/UserContext.tsx -------------------------------------------------------------------------------- /src/contexts/WizardFormContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/contexts/WizardFormContext.tsx -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/models/models.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/models/models.ts -------------------------------------------------------------------------------- /src/utils/AbilityLoader.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/src/utils/AbilityLoader.tsx -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/permitio/Galactic-Health-Corporation/HEAD/tsconfig.json --------------------------------------------------------------------------------