@omnia/fx-sp 8.0.343-dev → 8.0.345-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ export interface ListTree {
2
+ id: string;
3
+ uniqueId: string;
4
+ title: string;
5
+ serverRelativeUrl: string;
6
+ }
7
+ export interface ListTreeFilter {
8
+ baseType: ListTreeBaseType;
9
+ }
10
+ export interface ListTreeFolder {
11
+ uniqueId: string;
12
+ name: string;
13
+ serverRelativeUrl: string;
14
+ }
15
+ export interface ListTreeFolderFilter {
16
+ serverRelativeUrl: string;
17
+ }
18
+ export interface ListTreeQueryResult {
19
+ siteTitle: string;
20
+ siteUrl: string;
21
+ lists: ListTree[];
22
+ }
23
+ export interface ListTreeFolderQueryResult {
24
+ name: string;
25
+ folders: ListTreeFolder[];
26
+ }
27
+ export type ListTreeBaseType = "None" | "GenericList" | "DocumentLibrary";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -17,3 +17,4 @@ export * from "./SharePointBusinessProfileRelativePathValue";
17
17
  export * from "./FilterEngine";
18
18
  export * from "./SharePointUserProfilePropertyValue";
19
19
  export * from "./Feature";
20
+ export * from "./ListTree";
@@ -21,3 +21,4 @@ tslib_1.__exportStar(require("./SharePointBusinessProfileRelativePathValue"), ex
21
21
  tslib_1.__exportStar(require("./FilterEngine"), exports);
22
22
  tslib_1.__exportStar(require("./SharePointUserProfilePropertyValue"), exports);
23
23
  tslib_1.__exportStar(require("./Feature"), exports);
24
+ tslib_1.__exportStar(require("./ListTree"), exports);
@@ -1,5 +1,5 @@
1
1
  import { guid } from "../../models";
2
- import { LibraryResolveResult, CentralImageLocationResult, OrderByField } from "../models";
2
+ import { LibraryResolveResult, CentralImageLocationResult, OrderByField, ListTreeFilter, ListTreeQueryResult, ListTreeFolderFilter, ListTreeFolderQueryResult } from "../models";
3
3
  export declare class ListsService {
4
4
  private omniaContext;
5
5
  private httpClient;
@@ -8,4 +8,6 @@ export declare class ListsService {
8
8
  resolveLibraryFromAbsoluteUrl: (absoluteUrl: string) => Promise<LibraryResolveResult>;
9
9
  downloadImage: (siteUrl: string, listId: guid, id: number) => Promise<string>;
10
10
  getCentralImageLocationResult: (siteUrl: string, listId: guid, textSearch: string, maxThumbnailSize: number, folderServerRelativeUrl?: string, skipId?: number, limit?: number, pagingInfo?: string, orderByFields?: Array<OrderByField>, includeVideos?: boolean) => Promise<CentralImageLocationResult>;
11
+ queryListTrees: (spUrl: string, filter: ListTreeFilter) => Promise<ListTreeQueryResult>;
12
+ queryListTreeFolders: (spUrl: string, filter: ListTreeFolderFilter) => Promise<ListTreeFolderQueryResult>;
11
13
  }
@@ -0,0 +1,13 @@
1
+ import { ListTreeFilter } from "@omnia/fx-sp-models";
2
+ declare const _default: (props: import("@omnia/fx/ux").ConstructComponentProps<{
3
+ spUrl?: string;
4
+ } & {
5
+ filter?: ListTreeFilter;
6
+ } & {
7
+ "emit:update:modelValue": (value: string) => void;
8
+ } & {
9
+ "v-model"?: string;
10
+ } & {
11
+ modelValue?: string;
12
+ }>) => any;
13
+ export default _default;
@@ -0,0 +1,6 @@
1
+ export declare namespace SharePointListTreeLocalization {
2
+ const namespace = "Omnia.Ux.SharePointListTree";
3
+ interface locInterface {
4
+ InvalidSiteUrl: string;
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/fx-sp",
3
3
  "license": "MIT",
4
- "version": "8.0.343-dev",
4
+ "version": "8.0.345-dev",
5
5
  "description": "Provide Omnia Fx Sharepoint Stuffs.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "author": "Omnia Digital Workplace AB",
21
21
  "dependencies": {
22
- "@omnia/fx": "8.0.343-dev",
23
- "@omnia/fx-sp-models": "8.0.343-dev"
22
+ "@omnia/fx": "8.0.345-dev",
23
+ "@omnia/fx-sp-models": "8.0.345-dev"
24
24
  },
25
25
  "typings": "./index.d.ts",
26
26
  "bugs": {