@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/cli.cjs +4163 -44
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +4166 -47
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +6 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +153 -49
- package/dist/index.d.ts +153 -49
- package/dist/index.js +5 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -56,10 +56,10 @@ __export(src_exports, {
|
|
|
56
56
|
isFunction: () => isFunction,
|
|
57
57
|
isNonEmptyString: () => isNonEmptyString,
|
|
58
58
|
isNumber: () => isNumber,
|
|
59
|
+
isObserver: () => isObserver,
|
|
59
60
|
isRecord: () => isRecord,
|
|
60
61
|
isString: () => isString,
|
|
61
62
|
isTheme: () => isTheme,
|
|
62
|
-
isWatcher: () => isWatcher,
|
|
63
63
|
isWorkspaceScoped: () => isWorkspaceScoped
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -69,7 +69,7 @@ var VALID_ADDON_CAPABILITIES = [
|
|
|
69
69
|
"auth",
|
|
70
70
|
"dataSource",
|
|
71
71
|
"analytics",
|
|
72
|
-
"
|
|
72
|
+
"observer",
|
|
73
73
|
"calendar",
|
|
74
74
|
"punch",
|
|
75
75
|
"theme"
|
|
@@ -84,8 +84,8 @@ function hasCapability(capabilities, capability) {
|
|
|
84
84
|
function isDataSource(capabilities) {
|
|
85
85
|
return hasCapability(capabilities, "dataSource");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return hasCapability(capabilities, "
|
|
87
|
+
function isObserver(capabilities) {
|
|
88
|
+
return hasCapability(capabilities, "observer");
|
|
89
89
|
}
|
|
90
90
|
function isTheme(capabilities) {
|
|
91
91
|
return hasCapability(capabilities, "theme");
|
|
@@ -4376,6 +4376,7 @@ var WorkspaceSchema = zod_default.object({
|
|
|
4376
4376
|
description: zod_default.string().max(500, "Descri\xE7\xE3o n\xE3o pode ter mais que 500 caracteres").optional().or(zod_default.literal("")),
|
|
4377
4377
|
avatarUrl: avatarUrlSchema
|
|
4378
4378
|
});
|
|
4379
|
+
var VALID_ADDON_TIERS = ["free", "plus"];
|
|
4379
4380
|
var OFFLINE_AUTHORIZATION_WINDOW_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
4380
4381
|
var CLOCK_LEEWAY_MS = 60 * 1e3;
|
|
4381
4382
|
var offlineAuthorizationClaimsSchema = external_exports.object({
|
|
@@ -4434,9 +4435,6 @@ var AGGREGATION_OPERATOR_SET = new Set(
|
|
|
4434
4435
|
);
|
|
4435
4436
|
var FORMULA_OPERATOR_SET = new Set(ANALYTICS_FORMULA_OPERATORS);
|
|
4436
4437
|
|
|
4437
|
-
// src/contracts/manifest/IAddonManifest.ts
|
|
4438
|
-
var VALID_ADDON_TIERS = ["free", "plus"];
|
|
4439
|
-
|
|
4440
4438
|
// src/contracts/manifest/ISignedAddonCatalogManifest.ts
|
|
4441
4439
|
var ADDON_CATALOG_RECEIPT_FILE = "catalog-version.json";
|
|
4442
4440
|
|
|
@@ -5111,10 +5109,10 @@ async function exchangeAuthorizationCode(options) {
|
|
|
5111
5109
|
isFunction,
|
|
5112
5110
|
isNonEmptyString,
|
|
5113
5111
|
isNumber,
|
|
5112
|
+
isObserver,
|
|
5114
5113
|
isRecord,
|
|
5115
5114
|
isString,
|
|
5116
5115
|
isTheme,
|
|
5117
|
-
isWatcher,
|
|
5118
5116
|
isWorkspaceScoped
|
|
5119
5117
|
});
|
|
5120
5118
|
//# sourceMappingURL=index.cjs.map
|