/*! * Copyright (c) Microsoft. All rights reserved. */ import { CommonAppInfo } from "./CommonInfo"; import { Template } from "./Template"; /** * The form factor to use with the new application that gets created when Maker session is instantiated. */ export declare enum FormFactor { Phone = "phone", Tablet = "tablet" } /** * These options are used to initialize the Maker session. * * @members * formFactor: Phone or Tablet layout. * Used only when a new application is created. * If unspecified defaults to Phone layout. * * appTemplate: Instance of StandardTemplate with the required layout which should be applied to the new app. * * displayName: The display name for the app. If this is not valid/unique then a valid name will be auto-generated. * */ export interface CreateAppOptions extends CommonAppInfo { formFactor?: FormFactor; appTemplate?: Template; displayName?: string; } /** * These options are used to initialize the Maker Session with SQL connection. * * @members * connectionName: The name of the SQL connection which should be used to fetch data. * * dataset: The dataset value which is used to identify the SQL Server and SQL database * in case of SQL connection with AAD auth. * * tableId: The identifier for the SQL database table whose data will be used to initialize the app. * * environmentId: The environment in which the connection is created. * * displayName: The displayName for the application. * */ export interface CreateAppWithSQLConnectionOptions extends CreateAppOptions { connectionName: string; dataset: string; tableId: string; environmentId: string; displayName: string; }