Skip to content

Commit

Permalink
docs: Update types and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ldoppea committed Sep 24, 2024
1 parent e06163c commit 180f51a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/api/cozy-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ cozy-client
* [CozyClient](classes/CozyClient.md)
* [CozyLink](classes/CozyLink.md)
* [CozyProvider](classes/CozyProvider.md)
* [FlagshipLink](classes/FlagshipLink.md)
* [HasMany](classes/HasMany.md)
* [HasManyInPlace](classes/HasManyInPlace.md)
* [HasManyTriggers](classes/HasManyTriggers.md)
Expand All @@ -29,6 +28,7 @@ cozy-client
* [QueryDefinition](classes/QueryDefinition.md)
* [Registry](classes/Registry.md)
* [StackLink](classes/StackLink.md)
* [WebFlagshipLink](classes/WebFlagshipLink.md)

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/api/cozy-client/classes/CozyLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

[`StackLink`](StackLink.md)

[`FlagshipLink`](FlagshipLink.md)
[`WebFlagshipLink`](WebFlagshipLink.md)

## Constructors

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[cozy-client](../README.md) / FlagshipLink
[cozy-client](../README.md) / WebFlagshipLink

# Class: FlagshipLink
# Class: WebFlagshipLink

## Hierarchy

* [`CozyLink`](CozyLink.md)

**`FlagshipLink`**
**`WebFlagshipLink`**

## Constructors

### constructor

**new FlagshipLink**(`[options]?`)
**new WebFlagshipLink**(`[options]?`)

*Parameters*

Expand All @@ -27,7 +27,7 @@

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:8](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L8)
[packages/cozy-client/src/WebFlagshipLink.js:8](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L8)

## Properties

Expand All @@ -37,7 +37,7 @@

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:10](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L10)
[packages/cozy-client/src/WebFlagshipLink.js:10](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L10)

## Methods

Expand All @@ -64,7 +64,7 @@ Persist the given data into the links storage

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:25](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L25)
[packages/cozy-client/src/WebFlagshipLink.js:25](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L25)

***

Expand All @@ -84,7 +84,7 @@ Persist the given data into the links storage

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:13](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L13)
[packages/cozy-client/src/WebFlagshipLink.js:13](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L13)

***

Expand Down Expand Up @@ -112,7 +112,7 @@ Request the given operation from the link

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:21](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L21)
[packages/cozy-client/src/WebFlagshipLink.js:21](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L21)

***

Expand All @@ -132,4 +132,4 @@ Reset the link data

*Defined in*

[packages/cozy-client/src/FlagshipLink.js:17](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/FlagshipLink.js#L17)
[packages/cozy-client/src/WebFlagshipLink.js:17](https://github.com/cozy/cozy-client/blob/master/packages/cozy-client/src/WebFlagshipLink.js#L17)
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
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
Expand Down
2 changes: 1 addition & 1 deletion packages/cozy-client/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -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 { default as Registry } from "./registry";
export { default as RealTimeQueries } from "./RealTimeQueries";
Expand Down

0 comments on commit 180f51a

Please sign in to comment.