Skip to content

Commit b42b16e

Browse files
committed
release 2.0.0-alpha.24 f9ae9b4
1 parent f9ae9b4 commit b42b16e

File tree

429 files changed

+15721
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

429 files changed

+15721
-0
lines changed

build/actions/bookmark.d.ts

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import { FacetedCompositeUnitSpec } from 'vega-lite/build/src/spec';
2+
import { ResultPlot } from '../models/result';
3+
import { PlainReduxAction, ReduxAction } from './redux-action';
4+
export declare type BookmarkAction = BookmarkAddPlot | BookmarkClearAll | BookmarkRemovePlot | BookmarkModifyNote;
5+
export declare const BOOKMARK_ADD_PLOT = "BOOKMARK_ADD_PLOT";
6+
export declare type BookmarkAddPlot = ReduxAction<typeof BOOKMARK_ADD_PLOT, {
7+
plot: ResultPlot;
8+
}>;
9+
export declare const BOOKMARK_REMOVE_PLOT = "BOOKMARK_REMOVE_PLOT";
10+
export declare type BookmarkRemovePlot = ReduxAction<typeof BOOKMARK_REMOVE_PLOT, {
11+
spec: FacetedCompositeUnitSpec;
12+
}>;
13+
export declare const BOOKMARK_MODIFY_NOTE = "BOOKMARK_MODIFY_NOTE";
14+
export declare type BookmarkModifyNote = ReduxAction<typeof BOOKMARK_MODIFY_NOTE, {
15+
note: string;
16+
spec: FacetedCompositeUnitSpec;
17+
}>;
18+
export declare const BOOKMARK_CLEAR_ALL = "BOOKMARK_CLEAR_ALL";
19+
export declare type BookmarkClearAll = PlainReduxAction<typeof BOOKMARK_CLEAR_ALL>;

build/actions/bookmark.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/bookmark.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/config.d.ts

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { VoyagerConfig } from '../models/config';
2+
import { ReduxAction } from './redux-action';
3+
export declare type ConfigAction = SetConfig;
4+
export declare const SET_CONFIG = "SET_CONFIG";
5+
export declare type SetConfig = ReduxAction<typeof SET_CONFIG, {
6+
config: VoyagerConfig;
7+
}>;

build/actions/config.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/config.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import { ExpandedType } from 'compassql/build/src/query/expandedtype';
2+
import { ReduxAction } from './redux-action';
3+
export declare type CustomWildcardAction = CustomWildcardAdd | CustomWildcardAddField | CustomWildcardRemove | CustomWildcardRemoveField | CustomWildcardModifyDescription;
4+
export declare const CUSTOM_WILDCARD_ADD = "CUSTOM_WILDCARD_ADD";
5+
export declare type CustomWildcardAdd = ReduxAction<typeof CUSTOM_WILDCARD_ADD, {
6+
fields: string[];
7+
type: ExpandedType;
8+
index?: number;
9+
}>;
10+
export declare const CUSTOM_WILDCARD_REMOVE = "CUSTOM_WILDCARD_REMOVE";
11+
export declare type CustomWildcardRemove = ReduxAction<typeof CUSTOM_WILDCARD_REMOVE, {
12+
index: number;
13+
}>;
14+
export declare const CUSTOM_WILDCARD_ADD_FIELD = "CUSTOM_WILDCARD_ADD_FIELD";
15+
export declare type CustomWildcardAddField = ReduxAction<typeof CUSTOM_WILDCARD_ADD_FIELD, {
16+
fields: string[];
17+
index: number;
18+
}>;
19+
export declare const CUSTOM_WILDCARD_REMOVE_FIELD = "CUSTOM_WILDCARD_REMOVE_FIELD";
20+
export declare type CustomWildcardRemoveField = ReduxAction<typeof CUSTOM_WILDCARD_REMOVE_FIELD, {
21+
field: string;
22+
index: number;
23+
}>;
24+
export declare const CUSTOM_WILDCARD_MODIFY_DESCRIPTION = "CUSTOM_WILDCARD_MODIFY_DESCRIPTION";
25+
export declare type CustomWildcardModifyDescription = ReduxAction<typeof CUSTOM_WILDCARD_MODIFY_DESCRIPTION, {
26+
description: string;
27+
index: number;
28+
}>;

