@rastrokit/sdk 0.16.0 → 0.17.0

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
@@ -9,7 +9,7 @@ var VALID_ADDON_CAPABILITIES = [
9
9
  "auth",
10
10
  "dataSource",
11
11
  "analytics",
12
- "watcher",
12
+ "observer",
13
13
  "calendar",
14
14
  "punch",
15
15
  "theme"
@@ -24,8 +24,8 @@ function hasCapability(capabilities, capability) {
24
24
  function isDataSource(capabilities) {
25
25
  return hasCapability(capabilities, "dataSource");
26
26
  }
27
- function isWatcher(capabilities) {
28
- return hasCapability(capabilities, "watcher");
27
+ function isObserver(capabilities) {
28
+ return hasCapability(capabilities, "observer");
29
29
  }
30
30
  function isTheme(capabilities) {
31
31
  return hasCapability(capabilities, "theme");
@@ -4316,6 +4316,7 @@ var WorkspaceSchema = zod_default.object({
4316
4316
  description: zod_default.string().max(500, "Descri\xE7\xE3o n\xE3o pode ter mais que 500 caracteres").optional().or(zod_default.literal("")),
4317
4317
  avatarUrl: avatarUrlSchema
4318
4318
  });
4319
+ var VALID_ADDON_TIERS = ["free", "plus"];
4319
4320
  var OFFLINE_AUTHORIZATION_WINDOW_MS = 7 * 24 * 60 * 60 * 1e3;
4320
4321
  var CLOCK_LEEWAY_MS = 60 * 1e3;
4321
4322
  var offlineAuthorizationClaimsSchema = external_exports.object({
@@ -4374,9 +4375,6 @@ var AGGREGATION_OPERATOR_SET = new Set(
4374
4375
  );
4375
4376
  var FORMULA_OPERATOR_SET = new Set(ANALYTICS_FORMULA_OPERATORS);
4376
4377
 
4377
- // src/contracts/manifest/IAddonManifest.ts
4378
- var VALID_ADDON_TIERS = ["free", "plus"];
4379
-
4380
4378
  // src/contracts/manifest/ISignedAddonCatalogManifest.ts
4381
4379
  var ADDON_CATALOG_RECEIPT_FILE = "catalog-version.json";
4382
4380
 
@@ -5050,10 +5048,10 @@ export {
5050
5048
  isFunction,
5051
5049
  isNonEmptyString,
5052
5050
  isNumber,
5051
+ isObserver,
5053
5052
  isRecord,
5054
5053
  isString,
5055
5054
  isTheme,
5056
- isWatcher,
5057
5055
  isWorkspaceScoped
5058
5056
  };
5059
5057
  //# sourceMappingURL=index.js.map