Skip to content

Commit 995471e

Browse files
authored
fix: export enum as such instead of as a type [SPA-3429] (#2798)
* fix: export enum as such instead of as a type * chore: prettify
1 parent fec1a08 commit 995471e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/contentful-management.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import type { PlainClientAPI } from './plain/common-types'
1515
import type { DefaultParams } from './plain/plain-client'
1616
import { createPlainClient } from './plain/plain-client'
1717
import * as editorInterfaceDefaults from './constants/editor-interface-defaults'
18+
import { ScheduledActionStatus } from './entities/scheduled-action'
1819

1920
export type { ClientAPI } from './create-contentful-api'
2021
export { asIterator } from './plain/as-iterator'
@@ -28,6 +29,7 @@ export { makeRequest } from './adapters/REST/make-request'
2829
export { editorInterfaceDefaults }
2930
export type PlainClientDefaultParams = DefaultParams
3031
export * from './export-types'
32+
export { ScheduledActionStatus }
3133

3234
interface UserAgentParams {
3335
/**

lib/export-types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ export type {
202202
ScheduledAction,
203203
ScheduledActionProps,
204204
ScheduledActionSysProps,
205-
ScheduledActionStatus,
206205
} from './entities/scheduled-action'
207206
export type { Snapshot, SnapshotProps } from './entities/snapshot'
208207
export type { Space, SpaceProps } from './entities/space'

0 commit comments

Comments
 (0)