Skip to content

Commit 0bf6c57

Browse files
authored
fix(core): use raw perspective for functions that coalesce drafts and published (#503)
1 parent 9b6f76a commit 0bf6c57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/src/preview/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {getEnv} from '../utils/getEnv'
22
import {type PreviewValue, type ValuePending} from './previewStore'
33

44
export const PREVIEW_TAG = 'preview'
5-
export const PREVIEW_PERSPECTIVE = 'drafts'
5+
export const PREVIEW_PERSPECTIVE = 'raw'
66
export const STABLE_EMPTY_PREVIEW: ValuePending<PreviewValue> = {data: null, isPending: false}
77
export const STABLE_ERROR_PREVIEW: ValuePending<PreviewValue> = {
88
data: {

packages/core/src/projection/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {type ValidProjection} from './types'
22

33
export const PROJECTION_TAG = 'sdk.projection'
4-
export const PROJECTION_PERSPECTIVE = 'drafts'
4+
export const PROJECTION_PERSPECTIVE = 'raw'
55
export const PROJECTION_STATE_CLEAR_DELAY = 1000
66

77
export const STABLE_EMPTY_PROJECTION = {

0 commit comments

Comments
 (0)