From e5021187e96b78b53203bd95d08d6818aea47d17 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Wed, 14 Jul 2021 15:10:31 +0200 Subject: New Ignite 7.0.6 app --- app/services/reactotron/reactotron-config.ts | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app/services/reactotron/reactotron-config.ts (limited to 'app/services/reactotron/reactotron-config.ts') diff --git a/app/services/reactotron/reactotron-config.ts b/app/services/reactotron/reactotron-config.ts new file mode 100644 index 0000000..dd87bd7 --- /dev/null +++ b/app/services/reactotron/reactotron-config.ts @@ -0,0 +1,30 @@ +export interface ReactotronConfig { + /** The name of the app. */ + name?: string + /** The host to connect to: default 'localhost'. */ + host?: string + /** Should we use async storage */ + useAsyncStorage?: boolean + /** Should we clear Reactotron when load? */ + clearOnLoad?: boolean + /** Root state logging. */ + state?: { + /** log the initial data that we put into the state on startup? */ + initial?: boolean + /** log snapshot changes. */ + snapshots?: boolean + } +} + +/** + * The default Reactotron configuration. + */ +export const DEFAULT_REACTOTRON_CONFIG: ReactotronConfig = { + clearOnLoad: true, + host: "localhost", + useAsyncStorage: true, + state: { + initial: true, + snapshots: false, + }, +} -- cgit v1.2.3