@dxos/plugin-youtube 0.8.4-main.9be5663bfe → 0.8.4-main.fcfe5033a5
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/dist/types/src/capabilities/index.d.ts +1 -1
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/migrations.d.ts +1 -1
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +40 -40
- package/src/capabilities/react-surface.tsx +12 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-youtube",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.fcfe5033a5",
|
|
4
4
|
"description": "DXOS YouTube feed plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -61,35 +61,35 @@
|
|
|
61
61
|
"@radix-ui/react-context": "1.1.1",
|
|
62
62
|
"effect": "3.20.0",
|
|
63
63
|
"youtube-caption-extractor": "^1.9.1",
|
|
64
|
-
"@dxos/app-
|
|
65
|
-
"@dxos/app-
|
|
66
|
-
"@dxos/
|
|
67
|
-
"@dxos/
|
|
68
|
-
"@dxos/
|
|
69
|
-
"@dxos/
|
|
70
|
-
"@dxos/echo
|
|
71
|
-
"@dxos/
|
|
72
|
-
"@dxos/
|
|
73
|
-
"@dxos/
|
|
74
|
-
"@dxos/
|
|
75
|
-
"@dxos/
|
|
76
|
-
"@dxos/
|
|
77
|
-
"@dxos/
|
|
78
|
-
"@dxos/log": "0.8.4-main.
|
|
79
|
-
"@dxos/operation": "0.8.4-main.
|
|
80
|
-
"@dxos/plugin-attention": "0.8.4-main.
|
|
81
|
-
"@dxos/plugin-automation": "0.8.4-main.
|
|
82
|
-
"@dxos/plugin-
|
|
83
|
-
"@dxos/plugin-
|
|
84
|
-
"@dxos/
|
|
85
|
-
"@dxos/plugin-
|
|
86
|
-
"@dxos/react-
|
|
87
|
-
"@dxos/
|
|
88
|
-
"@dxos/react-ui-attention": "0.8.4-main.
|
|
89
|
-
"@dxos/react-ui-stack": "0.8.4-main.
|
|
90
|
-
"@dxos/schema": "0.8.4-main.
|
|
91
|
-
"@dxos/
|
|
92
|
-
"@dxos/
|
|
64
|
+
"@dxos/app-framework": "0.8.4-main.fcfe5033a5",
|
|
65
|
+
"@dxos/app-toolkit": "0.8.4-main.fcfe5033a5",
|
|
66
|
+
"@dxos/blueprints": "0.8.4-main.fcfe5033a5",
|
|
67
|
+
"@dxos/client": "0.8.4-main.fcfe5033a5",
|
|
68
|
+
"@dxos/debug": "0.8.4-main.fcfe5033a5",
|
|
69
|
+
"@dxos/async": "0.8.4-main.fcfe5033a5",
|
|
70
|
+
"@dxos/echo": "0.8.4-main.fcfe5033a5",
|
|
71
|
+
"@dxos/echo-atom": "0.8.4-main.fcfe5033a5",
|
|
72
|
+
"@dxos/echo-db": "0.8.4-main.fcfe5033a5",
|
|
73
|
+
"@dxos/effect": "0.8.4-main.fcfe5033a5",
|
|
74
|
+
"@dxos/errors": "0.8.4-main.fcfe5033a5",
|
|
75
|
+
"@dxos/invariant": "0.8.4-main.fcfe5033a5",
|
|
76
|
+
"@dxos/functions": "0.8.4-main.fcfe5033a5",
|
|
77
|
+
"@dxos/keys": "0.8.4-main.fcfe5033a5",
|
|
78
|
+
"@dxos/log": "0.8.4-main.fcfe5033a5",
|
|
79
|
+
"@dxos/operation": "0.8.4-main.fcfe5033a5",
|
|
80
|
+
"@dxos/plugin-attention": "0.8.4-main.fcfe5033a5",
|
|
81
|
+
"@dxos/plugin-automation": "0.8.4-main.fcfe5033a5",
|
|
82
|
+
"@dxos/plugin-client": "0.8.4-main.fcfe5033a5",
|
|
83
|
+
"@dxos/plugin-deck": "0.8.4-main.fcfe5033a5",
|
|
84
|
+
"@dxos/react-client": "0.8.4-main.fcfe5033a5",
|
|
85
|
+
"@dxos/plugin-graph": "0.8.4-main.fcfe5033a5",
|
|
86
|
+
"@dxos/react-ui": "0.8.4-main.fcfe5033a5",
|
|
87
|
+
"@dxos/plugin-space": "0.8.4-main.fcfe5033a5",
|
|
88
|
+
"@dxos/react-ui-attention": "0.8.4-main.fcfe5033a5",
|
|
89
|
+
"@dxos/react-ui-stack": "0.8.4-main.fcfe5033a5",
|
|
90
|
+
"@dxos/schema": "0.8.4-main.fcfe5033a5",
|
|
91
|
+
"@dxos/util": "0.8.4-main.fcfe5033a5",
|
|
92
|
+
"@dxos/types": "0.8.4-main.fcfe5033a5"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"@types/react": "~19.2.7",
|
|
@@ -97,14 +97,14 @@
|
|
|
97
97
|
"react": "~19.2.3",
|
|
98
98
|
"react-dom": "~19.2.3",
|
|
99
99
|
"vite": "^7.1.11",
|
|
100
|
-
"@dxos/config": "0.8.4-main.
|
|
101
|
-
"@dxos/plugin-testing": "0.8.4-main.
|
|
102
|
-
"@dxos/
|
|
103
|
-
"@dxos/
|
|
104
|
-
"@dxos/
|
|
105
|
-
"@dxos/storybook-utils": "0.8.4-main.
|
|
106
|
-
"@dxos/ui
|
|
107
|
-
"@dxos/
|
|
100
|
+
"@dxos/config": "0.8.4-main.fcfe5033a5",
|
|
101
|
+
"@dxos/plugin-testing": "0.8.4-main.fcfe5033a5",
|
|
102
|
+
"@dxos/plugin-theme": "0.8.4-main.fcfe5033a5",
|
|
103
|
+
"@dxos/protocols": "0.8.4-main.fcfe5033a5",
|
|
104
|
+
"@dxos/random": "0.8.4-main.fcfe5033a5",
|
|
105
|
+
"@dxos/storybook-utils": "0.8.4-main.fcfe5033a5",
|
|
106
|
+
"@dxos/react-ui": "0.8.4-main.fcfe5033a5",
|
|
107
|
+
"@dxos/ui-theme": "0.8.4-main.fcfe5033a5"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
110
|
"@effect-atom/atom-react": "^0.5.0",
|
|
@@ -112,8 +112,8 @@
|
|
|
112
112
|
"effect": "3.20.0",
|
|
113
113
|
"react": "~19.2.3",
|
|
114
114
|
"react-dom": "~19.2.3",
|
|
115
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
116
|
-
"@dxos/ui-theme": "0.8.4-main.
|
|
115
|
+
"@dxos/react-ui": "0.8.4-main.fcfe5033a5",
|
|
116
|
+
"@dxos/ui-theme": "0.8.4-main.fcfe5033a5"
|
|
117
117
|
},
|
|
118
118
|
"publishConfig": {
|
|
119
119
|
"access": "public"
|
|
@@ -17,19 +17,22 @@ export default Capability.makeModule(() =>
|
|
|
17
17
|
Capability.contributes(Capabilities.ReactSurface, [
|
|
18
18
|
Surface.create({
|
|
19
19
|
id: 'channel',
|
|
20
|
-
|
|
21
|
-
filter: AppSurface.objectArticle(Channel.YouTubeChannel),
|
|
20
|
+
filter: AppSurface.object(AppSurface.Article, Channel.YouTubeChannel),
|
|
22
21
|
component: ({ data }) => {
|
|
23
22
|
return <ChannelArticle subject={data.subject} attendableId={data.attendableId} />;
|
|
24
23
|
},
|
|
25
24
|
}),
|
|
26
25
|
Surface.create({
|
|
27
26
|
id: 'video',
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
27
|
+
filter: AppSurface.oneOf(
|
|
28
|
+
AppSurface.allOf(
|
|
29
|
+
AppSurface.object(AppSurface.Article, Video.YouTubeVideo),
|
|
30
|
+
AppSurface.companion(AppSurface.Article, Channel.YouTubeChannel),
|
|
31
|
+
),
|
|
32
|
+
AppSurface.allOf(
|
|
33
|
+
AppSurface.object(AppSurface.Section, Video.YouTubeVideo),
|
|
34
|
+
AppSurface.companion(AppSurface.Section, Channel.YouTubeChannel),
|
|
35
|
+
),
|
|
33
36
|
),
|
|
34
37
|
component: ({ data: { attendableId, companionTo, subject }, role }) => {
|
|
35
38
|
return <VideoArticle role={role} subject={subject} companionTo={companionTo} attendableId={attendableId} />;
|
|
@@ -37,14 +40,12 @@ export default Capability.makeModule(() =>
|
|
|
37
40
|
}),
|
|
38
41
|
Surface.create({
|
|
39
42
|
id: 'video-card',
|
|
40
|
-
|
|
41
|
-
filter: AppSurface.objectCard(Video.YouTubeVideo),
|
|
43
|
+
filter: AppSurface.object(AppSurface.Card, Video.YouTubeVideo),
|
|
42
44
|
component: ({ data: { subject }, role }) => <VideoCard subject={subject} role={role} />,
|
|
43
45
|
}),
|
|
44
46
|
Surface.create({
|
|
45
47
|
id: 'channel-properties',
|
|
46
|
-
|
|
47
|
-
filter: AppSurface.objectProperties(Channel.YouTubeChannel),
|
|
48
|
+
filter: AppSurface.object(AppSurface.ObjectProperties, Channel.YouTubeChannel),
|
|
48
49
|
component: ({ data }) => <ChannelProperties subject={data.subject} />,
|
|
49
50
|
}),
|
|
50
51
|
]),
|