├── .gitignore ├── .vscode └── settings.json ├── LICENSE.md ├── README.md ├── apps ├── api │ ├── .gitignore │ ├── @types │ │ └── fastify.d.ts │ ├── package.json │ ├── prisma │ │ ├── migrations │ │ │ ├── 20240424002939_create_database_structure │ │ │ │ └── migration.sql │ │ │ ├── 20240424133650_alter_user_id_to_owner_id │ │ │ │ └── migration.sql │ │ │ ├── 20240424175144_index_organization_slugs │ │ │ │ └── migration.sql │ │ │ ├── 20240424195144_index_project_slug │ │ │ │ └── migration.sql │ │ │ ├── 20240424203459_alter_user_id_to_author_id_in_invites │ │ │ │ └── migration.sql │ │ │ ├── 20240424220955_enable_cascades │ │ │ │ └── migration.sql │ │ │ ├── 20240723122250_update_author_id_map │ │ │ │ └── migration.sql │ │ │ ├── 20240724203556_add_verified_email_column_to_users │ │ │ │ └── migration.sql │ │ │ ├── 20240724203912_rename_verified_email_column │ │ │ │ └── migration.sql │ │ │ ├── 20240724210322_add_a_token_type_for_account_verifications │ │ │ │ └── migration.sql │ │ │ └── migration_lock.toml │ │ ├── schema.prisma │ │ └── seed.ts │ ├── src │ │ ├── http │ │ │ ├── error-handler.ts │ │ │ ├── middlewares │ │ │ │ ├── auth.ts │ │ │ │ └── req-id.ts │ │ │ ├── routes │ │ │ │ ├── _errors │ │ │ │ │ ├── bad-request-error.ts │ │ │ │ │ ├── not-found-error.ts │ │ │ │ │ └── unauthorized-error.ts │ │ │ │ ├── auth │ │ │ │ │ ├── authenticate-with-github.ts │ │ │ │ │ ├── authenticate-with-password.ts │ │ │ │ │ ├── create-account.ts │ │ │ │ │ ├── get-profile.ts │ │ │ │ │ ├── request-password-recover.ts │ │ │ │ │ ├── reset-password.ts │ │ │ │ │ └── verify-account.ts │ │ │ │ ├── billing │ │ │ │ │ └── get-organization-billing.ts │ │ │ │ ├── invites │ │ │ │ │ ├── accept-invite.ts │ │ │ │ │ ├── create-invite.ts │ │ │ │ │ ├── get-invite.ts │ │ │ │ │ ├── get-invites.ts │ │ │ │ │ ├── get-pending-invites.ts │ │ │ │ │ ├── reject-invite.ts │ │ │ │ │ └── revoke-invite.ts │ │ │ │ ├── memberships │ │ │ │ │ ├── delete-membership.ts │ │ │ │ │ ├── get-memberships.ts │ │ │ │ │ └── update-membership.ts │ │ │ │ ├── orgs │ │ │ │ │ ├── create-organization.ts │ │ │ │ │ ├── get-membership.ts │ │ │ │ │ ├── get-organization.ts │ │ │ │ │ ├── get-organizations.ts │ │ │ │ │ ├── shutdown-organization.ts │ │ │ │ │ ├── transfer-organization.ts │ │ │ │ │ └── update-organization.ts │ │ │ │ └── projects │ │ │ │ │ ├── create-project.ts │ │ │ │ │ ├── delete-project.ts │ │ │ │ │ ├── get-project.ts │ │ │ │ │ ├── get-projects.ts │ │ │ │ │ └── update-project.ts │ │ │ └── server.ts │ │ ├── lib │ │ │ ├── prisma.ts │ │ │ └── resend.ts │ │ └── utils │ │ │ ├── create-slug.ts │ │ │ ├── create-unique-slug.ts │ │ │ ├── get-user-permissions.ts │ │ │ └── new-id.ts │ └── tsconfig.json ├── docs │ ├── README.md │ ├── api-reference │ │ ├── endpoints │ │ │ ├── auth │ │ │ │ ├── authenticate-with-email-and-password.mdx │ │ │ │ ├── authenticate-with-github.mdx │ │ │ │ ├── create-a-new-user-account.mdx │ │ │ │ ├── get-user-profile.mdx │ │ │ │ ├── request-password-recover.mdx │ │ │ │ └── reset-password.mdx │ │ │ ├── billing │ │ │ │ └── get-billing-details-of-an-organization.mdx │ │ │ ├── invites │ │ │ │ ├── accept-an-invite.mdx │ │ │ │ ├── create-an-invite.mdx │ │ │ │ ├── get-all-invites-for-an-organization.mdx │ │ │ │ ├── get-all-user-pending-invites.mdx │ │ │ │ ├── get-an-invite.mdx │ │ │ │ ├── reject-an-invite.mdx │ │ │ │ └── revoke-an-invite.mdx │ │ │ ├── memberships │ │ │ │ ├── delete-a-membership.mdx │ │ │ │ ├── get-all-organization-members.mdx │ │ │ │ └── update-a-membership.mdx │ │ │ ├── organizations │ │ │ │ ├── create-an-organization.mdx │ │ │ │ ├── get-details-of-an-organization-by-slug.mdx │ │ │ │ ├── get-organizations-to-which-the-user-belongs.mdx │ │ │ │ ├── get-user-membership-in-the-organization.mdx │ │ │ │ ├── shutdown-an-organization.mdx │ │ │ │ ├── transfer-an-organization-ownership.mdx │ │ │ │ └── update-an-organization.mdx │ │ │ └── projects │ │ │ │ ├── create-a-project.mdx │ │ │ │ ├── delete-a-project.mdx │ │ │ │ ├── get-a-project.mdx │ │ │ │ ├── get-projects.mdx │ │ │ │ └── update-a-project.mdx │ │ ├── introduction.mdx │ │ ├── openapi.json │ │ └── running-api.mdx │ ├── favicon.svg │ ├── get-started.mdx │ ├── introduction.mdx │ ├── logo │ │ ├── dark.webp │ │ └── light.webp │ ├── mint.json │ └── reactjs-component │ │ ├── components │ │ ├── code-block │ │ │ ├── control-button.mdx │ │ │ ├── editor.mdx │ │ │ └── output-display.mdx │ │ ├── code-editor-provider.mdx │ │ └── web-container-provider.mdx │ │ ├── demo.mdx │ │ ├── hooks │ │ ├── use-code-editor.mdx │ │ └── use-web-container.mdx │ │ ├── introduction.mdx │ │ └── usage.mdx └── web │ ├── .gitignore │ ├── components.json │ ├── next.config.mjs │ ├── package.json │ ├── postcss.config.mjs │ ├── src │ ├── app │ │ ├── (app) │ │ │ ├── @sheet │ │ │ │ ├── (.)create-organization │ │ │ │ │ └── page.tsx │ │ │ │ ├── (.)org │ │ │ │ │ └── [slug] │ │ │ │ │ │ └── create-project │ │ │ │ │ │ └── page.tsx │ │ │ │ └── default.tsx │ │ │ ├── create-organization │ │ │ │ └── page.tsx │ │ │ ├── layout.tsx │ │ │ ├── org │ │ │ │ ├── [slug] │ │ │ │ │ ├── (projects) │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── project-list.tsx │ │ │ │ │ ├── create-project │ │ │ │ │ │ ├── actions.ts │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── project-form.tsx │ │ │ │ │ ├── layout.tsx │ │ │ │ │ ├── members │ │ │ │ │ │ ├── actions.ts │ │ │ │ │ │ ├── create-invite-form.tsx │ │ │ │ │ │ ├── invites.tsx │ │ │ │ │ │ ├── member-list.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ ├── revoke-invite-button.tsx │ │ │ │ │ │ └── update-member-role-select.tsx │ │ │ │ │ ├── project │ │ │ │ │ │ └── [project-slug] │ │ │ │ │ │ │ └── page.tsx │ │ │ │ │ └── settings │ │ │ │ │ │ ├── billing.tsx │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── shutdown-organization-button.tsx │ │ │ │ ├── actions.ts │ │ │ │ └── organization-form.tsx │ │ │ └── page.tsx │ │ ├── api │ │ │ └── auth │ │ │ │ ├── callback │ │ │ │ └── route.ts │ │ │ │ └── sign-out │ │ │ │ └── route.ts │ │ ├── auth │ │ │ ├── actions.ts │ │ │ ├── forgot-password │ │ │ │ ├── actions.ts │ │ │ │ ├── email-sent │ │ │ │ │ └── page.tsx │ │ │ │ ├── forgot-password-form.tsx │ │ │ │ ├── page.tsx │ │ │ │ └── recover │ │ │ │ │ └── [token] │ │ │ │ │ ├── actions.ts │ │ │ │ │ ├── page.tsx │ │ │ │ │ └── reset-password-form.tsx │ │ │ ├── layout.tsx │ │ │ ├── sign-in │ │ │ │ ├── actions.ts │ │ │ │ ├── page.tsx │ │ │ │ └── sign-in-form.tsx │ │ │ └── sign-up │ │ │ │ ├── actions.ts │ │ │ │ ├── page.tsx │ │ │ │ └── sign-up-form.tsx │ │ ├── favicon.ico │ │ ├── globals.css │ │ ├── invite │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── layout.tsx │ │ └── providers.tsx │ ├── assets │ │ ├── github-icon.svg │ │ └── logo.webp │ ├── auth │ │ └── auth.ts │ ├── components │ │ ├── header.tsx │ │ ├── intercepted-sheet-content.tsx │ │ ├── nav-link.tsx │ │ ├── organization-switcher.tsx │ │ ├── page-layout.tsx │ │ ├── pending-invites │ │ │ ├── actions.ts │ │ │ └── index.tsx │ │ ├── profile-button.tsx │ │ ├── project-switcher.tsx │ │ ├── tabs.tsx │ │ ├── theme-switcher.tsx │ │ └── ui │ │ │ ├── alert-dialog.tsx │ │ │ ├── alert.tsx │ │ │ ├── avatar.tsx │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── checkbox.tsx │ │ │ ├── dropdown-menu.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ ├── popover.tsx │ │ │ ├── select.tsx │ │ │ ├── separator.tsx │ │ │ ├── sheet.tsx │ │ │ ├── skeleton.tsx │ │ │ ├── sonner.tsx │ │ │ ├── table.tsx │ │ │ ├── textarea.tsx │ │ │ └── tooltip.tsx │ ├── hooks │ │ └── use-form-state.ts │ ├── http │ │ ├── accept-invite.ts │ │ ├── api-client.ts │ │ ├── create-invite.ts │ │ ├── create-organization.ts │ │ ├── create-project.ts │ │ ├── get-billing.ts │ │ ├── get-invite.ts │ │ ├── get-invites.ts │ │ ├── get-members.ts │ │ ├── get-membership.ts │ │ ├── get-organization.ts │ │ ├── get-organizations.ts │ │ ├── get-pending-invites.ts │ │ ├── get-profile.ts │ │ ├── get-projects.ts │ │ ├── reject-invite.ts │ │ ├── remove-member.ts │ │ ├── request-password-recover.ts │ │ ├── reset-password.ts │ │ ├── revoke-invite.ts │ │ ├── shutdown-organization.ts │ │ ├── sign-in-with-github.ts │ │ ├── sign-in-with-password.ts │ │ ├── sign-up.ts │ │ ├── transfer-ownership.ts │ │ ├── update-member.ts │ │ └── update-organization.ts │ ├── lib │ │ ├── accept-invite-if-any.ts │ │ ├── react-query.ts │ │ └── utils.ts │ └── middleware.ts │ ├── tailwind.config.ts │ └── tsconfig.json ├── config ├── eslint-config │ ├── library.js │ ├── next.js │ ├── node.js │ └── package.json ├── prettier-config │ ├── index.mjs │ └── package.json └── typescript-config │ ├── library.json │ ├── nextjs.json │ ├── node.json │ ├── package.json │ └── react.json ├── docker-compose.yml ├── package.json ├── packages ├── auth │ ├── package.json │ ├── src │ │ ├── index.ts │ │ ├── models │ │ │ ├── organization.ts │ │ │ ├── project.ts │ │ │ └── user.ts │ │ ├── permissions.ts │ │ ├── roles.ts │ │ └── subjects │ │ │ ├── billing.ts │ │ │ ├── invite.ts │ │ │ ├── organization.ts │ │ │ ├── project.ts │ │ │ └── user.ts │ └── tsconfig.json ├── code-block │ ├── README.md │ ├── package.json │ ├── src │ │ ├── code-editor.tsx │ │ ├── contexts │ │ │ ├── code-editor.tsx │ │ │ └── web-container.tsx │ │ ├── control-button.tsx │ │ ├── helpers │ │ │ ├── build-package-file.ts │ │ │ ├── build-tsconfig-file.ts │ │ │ ├── deep-merge.ts │ │ │ └── extract-dependencies.ts │ │ ├── index.ts │ │ └── output-display.tsx │ ├── tsconfig.json │ └── tsup.config.ts ├── constants │ ├── index.ts │ ├── package.json │ └── tsconfig.json ├── env │ ├── index.ts │ ├── package.json │ └── tsconfig.json └── transactional │ ├── emails │ ├── index.ts │ ├── invite.tsx │ ├── password-recover.tsx │ └── verify-account.tsx │ ├── package.json │ └── tsconfig.json ├── pnpm-lock.yaml ├── pnpm-workspace.yaml └── turbo.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/README.md -------------------------------------------------------------------------------- /apps/api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/.gitignore -------------------------------------------------------------------------------- /apps/api/@types/fastify.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/@types/fastify.d.ts -------------------------------------------------------------------------------- /apps/api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/package.json -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424002939_create_database_structure/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424002939_create_database_structure/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424133650_alter_user_id_to_owner_id/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424133650_alter_user_id_to_owner_id/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424175144_index_organization_slugs/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424175144_index_organization_slugs/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424195144_index_project_slug/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424195144_index_project_slug/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424203459_alter_user_id_to_author_id_in_invites/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424203459_alter_user_id_to_author_id_in_invites/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240424220955_enable_cascades/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240424220955_enable_cascades/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240723122250_update_author_id_map/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240723122250_update_author_id_map/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240724203556_add_verified_email_column_to_users/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240724203556_add_verified_email_column_to_users/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240724203912_rename_verified_email_column/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/20240724203912_rename_verified_email_column/migration.sql -------------------------------------------------------------------------------- /apps/api/prisma/migrations/20240724210322_add_a_token_type_for_account_verifications/migration.sql: -------------------------------------------------------------------------------- 1 | -- AlterEnum 2 | ALTER TYPE "TokenType" ADD VALUE 'ACCOUNT_VERIFICATION'; 3 | -------------------------------------------------------------------------------- /apps/api/prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /apps/api/prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/schema.prisma -------------------------------------------------------------------------------- /apps/api/prisma/seed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/prisma/seed.ts -------------------------------------------------------------------------------- /apps/api/src/http/error-handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/error-handler.ts -------------------------------------------------------------------------------- /apps/api/src/http/middlewares/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/middlewares/auth.ts -------------------------------------------------------------------------------- /apps/api/src/http/middlewares/req-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/middlewares/req-id.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/_errors/bad-request-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/_errors/bad-request-error.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/_errors/not-found-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/_errors/not-found-error.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/_errors/unauthorized-error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/_errors/unauthorized-error.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/authenticate-with-github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/authenticate-with-github.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/authenticate-with-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/authenticate-with-password.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/create-account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/create-account.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/get-profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/get-profile.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/request-password-recover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/request-password-recover.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/reset-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/reset-password.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/auth/verify-account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/auth/verify-account.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/billing/get-organization-billing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/billing/get-organization-billing.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/accept-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/accept-invite.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/create-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/create-invite.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/get-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/get-invite.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/get-invites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/get-invites.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/get-pending-invites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/get-pending-invites.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/reject-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/reject-invite.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/invites/revoke-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/invites/revoke-invite.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/memberships/delete-membership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/memberships/delete-membership.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/memberships/get-memberships.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/memberships/get-memberships.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/memberships/update-membership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/memberships/update-membership.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/create-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/create-organization.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/get-membership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/get-membership.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/get-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/get-organization.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/get-organizations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/get-organizations.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/shutdown-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/shutdown-organization.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/transfer-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/transfer-organization.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/orgs/update-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/orgs/update-organization.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/projects/create-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/projects/create-project.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/projects/delete-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/projects/delete-project.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/projects/get-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/projects/get-project.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/projects/get-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/projects/get-projects.ts -------------------------------------------------------------------------------- /apps/api/src/http/routes/projects/update-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/routes/projects/update-project.ts -------------------------------------------------------------------------------- /apps/api/src/http/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/http/server.ts -------------------------------------------------------------------------------- /apps/api/src/lib/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/lib/prisma.ts -------------------------------------------------------------------------------- /apps/api/src/lib/resend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/lib/resend.ts -------------------------------------------------------------------------------- /apps/api/src/utils/create-slug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/utils/create-slug.ts -------------------------------------------------------------------------------- /apps/api/src/utils/create-unique-slug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/utils/create-unique-slug.ts -------------------------------------------------------------------------------- /apps/api/src/utils/get-user-permissions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/utils/get-user-permissions.ts -------------------------------------------------------------------------------- /apps/api/src/utils/new-id.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/src/utils/new-id.ts -------------------------------------------------------------------------------- /apps/api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/api/tsconfig.json -------------------------------------------------------------------------------- /apps/docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/README.md -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/authenticate-with-email-and-password.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /sessions/password 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/authenticate-with-github.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /sessions/github 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/create-a-new-user-account.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /users 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/get-user-profile.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /profile 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/request-password-recover.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /password/recover 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/auth/reset-password.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /password/reset 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/billing/get-billing-details-of-an-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug}/billing 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/accept-an-invite.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/invites/accept-an-invite.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/create-an-invite.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /organizations/{slug}/invites 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/get-all-invites-for-an-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug}/invites 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/get-all-user-pending-invites.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /pending-invites 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/get-an-invite.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/invites/get-an-invite.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/reject-an-invite.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/invites/reject-an-invite.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/invites/revoke-an-invite.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/invites/revoke-an-invite.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/memberships/delete-a-membership.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/memberships/delete-a-membership.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/memberships/get-all-organization-members.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug}/memberships 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/memberships/update-a-membership.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/memberships/update-a-membership.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/create-an-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /organizations 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/get-details-of-an-organization-by-slug.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug} 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/get-organizations-to-which-the-user-belongs.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/get-user-membership-in-the-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug}/membership 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/shutdown-an-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: delete /organizations/{slug} 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/transfer-an-organization-ownership.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: patch /organizations/{slug}/owner 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/organizations/update-an-organization.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: put /organizations/{slug} 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/projects/create-a-project.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: post /organizations/{slug}/projects 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/projects/delete-a-project.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/projects/delete-a-project.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/projects/get-a-project.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/projects/get-a-project.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/projects/get-projects.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | openapi: get /organizations/{slug}/projects 3 | --- -------------------------------------------------------------------------------- /apps/docs/api-reference/endpoints/projects/update-a-project.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/endpoints/projects/update-a-project.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/introduction.mdx -------------------------------------------------------------------------------- /apps/docs/api-reference/openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/openapi.json -------------------------------------------------------------------------------- /apps/docs/api-reference/running-api.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/api-reference/running-api.mdx -------------------------------------------------------------------------------- /apps/docs/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/favicon.svg -------------------------------------------------------------------------------- /apps/docs/get-started.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/get-started.mdx -------------------------------------------------------------------------------- /apps/docs/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/introduction.mdx -------------------------------------------------------------------------------- /apps/docs/logo/dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/logo/dark.webp -------------------------------------------------------------------------------- /apps/docs/logo/light.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/logo/light.webp -------------------------------------------------------------------------------- /apps/docs/mint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/mint.json -------------------------------------------------------------------------------- /apps/docs/reactjs-component/components/code-block/control-button.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/components/code-block/control-button.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/components/code-block/editor.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/components/code-block/editor.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/components/code-block/output-display.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/components/code-block/output-display.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/components/code-editor-provider.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/components/code-editor-provider.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/components/web-container-provider.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/components/web-container-provider.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/demo.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/demo.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/hooks/use-code-editor.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/hooks/use-code-editor.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/hooks/use-web-container.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/hooks/use-web-container.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/introduction.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/introduction.mdx -------------------------------------------------------------------------------- /apps/docs/reactjs-component/usage.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/docs/reactjs-component/usage.mdx -------------------------------------------------------------------------------- /apps/web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/.gitignore -------------------------------------------------------------------------------- /apps/web/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/components.json -------------------------------------------------------------------------------- /apps/web/next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/next.config.mjs -------------------------------------------------------------------------------- /apps/web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/package.json -------------------------------------------------------------------------------- /apps/web/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/postcss.config.mjs -------------------------------------------------------------------------------- /apps/web/src/app/(app)/@sheet/(.)create-organization/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/@sheet/(.)create-organization/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/@sheet/(.)org/[slug]/create-project/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/@sheet/(.)org/[slug]/create-project/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/@sheet/default.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/@sheet/default.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/create-organization/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/create-organization/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/(projects)/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/(projects)/project-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/(projects)/project-list.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/create-project/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/create-project/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/create-project/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/create-project/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/create-project/project-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/create-project/project-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/create-invite-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/create-invite-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/invites.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/invites.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/member-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/member-list.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/revoke-invite-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/revoke-invite-button.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/members/update-member-role-select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/members/update-member-role-select.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/project/[project-slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/project/[project-slug]/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/settings/billing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/settings/billing.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/settings/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/settings/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/[slug]/settings/shutdown-organization-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/[slug]/settings/shutdown-organization-button.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/(app)/org/organization-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/org/organization-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/(app)/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/(app)/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/api/auth/callback/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/api/auth/callback/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/api/auth/sign-out/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/api/auth/sign-out/route.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/email-sent/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/email-sent/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/forgot-password-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/forgot-password-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/recover/[token]/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/recover/[token]/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/recover/[token]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/recover/[token]/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/forgot-password/recover/[token]/reset-password-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/forgot-password/recover/[token]/reset-password-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-in/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-in/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-in/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-in/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-in/sign-in-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-in/sign-in-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-up/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-up/actions.ts -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-up/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-up/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/auth/sign-up/sign-up-form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/auth/sign-up/sign-up-form.tsx -------------------------------------------------------------------------------- /apps/web/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/favicon.ico -------------------------------------------------------------------------------- /apps/web/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/globals.css -------------------------------------------------------------------------------- /apps/web/src/app/invite/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/invite/[id]/page.tsx -------------------------------------------------------------------------------- /apps/web/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/layout.tsx -------------------------------------------------------------------------------- /apps/web/src/app/providers.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/app/providers.tsx -------------------------------------------------------------------------------- /apps/web/src/assets/github-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/assets/github-icon.svg -------------------------------------------------------------------------------- /apps/web/src/assets/logo.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/assets/logo.webp -------------------------------------------------------------------------------- /apps/web/src/auth/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/auth/auth.ts -------------------------------------------------------------------------------- /apps/web/src/components/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/header.tsx -------------------------------------------------------------------------------- /apps/web/src/components/intercepted-sheet-content.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/intercepted-sheet-content.tsx -------------------------------------------------------------------------------- /apps/web/src/components/nav-link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/nav-link.tsx -------------------------------------------------------------------------------- /apps/web/src/components/organization-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/organization-switcher.tsx -------------------------------------------------------------------------------- /apps/web/src/components/page-layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/page-layout.tsx -------------------------------------------------------------------------------- /apps/web/src/components/pending-invites/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/pending-invites/actions.ts -------------------------------------------------------------------------------- /apps/web/src/components/pending-invites/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/pending-invites/index.tsx -------------------------------------------------------------------------------- /apps/web/src/components/profile-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/profile-button.tsx -------------------------------------------------------------------------------- /apps/web/src/components/project-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/project-switcher.tsx -------------------------------------------------------------------------------- /apps/web/src/components/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/tabs.tsx -------------------------------------------------------------------------------- /apps/web/src/components/theme-switcher.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/theme-switcher.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/alert-dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/alert-dialog.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/avatar.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/button.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/card.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/input.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/label.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/popover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/popover.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/select.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/sheet.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/sonner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/sonner.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/table.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/table.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /apps/web/src/components/ui/tooltip.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/components/ui/tooltip.tsx -------------------------------------------------------------------------------- /apps/web/src/hooks/use-form-state.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/hooks/use-form-state.ts -------------------------------------------------------------------------------- /apps/web/src/http/accept-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/accept-invite.ts -------------------------------------------------------------------------------- /apps/web/src/http/api-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/api-client.ts -------------------------------------------------------------------------------- /apps/web/src/http/create-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/create-invite.ts -------------------------------------------------------------------------------- /apps/web/src/http/create-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/create-organization.ts -------------------------------------------------------------------------------- /apps/web/src/http/create-project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/create-project.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-billing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-billing.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-invite.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-invites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-invites.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-members.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-members.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-membership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-membership.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-organization.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-organizations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-organizations.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-pending-invites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-pending-invites.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-profile.ts -------------------------------------------------------------------------------- /apps/web/src/http/get-projects.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/get-projects.ts -------------------------------------------------------------------------------- /apps/web/src/http/reject-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/reject-invite.ts -------------------------------------------------------------------------------- /apps/web/src/http/remove-member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/remove-member.ts -------------------------------------------------------------------------------- /apps/web/src/http/request-password-recover.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/request-password-recover.ts -------------------------------------------------------------------------------- /apps/web/src/http/reset-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/reset-password.ts -------------------------------------------------------------------------------- /apps/web/src/http/revoke-invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/revoke-invite.ts -------------------------------------------------------------------------------- /apps/web/src/http/shutdown-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/shutdown-organization.ts -------------------------------------------------------------------------------- /apps/web/src/http/sign-in-with-github.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/sign-in-with-github.ts -------------------------------------------------------------------------------- /apps/web/src/http/sign-in-with-password.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/sign-in-with-password.ts -------------------------------------------------------------------------------- /apps/web/src/http/sign-up.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/sign-up.ts -------------------------------------------------------------------------------- /apps/web/src/http/transfer-ownership.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/transfer-ownership.ts -------------------------------------------------------------------------------- /apps/web/src/http/update-member.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/update-member.ts -------------------------------------------------------------------------------- /apps/web/src/http/update-organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/http/update-organization.ts -------------------------------------------------------------------------------- /apps/web/src/lib/accept-invite-if-any.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/lib/accept-invite-if-any.ts -------------------------------------------------------------------------------- /apps/web/src/lib/react-query.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/lib/react-query.ts -------------------------------------------------------------------------------- /apps/web/src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/lib/utils.ts -------------------------------------------------------------------------------- /apps/web/src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/src/middleware.ts -------------------------------------------------------------------------------- /apps/web/tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/tailwind.config.ts -------------------------------------------------------------------------------- /apps/web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/apps/web/tsconfig.json -------------------------------------------------------------------------------- /config/eslint-config/library.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/eslint-config/library.js -------------------------------------------------------------------------------- /config/eslint-config/next.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/eslint-config/next.js -------------------------------------------------------------------------------- /config/eslint-config/node.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/eslint-config/node.js -------------------------------------------------------------------------------- /config/eslint-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/eslint-config/package.json -------------------------------------------------------------------------------- /config/prettier-config/index.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/prettier-config/index.mjs -------------------------------------------------------------------------------- /config/prettier-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/prettier-config/package.json -------------------------------------------------------------------------------- /config/typescript-config/library.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/typescript-config/library.json -------------------------------------------------------------------------------- /config/typescript-config/nextjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/typescript-config/nextjs.json -------------------------------------------------------------------------------- /config/typescript-config/node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/typescript-config/node.json -------------------------------------------------------------------------------- /config/typescript-config/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/typescript-config/package.json -------------------------------------------------------------------------------- /config/typescript-config/react.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/config/typescript-config/react.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/package.json -------------------------------------------------------------------------------- /packages/auth/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/package.json -------------------------------------------------------------------------------- /packages/auth/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/index.ts -------------------------------------------------------------------------------- /packages/auth/src/models/organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/models/organization.ts -------------------------------------------------------------------------------- /packages/auth/src/models/project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/models/project.ts -------------------------------------------------------------------------------- /packages/auth/src/models/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/models/user.ts -------------------------------------------------------------------------------- /packages/auth/src/permissions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/permissions.ts -------------------------------------------------------------------------------- /packages/auth/src/roles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/roles.ts -------------------------------------------------------------------------------- /packages/auth/src/subjects/billing.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/subjects/billing.ts -------------------------------------------------------------------------------- /packages/auth/src/subjects/invite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/subjects/invite.ts -------------------------------------------------------------------------------- /packages/auth/src/subjects/organization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/subjects/organization.ts -------------------------------------------------------------------------------- /packages/auth/src/subjects/project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/subjects/project.ts -------------------------------------------------------------------------------- /packages/auth/src/subjects/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/src/subjects/user.ts -------------------------------------------------------------------------------- /packages/auth/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/auth/tsconfig.json -------------------------------------------------------------------------------- /packages/code-block/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/README.md -------------------------------------------------------------------------------- /packages/code-block/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/package.json -------------------------------------------------------------------------------- /packages/code-block/src/code-editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/code-editor.tsx -------------------------------------------------------------------------------- /packages/code-block/src/contexts/code-editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/contexts/code-editor.tsx -------------------------------------------------------------------------------- /packages/code-block/src/contexts/web-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/contexts/web-container.tsx -------------------------------------------------------------------------------- /packages/code-block/src/control-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/control-button.tsx -------------------------------------------------------------------------------- /packages/code-block/src/helpers/build-package-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/helpers/build-package-file.ts -------------------------------------------------------------------------------- /packages/code-block/src/helpers/build-tsconfig-file.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/helpers/build-tsconfig-file.ts -------------------------------------------------------------------------------- /packages/code-block/src/helpers/deep-merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/helpers/deep-merge.ts -------------------------------------------------------------------------------- /packages/code-block/src/helpers/extract-dependencies.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/helpers/extract-dependencies.ts -------------------------------------------------------------------------------- /packages/code-block/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/index.ts -------------------------------------------------------------------------------- /packages/code-block/src/output-display.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/src/output-display.tsx -------------------------------------------------------------------------------- /packages/code-block/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/tsconfig.json -------------------------------------------------------------------------------- /packages/code-block/tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/code-block/tsup.config.ts -------------------------------------------------------------------------------- /packages/constants/index.ts: -------------------------------------------------------------------------------- 1 | export const EMAILS = { 2 | support: 'hi@snipshare.co', 3 | } 4 | -------------------------------------------------------------------------------- /packages/constants/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/constants/package.json -------------------------------------------------------------------------------- /packages/constants/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/constants/tsconfig.json -------------------------------------------------------------------------------- /packages/env/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/env/index.ts -------------------------------------------------------------------------------- /packages/env/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/env/package.json -------------------------------------------------------------------------------- /packages/env/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/env/tsconfig.json -------------------------------------------------------------------------------- /packages/transactional/emails/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/emails/index.ts -------------------------------------------------------------------------------- /packages/transactional/emails/invite.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/emails/invite.tsx -------------------------------------------------------------------------------- /packages/transactional/emails/password-recover.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/emails/password-recover.tsx -------------------------------------------------------------------------------- /packages/transactional/emails/verify-account.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/emails/verify-account.tsx -------------------------------------------------------------------------------- /packages/transactional/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/package.json -------------------------------------------------------------------------------- /packages/transactional/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/packages/transactional/tsconfig.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/pnpm-workspace.yaml -------------------------------------------------------------------------------- /turbo.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joaopcm/snipshare/HEAD/turbo.json --------------------------------------------------------------------------------