@dev-fastn-ai/react-core 2.3.6 → 2.3.8

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.
Files changed (30) hide show
  1. package/README.md +465 -0
  2. package/dist/{react-core/src/core → core}/provider.d.ts +2 -2
  3. package/dist/{react-core/src/core → core}/use-configuration-form.d.ts +1 -1
  4. package/dist/{react-core/src/core → core}/use-configurations.d.ts +1 -1
  5. package/dist/core/use-connectors.d.ts +1 -0
  6. package/dist/{react-core/src/core → core}/use-field-options.d.ts +4 -1
  7. package/dist/index.cjs.js +39 -1655
  8. package/dist/index.cjs.js.map +1 -1
  9. package/dist/index.d.ts +10 -202
  10. package/dist/index.esm.js +39 -1654
  11. package/dist/index.esm.js.map +1 -1
  12. package/package.json +5 -3
  13. package/dist/core/src/core/activate-connector.d.ts +0 -40
  14. package/dist/core/src/core/config.d.ts +0 -3
  15. package/dist/core/src/core/configuration-form.d.ts +0 -27
  16. package/dist/core/src/core/configurations.d.ts +0 -2
  17. package/dist/core/src/core/connectors.d.ts +0 -7
  18. package/dist/core/src/core/execute-flow.d.ts +0 -9
  19. package/dist/core/src/core/register-refetch-functions.d.ts +0 -4
  20. package/dist/core/src/index.d.ts +0 -13
  21. package/dist/core/src/services/apis.d.ts +0 -86
  22. package/dist/core/src/types/config.d.ts +0 -10
  23. package/dist/core/src/types/index.d.ts +0 -272
  24. package/dist/core/src/utils/constants.d.ts +0 -12
  25. package/dist/core/src/utils/errors.d.ts +0 -22
  26. package/dist/core/src/utils/event-bus.d.ts +0 -6
  27. package/dist/core/src/utils/google-files-picker.d.ts +0 -13
  28. package/dist/core/src/utils/misc.d.ts +0 -40
  29. package/dist/react-core/src/core/use-connectors.d.ts +0 -1
  30. package/dist/react-core/src/index.d.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../core/node_modules/uuid/dist/esm-browser/rng.js","../../core/node_modules/uuid/dist/esm-browser/stringify.js","../../core/node_modules/uuid/dist/esm-browser/native.js","../../core/node_modules/uuid/dist/esm-browser/v4.js","../node_modules/lodash/isObject.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_root.js","../node_modules/lodash/now.js","../node_modules/lodash/_trimmedEndIndex.js","../node_modules/lodash/_baseTrim.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isSymbol.js","../node_modules/lodash/toNumber.js","../node_modules/lodash/debounce.js"],"sourcesContent":["// Unique ID creation requires a high quality random # generator. In the browser we therefore\n// require the crypto API and do not support built-in fallback to lower quality random number\n// generators (like Math.random()).\nlet getRandomValues;\nconst rnds8 = new Uint8Array(16);\nexport default function rng() {\n // lazy load so that environments that need to polyfill have a chance to do so\n if (!getRandomValues) {\n // getRandomValues needs to be invoked in a context where \"this\" is a Crypto implementation.\n getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);\n\n if (!getRandomValues) {\n throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');\n }\n }\n\n return getRandomValues(rnds8);\n}","import validate from './validate.js';\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\n\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).slice(1));\n}\n\nexport function unsafeStringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];\n}\n\nfunction stringify(arr, offset = 0) {\n const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!validate(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nexport default stringify;","const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};","import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;","/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["global","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA,IAAI,eAAe;AACnB,MAAM,KAAK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AACvB,KAAI,IAAI,IAAI,GAAG,GAAG,EAAE;AACpB,SAAQ,UAAU,GAAG,YAAY,CAAC,IAAI,CAAC;;KAEnC,QAAQ,GAAG,SAAS;KACpB,QAAQ,GAAG,IAAI;KACf,YAAY,GAAG,IAAI;;KAEnB,IAAI,UAAU,EAAE;AACpB,OAAM,IAAI,OAAO,KAAK,SAAS,EAAE;AACjC,SAAQ,OAAO,WAAW,CAAC,YAAY,CAAC;AACxC,OAAA;OACM,IAAI,MAAM,EAAE;AAClB;SACQ,YAAY,CAAC,OAAO,CAAC;AAC7B,SAAQ,OAAO,GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;AAChD,SAAQ,OAAO,UAAU,CAAC,YAAY,CAAC;AACvC,OAAA;AACA,KAAA;AACA,KAAI,IAAI,OAAO,KAAK,SAAS,EAAE;AAC/B,OAAM,OAAO,GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;AAC9C,KAAA;AACA,KAAI,OAAO,MAAM;AACjB,GAAA;AACA,GAAE,SAAS,CAAC,MAAM,GAAG,MAAM;AAC3B,GAAE,SAAS,CAAC,KAAK,GAAG,KAAK;AACzB,GAAE,OAAO,SAAS;AAClB,CAAA;;AAEA,CAAA,UAAc,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]}
