@atlaskit/rovo-triggers 8.1.0 → 9.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/rovo-triggers
2
2
 
3
+ ## 9.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`6aa37d3b2e16a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6aa37d3b2e16a) -
8
+ Remove an internal package dependency from public package metadata.
9
+
3
10
  ## 8.1.0
4
11
 
5
12
  ### Minor Changes
@@ -1,5 +1,4 @@
1
1
  import type { DocNode } from '@atlaskit/adf-schema';
2
- import type { CreationContextParams } from '@atlassian/conversation-assistant-external-context/types';
3
2
  import type { SolutionDraftAgentUpdatePayload } from './common/types/agent';
4
3
  import type { JsmJourneyBuilderActionsPayload } from './common/types/jsm-journey-builder';
5
4
  import type { SolutionArchitectAgentActivationFlowStoppedPayload, SolutionArchitectAgentActivationPayload, SolutionArchitectAgentActivationFlowStartedPayload, SolutionArchitectHandoffPayload, SolutionPlanStateUpdatePayload, StudioAutomationBuildUpdatePayload, StudioLandingPageRedirectPayload, UpdateAgentConfigurationPayload } from './common/types/solution-architect';
@@ -60,6 +59,30 @@ type ChatModeParam = {
60
59
  useCurrentPageContext?: boolean;
61
60
  appFilters?: unknown[];
62
61
  };
62
+ type SerializableCreationContextValue = string | number | boolean | null | undefined | {
63
+ [key: string | number]: SerializableCreationContextValue;
64
+ } | SerializableCreationContextValue[];
65
+ export type CreationContextParams = {
66
+ templateInput?: {
67
+ templateId: string;
68
+ templateType: string;
69
+ };
70
+ jiraContext?: unknown;
71
+ dynamicUiType?: string;
72
+ dynamicUiSubtype?: string;
73
+ dynamicUiSource?: unknown;
74
+ forcedContentType?: string;
75
+ contentMauiId?: string;
76
+ mediaFileId?: string;
77
+ source?: string;
78
+ shouldUseExistingContent?: boolean;
79
+ isViewMode?: boolean;
80
+ experience?: 'cwr' | 'cwr_type' | 'cwr_edit' | 'cwr_existing' | 'inline_edit' | 'inline_view' | 'remix' | 'remix_edit' | 'remix_object' | 'remix_custom' | 'chat_edit' | 'chat_view';
81
+ contentTypes?: string[];
82
+ blocks?: string[];
83
+ spaceKey?: string;
84
+ additionalContext?: Record<string, SerializableCreationContextValue>;
85
+ };
63
86
  export type ChatNewPayload = PayloadCore<'chat-new', {
64
87
  name?: string;
65
88
  dialogues: Array<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-triggers",
3
- "version": "8.1.0",
3
+ "version": "9.0.0",
4
4
  "description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -30,7 +30,6 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^55.0.0",
32
32
  "@atlaskit/platform-feature-flags": "^2.0.0",
33
- "@atlassian/conversation-assistant-external-context": "^0.19.0",
34
33
  "@babel/runtime": "^7.0.0",
35
34
  "bind-event-listener": "^3.0.0"
36
35
  },