- Deleted obsolete localization file for English (en-us). - Updated version number from 1.0.4 to 1.1.0 in manifests.js and manifests.json. - Added localization support for German (de-de) in a new localization file. - Removed unnecessary dependencies from manifests. - Added .gitignore to exclude build artifacts and temporary files.
15 lines
1.2 KiB
TypeScript
15 lines
1.2 KiB
TypeScript
import { UserCustomActionAddResult, UserCustomActionUpdateResult } from '@pnp/sp/src/usercustomactions';
|
|
import { IUserCustomActionService } from './IUserCustomActionService';
|
|
import { UserCustomActionScope } from './UserCustomActionScope';
|
|
import { IUserCustomActionProps } from './IUserCustomActionProps';
|
|
import { ApplicationCustomizerContext } from '@microsoft/sp-application-base';
|
|
export declare class UserCustomActionService implements IUserCustomActionService {
|
|
private debug;
|
|
constructor(context: ApplicationCustomizerContext, debug?: boolean);
|
|
getUserCustomActions(scope: UserCustomActionScope, listId?: string): Promise<IUserCustomActionProps[]>;
|
|
getUserCustomActionById(scope: UserCustomActionScope, id: string, listId?: string): Promise<IUserCustomActionProps>;
|
|
addUserCustomAction(scope: UserCustomActionScope, customAction: IUserCustomActionProps, listId?: string): Promise<UserCustomActionAddResult>;
|
|
updateUserCustomAction(scope: UserCustomActionScope, id: string, props: {}, listId?: string): Promise<UserCustomActionUpdateResult>;
|
|
deleteUserCustomAction(scope: UserCustomActionScope, customAction: IUserCustomActionProps, listId?: string): Promise<void>;
|
|
}
|