Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Oct 3, 2024
1 parent 7da9006 commit 5f19f68
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/modern-numbers-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@watching/cli': minor
---

Update Clips upload flow
5 changes: 5 additions & 0 deletions .changeset/new-terms-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@watching/thread-render': patch
---

Put a facade over some signal usage
13 changes: 12 additions & 1 deletion app/server/graphql/resolvers/apps/ClipsExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,19 @@ export const ClipsExtensionPointInstallation = createResolverWithGid(
apiVersion: ({installation}) =>
installation.extension.activeVersion!.apiVersion,
entry({target, installation}) {
const {activeVersion} = installation.extension;

const {entry} = getExtensionPoint(target, installation);
const module = getExtensionBuildModule(entry.module, installation);

const module: ClipsExtensionBuildModuleDatabaseJSON =
activeVersion?.scriptUrl
? {
contentType: 'JAVASCRIPT',
name: '_extension.js',
content: '',
src: activeVersion.scriptUrl,
}
: getExtensionBuildModule(entry.module, installation);

switch (module.contentType) {
case 'JAVASCRIPT':
Expand Down
4 changes: 0 additions & 4 deletions graphql/main/apps.schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ type ClipsExtensionPointSupportLoading {
content: ClipsLoadingUIContentHTML!
}

type ClipsExtensionPointSupportLoadingUI {
html: ClipsLoadingUIContentHTML!
}

input ClipsExtensionPointSupportSeriesConditionInput {
id: ID
handle: String
Expand Down

0 comments on commit 5f19f68

Please sign in to comment.