Skip to content

Commit

Permalink
Update PrintActionExtensionApii to include ResourcePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
melissaluu committed Nov 28, 2024
1 parent d554002 commit 062aa23
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type {StandardApi} from '../standard/standard';
import type {ExtensionTarget as AnyExtensionTarget} from '../../extension-targets';
import type {Data} from '../shared';
import type {ResourcePickerApi} from '../resource-picker/resource-picker';

export interface PrintActionExtensionApi<
ExtensionTarget extends AnyExtensionTarget,
Expand All @@ -9,4 +10,9 @@ export interface PrintActionExtensionApi<
* Information about the currently viewed or selected items.
*/
data: Data;

/**
* Renders the [Resource Picker](/docs/api/app-bridge-library/apis/resource-picker), allowing users to select a resource for the extension to use as part of its flow.
*/
resourcePicker: ResourcePickerApi;
}

0 comments on commit 062aa23

Please sign in to comment.