Skip to content

Commit

Permalink
fixup! Improve API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NSeydoux committed Dec 10, 2024
1 parent 4457fdf commit 9b03277
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/common/getters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ function deserializeField<T>(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom boolean array field with the provided name
* @since unreleased
*/
export function getCustomBooleans(
Expand Down Expand Up @@ -617,7 +617,7 @@ export function getCustomBooleans(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom boolean field with the provided name
* @since unreleased
*/
export function getCustomBoolean(
Expand Down Expand Up @@ -652,7 +652,7 @@ export function getCustomBoolean(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom float array field with the provided name
* @since unreleased
*/
export function getCustomFloats(
Expand Down Expand Up @@ -687,7 +687,7 @@ export function getCustomFloats(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom float field with the provided name
* @since unreleased
*/
export function getCustomFloat(
Expand Down Expand Up @@ -722,7 +722,7 @@ export function getCustomFloat(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom integer array field with the provided name
* @since unreleased
*/
export function getCustomIntegers(
Expand Down Expand Up @@ -757,7 +757,7 @@ export function getCustomIntegers(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a boolean, undefined otherwise.
* @returns the custom integer field with the provided name
* @since unreleased
*/
export function getCustomInteger(
Expand Down Expand Up @@ -792,7 +792,7 @@ export function getCustomInteger(
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a string, undefined otherwise.
* @returns the custom string array field with the provided name
* @since unreleased
*/
export function getCustomStrings(vc: DatasetWithId, field: URL): string[] {
Expand All @@ -819,7 +819,7 @@ export function getCustomStrings(vc: DatasetWithId, field: URL): string[] {
* ```
*
* @param accessCredential The Access Credential (Access Grant or Access Request)
* @returns the value of the custom field with the provided name if it is a string, undefined otherwise.
* @returns the custom string field with the provided name
* @since unreleased
*/
export function getCustomString(
Expand Down

0 comments on commit 9b03277

Please sign in to comment.