Skip to content

Commit

Permalink
Automated update to repo's documentation from github action
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 30, 2024
1 parent ef32739 commit d426ba6
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 139 deletions.
18 changes: 0 additions & 18 deletions docs/analytics.enumorstring.md

This file was deleted.

3 changes: 1 addition & 2 deletions docs/analytics.environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ The Yext Environments
**Signature:**

```typescript
export type Environment = EnumOrString<EnvironmentEnum>;
export type Environment = 'PRODUCTION' | 'SANDBOX';
```
**References:** [EnumOrString](./analytics.enumorstring.md)<!-- -->, [EnvironmentEnum](./analytics.environmentenum.md)

## Remarks

Expand Down
25 changes: 0 additions & 25 deletions docs/analytics.environmentenum.md

This file was deleted.

11 changes: 1 addition & 10 deletions docs/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@

## analytics package

## Enumerations

| Enumeration | Description |
| --- | --- |
| [EnvironmentEnum](./analytics.environmentenum.md) | An enum for the Yext Environments |
| [RegionEnum](./analytics.regionenum.md) | An enum of the physical region the Yext account |
| [VersionLabelEnum](./analytics.versionlabelenum.md) | An enum for the Search Version Labels |

## Functions

| Function | Description |
Expand All @@ -32,8 +24,7 @@
| Type Alias | Description |
| --- | --- |
| [Action](./analytics.action.md) | The action types accepted by the Analytics Events API. |
| [EnumOrString](./analytics.enumorstring.md) | A TypeScript utility type which creates a union of an enum member and its string representation. |
| [Environment](./analytics.environment.md) | The Yext Environments |
| [Region](./analytics.region.md) | The physical region of the Yext account |
| [VersionLabel](./analytics.versionlabel.md) | The Search Version Label |
| [VersionLabel](./analytics.versionlabel.md) | An enum for the Search Version Labels |

3 changes: 1 addition & 2 deletions docs/analytics.region.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ The physical region of the Yext account
**Signature:**

```typescript
export type Region = EnumOrString<RegionEnum>;
export type Region = 'US' | 'EU';
```
**References:** [EnumOrString](./analytics.enumorstring.md)<!-- -->, [RegionEnum](./analytics.regionenum.md)

## Remarks

Expand Down
25 changes: 0 additions & 25 deletions docs/analytics.regionenum.md

This file was deleted.

5 changes: 2 additions & 3 deletions docs/analytics.versionlabel.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@

## VersionLabel type

The Search Version Label
An enum for the Search Version Labels

**Signature:**

```typescript
export type VersionLabel = EnumOrString<VersionLabelEnum>;
export type VersionLabel = 'PRODUCTION' | 'STAGING';
```
**References:** [EnumOrString](./analytics.enumorstring.md)<!-- -->, [VersionLabelEnum](./analytics.versionlabelenum.md)

## Remarks

Expand Down
25 changes: 0 additions & 25 deletions docs/analytics.versionlabelenum.md

This file was deleted.

32 changes: 3 additions & 29 deletions etc/analytics.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,7 @@ export interface AnalyticsEventService {
}

// @public
export type EnumOrString<T extends string> = T | `${T}`;

// @public
export type Environment = EnumOrString<EnvironmentEnum>;

// @public
export enum EnvironmentEnum {
// (undocumented)
Production = "PRODUCTION",
Sandbox = "SANDBOX"
}
export type Environment = 'PRODUCTION' | 'SANDBOX';

// @public
export interface EventPayload {
Expand Down Expand Up @@ -100,29 +90,13 @@ export interface EventPayload {
}

// @public
export type Region = EnumOrString<RegionEnum>;

// @public
export enum RegionEnum {
// (undocumented)
EU = "eu",
// (undocumented)
US = "us"
}
export type Region = 'US' | 'EU';

// @public
export function reportBrowserAnalytics(): Promise<string>;

// @public
export type VersionLabel = EnumOrString<VersionLabelEnum>;

// @public
export enum VersionLabelEnum {
// (undocumented)
Production = "PRODUCTION",
// (undocumented)
Staging = "STAGING"
}
export type VersionLabel = 'PRODUCTION' | 'STAGING';

// (No @packageDocumentation comment for this package)

Expand Down

0 comments on commit d426ba6

Please sign in to comment.