build/actions/custom-wildcard-field.js

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/custom-wildcard-field.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/dataset.d.ts

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import { ExpandedType } from 'compassql/build/src/query/expandedtype';
2+
import { Schema } from 'compassql/build/src/schema';
3+
import { ThunkAction } from 'redux-thunk';
4+
import { Data, InlineData } from 'vega-lite/build/src/data';
5+
import { State } from '../models/index';
6+
import { ReduxAction } from './redux-action';
7+
export declare const DATASET_SCHEMA_CHANGE_FIELD_TYPE = "DATASET_SCHEMA_CHANGE_FIELD_TYPE";
8+
export declare type DatasetSchemaChangeFieldType = ReduxAction<typeof DATASET_SCHEMA_CHANGE_FIELD_TYPE, {
9+
field: string;
10+
type: ExpandedType;
11+
}>;
12+
export declare const DATASET_SCHEMA_CHANGE_ORDINAL_DOMAIN = "DATASET_SCHEMA_CHANGE_ORDINAL_DOMAIN";
13+
export declare type DatasetSchemaChangeOrdinalDomain = ReduxAction<typeof DATASET_SCHEMA_CHANGE_ORDINAL_DOMAIN, {
14+
field: string;
15+
domain: string[];
16+
}>;
17+
export declare type DatasetAction = DatasetSchemaChangeFieldType | DatasetSchemaChangeOrdinalDomain | DatasetRequest | DatasetReceive;
18+
export declare type DatasetAsyncAction = DatasetLoad;
19+
export declare const DATASET_REQUEST = "DATASET_REQUEST";
20+
export declare type DatasetRequest = ReduxAction<typeof DATASET_REQUEST, {
21+
name: string;
22+
}>;
23+
export declare const DATASET_RECEIVE = "DATASET_RECEIVE";
24+
export declare type DatasetReceive = ReduxAction<typeof DATASET_RECEIVE, {
25+
name: string;
26+
data: InlineData;
27+
schema: Schema;
28+
}>;
29+
export declare type DatasetLoad = ThunkAction<void, State, undefined>;
30+
export declare function datasetLoad(name: string, data: Data): DatasetLoad;

build/actions/dataset.js

