@workspace-platform/ui 0.5.0 → 0.6.0
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/admin.d.mts +23 -1
- package/dist/admin.d.ts +23 -1
- package/dist/admin.js +2385 -0
- package/dist/admin.js.map +1 -1
- package/dist/admin.mjs +1857 -0
- package/dist/admin.mjs.map +1 -1
- package/dist/chunk-4UDSYAAD.mjs +735 -0
- package/dist/chunk-4UDSYAAD.mjs.map +1 -0
- package/dist/index.mjs +1147 -1849
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/admin.d.mts
CHANGED
|
@@ -1,2 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
interface WorkspaceTypesPageProps {
|
|
4
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
5
|
+
onBack?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function WorkspaceTypesPage({ onBack }: WorkspaceTypesPageProps): React.JSX.Element;
|
|
8
|
+
|
|
9
|
+
interface WorkspaceAgentsPageProps {
|
|
10
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
11
|
+
onBack?: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare function WorkspaceAgentsPage({ onBack }: WorkspaceAgentsPageProps): React.JSX.Element;
|
|
14
|
+
|
|
15
|
+
interface WorkspaceWebhooksPageProps {
|
|
16
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
17
|
+
onBack?: () => void;
|
|
18
|
+
}
|
|
19
|
+
declare function WorkspaceWebhooksPage({ onBack }: WorkspaceWebhooksPageProps): React.JSX.Element;
|
|
20
|
+
|
|
21
|
+
/** Shared webhook event types for admin pages (types / agents / webhooks). */
|
|
22
|
+
declare const AVAILABLE_WEBHOOK_EVENTS: readonly ["*", "workspace.created", "workspace.updated", "workspace.deleted", "workspace.statusChanged", "workspace.member.added", "workspace.member.updated", "workspace.member.removed", "workspace.message.created", "workspace.message.updated", "workspace.message.deleted", "workspace.member.user.mentioned", "workspace.member.agent.mentioned", "workspace.member.user.message.replied", "workspace.member.agent.message.replied", "workspace.message.reaction.created", "workspace.message.reaction.deleted", "private.workspace.created", "private.workspace.message.created", "private.workspace.member.added"];
|
|
23
|
+
|
|
24
|
+
export { AVAILABLE_WEBHOOK_EVENTS, WorkspaceAgentsPage, type WorkspaceAgentsPageProps, WorkspaceTypesPage, type WorkspaceTypesPageProps, WorkspaceWebhooksPage, type WorkspaceWebhooksPageProps };
|
package/dist/admin.d.ts
CHANGED
|
@@ -1,2 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
|
|
2
|
-
|
|
3
|
+
interface WorkspaceTypesPageProps {
|
|
4
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
5
|
+
onBack?: () => void;
|
|
6
|
+
}
|
|
7
|
+
declare function WorkspaceTypesPage({ onBack }: WorkspaceTypesPageProps): React.JSX.Element;
|
|
8
|
+
|
|
9
|
+
interface WorkspaceAgentsPageProps {
|
|
10
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
11
|
+
onBack?: () => void;
|
|
12
|
+
}
|
|
13
|
+
declare function WorkspaceAgentsPage({ onBack }: WorkspaceAgentsPageProps): React.JSX.Element;
|
|
14
|
+
|
|
15
|
+
interface WorkspaceWebhooksPageProps {
|
|
16
|
+
/** Called when the user clicks the back arrow. If omitted, the back button is hidden. */
|
|
17
|
+
onBack?: () => void;
|
|
18
|
+
}
|
|
19
|
+
declare function WorkspaceWebhooksPage({ onBack }: WorkspaceWebhooksPageProps): React.JSX.Element;
|
|
20
|
+
|
|
21
|
+
/** Shared webhook event types for admin pages (types / agents / webhooks). */
|
|
22
|
+
declare const AVAILABLE_WEBHOOK_EVENTS: readonly ["*", "workspace.created", "workspace.updated", "workspace.deleted", "workspace.statusChanged", "workspace.member.added", "workspace.member.updated", "workspace.member.removed", "workspace.message.created", "workspace.message.updated", "workspace.message.deleted", "workspace.member.user.mentioned", "workspace.member.agent.mentioned", "workspace.member.user.message.replied", "workspace.member.agent.message.replied", "workspace.message.reaction.created", "workspace.message.reaction.deleted", "private.workspace.created", "private.workspace.message.created", "private.workspace.member.added"];
|
|
23
|
+
|
|
24
|
+
export { AVAILABLE_WEBHOOK_EVENTS, WorkspaceAgentsPage, type WorkspaceAgentsPageProps, WorkspaceTypesPage, type WorkspaceTypesPageProps, WorkspaceWebhooksPage, type WorkspaceWebhooksPageProps };
|