-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DX-5712] Upgrade to Devvit 0.10.15-next-2024-02-01-b904edfe7.0
Bunch of API changes to improve alignment with production. See polyrepo PR for details.
- Loading branch information
1 parent
f5e4a1f
commit 3ad1e51
Showing
8 changed files
with
151 additions
and
131 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import type {DevvitUIError} from '@devvit/previews/dist/devvit-blocks-preview.js' | ||
import type {Diagnostic} from 'typescript' | ||
import type {PreviewError} from './preview-error.js' | ||
|
||
export type Diagnostics = { | ||
// to-do: unhandled promise rejections. | ||
/** Uncaught errors thrown when executing the pen program. */ | ||
previewErrs: PreviewError[] | ||
previewErrs: DevvitUIError[] | ||
tsErrs: Diagnostic[] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
export function Bubble<T>(type: string, detail: T): CustomEvent<T> { | ||
return new CustomEvent(type, { | ||
bubbles: true, | ||
composed: true, // Bubble through shadow DOM. | ||
detail | ||
}) | ||
// Composed bubbles through shadow DOM. | ||
return new CustomEvent(type, {bubbles: true, composed: true, detail}) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters