Skip to content

Commit

Permalink
export
Browse files Browse the repository at this point in the history
  • Loading branch information
VachetVirginie committed Jul 26, 2024
1 parent acc7382 commit 495eb0b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions packages/synapse-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@
"require": "./dist/synapse-bridge.umd.cjs"
},
"./style.css": "./dist/style.css",
"./constants": "./src/constants/index.ts",
"./constants/*": "./src/constants/*/index.ts",
"./constants/enums/StateEnum": "./src/constants/enums/StateEnum.ts",
"./constants/enums/ThemeEnum": "./src/constants/enums/ThemeEnum.ts",
"./templates/CookiesPage/CookiesInformation/TypeEnum.ts": "./src/templates/CookiesPage/CookiesInformation/TypeEnum.ts",
"./functions/*": "./src/functions/*/index.ts",
"./modules/*": "./src/modules/*/index.ts",
"./helpers/*": "./src/helpers/*/index.ts",
"./rules/*": "./src/rules/*/index.ts"
"./rules/*": "./src/rules/*/index.ts",
"./templates/*": "./src/templates/*/index.ts",
"./patterns/*": "./src/patterns/*/index.ts",
"./elements/*": "./src/elements/*/index.ts"


},
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/synapse-bridge/src/constants/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import dayjs from 'dayjs'
import { formatDate } from '../functions/formatDate'
import {StateEnum} from './enums/StateEnum'
import { StateEnum, STATE_ENUM } from './enums/StateEnum'
import { ThemeEnum, THEME_ENUM_VALUES } from './enums/ThemeEnum'

export const TODAY = formatDate(dayjs())
export { StateEnum }
export { StateEnum, STATE_ENUM }
export { ThemeEnum, THEME_ENUM_VALUES }
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import { downloadFile } from '@/functions/downloadFile'
import { customizable, Options } from '@/mixins/customizable'
import { StateEnum } from '@/constants/enums/StateEnum'
import { IndexedObject } from '@/types'
import { StateEnum } from '../../constants/enums/StateEnum'
import { IndexedObject } from '../../types'
import { ContentHeadersEnum } from './ContentHeadersEnum'
import { FileInfo } from './types'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
filePromiseNoHeaders,
} from './data/filePromise.ts'
import DownloadBtn from '../'
import { StateEnum } from '@/constants/enums/StateEnum.ts'
import { StateEnum } from '../../../constants/enums/StateEnum.ts'

describe('DownloadBtn', () => {
let wrapper: any
Expand Down

0 comments on commit 495eb0b

Please sign in to comment.