Skip to content

Commit

Permalink
fix: function imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Jul 7, 2024
1 parent 7d205c4 commit 18982f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions functions/src/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import type * as functions from 'firebase-functions'
// which can resolve at build time, but would not work if deploying direct to firebase functions.
// Alternative fix would be to put the platform code one level further nested e.g. <root>/platform/src
export type {
DBDoc,
IDBEndpoint,
IDiscussion,
IHowtoDB,
IMapPin,
Expand All @@ -21,6 +19,9 @@ export type {
IQuestionDB,
} from '../../src/models'

export type { IDBEndpoint } from '../../src/models/dbEndpoints'
export type { DBDoc } from '../../src/models/dbDoc.model'

import { dbEndpointSubcollections, generateDBEndpoints } from 'oa-shared'

export const DB_ENDPOINTS = generateDBEndpoints()
Expand Down
1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export * from './research.models'
export * from './selectorList.models'
export * from './tags.model'
export * from './user.models'
export * from './moderation.model'
export * from './userPreciousPlastic.models'

export interface UserComment extends IComment {
Expand Down

0 comments on commit 18982f5

Please sign in to comment.