File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010namespace OCP \ContextChat ;
1111
12+ use OCP \AppFramework \Attribute \Implementable ;
13+
1214/**
1315 * @since 32.0.0
1416 */
17+ #[Implementable(since: '32.0.0 ' )]
1518class ContentItem {
1619 /**
1720 * @param string $itemId
Original file line number Diff line number Diff line change 99
1010namespace OCP \ContextChat \Events ;
1111
12+ use OCP \AppFramework \Attribute \Listenable ;
1213use OCP \ContextChat \IContentManager ;
1314use OCP \ContextChat \IContentProvider ;
1415use OCP \EventDispatcher \Event ;
1516
1617/**
1718 * @since 32.0.0
1819 */
20+ #[Listenable(since: '32.0.0 ' )]
1921class ContentProviderRegisterEvent extends Event {
2022 /**
2123 * @since 32.0.0
Original file line number Diff line number Diff line change 99
1010namespace OCP \ContextChat ;
1111
12+ use OCP \AppFramework \Attribute \Consumable ;
13+
1214/**
1315 * @since 32.0.0
1416 */
17+ #[Consumable(since: '32.0.0 ' )]
1518interface IContentManager {
1619 /**
1720 * Checks if the context chat app is enabled or not
Original file line number Diff line number Diff line change 99
1010namespace OCP \ContextChat ;
1111
12+ use OCP \AppFramework \Attribute \Implementable ;
13+
1214/**
1315 * This interface defines methods to implement a content provider
1416 * @since 32.0.0
1517 */
18+ #[Implementable(since: '32.0.0 ' )]
1619interface IContentProvider {
1720 /**
1821 * The ID of the provider
Original file line number Diff line number Diff line change 99
1010namespace OCP \ContextChat ;
1111
12+ use OCP \AppFramework \Attribute \Implementable ;
13+
1214/**
1315 * This interface defines methods to implement a Context Chat content provider
1416 * with a search task and data description.
1517 * @since 35.0.0
1618 */
19+ #[Implementable(since: '35.0.0 ' )]
1720interface IContentProviderWithSearchTask extends IContentProvider {
1821 /**
1922 * A short description about the kind of data provided by this provider.
You can’t perform that action at this time.
0 commit comments