@ltht-react/timeline 2.0.33 → 2.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,19 +1,19 @@
1
- # Timeline
2
-
3
- ### Import
4
-
5
- ```js
6
- import Timeline from '@ltht-react/timeline'
7
- ```
8
-
9
- ### Usage
10
-
11
- ```jsx
12
- <Timeline auditTrail={auditTrail} />
13
- ```
14
-
15
- ### Properties
16
-
17
- | Prop | Required | Default | Type | Description |
18
- | :----------- | :------- | :------ | :-------------------- | :----------------- |
19
- | `auditTrail` | Yes | | `Maybe<AuditEvent>[]` | Timeline of events |
1
+ # Timeline
2
+
3
+ ### Import
4
+
5
+ ```js
6
+ import Timeline from '@ltht-react/timeline'
7
+ ```
8
+
9
+ ### Usage
10
+
11
+ ```jsx
12
+ <Timeline auditTrail={auditTrail} />
13
+ ```
14
+
15
+ ### Properties
16
+
17
+ | Prop | Required | Default | Type | Description |
18
+ | :----------- | :------- | :------ | :-------------------- | :----------------- |
19
+ | `auditTrail` | Yes | | `Maybe<AuditEvent>[]` | Timeline of events |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ltht-react/timeline",
3
- "version": "2.0.33",
3
+ "version": "2.0.34",
4
4
  "description": "> TODO: description",
5
5
  "author": "Jonny Dyson",
6
6
  "homepage": "",
@@ -24,15 +24,15 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@emotion/styled": "^11.0.0",
27
- "@ltht-react/banner": "^2.0.33",
28
- "@ltht-react/hooks": "^2.0.33",
29
- "@ltht-react/icon": "^2.0.33",
30
- "@ltht-react/select": "^2.0.33",
31
- "@ltht-react/styles": "^2.0.33",
32
- "@ltht-react/types": "^2.0.33",
33
- "@ltht-react/utils": "^2.0.33",
27
+ "@ltht-react/banner": "^2.0.34",
28
+ "@ltht-react/hooks": "^2.0.34",
29
+ "@ltht-react/icon": "^2.0.34",
30
+ "@ltht-react/select": "^2.0.34",
31
+ "@ltht-react/styles": "^2.0.34",
32
+ "@ltht-react/types": "^2.0.34",
33
+ "@ltht-react/utils": "^2.0.34",
34
34
  "html-react-parser": "^5.0.6",
35
35
  "react": "^18.2.0"
36
36
  },
37
- "gitHead": "e93da870664a1bd99f61dc8bcc051975ed69e5f1"
37
+ "gitHead": "381e837b130f476b8241976bbe4e330f88ee22f1"
38
38
  }
