UNPKG

1.25 kBTypeScriptView Raw
1import JsonFile from '@expo/json-file';
2import { ConnectionType } from './internal';
3export declare type UserSettingsData = {
4 developmentCodeSigningId?: string;
5 appleId?: string;
6 accessToken?: string;
7 auth?: UserData | null;
8 ignoreBundledBinaries?: string[];
9 openDevToolsAtStartup?: boolean;
10 PATH?: string;
11 sendTo?: string;
12 uuid?: string;
13};
14export declare type UserData = {
15 developmentCodeSigningId?: string;
16 appleId?: string;
17 userId?: string;
18 username?: string;
19 currentConnection?: ConnectionType;
20 sessionSecret?: string;
21};
22declare function userSettingsFile(): string;
23declare function userSettingsJsonFile(): JsonFile<UserSettingsData>;
24declare function dotExpoHomeDirectory(): string;
25declare function getAnonymousIdentifierAsync(): Promise<string>;
26declare function accessToken(): string | null;
27declare const UserSettings: JsonFile<UserSettingsData> & {
28 dotExpoHomeDirectory: typeof dotExpoHomeDirectory;
29 userSettingsFile: typeof userSettingsFile;
30 userSettingsJsonFile: typeof userSettingsJsonFile;
31 accessToken: typeof accessToken;
32 getAnonymousIdentifierAsync: typeof getAnonymousIdentifierAsync;
33 SETTINGS_FILE_NAME: string;
34};
35export default UserSettings;