├── .gitignore ├── clerk-5-roles-and-perms ├── .eslintrc.json ├── .gitignore ├── README.md ├── components.json ├── drizzle.config.ts ├── drizzle │ ├── 0000_last_captain_america.sql │ └── meta │ │ ├── 0000_snapshot.json │ │ └── _journal.json ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public │ ├── next.svg │ └── vercel.svg ├── sqlite.db ├── src │ ├── app │ │ ├── components │ │ │ ├── MainPage.tsx │ │ │ ├── RQProvider.tsx │ │ │ ├── Search.tsx │ │ │ ├── SearchSheet.tsx │ │ │ ├── ShowCard.tsx │ │ │ ├── ShowContext.tsx │ │ │ ├── ShowList.tsx │ │ │ ├── SortableShows.tsx │ │ │ └── SyncActiveOrganization.tsx │ │ ├── favicon.ico │ │ ├── globals.css │ │ ├── layout.tsx │ │ ├── page.tsx │ │ ├── shows │ │ │ └── search │ │ │ │ └── route.ts │ │ ├── sign-in │ │ │ └── [[...sign-in]] │ │ │ │ └── page.tsx │ │ └── types.ts │ ├── components │ │ └── ui │ │ │ ├── button.tsx │ │ │ ├── input.tsx │ │ │ └── sheet.tsx │ ├── db │ │ ├── index.ts │ │ └── schema.ts │ ├── lib │ │ └── utils.ts │ ├── middleware.ts │ └── types │ │ └── globals.d.ts ├── tailwind.config.ts └── tsconfig.json └── starter ├── .eslintrc.json ├── .gitignore ├── README.md ├── components.json ├── drizzle.config.ts ├── drizzle ├── 0000_last_captain_america.sql └── meta │ ├── 0000_snapshot.json │ └── _journal.json ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── public ├── next.svg └── vercel.svg ├── src ├── app │ ├── components │ │ ├── MainPage.tsx │ │ ├── RQProvider.tsx │ │ ├── Search.tsx │ │ ├── SearchSheet.tsx │ │ ├── ShowCard.tsx │ │ ├── ShowContext.tsx │ │ ├── ShowList.tsx │ │ └── SortableShows.tsx │ ├── favicon.ico │ ├── globals.css │ ├── layout.tsx │ ├── page.tsx │ ├── shows │ │ └── search │ │ │ └── route.ts │ └── types.ts ├── components │ └── ui │ │ ├── button.tsx │ │ ├── input.tsx │ │ └── sheet.tsx ├── db │ ├── index.ts │ └── schema.ts ├── lib │ └── utils.ts └── types │ └── globals.d.ts ├── tailwind.config.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .env 4 | .next 5 | -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/.gitignore -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/README.md -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/components.json -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/drizzle.config.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/drizzle/0000_last_captain_america.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/drizzle/0000_last_captain_america.sql -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/drizzle/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/drizzle/meta/0000_snapshot.json -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/next.config.js -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/package.json -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/pnpm-lock.yaml -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/postcss.config.js -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/public/next.svg -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/public/vercel.svg -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/sqlite.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/sqlite.db -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/MainPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/MainPage.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/RQProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/RQProvider.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/Search.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/SearchSheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/SearchSheet.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/ShowCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/ShowCard.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/ShowContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/ShowContext.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/ShowList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/ShowList.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/SortableShows.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/SortableShows.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/components/SyncActiveOrganization.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/components/SyncActiveOrganization.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/favicon.ico -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/globals.css -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/layout.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/page.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/shows/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/shows/search/route.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/sign-in/[[...sign-in]]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/sign-in/[[...sign-in]]/page.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/app/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/app/types.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/components/ui/button.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/components/ui/input.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/db/index.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/db/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/db/schema.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/lib/utils.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/middleware.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/src/types/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/src/types/globals.d.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/tailwind.config.ts -------------------------------------------------------------------------------- /clerk-5-roles-and-perms/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/clerk-5-roles-and-perms/tsconfig.json -------------------------------------------------------------------------------- /starter/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /starter/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/.gitignore -------------------------------------------------------------------------------- /starter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/README.md -------------------------------------------------------------------------------- /starter/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/components.json -------------------------------------------------------------------------------- /starter/drizzle.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/drizzle.config.ts -------------------------------------------------------------------------------- /starter/drizzle/0000_last_captain_america.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/drizzle/0000_last_captain_america.sql -------------------------------------------------------------------------------- /starter/drizzle/meta/0000_snapshot.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/drizzle/meta/0000_snapshot.json -------------------------------------------------------------------------------- /starter/drizzle/meta/_journal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/drizzle/meta/_journal.json -------------------------------------------------------------------------------- /starter/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/next.config.js -------------------------------------------------------------------------------- /starter/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/package.json -------------------------------------------------------------------------------- /starter/pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/pnpm-lock.yaml -------------------------------------------------------------------------------- /starter/postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/postcss.config.js -------------------------------------------------------------------------------- /starter/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/public/next.svg -------------------------------------------------------------------------------- /starter/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/public/vercel.svg -------------------------------------------------------------------------------- /starter/src/app/components/MainPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/MainPage.tsx -------------------------------------------------------------------------------- /starter/src/app/components/RQProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/RQProvider.tsx -------------------------------------------------------------------------------- /starter/src/app/components/Search.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/Search.tsx -------------------------------------------------------------------------------- /starter/src/app/components/SearchSheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/SearchSheet.tsx -------------------------------------------------------------------------------- /starter/src/app/components/ShowCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/ShowCard.tsx -------------------------------------------------------------------------------- /starter/src/app/components/ShowContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/ShowContext.tsx -------------------------------------------------------------------------------- /starter/src/app/components/ShowList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/ShowList.tsx -------------------------------------------------------------------------------- /starter/src/app/components/SortableShows.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/components/SortableShows.tsx -------------------------------------------------------------------------------- /starter/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/favicon.ico -------------------------------------------------------------------------------- /starter/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/globals.css -------------------------------------------------------------------------------- /starter/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/layout.tsx -------------------------------------------------------------------------------- /starter/src/app/page.tsx: -------------------------------------------------------------------------------- 1 | export default function Home() { 2 | return
Hello
; 3 | } 4 | -------------------------------------------------------------------------------- /starter/src/app/shows/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/shows/search/route.ts -------------------------------------------------------------------------------- /starter/src/app/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/app/types.ts -------------------------------------------------------------------------------- /starter/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/components/ui/button.tsx -------------------------------------------------------------------------------- /starter/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/components/ui/input.tsx -------------------------------------------------------------------------------- /starter/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /starter/src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/db/index.ts -------------------------------------------------------------------------------- /starter/src/db/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/db/schema.ts -------------------------------------------------------------------------------- /starter/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/src/lib/utils.ts -------------------------------------------------------------------------------- /starter/src/types/globals.d.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /starter/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/tailwind.config.ts -------------------------------------------------------------------------------- /starter/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jherr/clerk-5-roles-and-perms/HEAD/starter/tsconfig.json --------------------------------------------------------------------------------