+58
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/dataset.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/index.d.ts

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
import { BookmarkAction } from './bookmark';
2+
import { ConfigAction } from './config';
3+
import { CustomWildcardAction } from './custom-wildcard-field';
4+
import { DatasetAction } from './dataset';
5+
import { LogAction } from './log';
6+
import { RelatedViewsAction } from './related-views';
7+
import { ResetAction } from './reset';
8+
import { ResultAction } from './result';
9+
import { ShelfAction } from './shelf';
10+
import { ShelfPreviewAction } from './shelf-preview';
11+
import { ApplicationStateAction } from './state';
12+
import { TabAction } from './tab';
13+
import { UndoableAction } from './undo-redo';
14+
export * from './bookmark';
15+
export * from './custom-wildcard-field';
16+
export * from './config';
17+
export * from './dataset';
18+
export * from './log';
19+
export * from './redux-action';
20+
export * from './related-views';
21+
export * from './reset';
22+
export * from './result';
23+
export * from './shelf';
24+
export * from './state';
25+
export * from './tab';
26+
export * from './undo-redo';
27+
export * from './shelf-preview';
28+
/**
29+
* Union type of all actions in our application.
30+
*/
31+
export declare type Action = (ApplicationStateAction | BookmarkAction | ConfigAction | CustomWildcardAction | DatasetAction | LogAction | RelatedViewsAction | ResetAction | ResultAction | ShelfAction | ShelfPreviewAction | TabAction | UndoableAction);
32+
export declare type ActionType = Action['type'];
33+
export declare const ACTION_TYPE_INDEX: {
34+
[k in ActionType]: 1;
35+
};
36+
/** An array of all possible action types. */
37+
export declare const ACTION_TYPES: ("BOOKMARK_ADD_PLOT" | "BOOKMARK_CLEAR_ALL" | "BOOKMARK_REMOVE_PLOT" | "BOOKMARK_MODIFY_NOTE" | "SET_CONFIG" | "CUSTOM_WILDCARD_ADD" | "CUSTOM_WILDCARD_ADD_FIELD" | "CUSTOM_WILDCARD_REMOVE" | "CUSTOM_WILDCARD_REMOVE_FIELD" | "CUSTOM_WILDCARD_MODIFY_DESCRIPTION" | "RESET" | "DATASET_SCHEMA_CHANGE_FIELD_TYPE" | "DATASET_SCHEMA_CHANGE_ORDINAL_DOMAIN" | "DATASET_REQUEST" | "DATASET_RECEIVE" | "SET_APPLICATION_STATE" | "LOG_ERRORS_ADD" | "LOG_WARNINGS_ADD" | "LOG_WARNINGS_CLEAR" | "LOG_ERRORS_CLEAR" | "RELATED_VIEWS_HIDE_TOGGLE" | "RESULT_REQUEST" | "RESULT_RECEIVE" | "RESULT_LIMIT_INCREASE" | "RESULT_MODIFY_FIELD_PROP" | "RESULT_MODIFY_NESTED_FIELD_PROP" | "FILTER_ADD" | "FILTER_CLEAR" | "FILTER_REMOVE" | "FILTER_TOGGLE" | "FILTER_MODIFY_EXTENT" | "FILTER_MODIFY_MIN_BOUND" | "FILTER_MODIFY_MAX_BOUND" | "FILTER_MODIFY_ONE_OF" | "FILTER_MODIFY_TIME_UNIT" | "SPEC_CLEAR" | "SPEC_MARK_CHANGE_TYPE" | "SPEC_FIELD_ADD" | "SPEC_FIELD_AUTO_ADD" | "SPEC_FIELD_REMOVE" | "SPEC_FIELD_MOVE" | "SPEC_FIELD_PROP_CHANGE" | "SPEC_FIELD_NESTED_PROP_CHANGE" | "SPEC_FUNCTION_CHANGE" | "SPEC_FUNCTION_ADD_WILDCARD" | "SPEC_FUNCTION_REMOVE_WILDCARD" | "SPEC_FUNCTION_DISABLE_WILDCARD" | "SPEC_FUNCTION_ENABLE_WILDCARD" | "SPEC_LOAD" | "SPEC_VALUE_CHANGE" | "SHELF_LOAD_QUERY" | "SHELF_AUTO_ADD_COUNT_CHANGE" | "SHELF_GROUP_BY_CHANGE" | "SHELF_PREVIEW_SPEC" | "SHELF_PREVIEW_QUERY" | "SHELF_PREVIEW_DISABLE" | "TAB_ADD" | "TAB_REMOVE" | "TAB_SWITCH" | "TAB_TITLE_UPDATE" | "UNDO" | "REDO")[];
38+
export declare function isVoyagerAction(action: {
39+
type: any;
40+
}): action is Action;

build/actions/index.js

+38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/index.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/index.test.d.ts

Whitespace-only changes.

build/actions/index.test.js

+18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/index.test.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/actions/log.d.ts

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { WarningLevel } from '../models/log';
2+
import { PlainReduxAction, ReduxAction } from './redux-action';
3+
export declare type LogAction = LogErrorsAdd | LogWarningsAdd | LogWarningsClear | LogErrorsRemove;
4+
export declare const LOG_ERRORS_ADD = "LOG_ERRORS_ADD";
5+
export declare type LogErrorsAdd = ReduxAction<typeof LOG_ERRORS_ADD, {
6+
errors: string[];
7+
}>;
8+
export declare const LOG_WARNINGS_ADD = "LOG_WARNINGS_ADD";
9+
export declare type LogWarningsAdd = ReduxAction<typeof LOG_WARNINGS_ADD, {
10+
warnings: string[];
11+
level: WarningLevel;
12+
}>;
13+
export declare const LOG_WARNINGS_CLEAR = "LOG_WARNINGS_CLEAR";
14+
export declare type LogWarningsClear = PlainReduxAction<typeof LOG_WARNINGS_CLEAR>;
15+
export declare const LOG_ERRORS_CLEAR = "LOG_ERRORS_CLEAR";
16+
export declare type LogErrorsRemove = PlainReduxAction<typeof LOG_ERRORS_CLEAR>;

build/actions/log.js

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)