@@ -1,88 +1,88 @@
1
- import { FC, HTMLAttributes } from 'react'
2
- import Icon from '@ltht-react/icon'
3
- import styled from '@emotion/styled'
4
-
5
- import {
6
- AuditEvent,
7
- DocumentReference,
8
- Maybe,
9
- QuestionnaireResponse,
10
- TimelineDomainResourceType,
11
- } from '@ltht-react/types'
12
- import PRIMARY_AUTHOR from '../constants'
13
-
14
- const StyledTimelineItemLeft = styled.div`
15
- flex-grow: 1;
16
- `
17
-
18
- const TimelineAuthor: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
19
- if (!domainResource) return <></>
20
-
21
- switch (domainResourceType) {
22
- case TimelineDomainResourceType.QuestionnaireResponse: {
23
- const qr = domainResource as QuestionnaireResponse
24
- if (!qr?.author) {
25
- return <></>
26
- }
27
- return (
28
- <StyledTimelineItemLeft {...rest}>
29
- <Icon type="user" size="medium" color="grey" /> by {qr?.author?.display}
30
- </StyledTimelineItemLeft>
31
- )
32
- }
33
- case TimelineDomainResourceType.DocumentReference: {
34
- const docRef = domainResource as DocumentReference
35
- const authorList: string[] = []
36
-
37
- if (docRef?.author == null) {
38
- return <></>
39
- }
40
-
41
- docRef.author.forEach((auth) => {
42
- if (auth) {
43
- authorList.push(auth.specialty ? `${auth.fullName} (${auth.specialty})` : `${auth.fullName}`)
44
- }
45
- })
46
-
47
- if (authorList.length === 0) {
48
- return <></>
49
- }
50
-
51
- return (
52
- <StyledTimelineItemLeft {...rest}>
53
- <Icon type="user" size="medium" color="grey" /> by {authorList.join(', ')}
54
- </StyledTimelineItemLeft>
55
- )
56
- }
57
- case TimelineDomainResourceType.AuditEvent: {
58
- const audit = domainResource as AuditEvent
59
- let authorName = ''
60
-
61
- audit.agent.forEach((agent) => {
62
- agent?.role?.forEach((role) => {
63
- const isPrimaryAuthor = !!role?.coding?.find((x) => x?.code === PRIMARY_AUTHOR)
64
- !authorName && isPrimaryAuthor && (authorName = agent.who?.display || '')
65
- })
66
- })
67
-
68
- if (!authorName) {
69
- return <></>
70
- }
71
-
72
- return (
73
- <StyledTimelineItemLeft {...rest}>
74
- <Icon type="user" size="medium" color="grey" /> by {authorName}
75
- </StyledTimelineItemLeft>
76
- )
77
- }
78
- }
79
-
80
- return <></>
81
- }
82
-
83
- interface Props extends HTMLAttributes<HTMLDivElement> {
84
- domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
85
- domainResourceType: TimelineDomainResourceType
86
- }
87
-
88
- export default TimelineAuthor
1
+ import { FC, HTMLAttributes } from 'react'
2
+ import Icon from '@ltht-react/icon'
3
+ import styled from '@emotion/styled'
4
+
5
+ import {
6
+ AuditEvent,
7
+ DocumentReference,
8
+ Maybe,
9
+ QuestionnaireResponse,
10
+ TimelineDomainResourceType,
11
+ } from '@ltht-react/types'
12
+ import PRIMARY_AUTHOR from '../constants'
13
+
14
+ const StyledTimelineItemLeft = styled.div`
15
+ flex-grow: 1;
16
+ `
17
+
18
+ const TimelineAuthor: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
19
+ if (!domainResource) return <></>
20
+
21
+ switch (domainResourceType) {
22
+ case TimelineDomainResourceType.QuestionnaireResponse: {
23
+ const qr = domainResource as QuestionnaireResponse
24
+ if (!qr?.author) {
25
+ return <></>
26
+ }
27
+ return (
28
+ <StyledTimelineItemLeft {...rest}>
29
+ <Icon type="user" size="medium" color="grey" /> by {qr?.author?.display}
30
+ </StyledTimelineItemLeft>
31
+ )
32
+ }
33
+ case TimelineDomainResourceType.DocumentReference: {
34
+ const docRef = domainResource as DocumentReference
35
+ const authorList: string[] = []
36
+
37
+ if (docRef?.author == null) {
38
+ return <></>
39
+ }
40
+
41
+ docRef.author.forEach((auth) => {
42
+ if (auth) {
43
+ authorList.push(auth.specialty ? `${auth.fullName} (${auth.specialty})` : `${auth.fullName}`)
44
+ }
45
+ })
46
+
47
+ if (authorList.length === 0) {
48
+ return <></>
49
+ }
50
+
51
+ return (
52
+ <StyledTimelineItemLeft {...rest}>
53
+ <Icon type="user" size="medium" color="grey" /> by {authorList.join(', ')}
54
+ </StyledTimelineItemLeft>
55
+ )
56
+ }
57
+ case TimelineDomainResourceType.AuditEvent: {
58
+ const audit = domainResource as AuditEvent
59
+ let authorName = ''
60
+
61
+ audit.agent.forEach((agent) => {
62
+ agent?.role?.forEach((role) => {
63
+ const isPrimaryAuthor = !!role?.coding?.find((x) => x?.code === PRIMARY_AUTHOR)
64
+ !authorName && isPrimaryAuthor && (authorName = agent.who?.display || '')
65
+ })
66
+ })
67
+
68
+ if (!authorName) {
69
+ return <></>
70
+ }
71
+
72
+ return (
73
+ <StyledTimelineItemLeft {...rest}>
74
+ <Icon type="user" size="medium" color="grey" /> by {authorName}
75
+ </StyledTimelineItemLeft>
76
+ )
77
+ }
78
+ }
79
+
80
+ return <></>
81
+ }
82
+
83
+ interface Props extends HTMLAttributes<HTMLDivElement> {
84
+ domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
85
+ domainResourceType: TimelineDomainResourceType
86
+ }
87
+
88
+ export default TimelineAuthor
@@ -1,44 +1,44 @@
1
- import { ButtonBanner } from '@ltht-react/banner'
2
- import Icon from '@ltht-react/icon'
3
- import { FC, HTMLAttributes } from 'react'
4
- import { ITimelineItem } from '../molecules/timeline-item'
5
-
6
- const TimelineButton: FC<Props> = ({ timelineItem, className }) => {
7
- const { clickHandler, buttonState, buttonText } = timelineItem
8
-
9
- switch (buttonState) {
10
- case 'no-button':
11
- return <></>
12
- case 'permission-denied-button':
13
- return (
14
- <ButtonBanner className={className} type="warning" disabled>
15
- {buttonText ?? 'Insufficient privileges to view this item'}
16
- </ButtonBanner>
17
- )
18
- case 'selectable-button':
19
- return (
20
- <ButtonBanner className={className} type="info" onClick={clickHandler}>
21
- {buttonText ?? ''}
22
- </ButtonBanner>
23
- )
24
- case 'selected-button':
25
- return (
26
- <ButtonBanner
27
- className={className}
28
- type="highlight"
29
- icon={<Icon type="info-circle" color="info-blue" size="medium" />}
30
- onClick={clickHandler}
31
- >
32
- {buttonText ?? ''}
33
- </ButtonBanner>
34
- )
35
- default:
36
- throw new Error('ButtonState must be a valid value.')
37
- }
38
- }
39
-
40
- interface Props extends HTMLAttributes<HTMLDivElement> {
41
- timelineItem: ITimelineItem
42
- }
43
-
44
- export default TimelineButton
1
+ import { ButtonBanner } from '@ltht-react/banner'
2
+ import Icon from '@ltht-react/icon'
3
+ import { FC, HTMLAttributes } from 'react'
4
+ import { ITimelineItem } from '../molecules/timeline-item'
5
+
6
+ const TimelineButton: FC<Props> = ({ timelineItem, className }) => {
7
+ const { clickHandler, buttonState, buttonText } = timelineItem
8
+
9
+ switch (buttonState) {
10
+ case 'no-button':
11
+ return <></>
12
+ case 'permission-denied-button':
13
+ return (
14
+ <ButtonBanner className={className} type="warning" disabled>
15
+ {buttonText ?? 'Insufficient privileges to view this item'}
16
+ </ButtonBanner>
17
+ )
18
+ case 'selectable-button':
19
+ return (
20
+ <ButtonBanner className={className} type="info" onClick={clickHandler}>
21
+ {buttonText ?? ''}
22
+ </ButtonBanner>
23
+ )
24
+ case 'selected-button':
25
+ return (
26
+ <ButtonBanner
27
+ className={className}
28
+ type="highlight"
29
+ icon={<Icon type="info-circle" color="info-blue" size="medium" />}
30
+ onClick={clickHandler}
31
+ >
32
+ {buttonText ?? ''}
33
+ </ButtonBanner>
34
+ )
35
+ default:
36
+ throw new Error('ButtonState must be a valid value.')
37
+ }
38
+ }
39
+
40
+ interface Props extends HTMLAttributes<HTMLDivElement> {
41
+ timelineItem: ITimelineItem
42
+ }
43
+
44
+ export default TimelineButton
@@ -1,52 +1,52 @@
1
- import { FC, HTMLAttributes } from 'react'
2
- import {
3
- AuditEvent,
4
- DocumentReference,
5
- Maybe,
6
- QuestionnaireResponse,
7
- TimelineDomainResourceType,
8
- } from '@ltht-react/types'
9
- import parseHtml from 'html-react-parser'
10
- import styled from '@emotion/styled'
11
-
12
- const StyledDescription = styled.div`
13
- p {
14
- margin: 0 0.2rem;
15
- display: inline;
16
- }
17
- `
18
-
19
- const TimelineDescription: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
20
- if (!domainResource) return <></>
21
-
22
- switch (domainResourceType) {
23
- case TimelineDomainResourceType.QuestionnaireResponse: {
24
- const qr = domainResource as QuestionnaireResponse
25
- if (!qr.questionnaire?.description) {
26
- return <></>
27
- }
28
- return <StyledDescription {...rest}>{parseHtml(qr.questionnaire?.description)}</StyledDescription>
29
- }
30
- case TimelineDomainResourceType.DocumentReference: {
31
- const docRef = domainResource as DocumentReference
32
- return docRef.description ? <>{docRef.description}</> : <></>
33
- }
34
- case TimelineDomainResourceType.AuditEvent: {
35
- const audit = domainResource as AuditEvent
36
- if (!audit.outcomeDesc) {
37
- return <></>
38
- }
39
-
40
- return <StyledDescription {...rest}>{parseHtml(audit.outcomeDesc)}</StyledDescription>
41
- }
42
- default:
43
- return <></>
44
- }
45
- }
46
-
47
- interface Props extends HTMLAttributes<HTMLDivElement> {
48
- domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
49
- domainResourceType: TimelineDomainResourceType
50
- }
51
-
52
- export default TimelineDescription
1
+ import { FC, HTMLAttributes } from 'react'
2
+ import {
3
+ AuditEvent,
4
+ DocumentReference,
5
+ Maybe,
6
+ QuestionnaireResponse,
7
+ TimelineDomainResourceType,
8
+ } from '@ltht-react/types'
9
+ import parseHtml from 'html-react-parser'
10
+ import styled from '@emotion/styled'
11
+
12
+ const StyledDescription = styled.div`
13
+ p {
14
+ margin: 0 0.2rem;
15
+ display: inline;
16
+ }
17
+ `
18
+
19
+ const TimelineDescription: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
20
+ if (!domainResource) return <></>
21
+
22
+ switch (domainResourceType) {
23
+ case TimelineDomainResourceType.QuestionnaireResponse: {
24
+ const qr = domainResource as QuestionnaireResponse
25
+ if (!qr.questionnaire?.description) {
26
+ return <></>
27
+ }
28
+ return <StyledDescription {...rest}>{parseHtml(qr.questionnaire?.description)}</StyledDescription>
29
+ }
30
+ case TimelineDomainResourceType.DocumentReference: {
31
+ const docRef = domainResource as DocumentReference
32
+ return docRef.description ? <>{docRef.description}</> : <></>
33
+ }
34
+ case TimelineDomainResourceType.AuditEvent: {
35
+ const audit = domainResource as AuditEvent
36
+ if (!audit.outcomeDesc) {
37
+ return <></>
38
+ }
39
+
40
+ return <StyledDescription {...rest}>{parseHtml(audit.outcomeDesc)}</StyledDescription>
41
+ }
42
+ default:
43
+ return <></>
44
+ }
45
+ }
46
+
47
+ interface Props extends HTMLAttributes<HTMLDivElement> {
48
+ domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
49
+ domainResourceType: TimelineDomainResourceType
50
+ }
51
+
52
+ export default TimelineDescription
@@ -1,49 +1,49 @@
1
- import { FC, HTMLAttributes } from 'react'
2
- import {
3
- AuditEvent,
4
- DocumentReference,
5
- Maybe,
6
- QuestionnaireResponse,
7
- TimelineDomainResourceType,
8
- } from '@ltht-react/types'
9
- import { formatTime } from '@ltht-react/utils'
10
-
11
- const TimelineTime: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
12
- if (!domainResource) return <></>
13
-
14
- switch (domainResourceType) {
15
- case TimelineDomainResourceType.QuestionnaireResponse: {
16
- const qr = domainResource as QuestionnaireResponse
17
- if (!qr?.authored?.value) {
18
- return <></>
19
- }
20
- const time = formatTime(new Date(qr?.authored.value))
21
- return <div {...rest}>{time}</div>
22
- }
23
- case TimelineDomainResourceType.DocumentReference: {
24
- const docRef = domainResource as DocumentReference
25
- if (docRef && docRef?.created?.value) {
26
- const time = formatTime(new Date(docRef.created.value))
27
- return <div {...rest}>{time}</div>
28
- }
29
- return <></>
30
- }
31
- case TimelineDomainResourceType.AuditEvent: {
32
- const audit = domainResource as AuditEvent
33
- if (audit && audit?.recorded?.value) {
34
- const time = formatTime(new Date(audit.recorded.value))
35
- return <div {...rest}>{time}</div>
36
- }
37
- return <></>
38
- }
39
- default:
40
- return <></>
41
- }
42
- }
43
-
44
- interface Props extends HTMLAttributes<HTMLDivElement> {
45
- domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
46
- domainResourceType: TimelineDomainResourceType
47
- }
48
-
49
- export default TimelineTime
1
+ import { FC, HTMLAttributes } from 'react'
2
+ import {
3
+ AuditEvent,
4
+ DocumentReference,
5
+ Maybe,
6
+ QuestionnaireResponse,
7
+ TimelineDomainResourceType,
8
+ } from '@ltht-react/types'
9
+ import { formatTime } from '@ltht-react/utils'
10
+
11
+ const TimelineTime: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
12
+ if (!domainResource) return <></>
13
+
14
+ switch (domainResourceType) {
15
+ case TimelineDomainResourceType.QuestionnaireResponse: {
16
+ const qr = domainResource as QuestionnaireResponse
17
+ if (!qr?.authored?.value) {
18
+ return <></>
19
+ }
20
+ const time = formatTime(new Date(qr?.authored.value))
21
+ return <div {...rest}>{time}</div>
22
+ }
23
+ case TimelineDomainResourceType.DocumentReference: {
24
+ const docRef = domainResource as DocumentReference
25
+ if (docRef && docRef?.created?.value) {
26
+ const time = formatTime(new Date(docRef.created.value))
27
+ return <div {...rest}>{time}</div>
28
+ }
29
+ return <></>
30
+ }
31
+ case TimelineDomainResourceType.AuditEvent: {
32
+ const audit = domainResource as AuditEvent
33
+ if (audit && audit?.recorded?.value) {
34
+ const time = formatTime(new Date(audit.recorded.value))
35
+ return <div {...rest}>{time}</div>
36
+ }
37
+ return <></>
38
+ }
39
+ default:
40
+ return <></>
41
+ }
42
+ }
43
+
44
+ interface Props extends HTMLAttributes<HTMLDivElement> {
45
+ domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
46
+ domainResourceType: TimelineDomainResourceType
47
+ }
48
+
49
+ export default TimelineTime
@@ -1,13 +1,13 @@
1
- import { FC, HTMLAttributes } from 'react'
2
- import { TEXT_COLOURS } from '@ltht-react/styles'
3
- import styled from '@emotion/styled'
4
-
5
- const StyledRedactedMessage = styled.div`
6
- color: ${TEXT_COLOURS.SECONDARY.VALUE};
7
- `
8
-
9
- const TimelineTitleRedacted: FC<HTMLAttributes<HTMLDivElement>> = (props) => (
10
- <StyledRedactedMessage {...props}>Insufficient Privileges</StyledRedactedMessage>
11
- )
12
-
13
- export default TimelineTitleRedacted
1
+ import { FC, HTMLAttributes } from 'react'
2
+ import { TEXT_COLOURS } from '@ltht-react/styles'
3
+ import styled from '@emotion/styled'
4
+
5
+ const StyledRedactedMessage = styled.div`
6
+ color: ${TEXT_COLOURS.SECONDARY.VALUE};
7
+ `
8
+
9
+ const TimelineTitleRedacted: FC<HTMLAttributes<HTMLDivElement>> = (props) => (
10
+ <StyledRedactedMessage {...props}>Insufficient Privileges</StyledRedactedMessage>
11
+ )
12
+
13
+ export default TimelineTitleRedacted
@@ -1,41 +1,41 @@
1
- import { FC, HTMLAttributes } from 'react'
2
- import {
3
- AuditEvent,
4
- DocumentReference,
5
- Maybe,
6
- QuestionnaireResponse,
7
- TimelineDomainResourceType,
8
- } from '@ltht-react/types'
9
-
10
- const TimelineTitle: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
11
- if (!domainResource) return <></>
12
-
13
- switch (domainResourceType) {
14
- case TimelineDomainResourceType.QuestionnaireResponse: {
15
- const qr = domainResource as QuestionnaireResponse
16
- const questionnaireTitle = qr.metadata.isRedacted
17
- ? 'Insufficient privileges'
18
- : qr.text?.text ?? qr.questionnaire?.title
19
- return <div {...rest}>{questionnaireTitle}</div>
20
- }
21
- case TimelineDomainResourceType.DocumentReference: {
22
- const docRef = domainResource as DocumentReference
23
- const docTitle = docRef.metadata.isRedacted ? 'Insufficient privileges' : docRef.text?.text
24
- return <div {...rest}>{docTitle}</div>
25
- }
26
- case TimelineDomainResourceType.AuditEvent: {
27
- const audit = domainResource as AuditEvent
28
- const auditTitle = audit.metadata.isRedacted ? 'Insufficient privileges' : audit.text?.text
29
- return <div {...rest}>{auditTitle}</div>
30
- }
31
- default:
32
- return <></>
33
- }
34
- }
35
-
36
- interface Props extends HTMLAttributes<HTMLDivElement> {
37
- domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
38
- domainResourceType: TimelineDomainResourceType
39
- }
40
-
41
- export default TimelineTitle
1
+ import { FC, HTMLAttributes } from 'react'
2
+ import {
3
+ AuditEvent,
4
+ DocumentReference,
5
+ Maybe,
6
+ QuestionnaireResponse,
7
+ TimelineDomainResourceType,
8
+ } from '@ltht-react/types'
9
+
10
+ const TimelineTitle: FC<Props> = ({ domainResource, domainResourceType, ...rest }) => {
11
+ if (!domainResource) return <></>
12
+
13
+ switch (domainResourceType) {
14
+ case TimelineDomainResourceType.QuestionnaireResponse: {
15
+ const qr = domainResource as QuestionnaireResponse
16
+ const questionnaireTitle = qr.metadata.isRedacted
17
+ ? 'Insufficient privileges'
18
+ : qr.text?.text ?? qr.questionnaire?.title
19
+ return <div {...rest}>{questionnaireTitle}</div>
20
+ }
21
+ case TimelineDomainResourceType.DocumentReference: {
22
+ const docRef = domainResource as DocumentReference
23
+ const docTitle = docRef.metadata.isRedacted ? 'Insufficient privileges' : docRef.text?.text
24
+ return <div {...rest}>{docTitle}</div>
25
+ }
26
+ case TimelineDomainResourceType.AuditEvent: {
27
+ const audit = domainResource as AuditEvent
28
+ const auditTitle = audit.metadata.isRedacted ? 'Insufficient privileges' : audit.text?.text
29
+ return <div {...rest}>{auditTitle}</div>
30
+ }
31
+ default:
32
+ return <></>
33
+ }
34
+ }
35
+
36
+ interface Props extends HTMLAttributes<HTMLDivElement> {
37
+ domainResource?: Maybe<AuditEvent | QuestionnaireResponse | DocumentReference>
38
+ domainResourceType: TimelineDomainResourceType
39
+ }
40
+
41
+ export default TimelineTitle
package/src/constants.ts CHANGED
@@ -1,3 +1,3 @@
1
- const PRIMARY_AUTHOR = 'PRIMAUTH'
2
-
3
- export default PRIMARY_AUTHOR
1
+ const PRIMARY_AUTHOR = 'PRIMAUTH'
2
+
3
+ export default PRIMARY_AUTHOR