Skip to content

Commit

Permalink
Fixed bugs during testing of the ALM api.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Dec 9, 2017
1 parent deadbd1 commit 88f990d
Show file tree
Hide file tree
Showing 31 changed files with 408 additions and 208 deletions.
8 changes: 8 additions & 0 deletions build/mapper/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,10 @@ export declare const Mapper: {
Install: {
requestType: number;
};
query: {
argNames: string[];
requestType: number;
};
Remove: {
requestType: number;
};
Expand Down Expand Up @@ -878,6 +882,10 @@ export declare const Mapper: {
requestType: number;
returnType: string;
};
query: {
argNames: string[];
requestType: number;
};
};
user: {
properties: string[];
Expand Down
8 changes: 8 additions & 0 deletions build/mapper/site/mapper.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ export declare const tenantapp: {
Install: {
requestType: number;
};
query: {
argNames: string[];
requestType: number;
};
Remove: {
requestType: number;
};
Expand All @@ -97,6 +101,10 @@ export declare const tenantapps: {
requestType: number;
returnType: string;
};
query: {
argNames: string[];
requestType: number;
};
};
/**
* Tenant App Catalog
Expand Down
17 changes: 14 additions & 3 deletions build/mapper/site/mapper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/mapper/site/mapper.js.map

Large diffs are not rendered by default.

28 changes: 27 additions & 1 deletion build/mapper/site/tenantApp.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,34 @@ export interface ITenantAppMethods {
*/
Upgrade(): IBase;
}
/**
* Properties
*/
export interface ITenantAppProps {
/** The app version. */
AppCatalogVersion: string;
/** Flag indicating an upgrade is available. */
CanUpgrade: boolean;
/** Flag indicating if the current version is deployed. */
CurrentVersionDeployed: boolean;
/** Flag indicating if the app is deployed. */
Deployed: boolean;
/** The app id. */
ID: string;
/** The installed version. */
InstalledVersion: string;
/** Flag indicating if this is a client-side solution. */
IsClientSideSolution: boolean;
/** The app title. */
Title: string;
}
/**
* Tenant App Result
*/
export interface ITenantAppResult extends ITenantAppMethods, ITenantAppProps, IBase<ITenantApp, ITenantAppResult> {
}
/**
* Tenant App
*/
export interface ITenantApp extends ITenantAppMethods, IBase<ITenantApp> {
export interface ITenantApp extends ITenantAppMethods, IBase<ITenantApp, ITenantAppResult> {
}
5 changes: 3 additions & 2 deletions build/mapper/site/tenantAppCatalog.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IBase, IBaseCollection } from "../../utils";
import { Types } from "..";
import { ITenantApp, ITenantApps } from ".";
/**
* Tenant App Catalog Methods
Expand All @@ -10,13 +11,13 @@ export interface ITenantAppCatalogMethods {
* @param overwrite - Flag to overwrite the solution.
* @param url - The file name of the solution.
*/
Add(overwrite?: boolean, url?: string): IBase<ITenantApp>;
Add(overwrite?: boolean, url?: string): IBase<Types.IFile, Types.IFileResult>;
/**
* Deploy solution package in tenant app catalog
* Enable solution to be available to install to specific sites. This API is designed to be executed in the context of the tenant app catalog site.
* @param guid - The app id.
*/
GetById(guid: string): IBase<ITenantApp>;
GetById(guid: string): ITenantApp;
}
/**
* Tenant App Catalog Properties
Expand Down
8 changes: 4 additions & 4 deletions build/utils/baseExecution.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/utils/baseExecution.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions build/utils/baseHelper.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 88f990d

Please sign in to comment.