mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Fixed couple bugs
This commit is contained in:
Vendored
+9
-8
@@ -1,6 +1,6 @@
|
||||
// Type definitions for sptypescript
|
||||
// Project: http://sptypescript.codeplex.com
|
||||
// Definitions by: Stanislav Vyshchepan <http://gandjustas.blogspot.ru> and Andrey Markeev <http://markeev.com>
|
||||
// Definitions by: Stanislav Vyshchepan <http://blog.gandjustas.ru> and Andrey Markeev <http://markeev.com>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../microsoft-ajax/microsoft.ajax.d.ts" />
|
||||
@@ -159,6 +159,7 @@ declare class _spPageContextInfo {
|
||||
static currentUICultureName: string; //"ru-RU"
|
||||
static layoutsUrl: string; //"_layouts/15"
|
||||
static pageListId: string; //"{06ee6d96-f27f-4160-b6bb-c18f187b18a7}"
|
||||
static pageItemId: number;
|
||||
static pagePersonalizationScope: string; //1
|
||||
static serverRequestPath: string; //"/SPTypeScript/Lists/ConditionalFormattingTasksList/AllItems.aspx"
|
||||
static siteAbsoluteUrl: string; // "https://gandjustas-7b20d3715e8ed4.sharepoint.com"
|
||||
@@ -2440,7 +2441,7 @@ declare module SP {
|
||||
get_webId(): SP.Guid;
|
||||
getErrorDetails(): SP.ClientObjectList<SP.AppInstanceErrorDetails>;
|
||||
uninstall(): SP.GuidResult;
|
||||
upgrade(appPackageStream: any[]): void;
|
||||
upgrade(appPackageStream: SP.Base64EncodedByteArray): void;
|
||||
cancelAllJobs(): SP.BooleanResult;
|
||||
install(): SP.GuidResult;
|
||||
getPreviousAppVersion(): SP.App;
|
||||
@@ -2515,8 +2516,8 @@ declare module SP {
|
||||
getByFileName(fileName: string): SP.Attachment;
|
||||
}
|
||||
export class AttachmentCreationInformation extends SP.ClientValueObject {
|
||||
get_contentStream(): any[];
|
||||
set_contentStream(value: any[]): void;
|
||||
get_contentStream(): SP.Base64EncodedByteArray;
|
||||
set_contentStream(value: SP.Base64EncodedByteArray): void;
|
||||
get_fileName(): string;
|
||||
set_fileName(value: string): void;
|
||||
get_typeId(): string;
|
||||
@@ -3243,7 +3244,7 @@ declare module SP {
|
||||
boolean,
|
||||
number,
|
||||
currency,
|
||||
uRL,
|
||||
URL,
|
||||
computed,
|
||||
threading,
|
||||
guid,
|
||||
@@ -4812,9 +4813,9 @@ declare module SP {
|
||||
getSubwebsForCurrentUser(query: SP.SubwebQuery): SP.WebCollection;
|
||||
getAppInstanceById(appInstanceId: SP.Guid): SP.AppInstance;
|
||||
getAppInstancesByProductId(productId: SP.Guid): SP.ClientObjectList<SP.AppInstance>;
|
||||
loadAndInstallAppInSpecifiedLocale(appPackageStream: any[], installationLocaleLCID: number): SP.AppInstance;
|
||||
loadApp(appPackageStream: any[], installationLocaleLCID: number): SP.AppInstance;
|
||||
loadAndInstallApp(appPackageStream: any[]): SP.AppInstance;
|
||||
loadAndInstallAppInSpecifiedLocale(appPackageStream: SP.Base64EncodedByteArray, installationLocaleLCID: number): SP.AppInstance;
|
||||
loadApp(appPackageStream: SP.Base64EncodedByteArray, installationLocaleLCID: number): SP.AppInstance;
|
||||
loadAndInstallApp(appPackageStream: SP.Base64EncodedByteArray): SP.AppInstance;
|
||||
ensureUser(logonName: string): SP.User;
|
||||
applyTheme(colorPaletteUrl: string, fontSchemeUrl: string, backgroundImageUrl: string, shareGenerated: boolean): void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user