Skip to content

Commit

Permalink
Export Reflector since to seems fine
Browse files Browse the repository at this point in the history
  • Loading branch information
danopia committed Dec 26, 2020
1 parent f0d1998 commit f296b86
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ export type JSONValue = JSONPrimitive | JSONObject | JSONArray;
export type JSONObject = {[key: string]: JSONValue};
export type JSONArray = JSONValue[];

// Constraint for when these fields will surely be present
export type ApiKind = {
apiVersion: string;
kind: string;
}

// Types seen in a resource watch stream
export type WatchEvent<T,U> = WatchEventObject<T> | WatchEventError<U> | WatchEventBookmark;
export type WatchEventObject<T> = {
Expand Down
1 change: 1 addition & 0 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './common.ts';
export * from './stream-transformers.ts';
export { Reflector } from './reflector.ts';

/**
* There are multiple very different types of HTTP client in this repo!
Expand Down

0 comments on commit f296b86

Please sign in to comment.