-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Remove @influxdata/influx dependency (#3499)
- Loading branch information
Showing
14 changed files
with
147 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import {Label} from 'src/types' | ||
|
||
export interface DocumentCreate { | ||
meta: DocumentMeta | ||
content: any | ||
org?: string | ||
orgID?: string | ||
labels?: Array<string> | ||
} | ||
|
||
export interface DocumentMeta { | ||
name: string | ||
type?: string | ||
description?: string | ||
version: string | ||
createdAt?: Date | ||
updatedAt?: Date | ||
} | ||
|
||
export interface Document { | ||
id: string | ||
meta: DocumentMeta | ||
content: any | ||
labels?: Array<Label> | ||
links?: DocumentLinks | ||
} | ||
|
||
export interface DocumentLinks { | ||
self?: string | ||
} | ||
|
||
export interface DocumentListEntry { | ||
id: string | ||
meta: DocumentMeta | ||
labels?: Array<Label> | ||
links?: DocumentLinks | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
import {ScraperTargetResponse} from '@influxdata/influx' | ||
export interface Scraper extends ScraperTargetRequest { | ||
id?: string | ||
org?: string | ||
bucket?: string | ||
links?: any | ||
} | ||
|
||
export interface Scraper extends ScraperTargetResponse {} | ||
export interface ScraperTargetRequest { | ||
name?: string | ||
type?: 'prometheus' | ||
url?: string | ||
orgID?: string | ||
bucketID?: string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.