Skip to content

Commit

Permalink
Add space between file content and compliance
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbachorski committed Nov 5, 2024
1 parent b2de489 commit ce2d721
Show file tree
Hide file tree
Showing 74 changed files with 73 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# SPDX-License-Identifier: MIT
#


FROM node:latest AS build

RUN mkdir /app
Expand Down
1 change: 1 addition & 0 deletions apphosting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#
# SPDX-License-Identifier: MIT
#

env:
- variable: VITE_PUBLIC_FIREBASE_API_KEY
secret: webFrontend_VITE_PUBLIC_FIREBASE_API_KEY
Expand Down
1 change: 1 addition & 0 deletions components/AsideEngageLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
//
// SPDX-License-Identifier: MIT
//

export * from './AsideEngageLayout'
1 change: 1 addition & 0 deletions components/icons/LogoType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import type { SVGProps } from 'react'

type LogoTypeProps = SVGProps<SVGSVGElement> & {
Expand Down
1 change: 1 addition & 0 deletions env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { createEnv } from '@t3-oss/env-core'
import { z } from 'zod'

Expand Down
1 change: 1 addition & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import type en from './modules/messages/translations/en.json'

/// <reference types="vite/client" />
Expand Down
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
SPDX-License-Identifier: MIT
-->

<!doctype html>
<html lang="en">
<head>
Expand Down
1 change: 1 addition & 0 deletions main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { RouterProvider, createRouter } from '@tanstack/react-router'
import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/AuthProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { useAuthUser } from '@stanfordspezi/spezi-web-design-system/modules/auth'
import { useNavigate } from '@tanstack/react-router'
import { type ReactNode, useEffect } from 'react'
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/UserProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { getUserInfo } from '@stanfordspezi/spezi-web-design-system/modules/auth'
import { queryOptions, useSuspenseQuery } from '@tanstack/react-query'
import { getCurrentUser } from '@/modules/firebase/app'
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/allergy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { startCase } from 'es-toolkit'

export enum AllergyType {
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { initializeApp } from '@firebase/app'
import { connectFunctionsEmulator, getFunctions } from '@firebase/functions'
import { type UserType } from '@stanfordbdhg/engagehf-models'
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/appointment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { FHIRExtensionUrl } from '@stanfordbdhg/engagehf-models'
import { queryOptions } from '@tanstack/react-query'
import { orderBy, query } from 'firebase/firestore'
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { env } from '../../env'

export const firebaseConfig = {
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/localizedText.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { createLocalizationHelpers } from '@/modules/firebase/localizedText'

const { parseLocalizedText, parseNilLocalizedText } =
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/localizedText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
type Nil,
isObject,
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
type fhirAllergyIntoleranceConverter,
type fhirAppointmentConverter,
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/role.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { type UserType } from '@stanfordbdhg/engagehf-models'
import { upperFirst } from '@stanfordspezi/spezi-web-design-system/utils/misc'

Expand Down
1 change: 1 addition & 0 deletions modules/firebase/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
type GetUsersInformationInput,
type UserInformation,
Expand Down
1 change: 1 addition & 0 deletions modules/firebase/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { type Functions, httpsCallable } from '@firebase/functions'
import {
type CreateInvitationInput,
Expand Down
1 change: 1 addition & 0 deletions modules/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SPDX-FileCopyrightText: 2023 Stanford University and the project authors (see CO
SPDX-License-Identifier: MIT
*/

@tailwind base;
@tailwind components;
@tailwind utilities;
Expand Down
1 change: 1 addition & 0 deletions modules/notifications/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import {
Notification as NotificationBase,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import { Tooltip } from '@stanfordspezi/spezi-web-design-system/components/Tooltip'
import { useMutation } from '@tanstack/react-query'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { SideLabel } from '@stanfordspezi/spezi-web-design-system/components/SideLabel'
import { Switch } from '@stanfordspezi/spezi-web-design-system/components/Switch'
import { type Table } from '@tanstack/table-core'
Expand Down
1 change: 1 addition & 0 deletions modules/notifications/NotificationsTable/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { createColumnHelper } from '@tanstack/table-core'
import { type UserMessage } from '@/modules/firebase/models'

Expand Down
1 change: 1 addition & 0 deletions modules/notifications/NotificationsTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
DataTable,
DataTableBasicView,
Expand Down
1 change: 1 addition & 0 deletions modules/notifications/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { type UserMessage } from '@/modules/firebase/models'
import { routes } from '@/modules/routes'
import { type PatientPageTab } from '@/routes/~_dashboard/~patients/~$id/~index'
Expand Down
1 change: 1 addition & 0 deletions modules/notifications/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { queryOptions, useQuery } from '@tanstack/react-query'
import { query, orderBy } from 'firebase/firestore'
import { refs } from '@/modules/firebase/app'
Expand Down
1 change: 1 addition & 0 deletions modules/query/ReactQueryClientProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { QueryClientProvider } from '@tanstack/react-query'
import { type ReactNode } from 'react'
import { queryClient } from '@/modules/query/queryClient'
Expand Down
1 change: 1 addition & 0 deletions modules/query/queryClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { QueryClient } from '@tanstack/react-query'

export const queryClient = new QueryClient({
Expand Down
1 change: 1 addition & 0 deletions modules/tests/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
createRootRoute,
createRoute,
Expand Down
1 change: 1 addition & 0 deletions modules/user/patients.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { UserType } from '@stanfordbdhg/engagehf-models'
import { queryOptions } from '@tanstack/react-query'
import { type Query, query, where } from 'firebase/firestore'
Expand Down
1 change: 1 addition & 0 deletions modules/user/queries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { UserType } from '@stanfordbdhg/engagehf-models'
import { queryOptions } from '@tanstack/react-query'
import { notFound } from '@tanstack/react-router'
Expand Down
1 change: 1 addition & 0 deletions modules/user/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { CopyText } from '@stanfordspezi/spezi-web-design-system/components/CopyText'
import { Tooltip } from '@stanfordspezi/spezi-web-design-system/components/Tooltip'
import { type Nil } from '@stanfordspezi/spezi-web-design-system/utils/misc'
Expand Down
1 change: 1 addition & 0 deletions routes/~__root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Toaster } from '@stanfordspezi/spezi-web-design-system/components/Toaster'
import { SpeziProvider } from '@stanfordspezi/spezi-web-design-system/SpeziProvider'
import { createRootRoute, Outlet, redirect } from '@tanstack/react-router'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { createFileRoute } from '@tanstack/react-router'
import { currentUserQueryOptions } from '@/modules/firebase/UserProvider'
import { queryClient } from '@/modules/query/queryClient'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/DashboardLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { getUserInfo } from '@stanfordspezi/spezi-web-design-system/modules/auth'
import {
DashboardLayout as DashboardLayoutBase,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/MenuLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { UserType } from '@stanfordbdhg/engagehf-models'
import { MenuItem } from '@stanfordspezi/spezi-web-design-system/molecules/DashboardLayout'
import { useLocation } from '@tanstack/react-router'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/NotificationsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import {
Card,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/UpcomingAppointmentsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
Card,
CardHeader,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
DropdownMenu,
DropdownMenuTrigger,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/YourPatientsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import {
Card,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { PageTitle } from '@stanfordspezi/spezi-web-design-system/molecules/DashboardLayout'
import { createFileRoute } from '@tanstack/react-router'
import { Home } from 'lucide-react'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~notifications/~index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { PageTitle } from '@stanfordspezi/spezi-web-design-system/molecules/DashboardLayout'
import { useQuery } from '@tanstack/react-query'
import { createFileRoute } from '@tanstack/react-router'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/MedicationSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import {
Select,
SelectContent,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/Medications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import { Card } from '@stanfordspezi/spezi-web-design-system/components/Card'
import {
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/PatientForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { Button } from '@stanfordspezi/spezi-web-design-system/components/Button'
import { DatePicker } from '@stanfordspezi/spezi-web-design-system/components/DatePicker'
import { Input } from '@stanfordspezi/spezi-web-design-system/components/Input'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/PatientMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { deleteDoc } from '@firebase/firestore'
import { RowDropdownMenu } from '@stanfordspezi/spezi-web-design-system/components/DataTable'
import { DropdownMenuItem } from '@stanfordspezi/spezi-web-design-system/components/DropdownMenu'
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/PatientsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { UserType } from '@stanfordbdhg/engagehf-models'
import {
DataTable,
Expand Down
1 change: 1 addition & 0 deletions routes/~_dashboard/~patients/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
// SPDX-License-Identifier: MIT
//

import { addDoc, setDoc } from '@firebase/firestore'
import {
FHIRAllergyIntoleranceCriticality,
Expand Down
Loading

0 comments on commit ce2d721

Please sign in to comment.