You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
import JsonFile from '@expo/json-file';
|
|
import { ConnectionType } from './internal';
|
|
export declare type UserSettingsData = {
|
|
developmentCodeSigningId?: string;
|
|
appleId?: string;
|
|
accessToken?: string;
|
|
auth?: UserData | null;
|
|
ignoreBundledBinaries?: string[];
|
|
openDevToolsAtStartup?: boolean;
|
|
PATH?: string;
|
|
sendTo?: string;
|
|
uuid?: string;
|
|
};
|
|
export declare type UserData = {
|
|
developmentCodeSigningId?: string;
|
|
appleId?: string;
|
|
userId?: string;
|
|
username?: string;
|
|
currentConnection?: ConnectionType;
|
|
sessionSecret?: string;
|
|
};
|
|
declare function userSettingsFile(): string;
|
|
declare function userSettingsJsonFile(): JsonFile<UserSettingsData>;
|
|
declare function dotExpoHomeDirectory(): string;
|
|
declare function getAnonymousIdentifierAsync(): Promise<string>;
|
|
declare function accessToken(): string | null;
|
|
declare const UserSettings: JsonFile<UserSettingsData> & {
|
|
dotExpoHomeDirectory: typeof dotExpoHomeDirectory;
|
|
userSettingsFile: typeof userSettingsFile;
|
|
userSettingsJsonFile: typeof userSettingsJsonFile;
|
|
accessToken: typeof accessToken;
|
|
getAnonymousIdentifierAsync: typeof getAnonymousIdentifierAsync;
|
|
SETTINGS_FILE_NAME: string;
|
|
};
|
|
export default UserSettings;
|