From e06163ce4e4e8ade30a20da8e7bd54bb92ea84e1 Mon Sep 17 00:00:00 2001 From: Ldoppea Date: Mon, 23 Sep 2024 18:50:43 +0200 Subject: [PATCH] feat: Rename FlagshipLink to WebFlagshipLink This should clarify that this link should be run on the web side and not on the Flagship app side --- .../cozy-client/src/{FlagshipLink.js => WebFlagshipLink.js} | 2 +- packages/cozy-client/src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename packages/cozy-client/src/{FlagshipLink.js => WebFlagshipLink.js} (93%) diff --git a/packages/cozy-client/src/FlagshipLink.js b/packages/cozy-client/src/WebFlagshipLink.js similarity index 93% rename from packages/cozy-client/src/FlagshipLink.js rename to packages/cozy-client/src/WebFlagshipLink.js index 901443c8f4..cc0e664225 100644 --- a/packages/cozy-client/src/FlagshipLink.js +++ b/packages/cozy-client/src/WebFlagshipLink.js @@ -1,6 +1,6 @@ import CozyLink from './CozyLink' -export default class FlagshipLink extends CozyLink { +export default class WebFlagshipLink extends CozyLink { /** * @param {object} [options] - Options * @param {import('cozy-intent').WebviewService} [options.webviewIntent] - The webview's intent reference diff --git a/packages/cozy-client/src/index.js b/packages/cozy-client/src/index.js index 614ca19f00..9d77701cc1 100644 --- a/packages/cozy-client/src/index.js +++ b/packages/cozy-client/src/index.js @@ -1,7 +1,7 @@ export { default } from './CozyClient' export { default as CozyLink } from './CozyLink' export { default as StackLink } from './StackLink' -export { default as FlagshipLink } from './FlagshipLink' +export { default as WebFlagshipLink } from './WebFlagshipLink' export { default as compose } from 'lodash/flow' export { QueryDefinition,