Initial commit

This commit is contained in:
schihei committed 2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 files changed
+5280367

No files matched your search

+271
View File
@@ -0,0 +1,271 @@
import { Inputs, OptionItem, Platform } from "@microsoft/teamsfx-api";
export declare enum QuestionNames {
Scratch = "scratch",
SctatchYes = "scratch-yes",
AppName = "app-name",
Folder = "folder",
ProjectPath = "projectPath",
ProgrammingLanguage = "programming-language",
ProjectType = "project-type",
Capabilities = "capabilities",
BotTrigger = "bot-host-type-trigger",
Runtime = "runtime",
SPFxSolution = "spfx-solution",
SPFxInstallPackage = "spfx-install-latest-package",
SPFxFramework = "spfx-framework-type",
SPFxWebpartName = "spfx-webpart-name",
SPFxWebpartDesc = "spfx-webpart-desp",
SPFxFolder = "spfx-folder",
OfficeAddinFolder = "addin-project-folder",
OfficeAddinManifest = "addin-project-manifest",
OfficeAddinTemplate = "addin-template-select",
OfficeAddinHost = "addin-host",
OfficeAddinImport = "addin-import",
OfficeAddinFramework = "office-addin-framework-type",
Samples = "samples",
ReplaceContentUrl = "replaceContentUrl",
ReplaceWebsiteUrl = "replaceWebsiteUrl",
ReplaceBotIds = "replaceBotIds",
SafeProjectName = "safeProjectName",
RepalceTabUrl = "tdp-tab-url",
ValidateMethod = "validate-method",
AppPackagePath = "appPackagePath",
FromExistingApi = "from-existing-api",
ApiSpecLocation = "openapi-spec-location",
ApiOperation = "api-operation",
ApiPluginManifestPath = "external-api-plugin-manifest-path",
MeArchitectureType = "me-architecture",
ApiSpecApiKey = "api-key",
ApiSpecApiKeyConfirm = "api-key-confirm",
ApiAuth = "api-auth",
OauthClientSecret = "oauth-client-secret",
OauthClientId = "oauth-client-id",
OauthConfirm = "oauth-confirm",
CustomCopilotRag = "custom-copilot-rag",
CustomCopilotAssistant = "custom-copilot-agent",
LLMService = "llm-service",
OpenAIKey = "openai-key",
OpenAIEmbeddingModel = "openai-embedding-model",
AzureOpenAIKey = "azure-openai-key",
AzureOpenAIEndpoint = "azure-openai-endpoint",
AzureOpenAIDeploymentName = "azure-openai-deployment-name",
AzureOpenAIEmbeddingDeploymentName = "azure-openai-embedding-deployment-name",
AzureAISearchApiKey = "azure-ai-search-api-key",
AzureAISearchEndpoint = "azure-ai-search-endpoint",
Features = "features",
Env = "env",
SourceEnvName = "sourceEnvName",
TargetEnvName = "targetEnvName",
TargetResourceGroupName = "targetResourceGroupName",
NewResourceGroupName = "newResourceGroupName",
NewResourceGroupLocation = "newResourceGroupLocation",
NewTargetEnvName = "newTargetEnvName",
ExistingTabEndpoint = "existing-tab-endpoint",
TeamsAppManifestFilePath = "manifest-path",
LocalTeamsAppManifestFilePath = "local-manifest-path",
AadAppManifestFilePath = "manifest-file-path",
TeamsAppPackageFilePath = "app-package-file-path",
ConfirmManifest = "confirmManifest",
ConfirmLocalManifest = "confirmLocalManifest",
ConfirmAadManifest = "confirmAadManifest",
OutputZipPathParamName = "output-zip-path",
OutputManifestParamName = "output-manifest-path",
OutputFolderParamName = "output-folder",
M365Host = "m365-host",
ManifestPath = "manifest-path",
ManifestId = "manifest-id",
TeamsAppId = "teams-app-id",
TitleId = "title-id",
UserEmail = "email",
UninstallMode = "mode",
UninstallModeManifestId = "manifest-id",
UninstallModeEnv = "env",
UninstallModeTitleId = "title-id",
UninstallOptions = "options",
UninstallOptionM365 = "m365-app",
UninstallOptionTDP = "app-registration",
UninstallOptionBot = "bot-framework-registration",
collaborationAppType = "collaborationType",
DestinationApiSpecFilePath = "destination-api-spec-location",
SyncManifest = "sync-manifest",
ApiPluginType = "api-plugin-type",
WithPlugin = "with-plugin",
ImportPlugin = "import-plugin",
PluginManifestFilePath = "plugin-manifest-path",
PluginOpenApiSpecFilePath = "plugin-opeanapi-spec-path"
}
export declare const AppNamePattern = "^(?=(.*[\\da-zA-Z]){2})[a-zA-Z][^\"<>:\\?/*&|\0-\u001F]*[^\"\\s.<>:\\?/*&|\0-\u001F]$";
export declare enum CliQuestionName {
Capability = "capability"
}
export declare enum ProgrammingLanguage {
JS = "javascript",
TS = "typescript",
CSharp = "csharp",
PY = "python",
Common = "common",
None = "none"
}
export declare const apiPluginApiSpecOptionId = "api-spec";
export declare const capabilitiesHavePythonOption: string[];
export declare class RuntimeOptions {
static NodeJS(): OptionItem;
static DotNet(): OptionItem;
}
export declare function getRuntime(inputs: Inputs): string;
export declare class ScratchOptions {
static yes(): OptionItem;
static no(): OptionItem;
static all(): OptionItem[];
}
export declare class ProjectTypeOptions {
static getCreateGroupName(): string | undefined;
static tab(platform?: Platform): OptionItem;
static bot(platform?: Platform): OptionItem;
static me(platform?: Platform): OptionItem;
static outlookAddin(platform?: Platform): OptionItem;
static officeMetaOS(platform?: Platform): OptionItem;
static officeAddin(platform?: Platform): OptionItem;
static officeAddinAllIds(platform?: Platform): string[];
static copilotExtension(platform?: Platform): OptionItem;
static customCopilot(platform?: Platform): OptionItem;
static startWithGithubCopilot(): OptionItem;
}
export declare class CapabilityOptions {
static empty(): OptionItem;
static basicBot(): OptionItem;
static notificationBot(): OptionItem;
static commandBot(): OptionItem;
static workflowBot(inputs?: Inputs): OptionItem;
static nonSsoTab(): OptionItem;
static tab(): OptionItem;
static m365SsoLaunchPage(): OptionItem;
static dashboardTab(): OptionItem;
static SPFxTab(): OptionItem;
static linkUnfurling(): OptionItem;
static m365SearchMe(): OptionItem;
static SearchMe(): OptionItem;
static collectFormMe(): OptionItem;
static me(): OptionItem;
static bots(inputs?: Inputs): OptionItem[];
static tabs(): OptionItem[];
static dotnetCaps(inputs?: Inputs): OptionItem[];
/**
* Collect all capabilities for message extension, including dotnet and nodejs.
* @returns OptionItem[] capability list
*/
static collectMECaps(): OptionItem[];
static mes(inputs?: Inputs): OptionItem[];
static officeAddinStaticCapabilities(host?: string): OptionItem[];
static officeAddinDynamicCapabilities(projectType: string, host?: string): OptionItem[];
static copilotExtensions(inputs?: Inputs, isStatic?: boolean): OptionItem[];
static customCopilots(): OptionItem[];
static tdpIntegrationCapabilities(): OptionItem[];
/**
* static capability list, which does not depend on any feature flags
*/
static staticAll(inputs?: Inputs): OptionItem[];
/**
* dynamic capability list, which depends on feature flags
*/
static all(inputs?: Inputs): OptionItem[];
static outlookAddinImport(): OptionItem;
static officeAddinImport(): OptionItem;
static officeContentAddin(): OptionItem;
static nonSsoTabAndBot(): OptionItem;
static botAndMe(): OptionItem;
static apiPlugin(): OptionItem;
static declarativeCopilot(): OptionItem;
static aiBot(): OptionItem;
static aiAssistantBot(): OptionItem;
static customCopilotBasic(): OptionItem;
static customCopilotRag(): OptionItem;
static customCopilotAssistant(): OptionItem;
}
export declare class ApiAuthOptions {
static none(): OptionItem;
static apiKey(): OptionItem;
static microsoftEntra(): OptionItem;
static oauth(): OptionItem;
static all(): OptionItem[];
}
export declare class MeArchitectureOptions {
static botMe(): OptionItem;
static botPlugin(): OptionItem;
static newApi(): OptionItem;
static apiSpec(): OptionItem;
static all(): OptionItem[];
static staticAll(): OptionItem[];
}
export declare enum HostType {
AppService = "app-service",
Functions = "azure-functions"
}
export declare const NotificationTriggers: {
readonly HTTP: "http";
readonly TIMER: "timer";
};
declare type NotificationTrigger = typeof NotificationTriggers[keyof typeof NotificationTriggers];
interface HostTypeTriggerOptionItem extends OptionItem {
hostType: HostType;
triggers?: NotificationTrigger[];
}
export declare class NotificationTriggerOptions {
static appService(): HostTypeTriggerOptionItem;
static appServiceForVS(): HostTypeTriggerOptionItem;
static functionsTimerTrigger(): HostTypeTriggerOptionItem;
static functionsTimerTriggerIsolated(): HostTypeTriggerOptionItem;
static functionsHttpAndTimerTrigger(): HostTypeTriggerOptionItem;
static functionsHttpAndTimerTriggerIsolated(): HostTypeTriggerOptionItem;
static functionsHttpTrigger(): HostTypeTriggerOptionItem;
static functionsHttpTriggerIsolated(): HostTypeTriggerOptionItem;
static functionsTriggers(): HostTypeTriggerOptionItem[];
static all(): HostTypeTriggerOptionItem[];
}
export declare enum SPFxVersionOptionIds {
installLocally = "true",
globalPackage = "false"
}
export declare class CustomCopilotRagOptions {
static customize(): OptionItem;
static azureAISearch(): OptionItem;
static customApi(): OptionItem;
static microsoft365(): OptionItem;
static all(): OptionItem[];
}
export declare class CustomCopilotAssistantOptions {
static new(): OptionItem;
static assistantsApi(): OptionItem;
static all(): OptionItem[];
}
export declare const recommendedLocations: string[];
export declare class TeamsAppValidationOptions {
static schema(): OptionItem;
static package(): OptionItem;
static testCases(): OptionItem;
}
export declare enum HubTypes {
teams = "teams",
outlook = "outlook",
office = "office"
}
export declare class HubOptions {
static teams(): OptionItem;
static outlook(): OptionItem;
static office(): OptionItem;
static all(): OptionItem[];
}
export declare class DeclarativeCopilotTypeOptions {
static noPlugin(): OptionItem;
static withPlugin(): OptionItem;
static all(): OptionItem[];
}
export declare class ApiPluginStartOptions {
static newApi(): OptionItem;
static apiSpec(): OptionItem;
static existingPlugin(): OptionItem;
static staticAll(doesProjectExists?: boolean): OptionItem[];
static all(inputs: Inputs, doesProjectExists?: boolean): OptionItem[];
}
export {};
//# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/question/constants.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAStE,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,UAAU,gBAAgB;IAC1B,OAAO,aAAa;IACpB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,mBAAmB,yBAAyB;IAC5C,WAAW,iBAAiB;IAC5B,YAAY,iBAAiB;IAC7B,UAAU,0BAA0B;IACpC,OAAO,YAAY;IACnB,YAAY,kBAAkB;IAC9B,kBAAkB,gCAAgC;IAClD,aAAa,wBAAwB;IACrC,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;IACrC,UAAU,gBAAgB;IAC1B,iBAAiB,yBAAyB;IAC1C,mBAAmB,2BAA2B;IAC9C,mBAAmB,0BAA0B;IAC7C,eAAe,eAAe;IAC9B,iBAAiB,iBAAiB;IAClC,oBAAoB,gCAAgC;IACpD,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IAMzB,MAAM,CAAC,MAAM,IAAI,UAAU;IAO3B,MAAM,CAAC,cAAc,IAAI,UAAU;IAOnC,MAAM,CAAC,KAAK,IAAI,UAAU;IAO1B,MAAM,CAAC,GAAG,IAAI,UAAU,EAAE;CAQ3B;AAED,qBAAa,qBAAqB;IAChC,MAAM,CAAC,KAAK,IAAI,UAAU;IAa1B,MAAM,CAAC,SAAS,IAAI,UAAU;IAa9B,MAAM,CAAC,MAAM,IAAI,UAAU;IAY3B,MAAM,CAACLine truncated
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/question/constants.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wDAAsE;AACtE,yDAIgC;AAChC,2DAA6D;AAC7D,uFAA+F;AAE/F,IAAY,aAoGX;AApGD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,2CAA0B,CAAA;IAC1B,qCAAoB,CAAA;IACpB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;IAC3B,6DAA4C,CAAA;IAC5C,6CAA4B,CAAA;IAC5B,8CAA6B,CAAA;IAC7B,qDAAoC,CAAA;IACpC,oCAAmB,CAAA;IACnB,+CAA8B,CAAA;IAC9B,mEAAkD,CAAA;IAClD,sDAAqC,CAAA;IACrC,sDAAqC,CAAA;IACrC,sDAAqC,CAAA;IACrC,2CAA0B,CAAA;IAC1B,2DAA0C,CAAA;IAC1C,+DAA8C,CAAA;IAC9C,8DAA6C,CAAA;IAC7C,+CAA8B,CAAA;IAC9B,mDAAkC,CAAA;IAClC,qEAAoD,CAAA;IACpD,oCAAmB,CAAA;IACnB,wDAAuC,CAAA;IACvC,wDAAuC,CAAA;IACvC,gDAA+B,CAAA;IAC/B,oDAAmC,CAAA;IACnC,8CAA6B,CAAA;IAC7B,mDAAkC,CAAA;IAClC,kDAAiC,CAAA;IACjC,sDAAqC,CAAA;IACrC,0DAAyC,CAAA;IACzC,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0,0 +1,40 @@
import { FolderQuestion, IQTreeNode, Inputs, MultiSelectQuestion, OptionItem, SingleFileOrInputQuestion, SingleFileQuestion, SingleSelectQuestion, TextInputQuestion } from "@microsoft/teamsfx-api";
import { AppDefinition } from "../component/driver/teamsApp/interfaces/appdefinitions/appDefinition";
import { IOfficeAddinHostConfig } from "../component/generator/officeXMLAddin/projectConfig";
export declare function projectTypeQuestion(): SingleSelectQuestion;
export declare function getProjectTypeAndCapability(teamsApp: AppDefinition): {
projectType: string;
templateId: string;
} | undefined;
export declare function isFromDevPortal(inputs: Inputs | undefined): boolean;
export declare function capabilityQuestion(): SingleSelectQuestion;
export declare function meArchitectureQuestion(): SingleSelectQuestion;
export declare function SPFxPackageSelectQuestion(): SingleSelectQuestion;
export declare function SPFxFrameworkQuestion(): SingleSelectQuestion;
export declare function SPFxWebpartNameQuestion(): TextInputQuestion;
export declare function SPFxImportFolderQuestion(hasDefaultFunc?: boolean): FolderQuestion;
export declare function officeAddinFrameworkQuestion(): SingleSelectQuestion;
export declare function getAddinFrameworkOptions(inputs: Inputs): OptionItem[];
/**
* when project-type=office-addin-type(office-addin-framework-type=default or react), use selected value;
* when project-type=outlook-addin-type, no framework to select, office-addin-framework-type=default_old
* when project-type=office-xml-addin-type, no framework to select, office-addin-framework-type=default_old
*/
export declare function getOfficeAddinFramework(inputs: Inputs): string;
export declare function getOfficeAddinTemplateConfig(): IOfficeAddinHostConfig;
export declare function getLanguageOptions(inputs: Inputs): OptionItem[];
export declare function programmingLanguageQuestion(): SingleSelectQuestion;
export declare function folderQuestion(): FolderQuestion;
export declare function getSolutionName(spfxFolder: string): Promise<string | undefined>;
export declare function appNameQuestion(): TextInputQuestion;
export declare function apiSpecLocationQuestion(includeExistingAPIs?: boolean): SingleFileOrInputQuestion;
export declare function apiAuthQuestion(): SingleSelectQuestion;
export declare function apiOperationQuestion(includeExistingAPIs?: boolean, isAddPlugin?: boolean): MultiSelectQuestion;
export declare function apiPluginStartQuestion(doesProjectExists?: boolean): SingleSelectQuestion;
export declare function pluginManifestQuestion(): SingleFileQuestion;
export declare function pluginApiSpecQuestion(): SingleFileQuestion;
export declare function capabilitySubTree(): IQTreeNode;
export declare function createProjectQuestionNode(): IQTreeNode;
export declare function createSampleProjectQuestionNode(): IQTreeNode;
export declare function createProjectCliHelpNode(): IQTreeNode;
//# sourceMappingURL=create.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../src/question/create.ts"],"names":[],"mappings":"AAGA,OAAO,EAGL,cAAc,EACd,UAAU,EACV,MAAM,EACN,mBAAmB,EACnB,UAAU,EAEV,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EAGpB,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAahC,OAAO,EAAE,aAAa,EAAE,MAAM,sEAAsE,CAAC;AAYrG,OAAO,EACL,sBAAsB,EAEvB,MAAM,qDAAqD,CAAC;AAuC7D,wBAAgB,mBAAmB,IAAI,oBAAoB,CAuD1D;AAED,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,aAAa,GACtB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CA2BzD;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEnE;AACD,wBAAgB,kBAAkB,IAAI,oBAAoB,CA2FzD;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAkB7D;AAmDD,wBAAgB,yBAAyB,IAAI,oBAAoB,CAoEhE;AAED,wBAAgB,qBAAqB,IAAI,oBAAoB,CAe5D;AAED,wBAAgB,uBAAuB,IAAI,iBAAiB,CA6C3D;AAED,wBAAgB,wBAAwB,CAAC,cAAc,UAAQ,GAAG,cAAc,CAc/E;AAED,wBAAgB,4BAA4B,IAAI,oBAAoB,CAiBnE;AAED,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,EAAE,CAiBrE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAY9D;AAED,wBAAgB,4BAA4B,IAAI,sBAAsB,CAErE;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,UAAU,EAAE,CAsD/D;AAED,wBAAgB,2BAA2B,IAAI,oBAAoB,CA2ClE;AAED,wBAAgB,cAAc,IAAI,cAAc,CAgB/C;AAED,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAYrF;AACD,wBAAgB,eAAe,IAAI,iBAAiB,CA8DnD;AAiND,wBAAgB,uBAAuB,CAAC,mBAAmB,UAAO,GAAG,yBAAyB,CAmF7F;AAED,wBAAgB,eAAe,IAAI,oBAAoB,CAyBtD;AAED,wBAAgB,oBAAoB,CAClC,mBAAmB,UAAO,EAC1B,WAAW,UAAQ,GAClB,mBAAmB,CAwGrB;AAkID,wBAAgB,sBAAsB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,oBAAoB,CAuBxF;AAED,wBAAgB,sBAAsB,IAAI,kBAAkB,CAkD3D;AAED,wBAAgB,qBAAqB,IAAI,kBAAkB,CAkE1D;AAED,wBAAgB,iBAAiB,IAAI,UAAU,CA6O9C;AAED,wBAAgB,yBAAyB,IAAI,UAAU,CAkDtD;AAED,wBAAgB,+BAA+B,IAAI,UAAU,CAS5D;AAED,wBAAgB,wBAAwB,IAAI,UAAU,CAerD"}
File diff suppressed because it is too large. Load diff
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../src/question/create.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAgBgC;AAChC,gEAA0B;AAC1B,+DAAyC;AACzC,mCAAmC;AACnC,+CAAyB;AACzB,mDAA6B;AAC7B,mDAAuE;AACvE,qDAAkD;AAClD,yDAA0E;AAC1E,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kB;YAClB,IAAI,eAAe,CAAC,MAAM,CAAC,EAAE;gBAC3B,MAAM,UAAU,GAAG,MAAA,2BAA2B,CAAC,MAAM,CAAC,eAAe,CAAC,0CAAE,UAAU,CAAC;gBACnF,IAAI,UAAU,EAAE;oBACd,OAAO,CAAC,UAAU,CAAC,CAAC;iBACrB;aACF;YACD,sBAAsB;YACtB,IAAI,MAAM,CAAC,QAAQ,KAAK,sBAAQ,CAAC,EAAE,EAAE;gBACnC,OAAO,6BAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;aAC7C;YAED,IAAI,MAAM,CAAC,cAAc,IAAI,MAAM,CAAC,QAAQ,KAAK,sBAAQ,CAAC,GAAG,EAAE;gBAC7D,uEAAuE;gBACvE,OAAO,6BAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;aACtC;YAED,8CAA8C;YAC9C,MAAM,WAAW,GAAG,MAAM,CAAC,yBAAa,CAAC,WAAW,CAAC,CAAC;YACtD,IAAI,WAAW,KAAK,8BAAkB,CAAC,GAAG,EAAE,CAAC,EAAE,EAAELine truncated
+4
View File
@@ -0,0 +1,4 @@
import { IQTreeNode } from "@microsoft/teamsfx-api";
export declare function generateCliOptions(node: IQTreeNode, name: string, optionFolder?: string, excludes?: string[]): Promise<void>;
export declare function generateInputs(node: IQTreeNode, name: string, inputsFolder?: string, excludes?: string[]): Promise<void>;
//# sourceMappingURL=generator.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"generator.d.ts","sourceRoot":"","sources":["../../src/question/generator.ts"],"names":[],"mappings":"AAGA,OAAO,EAML,UAAU,EAKX,MAAM,wBAAwB,CAAC;AAoIhC,wBAAsB,kBAAkB,CACtC,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM,EACZ,YAAY,SAA2B,EACvC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAClB,OAAO,CAAC,IAAI,CAAC,CAqIf;AAED,wBAAsB,cAAc,CAClC,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,MAAM,EACZ,YAAY,SAA0B,EACtC,QAAQ,WAAa,GACpB,OAAO,CAAC,IAAI,CAAC,CAmGf"}
+369
View File
@@ -0,0 +1,369 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.generateInputs = exports.generateCliOptions = void 0;
const tslib_1 = require("tslib");
const teamsfx_api_1 = require("@microsoft/teamsfx-api");
const path_1 = tslib_1.__importDefault(require("path"));
const ts_morph_1 = require("ts-morph");
const _1 = require(".");
const validationUtils_1 = require("../ui/validationUtils");
async function collectNodesForCliOptions(node, nodeList) {
if (node.cliOptionDisabled === "all")
return;
if (node.data.type !== "group" &&
(!node.cliOptionDisabled || node.cliOptionDisabled !== "self")) {
nodeList.push(node);
}
let currentOptions = [];
if (node.data.type === "singleSelect" || node.data.type === "multiSelect") {
currentOptions = node.data.staticOptions.map((option) => typeof option === "string" ? option : option.id);
}
if (node.children && (!node.cliOptionDisabled || node.cliOptionDisabled !== "children")) {
for (const child of node.children) {
if (child.condition && typeof child.condition !== "function" && currentOptions.length > 0) {
// try to exclude one case: parent value has a range, child condition is not functional condition,
// and none of the value in the range satisfies the condition
let someChoiceIsValid = false;
for (const parentValue of currentOptions) {
const res = await (0, validationUtils_1.validate)(child.condition, parentValue);
if (res === undefined) {
someChoiceIsValid = true;
break;
}
}
if (someChoiceIsValid) {
await collectNodesForCliOptions(child, nodeList);
}
// if all choices are invalid, trim the child node
}
else {
await collectNodesForCliOptions(child, nodeList);
}
}
}
}
async function collectNodesForInputs(node, nodeList) {
if (node.inputsDisabled === "all")
return;
if (node.data.type !== "group" && (!node.inputsDisabled || node.inputsDisabled !== "self")) {
nodeList.push(node);
}
let currentOptions = [];
if (node.data.type === "singleSelect" || node.data.type === "multiSelect") {
currentOptions = node.data.staticOptions.map((option) => typeof option === "string" ? option : option.id);
}
if (node.children && (!node.inputsDisabled || node.inputsDisabled !== "children")) {
for (const child of node.children) {
if (child.condition && typeof child.condition !== "function" && currentOptions.length > 0) {
// try to exclude one case: parent value has a range, child condition is not functional condition,
// and none of the value in the range satisfies the condition
let someChoiceIsValid = false;
for (const parentValue of currentOptions) {
const res = await (0, validationUtils_1.validate)(child.condition, parentValue);
if (res === undefined) {
someChoiceIsValid = true;
break;
}
}
if (someChoiceIsValid) {
await collectNodesForInputs(child, nodeList);
}
// if all choices are invalid, trim the child node
}
else {
await collectNodesForInputs(child, nodeList);
}
}
}
}
async function computeRequired(node) {
// console.log("computeRequired", node.data.name, "required:", (node.data as any).required);
if (node.children) {
const parentRequired = node.data.required || false;
for (const child of node.children) {
let childRequired = child.data.required || false;
if (!childRequired) {
if (!child.condition && parentRequired) {
childRequired = true;
}
else {
if (typeof child.condition === "function") {
const isValid = await child.condition({
platform: teamsfx_api_1.Platform.CLI_HELP,
});
if (isValid && parentRequired) {
childRequired = true;
}
}
}
}
if (childRequired && child.data.required !== false)
child.data.required = true;
// console.log(
// child.data.name,
// "parent required:",
// parentRequired,
// "child required:",
// (child.data as any).required,
// "child condition:",
// child.condition,
// "computed required:",
// (child.data as any).required
// );
await computeRequired(child);
}
}
}
const notice = "/****************************************************************************************\n" +
" * NOTICE: AUTO-GENERATED *\n" +
" ****************************************************************************************\n" +
` * This file is automatically generated by script "./src/question/generator.ts". *\n` +
" * Please don't manually change its contents, as any modifications will be overwritten! *\n" +
" ***************************************************************************************/\n\n\n";
async function generateCliOptions(node, name, optionFolder = "./src/question/options", excludes) {
// initialize
const project = new ts_morph_1.Project({
manipulationSettings: {
indentationText: ts_morph_1.IndentationText.TwoSpaces, // Set the indentation to 2 spaces
},
});
const optionFile = project.createSourceFile(path_1.default.join(optionFolder, `${name}Options.ts`), "", {
overwrite: true,
});
const cliNodeList = [];
await collectNodesForCliOptions(node, cliNodeList);
// console.log(`node collected: ${nodeList.map((n) => n.data.name).join(",")}`);
node.data.required = true;
await computeRequired(node);
const questionNames = new Set();
const cliOptions = [];
const cliArguments = [];
for (const node of cliNodeList) {
const data = node.data;
const questionName = data.name;
const cliName = data.cliName || questionName;
if (excludes === null || excludes === void 0 ? void 0 : excludes.includes(cliName))
continue;
if (questionNames.has(questionName)) {
continue;
}
const title = data.title
? typeof data.title !== "function"
? data.title
: await data.title({ platform: teamsfx_api_1.Platform.CLI_HELP })
: undefined;
const defaultValue = data.default
? typeof data.default !== "function"
? data.default
: await data.default({ platform: teamsfx_api_1.Platform.CLI_HELP })
: undefined;
const propDocDescription = title || data.name;
const option = {
name: cliName,
questionName: questionName === cliName ? undefined : questionName,
type: getOptionType(data),
shortName: data.cliShortName,
description: data.cliDescription || propDocDescription,
required: data.required,
default: data.isBoolean ? Boolean(defaultValue) : defaultValue,
};
if (data.cliHidden) {
option.hidden = data.cliHidden;
}
if (data.type === "singleSelect" || data.type === "multiSelect") {
const selection = data;
const options = selection.staticOptions;
if (data.isBoolean) {
}
else if (options.length > 0) {
const choices = options.map((o) => (typeof o === "string" ? o : o.id));
option.choices = choices;
}
option.choiceListCommand =
selection.cliChoiceListCommand;
if (selection.skipValidation)
option.skipValidation = selection.skipValidation;
}
questionNames.add(questionName);
if (data.cliType !== "argument") {
cliOptions.push(option);
}
else {
cliArguments.push(option);
}
}
const optionInitializerCode = JSON.stringify(cliOptions, null, 2)
.replace(/"([^"]+)":/g, "$1:")
.replace(/\\"/g, '"')
.replace(/\n}$/g, ",\n}");
const argumentInitializerCode = JSON.stringify(cliArguments, null, 2)
.replace(/"([^"]+)":/g, "$1:")
.replace(/\\"/g, '"');
optionFile.addVariableStatement({
declarationKind: ts_morph_1.VariableDeclarationKind.Const,
isExported: true,
declarations: [
{
name: name + "Options",
type: "CLICommandOption[]",
initializer: optionInitializerCode,
},
],
});
optionFile.addVariableStatement({
declarationKind: ts_morph_1.VariableDeclarationKind.Const,
isExported: true,
declarations: [
{
name: name + "Arguments",
type: "CLICommandArgument[]",
initializer: argumentInitializerCode,
},
],
});
optionFile.addImportDeclaration({
namedImports: ["CLICommandOption", "CLICommandArgument"],
moduleSpecifier: "@microsoft/teamsfx-api",
});
optionFile.insertText(0, "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n" + notice);
optionFile.formatText();
await updateExports("./src/question/options/index.ts", `export * from "./${name}Options";`);
await project.save();
}
exports.generateCliOptions = generateCliOptions;
async function generateInputs(node, name, inputsFolder = "./src/question/inputs", excludes = ["folder"]) {
// initialize
const project = new ts_morph_1.Project({
manipulationSettings: {
indentationText: ts_morph_1.IndentationText.TwoSpaces, // Set the indentation to 2 spaces
},
});
const inputsFile = project.createSourceFile(path_1.default.join(inputsFolder, `${name}Inputs.ts`), "", {
overwrite: true,
});
const inputsNodeList = [];
await collectNodesForInputs(node, inputsNodeList);
// console.log(`node collected: ${nodeList.map((n) => n.data.name).join(",")}`);
node.data.required = true;
await computeRequired(node);
const questionNames = new Set();
const properties = [];
for (const node of inputsNodeList) {
const data = node.data;
const questionName = data.name;
const cliName = data.cliName || questionName;
if (excludes.includes(cliName))
continue;
if (questionNames.has(questionName)) {
continue;
}
let type = "string";
const title = data.title
? typeof data.title !== "function"
? data.title
: await data.title({ platform: teamsfx_api_1.Platform.CLI_HELP })
: undefined;
const propDocDescription = title || data.name;
if (data.type === "singleSelect" || data.type === "multiSelect") {
const selection = data;
const options = selection.staticOptions;
if (data.isBoolean) {
type = "boolean";
}
else if (options.length > 0) {
const optionStrings = options.map((o) => (typeof o === "string" ? o : o.id));
type = selection.skipValidation ? "string" : optionStrings.map((i) => `"${i}"`).join(" | ");
}
else {
type = "string";
}
if (data.type === "multiSelect") {
type += "[]";
}
}
const inputPropName = questionName.includes("-") ? `"${questionName}"` : questionName;
properties.push({
name: inputPropName,
type: type,
hasQuestionToken: true,
docs: [`@description ${propDocDescription}`],
});
questionNames.add(questionName);
}
inputsFile.addInterface({
name: name + "Inputs",
isExported: true,
properties: properties,
extends: ["Inputs"],
});
inputsFile.addImportDeclaration({
namedImports: ["Inputs"],
moduleSpecifier: "@microsoft/teamsfx-api",
});
inputsFile.insertText(0, "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n" + notice);
inputsFile.formatText();
await updateExports("./src/question/inputs/index.ts", `export * from "./${name}Inputs";`);
await project.save();
}
exports.generateInputs = generateInputs;
function getOptionType(question) {
if (question.isBoolean)
return "boolean";
if (question.type === "multiSelect") {
return "array";
}
return "string";
}
async function updateExports(filePath, exportStatement) {
const project = new ts_morph_1.Project();
try {
const sourceFile = project.addSourceFileAtPathIfExists(filePath);
if (!sourceFile)
return;
const hasExport = sourceFile.getStatements().some((statement) => {
return (statement.getKind() === ts_morph_1.SyntaxKind.ExportDeclaration &&
statement.getText().trim() === exportStatement);
});
if (!hasExport) {
sourceFile.addStatements([exportStatement]);
await sourceFile.save();
console.log(`Export statement '${exportStatement}' added successfully.`);
}
}
catch (err) {
console.error("Error occurred:", err);
return;
}
}
async function batchGenerate() {
await generateCliOptions(_1.questionNodes.createProject(), "CreateProject");
await generateInputs(_1.questionNodes.createProject(), "CreateProject");
await generateCliOptions(_1.questionNodes.createSampleProject(), "CreateSampleProject");
await generateInputs(_1.questionNodes.createSampleProject(), "CreateSampleProject");
await generateCliOptions(_1.questionNodes.addWebpart(), "SPFxAddWebpart");
await generateInputs(_1.questionNodes.addWebpart(), "SPFxAddWebpart");
await generateCliOptions(_1.questionNodes.createNewEnv(), "CreateEnv");
await generateInputs(_1.questionNodes.createNewEnv(), "CreateEnv");
await generateCliOptions(_1.questionNodes.selectTeamsAppManifest(), "SelectTeamsManifest");
await generateInputs(_1.questionNodes.selectTeamsAppManifest(), "SelectTeamsManifest");
await generateCliOptions(_1.questionNodes.validateTeamsApp(), "ValidateTeamsApp");
await generateInputs(_1.questionNodes.validateTeamsApp(), "ValidateTeamsApp");
await generateCliOptions(_1.questionNodes.previewWithTeamsAppManifest(), "PreviewTeamsApp");
await generateInputs(_1.questionNodes.previewWithTeamsAppManifest(), "PreviewTeamsApp");
await generateCliOptions(_1.questionNodes.grantPermission(), "PermissionGrant");
await generateInputs(_1.questionNodes.grantPermission(), "PermissionGrant");
await generateCliOptions(_1.questionNodes.listCollaborator(), "PermissionList");
await generateInputs(_1.questionNodes.listCollaborator(), "PermissionList");
await generateCliOptions(_1.questionNodes.deployAadManifest(), "DeployAadManifest");
await generateInputs(_1.questionNodes.deployAadManifest(), "DeployAadManifest");
await generateCliOptions(_1.questionNodes.addPlugin(), "AddPlugin");
await generateInputs(_1.questionNodes.addPlugin(), "AddPlugin");
await generateCliOptions(_1.questionNodes.uninstall(), "Uninstall");
await generateInputs(_1.questionNodes.uninstall(), "Uninstall");
await generateCliOptions(_1.questionNodes.syncManifest(), "SyncManifest");
await generateInputs(_1.questionNodes.syncManifest(), "SyncManifest");
}
void batchGenerate();
//# sourceMappingURL=generator.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"generator.js","sourceRoot":"","sources":["../../src/question/generator.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAElC,wDAWgC;AAChC,wDAAwB;AACxB,uCAOkB;AAClB,wBAAkC;AAClC,2DAAiD;AAEjD,KAAK,UAAU,yBAAyB,CAAC,IAAgB,EAAE,QAAsB;IAC/E,IAAI,IAAI,CAAC,iBAAiB,KAAK,KAAK;QAAE,OAAO;IAC7C,IACE,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,OAAO;QAC1B,CAAC,CAAC,IAAI,CAAC,iBAAiB,IAAI,IAAI,CAAC,iBAAiB,KAAK,MAAM,CAAC,EAC9D;QACA,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACrB;IACD,IAAI,cAAc,GAAa,EAAE,CAAC;IAClC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,aAAa,EAAE;QACzE,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CACtD,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAA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U;gBAClC,CAAC,CAAC,IAAI,CAAC,OAAO;gBACd,CAAC,CAAC,MAAM,IAAI,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,sBAAQ,CAAC,QAAQ,EAAE,CAAC;YACvD,CALine truncated
+26
View File
@@ -0,0 +1,26 @@
import { IQTreeNode } from "@microsoft/teamsfx-api";
export * from "./constants";
export * from "./create";
export * from "./inputs";
export * from "./options";
export declare class QuestionNodes {
createProject(): IQTreeNode;
createSampleProject(): IQTreeNode;
createProjectCliHelp(): IQTreeNode;
addWebpart(): IQTreeNode;
selectTeamsAppManifest(): IQTreeNode;
validateTeamsApp(): IQTreeNode;
previewWithTeamsAppManifest(): IQTreeNode;
listCollaborator(): IQTreeNode;
grantPermission(): IQTreeNode;
deployAadManifest(): IQTreeNode;
createNewEnv(): IQTreeNode;
copilotPluginAddAPI(): IQTreeNode;
apiKey(): IQTreeNode;
oauth(): IQTreeNode;
addPlugin(): IQTreeNode;
uninstall(): IQTreeNode;
syncManifest(): IQTreeNode;
}
export declare const questionNodes: QuestionNodes;
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/question/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAsBpD,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAE1B,qBAAa,aAAa;IACxB,aAAa,IAAI,UAAU;IAG3B,mBAAmB,IAAI,UAAU;IAGjC,oBAAoB,IAAI,UAAU;IAGlC,UAAU,IAAI,UAAU;IAGxB,sBAAsB,IAAI,UAAU;IAGpC,gBAAgB,IAAI,UAAU;IAG9B,2BAA2B,IAAI,UAAU;IAGzC,gBAAgB,IAAI,UAAU;IAG9B,eAAe,IAAI,UAAU;IAG7B,iBAAiB,IAAI,UAAU;IAG/B,YAAY,IAAI,UAAU;IAG1B,mBAAmB,IAAI,UAAU;IAGjC,MAAM,IAAI,UAAU;IAGpB,KAAK,IAAI,UAAU;IAGnB,SAAS,IAAI,UAAU;IAGvB,SAAS,IAAI,UAAU;IAGvB,YAAY,IAAI,UAAU;CAG3B;AAED,eAAO,MAAM,aAAa,eAAsB,CAAC"}
+68
View File
@@ -0,0 +1,68 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.questionNodes = exports.QuestionNodes = void 0;
const tslib_1 = require("tslib");
const create_1 = require("./create");
const other_1 = require("./other");
tslib_1.__exportStar(require("./constants"), exports);
tslib_1.__exportStar(require("./create"), exports);
tslib_1.__exportStar(require("./inputs"), exports);
tslib_1.__exportStar(require("./options"), exports);
class QuestionNodes {
createProject() {
return (0, create_1.createProjectQuestionNode)();
}
createSampleProject() {
return (0, create_1.createSampleProjectQuestionNode)();
}
createProjectCliHelp() {
return (0, create_1.createProjectCliHelpNode)();
}
addWebpart() {
return (0, other_1.addWebPartQuestionNode)();
}
selectTeamsAppManifest() {
return (0, other_1.selectTeamsAppManifestQuestionNode)();
}
validateTeamsApp() {
return (0, other_1.validateTeamsAppQuestionNode)();
}
previewWithTeamsAppManifest() {
return (0, other_1.previewWithTeamsAppManifestQuestionNode)();
}
listCollaborator() {
return (0, other_1.listCollaboratorQuestionNode)();
}
grantPermission() {
return (0, other_1.grantPermissionQuestionNode)();
}
deployAadManifest() {
return (0, other_1.deployAadManifestQuestionNode)();
}
createNewEnv() {
return (0, other_1.createNewEnvQuestionNode)();
}
copilotPluginAddAPI() {
return (0, other_1.copilotPluginAddAPIQuestionNode)();
}
apiKey() {
return (0, other_1.apiSpecApiKeyQuestion)();
}
oauth() {
return (0, other_1.oauthQuestion)();
}
addPlugin() {
return (0, other_1.addPluginQuestionNode)();
}
uninstall() {
return (0, other_1.uninstallQuestionNode)();
}
syncManifest() {
return (0, other_1.syncManifestQuestionNode)();
}
}
exports.QuestionNodes = QuestionNodes;
exports.questionNodes = new QuestionNodes();
//# sourceMappingURL=index.js.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/question/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;AAGlC,qCAIkB;AAClB,mCAeiB;AACjB,sDAA4B;AAC5B,mDAAyB;AACzB,mDAAyB;AACzB,oDAA0B;AAE1B,MAAa,aAAa;IACxB,aAAa;QACX,OAAO,IAAA,kCAAyB,GAAE,CAAC;IACrC,CAAC;IACD,mBAAmB;QACjB,OAAO,IAAA,wCAA+B,GAAE,CAAC;IAC3C,CAAC;IACD,oBAAoB;QAClB,OAAO,IAAA,iCAAwB,GAAE,CAAC;IACpC,CAAC;IACD,UAAU;QACR,OAAO,IAAA,8BAAsB,GAAE,CAAC;IAClC,CAAC;IACD,sBAAsB;QACpB,OAAO,IAAA,0CAAkC,GAAE,CAAC;IAC9C,CAAC;IACD,gBAAgB;QACd,OAAO,IAAA,oCAA4B,GAAE,CAAC;IACxC,CAAC;IACD,2BAA2B;QACzB,OAAO,IAAA,+CAAuC,GAAE,CAAC;IACnD,CAAC;IACD,gBAAgB;QACd,OAAO,IAAA,oCAA4B,GAAE,CAAC;IACxC,CAAC;IACD,eAAe;QACb,OAAO,IAAA,mCAA2B,GAAE,CAAC;IACvC,CAAC;IACD,iBAAiB;QACf,OAAO,IAAA,qCAA6B,GAAE,CAAC;IACzC,CAAC;IACD,YAAY;QACV,OAAO,IAAA,gCAAwB,GAAE,CAAC;IACpC,CAAC;IACD,mBAAmB;QACjB,OAAO,IAAA,uCAA+B,GAAE,CAAC;IAC3C,CAAC;IACD,MAAM;QACJ,OAAO,IAAA,6BAAqB,GAAE,CAAC;IACjC,CAAC;IACD,KAAK;QACH,OAAO,IAAA,qBAAa,GAAE,CAAC;IACzB,CAAC;IACD,SAAS;QACP,OAAO,IAAA,6BAAqB,GAAE,CAAC;IACjC,CAAC;IACD,SAAS;QACP,OAAO,IAAA,6BAAqB,GAAE,CAAC;IACjC,CAAC;IACD,YAAY;QACV,OAAO,IAAA,gCAAwB,GAAE,CAAC;IACpC,CAAC;CACF;AApDD,sCAoDC;AAEY,QAAA,aAAa,GAAG,IAAI,aAAa,EAAE,CAAC"}
@@ -0,0 +1,22 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface AddPluginInputs extends Inputs {
/** @description Add API Plugin */
"api-plugin-type"?: "api-spec" | "existing-plugin";
/** @description Import Manifest File */
"plugin-manifest-path"?: string;
/** @description Import OpenAPI Description Document */
"plugin-opeanapi-spec-path"?: string;
/** @description OpenAPI Description Document */
"openapi-spec-location"?: string;
/** @description Select Operation(s) Copilot Can Interact with */
"api-operation"?: string[];
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
}
//# sourceMappingURL=AddPluginInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPluginInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/AddPluginInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,kCAAkC;IAClC,iBAAiB,CAAC,EAAE,UAAU,GAAG,iBAAiB,CAAC;IACnD,wCAAwC;IACxC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,uDAAuD;IACvD,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC,gDAAgD;IAChD,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iEAAiE;IACjE,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=AddPluginInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPluginInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/AddPluginInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,14 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface CreateEnvInputs extends Inputs {
/** @description New environment name */
newTargetEnvName?: string;
/** @description Select an environment to create copy */
sourceEnvName?: string;
}
//# sourceMappingURL=CreateEnvInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateEnvInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/CreateEnvInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,wCAAwC;IACxC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CreateEnvInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateEnvInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/CreateEnvInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,64 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface CreateProjectInputs extends Inputs {
/** @description Teams Toolkit: select runtime for your app */
runtime?: "node" | "dotnet";
/** @description New Project */
"project-type"?: "bot-type" | "tab-type" | "me-type" | "office-addin-type" | "outlook-addin-type";
/** @description Capabilities */
capabilities?: "empty" | "bot" | "notification" | "command-bot" | "workflow-bot" | "tab-non-sso" | "sso-launch-page" | "dashboard-tab" | "tab-spfx" | "search-app" | "collect-form-message-extension" | "search-message-extension" | "link-unfurling" | "api-plugin" | "declarative-agent" | "custom-copilot-basic" | "custom-copilot-rag" | "custom-copilot-agent" | "message-extension" | "BotAndMessageExtension" | "TabNonSsoAndBot" | "json-taskpane" | "office-content-addin";
/** @description Select triggers */
"bot-host-type-trigger"?: "http-express" | "http-webapi" | "http-and-timer-functions" | "http-functions" | "timer-functions";
/** @description SharePoint Solution */
"spfx-solution"?: "new" | "import";
/** @description SharePoint Framework */
"spfx-install-latest-package"?: boolean;
/** @description Framework */
"spfx-framework-type"?: "react" | "minimal" | "none";
/** @description Name for SharePoint Framework Web Part */
"spfx-webpart-name"?: string;
/** @description SPFx solution folder */
"spfx-folder"?: string;
/** @description Architecture of Search Based Message Extension */
"me-architecture"?: "new-api" | "api-spec" | "bot-plugin" | "bot";
/** @description Create Declarative Agent */
"with-plugin"?: "no" | "yes";
/** @description Create API Plugin */
"api-plugin-type"?: "new-api" | "api-spec" | "existing-plugin";
/** @description Import Manifest File */
"plugin-manifest-path"?: string;
/** @description Import OpenAPI Description Document */
"plugin-opeanapi-spec-path"?: string;
/** @description Authentication Type */
"api-auth"?: "none" | "api-key" | "microsoft-entra" | "oauth";
/** @description Chat With Your Data */
"custom-copilot-rag"?: "custom-copilot-rag-customize" | "custom-copilot-rag-azureAISearch" | "custom-copilot-rag-customApi" | "custom-copilot-rag-microsoft365";
/** @description OpenAPI Description Document */
"openapi-spec-location"?: string;
/** @description Select Operation(s) Teams Can Interact with */
"api-operation"?: string[];
/** @description AI Agent */
"custom-copilot-agent"?: "custom-copilot-agent-new" | "custom-copilot-agent-assistants-api";
/** @description Programming Language */
"programming-language"?: "javascript" | "typescript" | "csharp" | "python";
/** @description Service for Large Language Model (LLM) */
"llm-service"?: "llm-service-azure-openai" | "llm-service-openai";
/** @description Azure OpenAI Key */
"azure-openai-key"?: string;
/** @description Azure OpenAI Endpoint */
"azure-openai-endpoint"?: string;
/** @description Azure OpenAI Deployment Name */
"azure-openai-deployment-name"?: string;
/** @description OpenAI Key */
"openai-key"?: string;
/** @description Framework */
"office-addin-framework-type"?: "default" | "react";
/** @description Application Name */
"app-name"?: string;
}
//# sourceMappingURL=CreateProjectInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateProjectInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/CreateProjectInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,MAAM;IACjD,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,+BAA+B;IAC/B,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;IAClG,gCAAgC;IAChC,YAAY,CAAC,EACT,OAAO,GACP,KAAK,GACL,cAAc,GACd,aAAa,GACb,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,eAAe,GACf,UAAU,GACV,YAAY,GACZ,gCAAgC,GAChC,0BAA0B,GAC1B,gBAAgB,GAChB,YAAY,GACZ,mBAAmB,GACnB,sBAAsB,GACtB,oBAAoB,GACpB,sBAAsB,GACtB,mBAAmB,GACnB,wBAAwB,GACxB,iBAAiB,GACjB,eAAe,GACf,sBAAsB,CAAC;IAC3B,mCAAmC;IACnC,uBAAuB,CAAC,EACpB,cAAc,GACd,aAAa,GACb,0BAA0B,GAC1B,gBAAgB,GAChB,iBAA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M,CAAC;IAC5B,yCAAyC;IACzC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,gDAAgD;IAChD,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,6BAA6B,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACpD,oCAAoC;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CreateProjectInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateProjectInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/CreateProjectInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,12 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface CreateSampleProjectInputs extends Inputs {
/** @description Start from a sample */
samples?: string;
}
//# sourceMappingURL=CreateSampleProjectInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateSampleProjectInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/CreateSampleProjectInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,yBAA0B,SAAQ,MAAM;IACvD,uCAAuC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=CreateSampleProjectInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateSampleProjectInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/CreateSampleProjectInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,14 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface DeployAadManifestInputs extends Inputs {
/** @description Select Microsoft Entra manifest.json file */
"manifest-file-path"?: string;
/** @description Select an environment */
env?: string;
}
//# sourceMappingURL=DeployAadManifestInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DeployAadManifestInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/DeployAadManifestInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,uBAAwB,SAAQ,MAAM;IACrD,6DAA6D;IAC7D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;CACd"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=DeployAadManifestInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"DeployAadManifestInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/DeployAadManifestInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,18 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface PermissionGrantInputs extends Inputs {
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
/** @description Select an environment */
env?: string;
/** @description Select Microsoft Entra manifest.json file */
"manifest-file-path"?: string;
/** @description Add owner to Teams/Microsoft Entra app for the account under the same Microsoft 365 tenant (email) */
email?: string;
}
//# sourceMappingURL=PermissionGrantInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionGrantInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/PermissionGrantInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,qBAAsB,SAAQ,MAAM;IACnD,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,sHAAsH;IACtH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=PermissionGrantInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionGrantInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/PermissionGrantInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,16 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface PermissionListInputs extends Inputs {
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
/** @description Select an environment */
env?: string;
/** @description Select Microsoft Entra manifest.json file */
"manifest-file-path"?: string;
}
//# sourceMappingURL=PermissionListInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionListInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/PermissionListInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAClD,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yCAAyC;IACzC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,6DAA6D;IAC7D,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=PermissionListInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionListInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/PermissionListInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,14 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface PreviewTeamsAppInputs extends Inputs {
/** @description Platform */
"m365-host"?: "teams" | "outlook" | "office";
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
}
//# sourceMappingURL=PreviewTeamsAppInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"PreviewTeamsAppInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/PreviewTeamsAppInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,qBAAsB,SAAQ,MAAM;IACnD,4BAA4B;IAC5B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC7C,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=PreviewTeamsAppInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PreviewTeamsAppInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/PreviewTeamsAppInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,20 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface SPFxAddWebpartInputs extends Inputs {
/** @description SPFx solution folder */
"spfx-folder"?: string;
/** @description Name for SharePoint Framework Web Part */
"spfx-webpart-name"?: string;
/** @description Framework */
"spfx-framework-type"?: "react" | "minimal" | "none";
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
/** @description Select local Teams manifest.json file */
"local-manifest-path"?: string;
}
//# sourceMappingURL=SPFxAddWebpartInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"SPFxAddWebpartInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/SPFxAddWebpartInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,oBAAqB,SAAQ,MAAM;IAClD,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0DAA0D;IAC1D,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,6BAA6B;IAC7B,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACrD,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,yDAAyD;IACzD,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SPFxAddWebpartInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"SPFxAddWebpartInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/SPFxAddWebpartInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,12 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface SelectTeamsManifestInputs extends Inputs {
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
}
//# sourceMappingURL=SelectTeamsManifestInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"SelectTeamsManifestInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/SelectTeamsManifestInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,yBAA0B,SAAQ,MAAM;IACvD,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SelectTeamsManifestInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"SelectTeamsManifestInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/SelectTeamsManifestInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,16 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface SyncManifestInputs extends Inputs {
/** @description Project path */
projectPath?: string;
/** @description Target Teams Toolkit Environment */
env?: string;
/** @description Teams App ID (optional) */
"teams-app-id"?: string;
}
//# sourceMappingURL=SyncManifestInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"SyncManifestInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/SyncManifestInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,kBAAmB,SAAQ,MAAM;IAChD,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,2CAA2C;IAC3C,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=SyncManifestInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"SyncManifestInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/SyncManifestInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,22 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface UninstallInputs extends Inputs {
/** @description Choose a way to clean up resources */
mode?: "manifest-id" | "env" | "title-id";
/** @description Manifest ID */
"manifest-id"?: string;
/** @description Environment */
env?: string;
/** @description Project path */
projectPath?: string;
/** @description Choose resources to uninstall */
options?: "m365-app" | "app-registration" | "bot-framework-registration"[];
/** @description Title ID */
"title-id"?: string;
}
//# sourceMappingURL=UninstallInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"UninstallInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/UninstallInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,eAAgB,SAAQ,MAAM;IAC7C,sDAAsD;IACtD,IAAI,CAAC,EAAE,aAAa,GAAG,KAAK,GAAG,UAAU,CAAC;IAC1C,+BAA+B;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+BAA+B;IAC/B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iDAAiD;IACjD,OAAO,CAAC,EAAE,UAAU,GAAG,kBAAkB,GAAG,4BAA4B,EAAE,CAAC;IAC3E,4BAA4B;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=UninstallInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"UninstallInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/UninstallInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
@@ -0,0 +1,14 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { Inputs } from "@microsoft/teamsfx-api";
export interface ValidateTeamsAppInputs extends Inputs {
/** @description Select Teams manifest.json File */
"manifest-path"?: string;
/** @description Select Teams App Package File */
"app-package-file-path"?: string;
}
//# sourceMappingURL=ValidateTeamsAppInputs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ValidateTeamsAppInputs.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/ValidateTeamsAppInputs.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,MAAM,WAAW,sBAAuB,SAAQ,MAAM;IACpD,mDAAmD;IACnD,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iDAAiD;IACjD,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC"}
@@ -0,0 +1,5 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=ValidateTeamsAppInputs.js.map
@@ -0,0 +1 @@
{"version":3,"file":"ValidateTeamsAppInputs.js","sourceRoot":"","sources":["../../../src/question/inputs/ValidateTeamsAppInputs.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC"}
+14
View File
@@ -0,0 +1,14 @@
export * from "./CreateProjectInputs";
export * from "./CreateSampleProjectInputs";
export * from "./SPFxAddWebpartInputs";
export * from "./CreateEnvInputs";
export * from "./SelectTeamsManifestInputs";
export * from "./ValidateTeamsAppInputs";
export * from "./PreviewTeamsAppInputs";
export * from "./PermissionGrantInputs";
export * from "./PermissionListInputs";
export * from "./DeployAadManifestInputs";
export * from "./AddPluginInputs";
export * from "./UninstallInputs";
export * from "./SyncManifestInputs";
//# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/question/inputs/index.ts"],"names":[],"mappings":"AAEA,cAAc,uBAAuB,CAAC;AACtC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC"}
+19
View File
@@ -0,0 +1,19 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
tslib_1.__exportStar(require("./CreateProjectInputs"), exports);
tslib_1.__exportStar(require("./CreateSampleProjectInputs"), exports);
tslib_1.__exportStar(require("./SPFxAddWebpartInputs"), exports);
tslib_1.__exportStar(require("./CreateEnvInputs"), exports);
tslib_1.__exportStar(require("./SelectTeamsManifestInputs"), exports);
tslib_1.__exportStar(require("./ValidateTeamsAppInputs"), exports);
tslib_1.__exportStar(require("./PreviewTeamsAppInputs"), exports);
tslib_1.__exportStar(require("./PermissionGrantInputs"), exports);
tslib_1.__exportStar(require("./PermissionListInputs"), exports);
tslib_1.__exportStar(require("./DeployAadManifestInputs"), exports);
tslib_1.__exportStar(require("./AddPluginInputs"), exports);
tslib_1.__exportStar(require("./UninstallInputs"), exports);
tslib_1.__exportStar(require("./SyncManifestInputs"), exports);
//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/question/inputs/index.ts"],"names":[],"mappings":";;;AAAA,uCAAuC;AACvC,kCAAkC;AAClC,gEAAsC;AACtC,sEAA4C;AAC5C,iEAAuC;AACvC,4DAAkC;AAClC,sEAA4C;AAC5C,mEAAyC;AACzC,kEAAwC;AACxC,kEAAwC;AACxC,iEAAuC;AACvC,oEAA0C;AAC1C,4DAAkC;AAClC,4DAAkC;AAClC,+DAAqC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const AddPluginOptions: CLICommandOption[];
export declare const AddPluginArguments: CLICommandArgument[];
//# sourceMappingURL=AddPluginOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPluginOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/AddPluginOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,gBAAgB,EAAE,gBAAgB,EAyC9C,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,EAAO,CAAC"}
@@ -0,0 +1,48 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddPluginArguments = exports.AddPluginOptions = void 0;
exports.AddPluginOptions = [
{
name: "api-plugin-type",
type: "string",
description: "API plugin type.",
required: true,
default: "new-api",
choices: ["api-spec", "existing-plugin"],
},
{
name: "plugin-manifest-path",
type: "string",
description: "Plugin manifest path.",
},
{
name: "plugin-opeanapi-spec-path",
type: "string",
description: "OpenAPI description document used for your API plugin.",
},
{
name: "openapi-spec-location",
type: "string",
shortName: "a",
description: "OpenAPI description document location.",
},
{
name: "api-operation",
type: "array",
shortName: "o",
description: "Select operation(s) Copilot can interact with.",
},
{
name: "teams-manifest-file",
questionName: "manifest-path",
type: "string",
shortName: "t",
description: "Specify the path for Teams app manifest template. It can be either absolute path or relative path to the project root folder, with default at './appPackage/manifest.json'",
required: true,
default: "./appPackage/manifest.json",
},
];
exports.AddPluginArguments = [];
//# sourceMappingURL=AddPluginOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"AddPluginOptions.js","sourceRoot":"","sources":["../../../src/question/options/AddPluginOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,gBAAgB,GAAuB;IAClD;QACE,IAAI,EAAE,iBAAiB;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,kBAAkB;QAC/B,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,SAAS;QAClB,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,CAAC;KACzC;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,uBAAuB;KACrC;IACD;QACE,IAAI,EAAE,2BAA2B;QACjC,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wDAAwD;KACtE;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,wCAAwC;KACtD;IACD;QACE,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,OAAO;QACb,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,gDAAgD;KAC9D;IACD;QACE,IAAI,EAAE,qBAAqB;QAC3B,YAAY,EAAE,eAAe;QAC7B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4KAA4K;QAC9K,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,4BAA4B;KACtC;CACF,CAAC;AACW,QAAA,kBAAkB,GAAyB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const CreateEnvOptions: CLICommandOption[];
export declare const CreateEnvArguments: CLICommandArgument[];
//# sourceMappingURL=CreateEnvOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateEnvOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/CreateEnvOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,gBAAgB,EAAE,gBAAgB,EAQ9C,CAAC;AACF,eAAO,MAAM,kBAAkB,EAAE,kBAAkB,EAQlD,CAAC"}
@@ -0,0 +1,24 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateEnvArguments = exports.CreateEnvOptions = void 0;
exports.CreateEnvOptions = [
{
name: "env",
questionName: "sourceEnvName",
type: "string",
description: "Specifies an existing environment name to copy from.",
required: true,
},
];
exports.CreateEnvArguments = [
{
name: "name",
questionName: "newTargetEnvName",
type: "string",
description: "Specifies the new environment name.",
required: true,
},
];
//# sourceMappingURL=CreateEnvOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateEnvOptions.js","sourceRoot":"","sources":["../../../src/question/options/CreateEnvOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,gBAAgB,GAAuB;IAClD;QACE,IAAI,EAAE,KAAK;QACX,YAAY,EAAE,eAAe;QAC7B,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,sDAAsD;QACnE,QAAQ,EAAE,IAAI;KACf;CACF,CAAC;AACW,QAAA,kBAAkB,GAAyB;IACtD;QACE,IAAI,EAAE,MAAM;QACZ,YAAY,EAAE,kBAAkB;QAChC,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,qCAAqC;QAClD,QAAQ,EAAE,IAAI;KACf;CACF,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const CreateProjectOptions: CLICommandOption[];
export declare const CreateProjectArguments: CLICommandArgument[];
//# sourceMappingURL=CreateProjectOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateProjectOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/CreateProjectOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,oBAAoB,EAAE,gBAAgB,EA0NlD,CAAC;AACF,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAAO,CAAC"}
@@ -0,0 +1,226 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateProjectArguments = exports.CreateProjectOptions = void 0;
exports.CreateProjectOptions = [
{
name: "runtime",
type: "string",
description: "Teams Toolkit: select runtime for your app",
default: "node",
hidden: true,
choices: ["node", "dotnet"],
},
{
name: "capability",
questionName: "capabilities",
type: "string",
shortName: "c",
description: "Specifies the Microsoft Teams App capability.",
required: true,
choices: [
"empty",
"bot",
"notification",
"command-bot",
"workflow-bot",
"tab-non-sso",
"sso-launch-page",
"dashboard-tab",
"tab-spfx",
"search-app",
"collect-form-message-extension",
"search-message-extension",
"link-unfurling",
"api-plugin",
"declarative-agent",
"custom-copilot-basic",
"custom-copilot-rag",
"custom-copilot-agent",
"message-extension",
"BotAndMessageExtension",
"TabNonSsoAndBot",
"json-taskpane",
"office-content-addin",
],
choiceListCommand: "teamsapp list templates",
},
{
name: "bot-host-type-trigger",
type: "string",
shortName: "t",
description: "Specifies the trigger for `Chat Notification Message` app template.",
default: "http-express",
choices: [
"http-express",
"http-webapi",
"http-and-timer-functions",
"http-functions",
"timer-functions",
],
},
{
name: "spfx-solution",
type: "string",
shortName: "s",
description: "Create a new or import an existing SharePoint Framework solution.",
default: "new",
choices: ["new", "import"],
},
{
name: "spfx-install-latest-package",
type: "boolean",
description: "Install the latest version of SharePoint Framework.",
default: true,
},
{
name: "spfx-framework-type",
type: "string",
shortName: "k",
description: "Framework.",
default: "react",
choices: ["react", "minimal", "none"],
},
{
name: "spfx-webpart-name",
type: "string",
shortName: "w",
description: "Name for SharePoint Framework Web Part.",
default: "helloworld",
},
{
name: "spfx-folder",
type: "string",
description: "Directory or Path that contains the existing SharePoint Framework solution.",
},
{
name: "me-architecture",
type: "string",
shortName: "m",
description: "Architecture of Search Based Message Extension.",
default: "new-api",
choices: ["new-api", "api-spec", "bot-plugin", "bot"],
},
{
name: "with-plugin",
type: "string",
description: "Whether to add API plugin for your declarative Copilot.",
default: "no",
choices: ["no", "yes"],
},
{
name: "api-plugin-type",
type: "string",
description: "API plugin type.",
default: "new-api",
choices: ["new-api", "api-spec", "existing-plugin"],
},
{
name: "plugin-manifest-path",
type: "string",
description: "Plugin manifest path.",
},
{
name: "plugin-opeanapi-spec-path",
type: "string",
description: "OpenAPI description document used for your API plugin.",
},
{
name: "api-auth",
type: "string",
description: "The authentication type for the API.",
default: "none",
choices: ["none", "api-key", "microsoft-entra", "oauth"],
},
{
name: "custom-copilot-rag",
type: "string",
description: "Chat With Your Data",
default: "custom-copilot-rag-customize",
choices: [
"custom-copilot-rag-customize",
"custom-copilot-rag-azureAISearch",
"custom-copilot-rag-customApi",
"custom-copilot-rag-microsoft365",
],
},
{
name: "openapi-spec-location",
type: "string",
shortName: "a",
description: "OpenAPI description document location.",
},
{
name: "api-operation",
type: "array",
shortName: "o",
description: "Select operation(s) Teams can interact with.",
},
{
name: "custom-copilot-agent",
type: "string",
description: "AI Agent",
default: "custom-copilot-agent-new",
choices: ["custom-copilot-agent-new", "custom-copilot-agent-assistants-api"],
},
{
name: "programming-language",
type: "string",
shortName: "l",
description: "Programming Language",
default: "javascript",
choices: ["javascript", "typescript", "csharp", "python"],
},
{
name: "llm-service",
type: "string",
description: "Service for Large Language Model (LLM)",
default: "llm-service-azure-openai",
choices: ["llm-service-azure-openai", "llm-service-openai"],
},
{
name: "azure-openai-key",
type: "string",
description: "Azure OpenAI Key",
},
{
name: "azure-openai-endpoint",
type: "string",
description: "Azure OpenAI Endpoint",
},
{
name: "azure-openai-deployment-name",
type: "string",
description: "Azure OpenAI Deployment Name",
},
{
name: "openai-key",
type: "string",
description: "OpenAI Key",
},
{
name: "office-addin-framework-type",
type: "string",
shortName: "f",
description: "Framework for WXP extension.",
choices: ["default", "react"],
},
{
name: "folder",
type: "string",
shortName: "f",
description: "Directory where the project folder will be created in.",
required: true,
default: "./",
},
{
name: "app-name",
type: "string",
shortName: "n",
description: "Application Name",
required: true,
},
];
exports.CreateProjectArguments = [];
//# sourceMappingURL=CreateProjectOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateProjectOptions.js","sourceRoot":"","sources":["../../../src/question/options/CreateProjectOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,oBAAoB,GAAuB;IACtD;QACE,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,4CAA4C;QACzD,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;KAC5B;IACD;QACE,IAAI,EAAE,YAAY;QAClB,YAAY,EAAE,cAAc;QAC5B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,+CAA+C;QAC5D,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,OAAO;YACP,KAAK;YACL,cAAc;YACd,aAAa;YACb,cAAc;YACd,aAAa;YACb,iBAAiB;YACjB,eAAe;YACf,UAAU;YACV,YAAY;YACZ,gCAAgC;YAChC,0BAA0B;YAC1B,gBAAgB;YAChB,YAAY;YACZ,mBAAmB;YACnB,sBAAsB;YACtB,oBAAoB;YACpB,sBAAsB;YACtB,mBAAmB;YACnB,wBAAwB;YACxB,iBAAiB;YACjB,eAAe;YACf,sBAAsB;SACvB;QACD,iBAAiB,EAAE,yBAAyB;KAC7C;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,E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AAE,YAAY,EAAE,QAAQ,EAAE,QAAQ,CAAC;KAC1D;IACD;QACE,IAAI,EAAE,aAAa;QACnB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,wCAAwC;QACrD,OAAO,EAAE,0BAA0B;QACnC,OAAO,EAAE,CAAC,0BAA0B,EAAE,oBAAoB,CAAC;KAC5D;IACD;QACE,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,kBAAkB;KAChC;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,uBAAuB;KACrC;IACD;QACE,IAAI,EAAE,8BAA8B;QACpC,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,8BAA8B;KAC5C;IACD;QACE,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,YAAY;KAC1B;IACD;QACE,IAAI,EAAE,6BAA6B;QACnC,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,8BAA8B;QAC3C,OAAO,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;KAC9B;IACD;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;KACd;IACD;QACE,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,kBAAkB;QAC/B,QAAQ,EAAE,IAAI;KACf;CACF,CAAC;AACW,QAAA,sBAAsB,GAAyB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const CreateSampleProjectOptions: CLICommandOption[];
export declare const CreateSampleProjectArguments: CLICommandArgument[];
//# sourceMappingURL=CreateSampleProjectOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateSampleProjectOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/CreateSampleProjectOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,0BAA0B,EAAE,gBAAgB,EASxD,CAAC;AACF,eAAO,MAAM,4BAA4B,EAAE,kBAAkB,EAuC5D,CAAC"}
@@ -0,0 +1,56 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.CreateSampleProjectArguments = exports.CreateSampleProjectOptions = void 0;
exports.CreateSampleProjectOptions = [
{
name: "folder",
type: "string",
shortName: "f",
description: "Directory where the project folder will be created in.",
required: true,
default: "./",
},
];
exports.CreateSampleProjectArguments = [
{
name: "sample-name",
questionName: "samples",
type: "string",
description: "Specifies the Microsoft Teams App sample name.",
required: true,
choices: [
"hello-world-tab-with-backend",
"graph-toolkit-contact-exporter",
"bot-sso",
"todo-list-SPFx",
"hello-world-in-meeting",
"todo-list-with-Azure-backend-M365",
"NPM-search-connector-M365",
"bot-proactive-messaging-teamsfx",
"adaptive-card-notification",
"incoming-webhook-notification",
"stocks-update-notification-bot",
"query-org-user-with-message-extension-sso",
"team-central-dashboard",
"graph-connector-app",
"graph-toolkit-one-productivity-hub",
"todo-list-with-Azure-backend",
"share-now",
"hello-world-teams-tab-and-outlook-add-in",
"outlook-add-in-set-signature",
"developer-assist-dashboard",
"live-share-dice-roller",
"teams-chef-bot",
"spfx-productivity-dashboard",
"react-retail-dashboard",
"sso-enabled-tab-via-apim-proxy",
"large-scale-notification",
"graph-connector-bot",
],
choiceListCommand: "teamsapp list samples",
skipValidation: true,
},
];
//# sourceMappingURL=CreateSampleProjectOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"CreateSampleProjectOptions.js","sourceRoot":"","sources":["../../../src/question/options/CreateSampleProjectOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,0BAA0B,GAAuB;IAC5D;QACE,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EAAE,wDAAwD;QACrE,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE,IAAI;KACd;CACF,CAAC;AACW,QAAA,4BAA4B,GAAyB;IAChE;QACE,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,SAAS;QACvB,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,gDAAgD;QAC7D,QAAQ,EAAE,IAAI;QACd,OAAO,EAAE;YACP,8BAA8B;YAC9B,gCAAgC;YAChC,SAAS;YACT,gBAAgB;YAChB,wBAAwB;YACxB,mCAAmC;YACnC,2BAA2B;YAC3B,iCAAiC;YACjC,4BAA4B;YAC5B,+BAA+B;YAC/B,gCAAgC;YAChC,2CAA2C;YAC3C,wBAAwB;YACxB,qBAAqB;YACrB,oCAAoC;YACpC,8BAA8B;YAC9B,WAAW;YACX,0CAA0C;YAC1C,8BAA8B;YAC9B,4BAA4B;YAC5B,wBAAwB;YACxB,gBAAgB;YAChB,6BAA6B;YAC7B,wBAAwB;YACxB,gCAAgC;YAChC,0BAA0B;YAC1B,qBAAqB;SACtB;QACD,iBAAiB,EAAE,uBAAuB;QAC1C,cAAc,EAAE,IAAI;KACrB;CACF,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const DeployAadManifestOptions: CLICommandOption[];
export declare const DeployAadManifestArguments: CLICommandArgument[];
//# sourceMappingURL=DeployAadManifestOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DeployAadManifestOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/DeployAadManifestOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,wBAAwB,EAAE,gBAAgB,EAetD,CAAC;AACF,eAAO,MAAM,0BAA0B,EAAE,kBAAkB,EAAO,CAAC"}
@@ -0,0 +1,22 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeployAadManifestArguments = exports.DeployAadManifestOptions = void 0;
exports.DeployAadManifestOptions = [
{
name: "entra-app-manifest-file",
questionName: "manifest-file-path",
type: "string",
shortName: "a",
description: "Specifies the Microsoft Entra app manifest file path, can be either absolute path or relative path to project root folder.",
default: "./aad.manifest.json",
},
{
name: "env",
type: "string",
description: "Specifies the environment name for the project.",
},
];
exports.DeployAadManifestArguments = [];
//# sourceMappingURL=DeployAadManifestOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"DeployAadManifestOptions.js","sourceRoot":"","sources":["../../../src/question/options/DeployAadManifestOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,wBAAwB,GAAuB;IAC1D;QACE,IAAI,EAAE,yBAAyB;QAC/B,YAAY,EAAE,oBAAoB;QAClC,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4HAA4H;QAC9H,OAAO,EAAE,qBAAqB;KAC/B;IACD;QACE,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iDAAiD;KAC/D;CACF,CAAC;AACW,QAAA,0BAA0B,GAAyB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const PermissionGrantOptions: CLICommandOption[];
export declare const PermissionGrantArguments: CLICommandArgument[];
//# sourceMappingURL=PermissionGrantOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionGrantOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/PermissionGrantOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,sBAAsB,EAAE,gBAAgB,EA6BpD,CAAC;AACF,eAAO,MAAM,wBAAwB,EAAE,kBAAkB,EAAO,CAAC"}
@@ -0,0 +1,35 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.PermissionGrantArguments = exports.PermissionGrantOptions = void 0;
exports.PermissionGrantOptions = [
{
name: "teams-manifest-file",
questionName: "manifest-path",
type: "string",
shortName: "t",
description: "Specify the path for Teams app manifest template. It can be either absolute path or relative path to the project root folder, with default at './appPackage/manifest.json'",
default: "./appPackage/manifest.json",
},
{
name: "env",
type: "string",
description: "Specifies the environment name for the project.",
},
{
name: "entra-app-manifest-file",
questionName: "manifest-file-path",
type: "string",
shortName: "a",
description: "Specifies the Microsoft Entra app manifest file path, can be either absolute path or relative path to project root folder.",
default: "./aad.manifest.json",
},
{
name: "email",
type: "string",
description: "Email address of the collaborator.",
},
];
exports.PermissionGrantArguments = [];
//# sourceMappingURL=PermissionGrantOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionGrantOptions.js","sourceRoot":"","sources":["../../../src/question/options/PermissionGrantOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,sBAAsB,GAAuB;IACxD;QACE,IAAI,EAAE,qBAAqB;QAC3B,YAAY,EAAE,eAAe;QAC7B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4KAA4K;QAC9K,OAAO,EAAE,4BAA4B;KACtC;IACD;QACE,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iDAAiD;KAC/D;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,YAAY,EAAE,oBAAoB;QAClC,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4HAA4H;QAC9H,OAAO,EAAE,qBAAqB;KAC/B;IACD;QACE,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,oCAAoC;KAClD;CACF,CAAC;AACW,QAAA,wBAAwB,GAAyB,EAAE,CAAC"}
@@ -0,0 +1,10 @@
/****************************************************************************************
* NOTICE: AUTO-GENERATED *
****************************************************************************************
* This file is automatically generated by script "./src/question/generator.ts". *
* Please don't manually change its contents, as any modifications will be overwritten! *
***************************************************************************************/
import { CLICommandOption, CLICommandArgument } from "@microsoft/teamsfx-api";
export declare const PermissionListOptions: CLICommandOption[];
export declare const PermissionListArguments: CLICommandArgument[];
//# sourceMappingURL=PermissionListOptions.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionListOptions.d.ts","sourceRoot":"","sources":["../../../src/question/options/PermissionListOptions.ts"],"names":[],"mappings":"AAGA;;;;;yFAKyF;AAEzF,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE9E,eAAO,MAAM,qBAAqB,EAAE,gBAAgB,EAwBnD,CAAC;AACF,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,EAAO,CAAC"}
@@ -0,0 +1,30 @@
"use strict";
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.PermissionListArguments = exports.PermissionListOptions = void 0;
exports.PermissionListOptions = [
{
name: "teams-manifest-file",
questionName: "manifest-path",
type: "string",
shortName: "t",
description: "Specify the path for Teams app manifest template. It can be either absolute path or relative path to the project root folder, with default at './appPackage/manifest.json'",
default: "./appPackage/manifest.json",
},
{
name: "env",
type: "string",
description: "Specifies the environment name for the project.",
},
{
name: "entra-app-manifest-file",
questionName: "manifest-file-path",
type: "string",
shortName: "a",
description: "Specifies the Microsoft Entra app manifest file path, can be either absolute path or relative path to project root folder.",
default: "./aad.manifest.json",
},
];
exports.PermissionListArguments = [];
//# sourceMappingURL=PermissionListOptions.js.map
@@ -0,0 +1 @@
{"version":3,"file":"PermissionListOptions.js","sourceRoot":"","sources":["../../../src/question/options/PermissionListOptions.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAWrB,QAAA,qBAAqB,GAAuB;IACvD;QACE,IAAI,EAAE,qBAAqB;QAC3B,YAAY,EAAE,eAAe;QAC7B,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4KAA4K;QAC9K,OAAO,EAAE,4BAA4B;KACtC;IACD;QACE,IAAI,EAAE,KAAK;QACX,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,iDAAiD;KAC/D;IACD;QACE,IAAI,EAAE,yBAAyB;QAC/B,YAAY,EAAE,oBAAoB;QAClC,IAAI,EAAE,QAAQ;QACd,SAAS,EAAE,GAAG;QACd,WAAW,EACT,4HAA4H;QAC9H,OAAO,EAAE,qBAAqB;KAC/B;CACF,CAAC;AACW,QAAA,uBAAuB,GAAyB,EAAE,CAAC"}
Loaded 100 of 55743 files, more files were not shown because too many files have changed in this diff. Show more