@almadar/integrations 2.31.0 → 2.32.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/runtime/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as IntegrationParams, I as IntegrationCallContext, d as IntegrationFactory } from '../BaseIntegration-BYlbMFlf.js';
|
|
2
|
-
import { o as IntegrationName, m as IntegrationActionName, n as IntegrationContracts, e as CredentialStore } from '../store-
|
|
2
|
+
import { o as IntegrationName, m as IntegrationActionName, n as IntegrationContracts, e as CredentialStore } from '../store-C03XILaI.js';
|
|
3
3
|
import '@almadar/core';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/runtime/index.js
CHANGED
|
@@ -161,6 +161,22 @@ var serviceCredentials = {
|
|
|
161
161
|
{ envVar: "ARXIV_TIMEOUT_MS", required: false, description: "Per-request timeout (ms)" }
|
|
162
162
|
]
|
|
163
163
|
};
|
|
164
|
+
function allCredentialEnvVars() {
|
|
165
|
+
const vars = /* @__PURE__ */ new Set();
|
|
166
|
+
for (const decls of Object.values(serviceCredentials)) {
|
|
167
|
+
for (const { envVar } of decls) vars.add(envVar);
|
|
168
|
+
}
|
|
169
|
+
return vars;
|
|
170
|
+
}
|
|
171
|
+
var STORE_BOOTSTRAP_ENV_VARS = /* @__PURE__ */ new Set([
|
|
172
|
+
"ALMADAR_CREDENTIAL_MASTER_KEY",
|
|
173
|
+
"ALMADAR_CREDENTIAL_MASTER_KEY_PREVIOUS"
|
|
174
|
+
]);
|
|
175
|
+
function declaredCredentialEnvVars() {
|
|
176
|
+
const vars = allCredentialEnvVars();
|
|
177
|
+
for (const bootstrapVar of STORE_BOOTSTRAP_ENV_VARS) vars.delete(bootstrapVar);
|
|
178
|
+
return vars;
|
|
179
|
+
}
|
|
164
180
|
var serviceProbes = {
|
|
165
181
|
calendar: { action: "listEvents", params: { maxResults: 1 } },
|
|
166
182
|
drive: { action: "listFiles", params: { maxResults: 1 } },
|
|
@@ -5383,19 +5399,6 @@ function createCallServiceHandler(factory) {
|
|
|
5383
5399
|
}
|
|
5384
5400
|
|
|
5385
5401
|
// src/runtime/RuntimeIntegrationManager.ts
|
|
5386
|
-
var STORE_BOOTSTRAP_ENV_VARS = /* @__PURE__ */ new Set([
|
|
5387
|
-
"ALMADAR_CREDENTIAL_MASTER_KEY",
|
|
5388
|
-
"ALMADAR_CREDENTIAL_MASTER_KEY_PREVIOUS"
|
|
5389
|
-
]);
|
|
5390
|
-
function declaredCredentialEnvVars() {
|
|
5391
|
-
const vars = /* @__PURE__ */ new Set();
|
|
5392
|
-
for (const decls of Object.values(serviceCredentials)) {
|
|
5393
|
-
for (const { envVar } of decls) {
|
|
5394
|
-
if (!STORE_BOOTSTRAP_ENV_VARS.has(envVar)) vars.add(envVar);
|
|
5395
|
-
}
|
|
5396
|
-
}
|
|
5397
|
-
return vars;
|
|
5398
|
-
}
|
|
5399
5402
|
function generateMockFromShape(shape) {
|
|
5400
5403
|
const data = {};
|
|
5401
5404
|
for (const [key, type] of Object.entries(shape)) {
|