@staffbase/widget-sdk 3.8.0 → 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/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 = "ms365";
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.8.0",
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",