{"size": 1335, "ext": "js", "max_stars_repo_path": "packages/core/src/state/entities/index.js", "max_stars_repo_name": "adikus/nteract", "max_stars_repo_stars_event_min_datetime": "2018-06-04T18:35:21.000Z", "max_stars_repo_stars_event_max_datetime": "2018-06-04T18:35:21.000Z", "max_issues_repo_path": "packages/core/src/state/entities/index.js", "max_issues_repo_name": "adikus/nteract", "max_issues_repo_issues_event_min_datetime": "2018-08-14T03:43:26.000Z", "max_issues_repo_issues_event_max_datetime": "2018-08-14T15:32:33.000Z", "max_forks_repo_path": "packages/core/src/state/entities/index.js", "max_forks_repo_name": "alexandercbooth/nteract", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 34.2307692308, "max_line_length": 69, "alphanum_fraction": 0.7535580524}
// @flow
import * as Immutable from "immutable";
import type { ContentsRecordProps } from "./contents";
import type { HostsRecordProps } from "./hosts";
import type { KernelsRecordProps } from "./kernels";
import type { KernelspecsRecordProps } from "./kernelspecs";
import type { ModalsRecordProps } from "./modals";
import { makeContentsRecord } from "./contents";
import { makeHostsRecord } from "./hosts";
import { makeKernelsRecord } from "./kernels";
import { makeKernelspecsRecord } from "./kernelspecs";
import { makeModalsRecord } from "./modals";

export * from "./contents";
export * from "./hosts";
export * from "./kernels";
export * from "./kernelspecs";
export * from "./modals";

export type EntitiesRecordProps = {
  contents: Immutable.RecordOf<ContentsRecordProps>,
  hosts: Immutable.RecordOf<HostsRecordProps>,
  kernels: Immutable.RecordOf<KernelsRecordProps>,
  kernelspecs: Immutable.RecordOf<KernelspecsRecordProps>,
  modals: Immutable.RecordOf<ModalsRecordProps>
};

export type EntitiesRecord = Immutable.RecordOf<EntitiesRecordProps>;

export const makeEntitiesRecord: Immutable.RecordFactory<
  EntitiesRecordProps
> = Immutable.Record({
  contents: makeContentsRecord(),
  hosts: makeHostsRecord(),
  kernels: makeKernelsRecord(),
  kernelspecs: makeKernelspecsRecord(),
  modals: makeModalsRecord()
});
