@staffbase/widget-sdk 3.8.0-beta.2 → 3.9.0-alpha.1
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/README.md +1 -1
- package/dist/index.js +6 -0
- package/dist/index.mjs +6 -0
- package/dist/widget-api-types.d.ts +5 -1
- package/package.json +2 -7
- package/docs/.nojekyll +0 -1
- package/docs/BaseBlock.md +0 -5887
- package/docs/BlockAttributes.md +0 -21
- package/docs/BlockDefinition.md +0 -167
- package/docs/BlockElement.md +0 -103
- package/docs/ColorTheme.md +0 -97
- package/docs/ExternalBlockDefinition.md +0 -58
- package/docs/Home.md +0 -131
- package/docs/IntegrationInformation.md +0 -70
- package/docs/IntegrationToken.md +0 -30
- package/docs/SBColors.md +0 -639
- package/docs/SBFileType.md +0 -74
- package/docs/SBImageEntity.md +0 -74
- package/docs/SBUserAvatar.md +0 -52
- package/docs/SBUserProfile.md +0 -140
- package/docs/UserListItem.md +0 -52
- package/docs/UserListRequestQuery.md +0 -52
- package/docs/UserListResponse.md +0 -52
- package/docs/WidgetApi.md +0 -138
- package/docs/_Sidebar.md +0 -3
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ Install the Widget SDK with yarn:
|
|
|
21
21
|
|
|
22
22
|
## Documentation
|
|
23
23
|
|
|
24
|
-
The documentation for all the modules can be found in the [
|
|
24
|
+
The documentation for all the modules can be found in the [wiki](./wiki/Home.md) folder.
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
## Support
|
package/dist/index.js
CHANGED
|
@@ -24,10 +24,16 @@ var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
|
24
24
|
// lib/index.ts
|
|
25
25
|
var lib_exports = {};
|
|
26
26
|
__export(lib_exports, {
|
|
27
|
+
IntegrationNames: () => IntegrationNames,
|
|
27
28
|
IntegrationStates: () => IntegrationStates
|
|
28
29
|
});
|
|
29
30
|
|
|
30
31
|
// lib/widget-api-types.ts
|
|
32
|
+
var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
|
|
33
|
+
IntegrationNames2["MS365"] = "ms365";
|
|
34
|
+
IntegrationNames2["GoogleDrive"] = "googleDrive";
|
|
35
|
+
return IntegrationNames2;
|
|
36
|
+
})(IntegrationNames || {});
|
|
31
37
|
var IntegrationStates = {
|
|
32
38
|
UNAVAILABLE: "unavailable",
|
|
33
39
|
AVAILABLE: "available",
|
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
// lib/widget-api-types.ts
|
|
2
|
+
var IntegrationNames = /* @__PURE__ */ ((IntegrationNames2) => {
|
|
3
|
+
IntegrationNames2["MS365"] = "ms365";
|
|
4
|
+
IntegrationNames2["GoogleDrive"] = "googleDrive";
|
|
5
|
+
return IntegrationNames2;
|
|
6
|
+
})(IntegrationNames || {});
|
|
2
7
|
var IntegrationStates = {
|
|
3
8
|
UNAVAILABLE: "unavailable",
|
|
4
9
|
AVAILABLE: "available",
|
|
5
10
|
LOGGED_OUT: "loggedOut"
|
|
6
11
|
};
|
|
7
12
|
export {
|
|
13
|
+
IntegrationNames,
|
|
8
14
|
IntegrationStates
|
|
9
15
|
};
|
|
10
16
|
/*!
|
|
@@ -178,7 +178,11 @@ export interface UserListResponse {
|
|
|
178
178
|
limit: number;
|
|
179
179
|
total: number;
|
|
180
180
|
}
|
|
181
|
-
export declare type IntegrationType =
|
|
181
|
+
export declare type IntegrationType = IntegrationNames.MS365 | IntegrationNames.GoogleDrive;
|
|
182
|
+
export declare enum IntegrationNames {
|
|
183
|
+
MS365 = "ms365",
|
|
184
|
+
GoogleDrive = "googleDrive"
|
|
185
|
+
}
|
|
182
186
|
/**
|
|
183
187
|
* Integration Token including the expiration time
|
|
184
188
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@staffbase/widget-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.0-alpha.1",
|
|
4
4
|
"description": "Staffbase SDK for Custom Widgets",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -9,13 +9,8 @@
|
|
|
9
9
|
"keywords": [
|
|
10
10
|
"web-components"
|
|
11
11
|
],
|
|
12
|
-
"exports": {
|
|
13
|
-
"import": "./dist/index.mjs",
|
|
14
|
-
"require": "./dist/index.js"
|
|
15
|
-
},
|
|
16
12
|
"scripts": {
|
|
17
|
-
"
|
|
18
|
-
"doc": "npm run clean-doc && typedoc --theme github-wiki --readme none --out docs lib/index.ts",
|
|
13
|
+
"doc": "typedoc --theme github-wiki --readme none --out docs lib/index.ts",
|
|
19
14
|
"build": "npx tsc & npx esbuild lib/index.ts --bundle --format=cjs --outfile=dist/index.js & npx esbuild lib/index.ts --bundle --format=esm --outfile=dist/index.mjs",
|
|
20
15
|
"release": "semantic-release",
|
|
21
16
|
"prepare": "husky install"
|
package/docs/.nojekyll
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
|