1
+ {"version":3,"file":"index.esm.js","sources":["../node_modules/lodash/isObject.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_root.js","../node_modules/lodash/now.js","../node_modules/lodash/_trimmedEndIndex.js","../node_modules/lodash/_baseTrim.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isSymbol.js","../node_modules/lodash/toNumber.js","../node_modules/lodash/debounce.js"],"sourcesContent":["/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n","var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n","var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n","/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n","var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n","var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n","var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n","/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n","var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n","var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n","var isObject = require('./isObject'),\n now = require('./now'),\n toNumber = require('./toNumber');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n timeWaiting = wait - timeSinceLastCall;\n\n return maxing\n ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n : timeWaiting;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n clearTimeout(timerId);\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\nmodule.exports = debounce;\n"],"names":["global","require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBA,SAAS,QAAQ,CAAC,KAAK,EAAE;AACzB,GAAE,IAAI,IAAI,GAAG,OAAO,KAAK;AACzB,GAAE,OAAO,KAAK,IAAI,IAAI,KAAK,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,UAAU,CAAC;AAClE,CAAA;;AAEA,CAAA,UAAc,GAAG,QAAQ;;;;;;;;;;;;AC7BzB,CAAA,IAAI,UAAU,GAAG,OAAOA,cAAM,IAAI,QAAQ,IAAIA,cAAM,IAAIA,cAAM,CAAC,MAAM,KAAK,MAAM,IAAIA,cAAM;;AAE1F,CAAA,WAAc,GAAG,UAAU;;;;;;;;;;CCH3B,IAAI,UAAU,GAAGC,kBAAA,EAAwB;;AAEzC;AACA,CAAA,IAAI,QAAQ,GAAG,OAAO,IAAI,IAAI,QAAQ,IAAI,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,IAAI;;AAEhF;CACA,IAAI,IAAI,GAAG,UAAU,IAAI,QAAQ,IAAI,QAAQ,CAAC,aAAa,CAAC,EAAE;;AAE9D,CAAA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AY,CAAC;AACxC,OAAA;OACM,IAAI,MAAM,EAAE;AAClB;SACQ,YAAY,CAAC,OAAO,CAAC;AAC7B,SAAQ,OAAO,GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;AAChD,SAAQ,OAAO,UAAU,CAAC,YAAY,CAAC;AACvC,OAAA;AACA,KAAA;AACA,KAAI,IAAI,OAAO,KAAK,SAAS,EAAE;AAC/B,OAAM,OAAO,GAAG,UAAU,CAAC,YAAY,EAAE,IAAI,CAAC;AAC9C,KAAA;AACA,KAAI,OAAO,MAAM;AACjB,GAAA;AACA,GAAE,SAAS,CAAC,MAAM,GAAG,MAAM;AAC3B,GAAE,SAAS,CAAC,KAAK,GAAG,KAAK;AACzB,GAAE,OAAO,SAAS;AAClB,CAAA;;AAEA,CAAA,UAAc,GAAG,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dev-fastn-ai/react-core",
3
- "version": "2.3.6",
3
+ "version": "2.3.8",
4
4
  "description": "React hooks and components for integrating Fastn AI connector marketplace into your applications. Built on top of @fastn-ai/core with React Query for optimal performance.",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -31,7 +31,7 @@
31
31
  "sideEffects": false,
32
32
  "scripts": {
33
33
  "build": "rollup -c --bundleConfigAsCjs",
34
- "clean": "if exist dist rmdir /s /q dist",
34
+ "clean": "rimraf dist",
35
35
  "prepare": "npm run build",
36
36
  "prepublishOnly": "npm run clean && npm run build",
37
37
  "type-check": "tsc --noEmit",
@@ -59,7 +59,8 @@
59
59
  },
60
60
  "homepage": "https://docs.fastn.ai",
61
61
  "dependencies": {
62
- "@dev-fastn-ai/core": "^2.0.6",
62
+ "@dev-fastn-ai/core": "^2.0.8",
63
+ "@fastn-ai/core": "^1.0.3",
63
64
  "@types/lodash": "^4.17.20",
64
65
  "lodash": "^4.17.21"
65
66
  },
@@ -75,6 +76,7 @@
75
76
  "@types/node": "^20.11.24",
76
77
  "@types/react": "^18.0.29",
77
78
  "@types/react-dom": "^18.0.11",
79
+ "rimraf": "^5.0.5",
78
80
  "rollup": "^4.12.0",
79
81
  "rollup-plugin-dts": "^6.1.1",
80
82
  "rollup-plugin-peer-deps-external": "^2.2.4",
@@ -1,40 +0,0 @@
1
- import { ConnectorActionResult } from "../types";
2
- /**
3
- * Input for activating a connector, including dependency, auth method, and form data.
4
- */
5
- export interface ActivateConnectorInput {
6
- dependencyConnector: any;
7
- authMethod: any;
8
- formData: any;
9
- }
10
- /**
11
- * Framework-agnostic activateConnector utility.
12
- * @param args - Activation arguments (connectorId, action, dependencyConnector, authMethod, input, saveStatusFn, executeActionHandlerFn, config)
13
- * @returns {Promise<{ status: string; data: any }>}
14
- */
15
- export declare const activateConnector: ({ connectorId, action, dependencyConnector, authMethod, input, }: {
16
- connectorId: string;
17
- action: any;
18
- dependencyConnector: any;
19
- authMethod: any;
20
- input?: any;
21
- }) => Promise<ConnectorActionResult>;
22
- /**
23
- * Framework-agnostic deactivateConnector utility.
24
- * @param args - Deactivation arguments (connectorId, action, deactivateConnectorFn, executeActionHandlerFn, config)
25
- * @returns {Promise<{ status: string; data: any }>}
26
- */
27
- export declare const deactivateConnector: ({ connectorId, action, }: {
28
- connectorId: string;
29
- action: any;
30
- }) => Promise<{
31
- status: string;
32
- data: {};
33
- }>;
34
- /**
35
- * Framework-agnostic executeActionHandler utility.
36
- * @param handler - The handler path or function
37
- * @param headers - Optional headers
38
- * @returns {Promise<any>}
39
- */
40
- export declare const executeActionHandler: (handler: any, headers?: {}) => Promise<any>;
@@ -1,3 +0,0 @@
1
- import { FastnConfig } from '../types';
2
- export declare function setConfig(userConfig: FastnConfig): void;
3
- export declare function getConfig(): Required<FastnConfig>;
@@ -1,27 +0,0 @@
1
- import { ConfigurationForm, OptionsResult, SelectOptionsResultPagination, FormData, GetConfigurationFormInput, OpenGoogleFilesPickerArgs } from "../types";
2
- export declare function openGoogleFilesPicker(parentArgs: {
3
- connectorId: string;
4
- }): (args: OpenGoogleFilesPickerArgs) => Promise<void>;
5
- /**
6
- * Loads more options for a select field.
7
- */
8
- export declare function loadMoreOptions(pagination: SelectOptionsResultPagination, context?: FormData): Promise<OptionsResult>;
9
- /**
10
- * Refreshes options for a select field.
11
- */
12
- export declare function refreshOptions(pagination: SelectOptionsResultPagination, context?: FormData): Promise<OptionsResult>;
13
- /**
14
- * Gets options for a select field.
15
- */
16
- export declare function getOptions(pagination: SelectOptionsResultPagination, context?: FormData, query?: string): Promise<OptionsResult>;
17
- /**
18
- * Searches options for a select field.
19
- */
20
- export declare function searchOptions(query: string, pagination: SelectOptionsResultPagination, context?: FormData): Promise<OptionsResult>;
21
- /**
22
- * Fetches and builds a configuration form for a connector.
23
- * Integrates with state management for loading/error.
24
- * @param input - ConfigurationFormInput
25
- * @returns Promise<ConfigurationForm>
26
- */
27
- export declare function getConfigurationForm(input: GetConfigurationFormInput): Promise<ConfigurationForm>;
@@ -1,2 +0,0 @@
1
- import { Configuration, GetConfigurationsInput } from "../types";
2
- export declare function getConfigurations({ configurationId, status, }: GetConfigurationsInput): Promise<Configuration[]>;
@@ -1,7 +0,0 @@
1
- import type { Connector, GetConnectorsInput } from '../types';
2
- /**
3
- * Fetches connectors and maps their actions for use in the application.
4
- * Updates the global state store.
5
- * @returns {Promise<Connector[]>}
6
- */
7
- export declare function getConnectors({ disabled, status, refetch }?: GetConnectorsInput): Promise<Connector[]>;
@@ -1,9 +0,0 @@
1
- /**
2
- * Executes a backend flow with the given path, input, and headers.
3
- * @returns {Promise<any>} The response data from the backend.
4
- */
5
- export declare const executeFLow: ({ path, input, headers }: {
6
- path: string;
7
- input?: any;
8
- headers?: Record<string, string>;
9
- }) => Promise<any>;
@@ -1,4 +0,0 @@
1
- import { RegisterRefetchFunctionInput } from "../types";
2
- declare const refetchFunctions: Record<string, () => Promise<void>>;
3
- declare const registerRefetchFunction: (input: RegisterRefetchFunctionInput) => void;
4
- export { registerRefetchFunction, refetchFunctions };
@@ -1,13 +0,0 @@
1
- import type { GetConfigurationFormInput, GetConfigurationsInput, FastnConfig, GetConnectorsInput, RegisterRefetchFunctionInput, Event } from './types';
2
- export declare class Fastn {
3
- constructor(config: Required<FastnConfig>);
4
- getConnectors(input?: GetConnectorsInput): Promise<import("./types").Connector[]>;
5
- getConfigurations(input: GetConfigurationsInput): Promise<import("./types").Configuration[]>;
6
- getConfigurationForm(input: GetConfigurationFormInput): Promise<import("./types").ConfigurationForm>;
7
- registerRefetchFunction(input: RegisterRefetchFunctionInput): void;
8
- onEvent(event: Event, callback: () => void): void;
9
- offEvent(event: Event, callback: () => void): void;
10
- }
11
- export * from './types';
12
- export { FastnError, MissingConfigError, AuthenticationError, MissingAuthTokenError, MissingSpaceIdError, MissingTenantIdError } from './utils/errors';
13
- export { DEFAULT_BASE_URL, REQUEST_TRACE_ID_HEADER_KEY, PROJECT_ID_HEADER_KEY, TENANT_ID_HEADER_KEY, CUSTOM_AUTH_CONTEXT_HEADER_KEY, CUSTOM_AUTH_HEADER_KEY } from './utils/constants';
@@ -1,86 +0,0 @@
1
- declare const GET_WIDGET_CONNECTORS = "\n query Connectors($input: GetConnectorsListInput!) {\n connectors(input: $input) {\n name\n id\n imageUri\n description\n content\n actions {\n name\n handler\n actionType\n activatedStateLabel\n content\n shows\n handlerPayload\n multiConnectorWidgetConnectors {\n name\n id\n imageUri\n description\n content\n connectionId\n actions {\n name\n handler\n actionType\n activatedStateLabel\n content\n shows\n handlerPayload\n }\n events {\n name\n eventId\n content\n payload\n }\n connectedConnectors {\n id\n imageUrl\n clientId\n name\n enableActivate\n activateStatus\n authMethods {\n title\n inputContract\n type\n details\n isDefault\n }\n }\n status\n }\n }\n events {\n name\n eventId\n content\n payload\n }\n connectedConnectors {\n id\n imageUrl\n clientId\n name\n enableActivate\n activateStatus\n authMethods {\n title\n inputContract\n type\n details\n isDefault\n }\n }\n status\n }\n }\n";
2
- declare const GET_API = "\n query Api($input: GetEntityInput!) {\n api(input: $input) {\n name\n id\n inputModel {\n jsonSchema\n }\n metaData {\n architecture\n }\n }\n }\n";
3
- declare const SAVE_ACTIVATE_CONNECTOR_STATE = "\n mutation SaveState($input: ActivateConnectorStateInput!) {\n saveActivateConnectorState(input: $input) {\n key\n value\n }\n }\n";
4
- declare const SAVE_ACTIVATE_CONNECTOR_STATUS = "\n mutation SaveActivateConnectorStatus(\n $input: SaveWidgetConnectorStatusInput!\n ) {\n saveWidgetConnectorStatus(input: $input)\n }\n";
5
- declare const GET_METADATA = "\n query Metadata($input: GetEntityInput!) {\n widgetMetadata(input: $input) {\n styles\n showFilterBar\n }\n }\n";
6
- declare const DEACTIVATE_CONNECTOR = "\n mutation DeactivateConnector($input: DeactivateConnectorInput!) {\n deactivateConnector(input: $input)\n }\n";
7
- declare const GET_TENANT_FLOW = "\n query GetTenantFlow($input: GetEntityInput!) {\n tenantFlow(input: $input) {\n resolver {\n clientId\n id\n steps {\n id\n type\n enableDebug\n debugBreakAfter\n outputSchema\n next\n tenantSettings {\n flow\n stepId\n version\n }\n configuredStepSetting {\n keyIsEditable\n addButton {\n label\n isDisabled\n fieldsLimit\n }\n description\n label\n validation {\n fieldValidation\n submitValidation\n modelId\n jsonSchema\n submitValidationFunction\n }\n }\n inline {\n code\n uiCode\n language\n next\n hasResponse\n isError\n statusCode\n }\n }\n }\n }\n }\n";
8
- declare const CONFIGURE_TENANT_FLOW = "\n mutation ConfigureTenantFlow($input: ConfigureTenantFlowInput!) {\n configureTenantFlow(input: $input) {\n id\n }\n }\n";
9
- declare const DELETE_TENANT_CONFIGURATION = "\n mutation DeleteTenantConfiguration($input: GetEntityInput!) {\n deleteTenantConfiguration(input: $input) {\n id\n }\n }\n";
10
- declare const GET_FIELD_DATA_QUERY = "\n query executeGetFieldDataFlow($input: ApiPrimaryResolverInvocationInput!) {\n executeGetFieldDataFlow(input: $input) {\n data\n }\n }\n";
11
- declare const GET_TENANT_CONFIGURATIONS = "\n query GetConfigurationSubscription($input: ConfigurationSubscriptionInput!) {\n getConfigurationSubscription(input: $input) {\n connector {\n id\n name\n description\n imageUri\n status\n active\n actions {\n name\n handler\n actionType\n }\n connectedConnectors {\n id\n name\n clientId\n imageUrl\n enableActivate\n activateStatus\n authMethods {\n title\n inputContract\n type\n details\n isDefault\n }\n }\n }\n status\n metaData\n }\n }\n";
12
- declare const GET_TENANT_CONFIGURATIONS_BY_ID = "\n query GetConfigurationSubscription($input: GetTenantConfigurationsInput) {\n tenantConfigurationsById(input: $input) {\n uiCode\n flowId\n stepId\n status\n configurations\n configuredStepSetting {\n keyIsEditable\n addButton {\n label\n isDisabled\n fieldsLimit\n }\n description\n label\n validation {\n fieldValidation\n submitValidation\n modelId\n jsonSchema\n submitValidationFunction\n }\n }\n }\n }\n";
13
- declare const CREATE_TENANT_CONFIGURATION = "\n mutation CreateTenantConfiguration($input: TenantConfigurationsInput!) {\n createTenantConfiguration(input: $input) {\n id\n }\n }\n";
14
- declare const UPDATE_TENANT_CONFIGURATION = "\n mutation UpdateTenantConfiguration($input: TenantConfigurationsInput!) {\n updateTenantConfiguration(input: $input) {\n id\n }\n }\n";
15
- declare const DELETE_TENANT_CONFIG = "\n mutation DeleteTenantConfig($input: GetTenantConfigurationsInput!) {\n deleteTenantConfig(input: $input) {\n id\n }\n }\n";
16
- declare const DISABLE_TENANT_CONFIG = "\n mutation DisableTenantConfig($input: GetTenantConfigurationsInput!) {\n disableTenantConfig(input: $input) {\n id\n }\n }\n";
17
- declare const GENERATE_ACCESS_TOKEN = "\n query GenerateAccessToken($input: ConnectorConnectionInput!) {\n connectorConnection(input: $input) \n }\n";
18
- declare function getConnectors(variables: any): Promise<{
19
- data: any;
20
- errors: any;
21
- }>;
22
- declare function getApi(variables: any): Promise<{
23
- data: any;
24
- errors: any;
25
- }>;
26
- declare function saveActivateConnectorState(variables: any): Promise<{
27
- data: any;
28
- errors: any;
29
- }>;
30
- declare function saveActivateConnectorStatus(variables: any): Promise<{
31
- data: any;
32
- errors: any;
33
- }>;
34
- declare function getMetaData(variables: any): Promise<{
35
- data: any;
36
- errors: any;
37
- }>;
38
- declare function deactivateConnector(variables: any): Promise<{
39
- data: any;
40
- errors: any;
41
- }>;
42
- declare function getTenantFlow(variables: any): Promise<{
43
- data: any;
44
- errors: any;
45
- }>;
46
- declare function configureTenantFlow(variables: any): Promise<{
47
- data: any;
48
- errors: any;
49
- }>;
50
- declare function deleteTenantConfiguration(variables: any): Promise<{
51
- data: any;
52
- errors: any;
53
- }>;
54
- declare function getFieldData(variables: any): Promise<{
55
- data: any;
56
- errors: any;
57
- }>;
58
- declare function getConfigurationSubscriptions(variables: any): Promise<{
59
- data: any;
60
- errors: any;
61
- }>;
62
- declare function getConfigurationSubscriptionById(variables: any): Promise<{
63
- data: any;
64
- errors: any;
65
- }>;
66
- declare function createTenantConfiguration(variables: any): Promise<{
67
- data: any;
68
- errors: any;
69
- }>;
70
- declare function updateTenantConfiguration(variables: any): Promise<{
71
- data: any;
72
- errors: any;
73
- }>;
74
- declare function deleteTenantConfig(variables: any): Promise<{
75
- data: any;
76
- errors: any;
77
- }>;
78
- declare function disableTenantConfig(variables: any): Promise<{
79
- data: any;
80
- errors: any;
81
- }>;
82
- declare function generateAccessToken(variables: any): Promise<{
83
- data: any;
84
- errors: any;
85
- }>;
86
- export { GET_WIDGET_CONNECTORS, GET_API, SAVE_ACTIVATE_CONNECTOR_STATE, SAVE_ACTIVATE_CONNECTOR_STATUS, GET_METADATA, DEACTIVATE_CONNECTOR, GET_TENANT_FLOW, CONFIGURE_TENANT_FLOW, DELETE_TENANT_CONFIGURATION, GET_FIELD_DATA_QUERY, GET_TENANT_CONFIGURATIONS, GET_TENANT_CONFIGURATIONS_BY_ID, CREATE_TENANT_CONFIGURATION, UPDATE_TENANT_CONFIGURATION, DELETE_TENANT_CONFIG, DISABLE_TENANT_CONFIG, GENERATE_ACCESS_TOKEN, getConnectors, getApi, saveActivateConnectorState, saveActivateConnectorStatus, getMetaData, deactivateConnector, getTenantFlow, configureTenantFlow, deleteTenantConfiguration, getFieldData, getConfigurationSubscriptions, getConfigurationSubscriptionById, createTenantConfiguration, updateTenantConfiguration, deleteTenantConfig, disableTenantConfig, generateAccessToken };
@@ -1,10 +0,0 @@
1
- export type FastnEnvironment = 'LIVE' | 'DRAFT' | string;
2
- export interface FastnConfig {
3
- baseUrl?: string;
4
- environment?: FastnEnvironment;
5
- flowsEnvironment?: FastnEnvironment;
6
- authToken: string;
7
- tenantId: string;
8
- spaceId: string;
9
- customAuth?: boolean | undefined;
10
- }