@mikezimm/fps-library-v2 1.1.197 → 1.1.198
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.
- package/lib/common/interfaces/openSource/pnpsp/@2.14.0/ISite.d.ts +31 -0
- package/lib/common/interfaces/openSource/pnpsp/@2.14.0/ISite.d.ts.map +1 -0
- package/lib/common/interfaces/openSource/pnpsp/@2.14.0/ISite.js +40 -0
- package/lib/common/interfaces/openSource/pnpsp/@2.14.0/ISite.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2024-05-29:
|
|
3
|
+
* ISite was generated from ChatGPT... Copilot could not give a specific answer.
|
|
4
|
+
* So far only needing interface and Title was neccessary for Pivot Tiles.
|
|
5
|
+
*
|
|
6
|
+
* NOTE:
|
|
7
|
+
* import { ISite } from "@pnp/sp/presets/all";
|
|
8
|
+
* That import ^^^ caused error around May 28 after trying to fps-library-v2 from 1.1.182 to 1.1.197.
|
|
9
|
+
* The library did not have any changes during that time related to this interface so I'm not sure what happened.
|
|
10
|
+
* I did however recently update versions of node to v16 which changed this property in the package-lock.json: "lockfileVersion": 1, to "lockfileVersion": 2,
|
|
11
|
+
*
|
|
12
|
+
* However, Palette-Pal was created with this setting and the same setting was added to LinkUp in this commit without issue: which bumped fps-library from 1.1.182 to 1.1.188.
|
|
13
|
+
* https://github.com/fps-solutions/LinkUp/commit/e13d584aaff6be338156b1eeba44a40999d493f7
|
|
14
|
+
*/
|
|
15
|
+
export interface ISite {
|
|
16
|
+
Id: string;
|
|
17
|
+
Url: string;
|
|
18
|
+
Owner: string;
|
|
19
|
+
Title: string;
|
|
20
|
+
ServerRelativeUrl: string;
|
|
21
|
+
AllowDesigner: boolean;
|
|
22
|
+
AllowCreateDeclarativeWorkflow: boolean;
|
|
23
|
+
AllowSaveDeclarativeWorkflowAsTemplate: boolean;
|
|
24
|
+
AllowSavePublishDeclarativeWorkflow: boolean;
|
|
25
|
+
ReadOnly: boolean;
|
|
26
|
+
ShareByEmailEnabled: boolean;
|
|
27
|
+
ShareByLinkEnabled: boolean;
|
|
28
|
+
SiteId: string;
|
|
29
|
+
WebId: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=ISite.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISite.d.ts","sourceRoot":"","sources":["../../../../../../src/common/interfaces/openSource/pnpsp/@2.14.0/ISite.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;GAaG;AAIH,MAAM,WAAW,KAAK;IAElB,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,8BAA8B,EAAE,OAAO,CAAC;IACxC,sCAAsC,EAAE,OAAO,CAAC;IAChD,mCAAmC,EAAE,OAAO,CAAC;IAC7C,QAAQ,EAAE,OAAO,CAAC;IAClB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,kBAAkB,EAAE,OAAO,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CAQjB"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 2024-05-29:
|
|
3
|
+
* ISite was generated from ChatGPT... Copilot could not give a specific answer.
|
|
4
|
+
* So far only needing interface and Title was neccessary for Pivot Tiles.
|
|
5
|
+
*
|
|
6
|
+
* NOTE:
|
|
7
|
+
* import { ISite } from "@pnp/sp/presets/all";
|
|
8
|
+
* That import ^^^ caused error around May 28 after trying to fps-library-v2 from 1.1.182 to 1.1.197.
|
|
9
|
+
* The library did not have any changes during that time related to this interface so I'm not sure what happened.
|
|
10
|
+
* I did however recently update versions of node to v16 which changed this property in the package-lock.json: "lockfileVersion": 1, to "lockfileVersion": 2,
|
|
11
|
+
*
|
|
12
|
+
* However, Palette-Pal was created with this setting and the same setting was added to LinkUp in this commit without issue: which bumped fps-library from 1.1.182 to 1.1.188.
|
|
13
|
+
* https://github.com/fps-solutions/LinkUp/commit/e13d584aaff6be338156b1eeba44a40999d493f7
|
|
14
|
+
*/
|
|
15
|
+
// import { IContextualInfo } from "./types.js";
|
|
16
|
+
// import { IWeb } from "../webs/types.js";
|
|
17
|
+
export {};
|
|
18
|
+
// From ChatGPT:
|
|
19
|
+
// Key Properties
|
|
20
|
+
// Id: The unique identifier (GUID) of the site.
|
|
21
|
+
// Url: The absolute URL of the site.
|
|
22
|
+
// Owner: The owner of the site.
|
|
23
|
+
// Title: The title of the site.
|
|
24
|
+
// ServerRelativeUrl: The server-relative URL of the site.
|
|
25
|
+
// AllowDesigner: Indicates if the SharePoint Designer is allowed.
|
|
26
|
+
// AllowCreateDeclarativeWorkflow: Indicates if creating declarative workflows is allowed.
|
|
27
|
+
// AllowSaveDeclarativeWorkflowAsTemplate: Indicates if saving declarative workflows as templates is allowed.
|
|
28
|
+
// AllowSavePublishDeclarativeWorkflow: Indicates if saving and publishing declarative workflows is allowed.
|
|
29
|
+
// ReadOnly: Indicates if the site is read-only.
|
|
30
|
+
// ShareByEmailEnabled: Indicates if sharing by email is enabled.
|
|
31
|
+
// ShareByLinkEnabled: Indicates if sharing by link is enabled.
|
|
32
|
+
// SiteId: The unique identifier (GUID) of the site collection.
|
|
33
|
+
// WebId: The unique identifier (GUID) of the root web of the site collection.
|
|
34
|
+
// Key Methods
|
|
35
|
+
// getContextualInfo(): Retrieves contextual information about the site.
|
|
36
|
+
// getWebById(webId: string): Retrieves a web object by its ID.
|
|
37
|
+
// getOwner(): Retrieves the owner of the site.
|
|
38
|
+
// update(properties: Partial<ISiteUpdateProps>): Updates the site's properties.
|
|
39
|
+
// delete(): Deletes the site.
|
|
40
|
+
//# sourceMappingURL=ISite.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISite.js","sourceRoot":"","sources":["../../../../../../src/common/interfaces/openSource/pnpsp/@2.14.0/ISite.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;GAaG;AACH,gDAAgD;AAChD,2CAA2C;;AA0B3C,gBAAgB;AACd,iBAAiB;AACjB,gDAAgD;AAChD,qCAAqC;AACrC,gCAAgC;AAChC,gCAAgC;AAChC,0DAA0D;AAC1D,kEAAkE;AAClE,0FAA0F;AAC1F,6GAA6G;AAC7G,4GAA4G;AAC5G,gDAAgD;AAChD,iEAAiE;AACjE,+DAA+D;AAC/D,+DAA+D;AAC/D,8EAA8E;AAC9E,cAAc;AACd,wEAAwE;AACxE,+DAA+D;AAC/D,+CAA+C;AAC/C,gFAAgF;AAChF,8BAA8B"}
|