diff --git a/404.html b/404.html index d4ff3d7576..548a1828d5 100644 --- a/404.html +++ b/404.html @@ -27,11 +27,11 @@ FaasJS - - + +

404

There's nothing here.
Take me home
- + diff --git a/CHANGELOG.html b/CHANGELOG.html index 83ad072110..645bc3dae9 100644 --- a/CHANGELOG.html +++ b/CHANGELOG.html @@ -27,11 +27,11 @@ Changelog | FaasJS - - + +

Changelog

FaasJS use Semantic Versioningopen in new window.

Stable

v2.2.0 (2024-03-13)open in new window

  • @faasjs/func

    • [Feature] Add FuncParamsType and FuncReturnType.
  • create-faas-app

    • [Feature] Simplify options.

v2.1.0 (2024-03-08)open in new window

  • @faasjs/react

    • [Feature] Add createSplitedContext.
  • @faasjs/ant-design

    • [Feature] Simplify App with createSplitedContext.

v2.0.0 (2024-02-28)open in new window

  • @faasjs/react
    • [Break] Remove @preact/signals-react.

v1.7.2 (2024-02-27)open in new window

  • @faasjs/react

    • [Fix] Fix loading's render issue.
  • @faasjs/ant-design

    • [Fix] Fix Table's loading state.

v1.7.1 (2024-02-25)open in new window

  • @faasjs/jest
    • [Fix] Fix dependences, remove @faasjs/test.

v1.7.0 (2024-02-24)open in new window

  • create-faas-app

    • [Feature] Support Bun.
    • [Fix] Fix example file.
  • @faasjs/logger

    • [Feature] Refactor Logger class initialization.

v1.6.0 (2024-01-29)open in new window

  • @faasjs/react

    • [Feature] Add useConstant.
  • @faasjs/ant-design

    • [Feature] Reduce App re-render times.

v1.5.0 (2024-01-29)open in new window

v1.4.2 (2024-01-22)open in new window

  • @faasjs/knex

    • [Fix] Fix transaction return value.
  • @faasjs/logger

    • [Fix] Fix error log outputs.

v1.4.1 (2024-01-20)open in new window

  • @faasjs/knex

    • [Feature] Add commit and rollback events to transaction.
    • [Feature] Improve logger.
  • @faasjs/request

    • [Feature] Improve json parse.
  • @faasjs/redis

    • [Feature] Add lock success log.
    • [Fix] Fix logger label.

v1.3.2 (2024-01-06)open in new window

  • @faasjs/request

    • [Feature] Display requestId in log.
    • [Fix] Fix downloadFile and downloadStream's logger.
  • @faasjs/ant-design

    • [Fix] Fix Tabs's item's type define.

v1.3.0 (2024-01-03)open in new window

  • @faasjs/logger

    • [Feature] Add FaasLogMode.
  • @faasjs/request, @faasjs/redis, @faasjs/server

    • [Fix] Use internal logger.
  • @faasjs/knex

    • [Fix] Improve log format.

v1.2.0 (2023-12-31)open in new window

  • @faasjs/request

    • [Feature] Add default timeout (5000 as 5s).
  • @faasjs/func

    • [Feature] Improve logger.

v1.1.1 (2023-12-29)open in new window

  • @faasjs/ant-design
    • [Fix] Fix transfer array types.

v1.1.0 (2023-12-26)open in new window

  • @faasjs/http

    • [Feature] Lowercase header names.
  • @faasjs/server

    • [Feature] Lowercase header names.
    • [Feature] Add all headers to Access-Control-Allow-Headers.
    • [Feature] Add Access-Control-Expose-Headers.
  • @faasjs/browser

    • [Feature] Add headers to beforeRequest.

v1.0.0 (2023-12-23)open in new window

  • [Feature] Release first stable version.

  • @faasjs/react

    • [Feature] Export useSignals.

Beta

v0.0.5-beta.6 (2023-12-23)open in new window

  • @faasjs/react

    • [Feature] Upgrade @preact/signal-react to ^2.0.0.
  • @faasjs/redis

    • [Feature] Improve locking log.

v0.0.5-beta.5 (2023-12-19)open in new window

  • @faasjs/ant-design

    • [Fix] Fix Table items re-render issue.
  • @faasjs/server

    • [Feature] Support deep path default function.

v0.0.5-beta.3 (2023-12-14)open in new window

  • @faasjs/ant-design
    • [Fix] Fix time input.

v0.0.5-beta.2 (2023-12-12)open in new window

  • @faasjs/knex

    • [Feature] Improve logger.
  • @faasjs/react

    • [Feature] Add useSignalState.

v0.0.5-beta.1 (2023-12-04)open in new window

  • @faasjs/ant-design

    • [Break] Change ConfigProvider's config to theme.
    • [Feature] Add FaasClientOptions to ConfigProvider.
  • @faasjs/request

    • [Feature] Update logger.

v0.0.4-beta.16 (2023-12-03)open in new window

  • @faasjs/ant-design

    • [Feature] Add FaasJS's ConfigProvider to App.
  • @faasjs/request

    • [Feature] Support gzip and br encoding.

v0.0.4-beta.15 (2023-12-01)open in new window

  • @faasjs/eslint-config-recommended

    • [Break] Remove package.
  • @faasjs/eslint-config-react

    • [Break] Remove package.
  • @faasjs/eslint-config-vue

    • [Break] Remove package.
  • @faasjs/linter

    • [Break] Remove package.
  • @faasjs/ant-design

    • [Feature] Add ErrorBoundary to App.

v0.0.4-beta.14 (2023-11-30)open in new window

  • @faasjs/ant-design
    • [Feature] Table's columns support filterDropdown: false and sorter: false.

v0.0.4-beta.12 (2023-11-29)open in new window

v0.0.4-beta.11 (2023-11-19)open in new window

  • @faasjs/redis

    • [Feature] Remove unnecessary types.
  • @faasjs/logger

    • [Fix] Fix logger size.

v0.0.4-beta.10 (2023-11-05)open in new window

  • @faasjs/request
    • [Feature] When request failed, return ResponseError instead of Error.

v0.0.4-beta.9 (2023-10-24)open in new window

  • [Feature] Improve dependencies.

v0.0.4-beta.7 (2023-10-23)open in new window

  • @faasjs/func

    • [Feature] Improve logger for mono mode.
  • @faasjs/http

    • [Feature] Improve logger for mono mode.

v0.0.4-beta.6 (2023-10-20)open in new window

  • @faasjs/knex
    • [Feature] transaction add options: { trx: Knex.Transaction } (Thanks contributor: @Wittopen in new window).
    • [Feature] Export originKnex and OriginKnex.

v0.0.4-beta.5 (2023-10-17)open in new window

  • @faasjs/test
    • [Break] jest.setup.js moved to @faasjs/jest.

v0.0.4-beta.4 (2023-10-16)open in new window

  • @faasjs/react
    • [Feature] skip can be a function.

v0.0.3-beta.109 (2023-09-22)open in new window

  • @faasjs/server
    • [Feature] Improve logger.

v0.0.3-beta.108 (2023-09-21)open in new window

v0.0.3-beta.107 (2023-09-14)open in new window

  • @faasjs/http
    • [Fix] Fix clone params.

v0.0.3-beta.105 (2023-09-13)open in new window

  • @faasjs/http
    • [Feature] Add data.event.params as cloned params.

v0.0.3-beta.104 (2023-09-05)open in new window

  • @faasjs/browser

    • [Feature] Add setMock for testing.
  • @faasjs/ant-design

    • [Feature] Add onClick to Link.
    • [Fix] Avoid Link return null.

v0.0.3-beta.101 (2023-09-03)open in new window

  • @faasjs/ant-design
    • [Fix] Fix Link global style.

v0.0.3-beta.100 (2023-08-29)open in new window

  • @faasjs/ant-design
    • [Fix] Fix Link style.
    • [Fix] Fix Link onClick bug.

v0.0.3-beta.98 (2023-08-26)open in new window

  • @faasjs/ant-design
    • [Feature] Add copyable to Link.

v0.0.3-beta.97 (2023-08-25)open in new window

  • @faasjs/react
    • [Feature] Export reloadTime from useFaas.

v0.0.3-beta.96 (2023-08-19)open in new window

  • @faasjs/react
    • [Feature] Add debounce to useFaas.

v0.0.3-beta.95 (2023-08-17)open in new window

  • @faasjs/ant-design

    • [Fix] Fix Descriptions' renderTitle.
  • @faasjs/server

    • [Feature] Add onError.

v0.0.3-beta.94 (2023-08-16)open in new window

  • @faasjs/http

    • [Fix] Fix params parse.
  • @faasjs/react

    • [Feature] ErrorBoundary's onError be opitonal.
  • @faasjs/knex

    • [Feature] Make logger be public.

v0.0.3-beta.92 (2023-08-10)open in new window

  • @faasjs/react
    • [Feature] add ErrorBoundary.

v0.0.3-beta.91 (2023-08-07)open in new window

  • @faasjs/cloud_function
    • [Feature] Add request_id to invoked funciton.

v0.0.3-beta.90 (2023-08-06)open in new window

  • @faasjs/ant-design
    • [Fix] Fix Descriptions' renderTitle.

v0.0.3-beta.89 (2023-08-04)open in new window

  • @faasjs/ant-design

    • [Feature] Upgrade antd version to ~5.8.0.
  • @faasjs/request

    • [Feature] Update error message.

v0.0.3-beta.88 (2023-07-31)open in new window

  • @faasjs/server

    • [Feature] Add X-FaasJS-Timing-Pending, X-FaasJS-Timing-Processing, X-FaasJS-Timing-Total to header.
  • @faasjs/http

    • [Fix] Fix cookie and session's logger.

v0.0.3-beta.87 (2023-07-20)open in new window

  • @faasjs/react
    • [Feature] Ignore React Native's fetch abort.

v0.0.3-beta.86 (2023-07-19)open in new window

  • @faasjs/eslint-config-recommended
    • [Feature] Add more rules.

v0.0.3-beta.85 (2023-07-01)open in new window

  • @faasjs/server
    • [Fix] Fix Access-Control-Allow-Headers.

v0.0.3-beta.84 (2023-06-29)open in new window

  • @faasjs/browser & @faasjs/server & @faasjs/http
    • [Feature] Add new X-FaasJS-Request-Id header.

v0.0.3-beta.83 (2023-06-05)open in new window

  • @faasjs/ant-design
    • [Feature] Display radio when options length less than 11.

v0.0.3-beta.82 (2023-05-18)open in new window

  • @faasjs/server
    • [Feature] Split process with path.

v0.0.3-beta.81 (2023-05-16)open in new window

  • @faasjs/react
    • [Feature] Add auto retry to useFaas.

v0.0.3-beta.79 (2023-04-26)open in new window

  • @faasjs/knex

    • [Feature] Add json convert to pg.
  • @faasjs/logger

    • [Feature] Add FaasLogSize.

v0.0.3-beta.78 (2023-04-18)open in new window

  • @faasjs/request

    • [Feature] Output debug logger for mock.
  • @faasjs/ant-design

    • [Feature] Export faas functions.

v0.0.3-beta.77 (2023-04-12)open in new window

  • @faasjs/ant-design
    • [Fix] Fix null item.

v0.0.3-beta.76 (2023-04-02)open in new window

  • @faasjs/ant-design
    • [Fix] Fix Tabs' label.

v0.0.3-beta.75 (2023-03-30)open in new window

  • @faasjs/ant-design
    • [Fix] Fix item type.

v0.0.3-beta.74 (2023-03-23)open in new window

  • @faasjs/ant-design

    • [Fix] Fix Table extra.
  • @faasjs/react

    • [Fix] Fix params.

v0.0.3-beta.73 (2023-03-19)open in new window

  • @faasjs/react

    • [Fix] Fix action missing.
  • @faasjs/request

    • [Feature] Display url in error message.

v0.0.3-beta.72 (2023-03-17)open in new window

  • @faasjs/react
    • [Feature] Export setParams.

v0.0.3-beta.70 (2023-03-12)open in new window

  • @faasjs/ant-design
    • [Feature] Add Tabs component.

v0.0.3-beta.68 (2023-03-05)open in new window

  • @faasjs/ant-design
    • [Feature] Improve dropdown render.
    • [Fix] Fix table loading.

v0.0.3-beta.65 (2023-03-04)open in new window

  • @faasjs/ant-design
    • [Feature] Add date picker to date and time items.

v0.0.3-beta.63 (2023-03-02)open in new window

  • @faasjs/ant-design
    • [Fix] Fix boolean filter.

v0.0.3-beta.62 (2023-02-27)open in new window

  • @faasjs/ant-design
    • [Fix] Fix filter.

v0.0.3-beta.61 (2023-02-21)open in new window

  • @faasjs/ant-design
    • [Feature] Use Select as filters.
    • [Fix] Fix filterDropdown.

v0.0.3-beta.59 (2023-02-18)open in new window

  • @faasjs/knex
    • [Feature] Update pool config.

v0.0.3-beta.57 (2023-02-16)open in new window

  • @faasjs/ant-design

    • [Fix] Fix null value.
  • @faasjs/redis

    • [Fix] Fix disconnect.

v0.0.3-beta.56 (2023-02-15)open in new window

  • @faasjs/ant-design
    • [Feature] Add BrowserRouter to App.

v0.0.3-beta.55 (2023-02-14)open in new window

  • @faasjs/ant-design
    • [Fix] Fix App style.

v0.0.3-beta.51 (2023-02-12)open in new window

  • @faasjs/ant-design
    • [Feature] Add App component.

v0.0.3-beta.50 (2023-02-09)open in new window

  • @faasjs/knex
    • [Feature] Add default pg config.

v0.0.3-beta.49 (2023-02-08)open in new window

  • @faasjs/ant-design
    • [Fix] Fix time sorter.

v0.0.3-beta.47 (2023-02-07)open in new window

  • @faasjs/redis
    • [Feature] Add lock and unlock.

v0.0.3-beta.46 (2023-02-06)open in new window

  • @faasjs/request
    • [Feature] Return Error.

v0.0.3-beta.45 (2023-02-04)open in new window

  • @faasjs/ant-design
    • [Fix] Fix boolean filter.

v0.0.3-beta.44 (2023-02-02)open in new window

  • @faasjs/test
    • [Feature] Add .ts to filename.

v0.0.3-beta.43 (2023-02-01)open in new window

  • @faasjs/ant-design
    • [Feature] Add extra to list.
    • [Fix] Fix FaasData.

v0.0.3-beta.40 (2023-01-30)open in new window

  • [Feature] Use peerDependence.

v0.0.3-beta.36 (2023-01-27)open in new window

  • @faasjs/ant-design

    • [Remove] Remove ErrorBoundary.
    • [Fix] Remove unused log.
  • @faasjs/request

    • [Fix] Improve parse.

v0.0.3-beta.35 (2023-01-24)open in new window

  • @faasjs/ant-design
    • [Feature] Add block to Link.
    • [Fix] Fix link style.

v0.0.3-beta.32 (2023-01-23)open in new window

  • @faasjs/ant-design
    • [Feature] Add type UnionFaasItem.
    • [Feature] Add loading to wrapper.
    • [Feature] Add children to Loading.

v0.0.3-beta.31 (2023-01-22)open in new window

  • @faasjs/redis
    • [Feature] Add multi and pipeline.

v0.0.3-beta.30 (2023-01-19)open in new window

  • @faasjs/http
    • [Feature] Export cookie and session.

v0.0.3-beta.29 (2023-01-18)open in new window

  • @faasjs/ant-design
    • [Feature] Add async to submit.
    • [Feature] Export Form.List, Form.ErrorList and Form.Provider.
    • [Feature] Add Loading and FaasDataWrapper.

v0.0.3-beta.24 (2023-01-17)open in new window

  • @faasjs/ant-design
    • [Fix] Fix empty filter.

v0.0.3-beta.23 (2023-01-16)open in new window

  • @faasjs/ant-design
    • [Fix] Fix filter.

v0.0.3-beta.21 (2023-01-15)open in new window

  • @faasjs/ant-design
    • [Feature] Add options to FaasDataTable.
    • [Feature] Add children to FaasDataWrapper.

v0.0.3-beta.19 (2023-01-13)open in new window

  • @faasjs/http
    • [Fix] Fix params.

v0.0.3-beta.18 (2023-01-11)open in new window

  • @faasjs/logger
    • [Fix] Increase default log size.

v0.0.3-beta.17 (2023-01-10)open in new window

  • @faasjs/ant-design
    • [Fix] Fix link text.

v0.0.3-beta.16 (2022-12-23)open in new window

  • @faasjs/ant-design
    • [Feature] Update major types to interfaces.

v0.0.3-beta.15 (2022-12-16)open in new window

  • @faasjs/cloud_function
    • [Fix] Fix local mode's path issue.
  • @faasjs/func
    • [Feature] Let useify plugin returns plugin instance when it mounts.
  • @faasjs/http
    • [Fix] Don't initialize cookie and session before mount.

v0.0.3-beta.11 (2022-12-13)open in new window

  • @faasjs/ant-design
    • [Fix] Fix link with button.

v0.0.3-beta.10 (2022-12-08)open in new window

  • @faasjs/react
    • [Fix] Auto cancel request when component unmount.

v0.0.3-beta.8 (2022-12-07)open in new window

  • @faasjs/ant-design
    • [Feature] Add debug logs.
  • @faasjs/logger
    • [Feature] Improve log outputs.

v0.0.3-beta.6 (2022-12-05)open in new window

  • @faasjs/cli
    • [Fix] Rollback to use lodash.
  • @faasjs/server
    • [Fix] Rollback to use lodash.
  • create-faas-app
    • [Fix] Rollback to use lodash.

v0.0.3-beta.5 (2022-12-02)open in new window

  • @faasjs/ant-design
    • [Fix] Fix if in FormItem.

v0.0.3-beta.4 (2022-11-28)open in new window

  • @faasjs/ant-design
    • [Fix] Fix i18n for Table.

v0.0.3-beta.2 (2022-11-25)open in new window

  • @faasjs/ant-design
    • [Feature] Add null to table's options.

v0.0.3-beta.2 (2022-11-19)open in new window

  • @faasjs/ant-design
    • [Break] Upgrade Ant Design to 5.x.
    • [Break] Use lodash-es instead of lodash.

v0.0.2-beta.406 (2022-09-01)open in new window

  • [Feature] Replace peerDependencies with dependencies.
  • @faasjs/ant-design
    • [Feature] Convert string to dayjs instance automatically when type is date or time.
    • [Fix] Fix extendTypes warning.

v0.0.2-beta.404 (2022-08-24)open in new window

  • @faasjs/knex
    • [Fix] Fix query's typescript definition.

v0.0.2-beta.403 (2022-08-21)open in new window

  • @faasjs/redis
    • [Fix] Fix logger.

v0.0.2-beta.402 (2022-08-20)open in new window

  • @faasjs/func
    • [Fix] Fix logger for testing.
  • @faasjs/knex
    • [Fix] Fix logger.

v0.0.2-beta.400 (2022-08-19)open in new window

  • [Break] Add request_id to all logs.
  • [Break] Add node >= 16.0.0 to package.json.

v0.0.2-beta.399 (2022-08-15)open in new window

  • create-faas-app
    • [Feature] Update script and files.
  • @faasjs/test
    • [Fix] Fix the empty config issue.

v0.0.2-beta.398 (2022-08-07)open in new window

  • @faasjs/func
    • [Fix] usePlugin will add mount automatically.

v0.0.2-beta.397 (2022-08-06)open in new window

  • @faasjs/aws
    • [Break] Remove @faasjs/aws package.
  • @faasjs/react
    • [Feature] Export more types from @faasjs/types.
  • @faasjs/func
    • [Feature] Update documents.
    • [Remove] Remove export's config.

v0.0.2-beta.396 (2022-07-27)open in new window

  • @faasjs/knex
    • [Fix] Fix query function params's type.

v0.0.2-beta.395 (2022-07-26)open in new window

  • @faasjs/request
    • [Feature] Add English documents.

v0.0.2-beta.394 (2022-05-30)open in new window

  • @faasjs/http
    • [Fix] Fix validator.

v0.0.2-beta.393 (2022-04-27)open in new window

  • @faasjs/ant-design
    • [Feature] Support React 18.x.
  • @faasjs/jest
    • [Feature] Support jest 28.x.

v0.0.2-beta.392 (2022-04-14)open in new window

  • create-faas-app
    • [Break] Remove default provider.

v0.0.2-beta.391 (2022-04-01)open in new window

  • @faasjs/eslint-recommended
    • [Feature] Remove slow rules.

v0.0.2-beta.390 (2022-03-30)open in new window

  • @faasjs/ant-design
    • [Break] Remove react-use dependency.

v0.0.2-beta.389 (2022-03-25)open in new window

  • @faasjs/http
    • [Feature] Add originBody to all response.
    • [Fix] Fix response.
  • @faasjs/knex
    • [Break] Use better-sqlite3 as sqlite adapter.

v0.0.2-beta.385 (2022-03-18)open in new window

  • @faasjs/ant-design
    • [Feature] Add afterItems to Form.

v0.0.2-beta.384 (2022-03-03)open in new window

  • @faasjs/ant-design
    • [Fix] Fix filterDropdown.

v0.0.2-beta.383 (2022-03-01)open in new window

  • @faasjs/ant-design
    • [Feature] Update i18n.

v0.0.2-beta.382 (2022-02-28)open in new window

  • @faasjs/jest
    • [Feature] Add new package @faasjs/jest.
  • @faasjs/ant-design
    • [Feature] Add object and object[] to FormItem.

v0.0.2-beta.380 (2022-02-25)open in new window

  • @faasjs/server
    • [Feature] Add default route.

v0.0.2-beta.379 (2022-02-24)open in new window

  • @faasjs/server
    • [Feature] Support tsx file.
  • @faasjs/ant-design
    • [Fix] Fix submit for Form.

v0.0.2-beta.378 (2022-02-23)open in new window

  • @faasjs/ant-design
    • [Feature] Add beforeItems to Form.
    • [Feature] Support pure string as children.

v0.0.2-beta.375 (2022-02-22)open in new window

  • @faasjs/ant-design
    • [Feature] Add submitTo to Form.

v0.0.2-beta.374 (2022-02-18)open in new window

  • @faasjs/ant-design
    • [Feature] Add children to Title.

v0.0.2-beta.373 (2022-02-14)open in new window

  • @faasjs/ant-design
    • [Fix] Fix antd paths.

v0.0.2-beta.371 (2022-02-13)open in new window

  • @faasjs/ant-design
    • [Feature] Add h1 to Title.
    • [Feature] Export dayjs components.

v0.0.2-beta.370 (2022-02-09)open in new window

  • @faasjs/ant-design
    • [Feature] Add DatePicker to FormItem.

v0.0.2-beta.365 (2022-02-07)open in new window

  • @faasjs/graphql-server
    • [Break] Remove package @faasjs/graphql-server.

v0.0.2-beta.357 (2022-02-01)open in new window

Happy Chinese New Year! 🐯 🧨

  • @faasjs/browser
    • [Break] Rename FaasData to FaasDataWrapper.
    • [Break] Rename element to render.
    • [Feature] Add data and setData to useFaas and FaasDataWrapper.
    • [Feature] Add module to package.json.
    • [Feature] Export FaasDataWrapper directly, it will use default client.
  • @faasjs/ant-design
    • [Feature] Table supports ajax mode.

v0.0.2-beta.353 (2022-01-30)open in new window

  • @faasjs/ant-design
    • [Feature] Add Config.
    • [Feature] Add Title.
    • [Feature] Add Routes.

v0.0.2-beta.348 (2022-01-29)open in new window

  • @faasjs/http
  • @faasjs/ant-design
    • [Feature] Add Drawer and useDrawer.
    • [Feature] Add data and setData to FaasDataWrapper.
  • @faasjs/eslint-config-recommended
    • [Feature] Add *.mjs to files.

v0.0.2-beta.346 (2022-01-17)open in new window

  • @faasjs/ant-design
    • [Feature] Add options to baseItemProps.
  • @faasjs/knex
    • [Feature] upgrade to knex v1.0.0.
    • [Feature] use @vscode/sqlite3 instead of sqlite3.

v0.0.2-beta.345 (2022-01-15)open in new window

  • @faasjs/ant-design
    • [Feature] Add options to Description and Table.
    • [Feature] Add Blank.
    • [Feature] Add filter to boolean in Table.
  • @faasjs/server
    • [Feature] use randomBytes to generate requestId.
    • [Feature] add queryString to event.

v0.0.2-beta.342 (2022-01-13)open in new window

  • @faasjs/ant-design
    • [Feature] Add faasData to Table and Description.
  • @faasjs/react
    • [Feature] Add getClient.

v0.0.2-beta.341 (2022-01-12)open in new window

  • @faasjs/ant-design
    • [Feature] Add extend to Form, Description and Table.

v0.0.2-beta.337 (2022-01-11)open in new window

  • @faasjs/ant-design
    • [Feature] Add render to Description.
    • [Feature] Add submit options to Form.

v0.0.2-beta.334 (2022-01-10)open in new window

  • [Remove] @faasjs/logger remove default export.
  • [Remove] @faasjs/request remove default export.
  • [Remove] @faasjs/deep_merge remove default export.

v0.0.2-beta.331 (2022-01-05)open in new window

  • @faasjs/ant-design
    • [Feature] Add maxCount to FormItem.
    • [Feature] Add string[] and number[] to options.

v0.0.2-beta.328 (2022-01-04)open in new window

  • [Feature] @faasjs/ant-design add options as a select to FormItem.

v0.0.2-beta.326 (2022-01-04)open in new window

  • [Feature] Add @faasjs/ts-transform.

v0.0.2-beta.324 (2021-12-28)open in new window

  • [Fix] @faasjs/browser fix cookie.

v0.0.2-beta.323 (2021-12-27)open in new window

  • [Feature] @faasjs/ant-design add input to FormItem.
  • [Feature] @faasjs/ant-design export useForm.

v0.0.2-beta.321 (2021-12-26)open in new window

  • [Fix] @faasjs/load fix node resolve issue.
  • [Feature] replace ts-node with swc.

v0.0.2-beta.314 (2021-12-25)open in new window

  • [Feature] use tsup to build packages.
  • [Feature] @faasjs/test remove vm2.

v0.0.2-beta.313 (2021-12-24)open in new window

  • [Feature] Add @faasjs/types to faasjs.
  • [Feature] Add @faasjs/ant-design.

v0.0.2-beta.313 (2021-12-21)open in new window

  • [Feature] @faasjs/graphql-server upgrade api.
  • [Feature] replace @sucrase/jest-plugin with @swc/jest.

v0.0.2-beta.309 (2021-12-18)open in new window

  • [Fix] @faasjs/react fix types.

v0.0.2-beta.298 (2021-12-16)open in new window

  • [Fix] @faasjs/browser fix data and onError.

v0.0.2-beta.295 (2021-12-15)open in new window

  • [Feature] @faasjs/browser replace XMLHttpRequest with fetch.

v0.0.2-beta.295 (2021-12-14)open in new window

  • [Feature] @faasjs/http export ValidatorConfig.
  • [Feature] @faasjs/react add FaasActions.

v0.0.2-beta.292 (2021-12-12)open in new window

  • [Feature] @faasjs/react add FaasData.

v0.0.2-beta.285 (2021-12-10)open in new window

  • [Feature] @faasjs/reactuseFaas 新增导出 setLoadingsetPromisesetDatasetError 参数,用于自定义数据加载。

v0.0.2-beta.280 (2021-12-07)open in new window

  • [Feature] @faasjs/browserbeforeRequest 配置项允许传入异步函数。
  • [Feature] @faasjs/server 内置 CORS 支持。

v0.0.2-beta.278 (2021-12-06)open in new window

  • [Feature] @faasjs/server 优化单体应用模式下的日志输出。
  • [Feature] @faasjs/http 新增 http.body 属性,用于获取原始请求体。
  • [Feature] @faasjs/http 简化日志输出。

v0.0.2-beta.275 (2021-12-05)open in new window

  • [Feature] faasjs 默认依赖包移除 @faasjs/tencentcloud,使用腾讯云的服务须手动添加依赖。
  • [Feature] @faasjs/browser@faasjs/react@faasjs/vue-plugin 编译版本升级到 es2017

v0.0.2-beta.273 (2021-12-03)open in new window

  • [新增] @faasjs/aws 新增 AWS 适配器。

v0.0.2-beta.271 (2021-11-29)open in new window

  • [Feature] @faasjs/redis 使用 ioredis 替代 redis
  • [Feature] @faasjs/tencentcloud 优化重复代码。
  • [Feature] @faasjs/cli 优化日志提示。
  • [修复] @faasjs/tencentcloud 修正打包时未将 .d.ts 等文件移除的问题。

v0.0.2-beta.269 (2021-11-01)open in new window

  • [Feature] @faasjs/func 新增代码包启动计时(此时间为冷启动的一部分)。

v0.0.2-beta.268 (2021-10-28)open in new window

  • [Feature] @faasjs/eslint-config-recommended 移除 eslint-plugin-jest

v0.0.2-beta.267 (2021-10-25)open in new window

  • [Feature] @faasjs/http 优化 ts 定义。

v0.0.2-beta.266 (2021-10-24)open in new window

  • [Feature] 将项目的 ts 编译设置为 strict 模式。

v0.0.2-beta.263 (2021-10-16)open in new window

  • [Feature] @faasjs/test 修正 FuncWarper 为正确的拼写。

v0.0.2-beta.260 (2021-10-13)open in new window

  • [Feature] @faasjs/func 优化部分 ts 定义。
  • [Feature] @faasjs/cloud_function 优化部分 ts 定义。

v0.0.2-beta.258 (2021-10-12)open in new window

  • [Feature] @faasjs/http 对于小于 100 字节的内容不压缩。

v0.0.2-beta.257 (2021-10-11)open in new window

  • [Feature] @faasjs/redis 新增 getJSONsetJSON 方法。
  • [Feature] vscode/faasjs-snippets 新增 http validator 代码块。

v0.0.2-beta.256 (2021-10-04)open in new window

  • [Feature] 采用 npm 替代 yarn,并将部分关联依赖改为 peerDependencies

v0.0.2-beta.254 (2021-09-26)open in new window

  • [移除] @faasjs/kafka
  • [修正] @faasjs/react 修正加载错误。

v0.0.2-beta.253 (2021-09-24)open in new window

  • [移除] @faasjs/sql 移除,使用 @faasjs/knex 代替。
  • [Feature] VS Code 插件 faasjs-snippets 添加更多代码片段。
  • [Feature] @faasjs/cloud_functionconfig 参数改为 public

v0.0.2-beta.251 (2021-09-17)open in new window

  • [Feature] @faasjs/browser 支持 CDN。
  • [Feature] @faasjs/react 支持 CDN。
  • [Feature] @faasjs/vue-plugin 支持 CDN。

v0.0.2-beta.244 (2021-09-16)open in new window

  • [Feature] @faasjs/deep_merge 导出 deepMerge 方法。
  • [Feature] @faasjs/logger 导出 Logger 类。

v0.0.2-beta.243 (2021-09-15)open in new window

  • [Feature] @faasjs/tencentcloud 将本地 mock 功能移到 @faasjs/cloud_function

v0.0.2-beta.241 (2021-09-13)open in new window

  • [修正] @faasjs/tencentcloud 环境变量不再强制覆盖 region。

v0.0.2-beta.240 (2021-09-11)open in new window

  • [Feature] @faasjs/react 新增 reload 方法。

v0.0.2-beta.238 (2021-09-07)open in new window

  • [Feature] @faasjs/func 添加 filename 属性。

v0.0.2-beta.237 (2021-09-05)open in new window

  • [Feature] @faasjs/tencentcloud 优化并导出 request 方法。

v0.0.2-beta.234 (2021-09-03)open in new window

  • [Feature] @faasjs/redis 导出 getset 方法。

v0.0.2-beta.232 (2021-09-01)open in new window

  • [修正] @faasjs/cli 修正部署时内存泄露的问题。

v0.0.2-beta.232 (2021-08-30)open in new window

  • [修正] @faasjs/tencentcloud 修正日志输出。

v0.0.2-beta.231 (2021-08-29)open in new window

  • [修正] @faasjs/http 修正 HttpError 的问题。

v0.0.2-beta.230 (2021-08-27)open in new window

  • [Feature] 常用函数通过 export 直接导出。

v0.0.2-beta.220 (2021-07-30)open in new window

  • [修正] @faasjs/tencentcloud 使用最新的环境变量。

v0.0.2-beta.219 (2021-07-28)open in new window

  • [Feature] @faasjs/cloud_function 优化 invoke 数据。

v0.0.2-beta.218 (2021-07-26)open in new window

  • [Feature] @faasjs/eslint-config-recommended 优化代码风格规范。
  • [Feature] @faasjs/mongo 支持 mongodb 新版本。

v0.0.2-beta.216 (2021-07-26)open in new window

  • [Feature] @faasjs/tencentcloud 优化时间签名。

v0.0.2-beta.215 (2021-07-13)open in new window

  • [Feature] @faasjs/graphql-server 支持 apollo-server-core 新版本。

v0.0.2-beta.214 (2021-07-12)open in new window

  • [Feature] @faasjs/eslint-config-recommended 优化代码风格规范。

v0.0.2-beta.212 (2021-07-10)open in new window

  • [Feature] @faasjs/cli 部署命令如果使用 -c 参数,默认读取最近的 commit 日志。
  • [Feature] @faasjs/tencentcloud 优化日志。
  • [删除] 删除 @faasjs/nuxt 插件。

v0.0.2-beta.209 (2021-07-02)open in new window

  • [Feature] @faasjs/server 退出时自动关闭连接。

v0.0.2-beta.207 (2021-07-01)open in new window

  • [Feature] @faasjs/load 使用 @rollup/plugin-typescript 替代 rpt2。

v0.0.2-beta.204 (2021-06-29)open in new window

  • [Feature] @faasjs/cli 新增 commit 参数,批量部署被修改的云函数。

v0.0.2-beta.201 (2021-06-28)open in new window

  • [Feature] @faasjs/tencentcloud 优化腾讯云接口。
  • [Feature] @faasjs/tencentcloud 配置优先级调整为:环境变量 > 代码配置项 > yaml 配置项。

v0.0.2-beta.198 (2021-06-23)open in new window

  • [Feature] @faasjs/cli 提速 ts-node,编译时不检查 ts 定义。

v0.0.2-beta.197 (2021-06-21)open in new window

  • [Feature] @faasjs/http 优化 ts 定义。

v0.0.2-beta.193 (2021-06-20)open in new window

  • [Feature] @faasjs/http 优化 ts 定义。

v0.0.2-beta.191 (2021-06-18)open in new window

  • [Feature] @faasjs/test 使用 vm2 加载测试云函数。

v0.0.2-beta.188 (2021-06-17)open in new window

  • [Feature] @faasjs/cli 仅在启动 server 时引入 ts-node。
  • [修复] @faasjs/cli 修正部署大量云函数时内存泄露的问题。
  • [Feature] 示例新增 jwt 项目示例。

v0.0.2-beta.185 (2021-06-14)open in new window

  • [Feature] @faasjs/browser 新增 beforeRequest 参数。
  • [修复] @faasjs/cli 修复部分入参无效的问题。

v0.0.2-beta.179 (2021-06-12)open in new window

  • [Feature] @faasjs/http 优化 beforeValid

v0.0.2-beta.178 (2021-06-08)open in new window

  • [移除] 为了简化和统一数据库读写,移除 @faasjs/typeorm@faasjs/sequelize
  • [Feature] @faasjs/http 新增 beforeValid,用于构建包含自定义请求校验的 http 插件。

v0.0.2-beta.175 (2021-05-19)open in new window

  • [Feature] @faasjs/knex 优化 transaction 的 ts 定义。

v0.0.2-beta.174 (2021-05-19)open in new window

  • [Feature] @faasjs/cli 部署时对文件名进行检查。
  • [Feature] @faasjs/cli 部署命令添加 ar 参数,默认自动重试 3 次。
  • [Feature] @faasjs/knex 部署时检查适配器依赖项是否添加。
  • [修复] @faasjs/tencentcloud 修复部分情况下依赖项错误的问题。

v0.0.2-beta.170 (2021-04-23)open in new window

  • [修复] @faasjs/cloud_function 修复插件排序错误的问题。
  • [修复] @faasjs/cloud_function 修复插件名字错误的问题。

v0.0.2-beta.169 (2021-04-22)open in new window

  • [Feature] @faasjs/cli 部署失败时,优化错误提示。
  • [Feature] @faasjs/cli 新增 -w 参数,设置并发数。

v0.0.2-beta.167 (2021-04-19)open in new window

  • [Feature] @faasjs/cli 部署多个云函数时,自动根据 CPU 数量进行多进程部署。
  • [Feature] @faasjs/tencentcloud 优化多进程部署时的日志显示。
  • [Feature] @faasjs/http 测试环境下禁用缓存。

v0.0.2-beta.163 (2021-04-16)open in new window

  • [Feature] @faasjs/cloud_function@faasjs/browser action 自动转小写。

v0.0.2-beta.162 (2021-04-15)open in new window

  • [Feature] @faasjs/cli 支持部署失败时重试。

v0.0.2-beta.161 (2021-04-12)open in new window

  • [Feature] @faasjs/request 新增 parse 配置项。

v0.0.2-beta.160 (2021-04-08)open in new window

  • [Feature] @faasjs/knex 优化 knex 的 ts 定义。
  • [Feature] @faasjs/graphql 优化 graphql 依赖项。

v0.0.2-beta.158 (2021-04-01)open in new window

  • [修复] @faasjs/tencentcloud 修复云函数插件某些情况下未加载的问题。

v0.0.2-beta.155 (2021-02-04)open in new window

  • [新增] @faasjs/eslint-config-react

v0.0.2-beta.153 (2021-02-04)open in new window

  • [修复] @faasjs/cli 修复日志等级错误的问题。

v0.0.2-beta.151 (2021-01-26)open in new window

  • [Feature] @faasjs/tencentcloud 优化打包机制。

v0.0.2-beta.144 (2021-01-14)open in new window

  • [Feature] @faasjs/tencentcloud 更新网关发布接口。

v0.0.2-beta.140 (2021-01-07)open in new window

  • [Feature] @faasjs/load 升级 js-yaml 版本。
  • [Feature] @faasjs/load 更新内置库。
  • [Feature] @faasjs/typeorm 支持 useTypeORM

v0.0.2-beta.135 (2020-12-25)open in new window

  • [Feature] @faasjs/cloud_function 优化日志输出。

v0.0.2-beta.131 (2020-12-19)open in new window

  • [Feature] @faasjs/create-faas-app 优化命令行。

v0.0.2-beta.126 (2020-12-14)open in new window

  • [修复] @faasjs/knex 修复 raw 的 ts 定义。

v0.0.2-beta.125 (2020-12-10)open in new window

  • [Feature] @faasjs/eslint-config-vue 优化规则。
  • [Feature] @faasjs/http 优化 ts 定义。

v0.0.2-beta.124 (2020-12-04)open in new window

  • [Feature] @faasjs/cloud_function config 支持传入一个 function。

v0.0.2-beta.122 (2020-11-30)open in new window

  • [Feature] @faasjs/eslint-config-vue 优化规则。

v0.0.2-beta.121 (2020-11-21)open in new window

  • [修复] @faasjs/load 修复重复引用文件的问题。
  • [Feature] @faasjs/request debug 模式下显示更详细的日志。

v0.0.2-beta.119 (2020-11-19)open in new window

  • [新增] 新增 @faasjs/kafka

v0.0.2-beta.118 (2020-11-13)open in new window

  • [修复] @faasjs/knex 修复 knex 连接。

v0.0.2-beta.117 (2020-11-12)open in new window

  • [修复] @faasjs/test 补充 headers 的 ts 定义。
  • [Feature] @faasjs/logger 优化插件的日志显示。

v0.0.2-beta.116 (2020-10-30)open in new window

  • [修复] @faasjs/cloud_function 修复本地调试时没 context 时的报错。

v0.0.2-beta.115 (2020-10-28)open in new window

  • [Feature] @faasjs/react 新增返回 promise 对象。

v0.0.2-beta.114 (2020-10-15)open in new window

  • [Feature] @faasjs/http 压缩后添加 originBody 以便日志查看。
  • [Feature] @faasjs/cloud_function 移除 context 中的 function 等无法序列化的内容。

v0.0.2-beta.112 (2020-10-14)open in new window

  • [Feature] @faasjs/http 默认使用 brotli 压缩。
  • [修复] @faasjs/http 修复没有 body 时也压缩的 bug。

v0.0.2-beta.107 (2020-10-13)open in new window

  • [Feature] @faasjs/http 支持 gzip 压缩。
  • [删除] 禁用并删除 @faasjs/cos-secrets,请使用 CFS 替代。

v0.0.2-beta.106 (2020-09-30)open in new window

  • [Feature] 优化 ts 定义。

v0.0.2-beta.105 (2020-09-16)open in new window

  • [Feature] @faasjs/request优化日志。

v0.0.2-beta.104 (2020-09-14)open in new window

  • [Feature] @faasjs/request 新增 pfx 和 passphrase 配置项。

v0.0.2-beta.101 (2020-09-09)open in new window

  • [修复] 修复日志 bug。

v0.0.2-beta.100 (2020-09-07)open in new window

  • [修复] 修复函数式编程接口的 bug。

v0.0.2-beta.96 (2020-08-28)open in new window

  • [Feature] @faasjs/tencentcloud 更新云函数配置项。

v0.0.2-beta.95 (2020-08-21)open in new window

  • [Feature] @faasjs/react 新增 onError 配置项。

v0.0.2-beta.94 (2020-08-11)open in new window

  • [Feature] 更新 ts 定义。

v0.0.2-beta.93 (2020-08-07)open in new window

  • [修复] @faasjs/server 多个请求时排队处理。

v0.0.2-beta.88 (2020-08-06)open in new window

  • [Feature] 优化 ts 定义及相关测试用例。

v0.0.2-beta.87 (2020-08-03)open in new window

  • [Feature] 优化日志输出格式。

v0.0.2-beta.86 (2020-08-02)open in new window

  • [Feature] @faasjs/redis 支持 useRedis

v0.0.2-beta.85 (2020-07-31)open in new window

  • [新增] @faasjs/knex
  • [Feature] 优化 useFunc 及 usePlugin。

v0.0.2-beta.84 (2020-07-27)open in new window

  • [Feature] @faasjs/tencentcloud 更新云API v3。

v0.0.2-beta.82 (2020-07-16)open in new window

  • [Feature] @faasjs/tencentcloud 优化触发器更新机制。

v0.0.2-beta.80 (2020-07-15)open in new window

  • [新增] 新增 @faasjs/react,提供 faasuseFaas 两种风格的接口。

v0.0.2-beta.79 (2020-07-13)open in new window

  • [修复] @faasjs/server 修复没有响应内容时的报错。

v0.0.2-beta.78 (2020-07-09)open in new window

  • [修复] create-faas-app 删除旧的 babel 配置,改成 ts-jest。
  • [修复] 修复示例项目的 package.json。
  • [Feature] @faasjs/func 优化 ts 支持。
  • [修复] @faasjs/server 修正没有响应内容时的出错。

v0.0.2-beta.77 (2020-06-19)open in new window

  • [Feature] @faasjs/server 优化无缓存情况下的热加载。

v0.0.2-beta.76 (2020-06-19)open in new window

  • [Feature] @faasjs/server 优化无缓存情况下的热加载。
  • [Feature] @faasjs/tencentcloud 将 Node.js 默认版本升级到 12.16。
  • [Feature] @faasjs/func 优化 ts 支持。

v0.0.2-beta.70 (2020-06-10)open in new window

  • [Feature] @faasjs/server 优化缓存。

v0.0.2-beta.69 (2020-06-03)open in new window

  • [Feature] @faasjs/logger 云函数环境下,删除日志中的换行符。

v0.0.2-beta.67 (2020-06-02)open in new window

  • [Feature] @faasjs/func 优化日志显示和 ts 类型。

v0.0.2-beta.66 (2020-05-28)open in new window

  • [Feature] @faasjs/test 支持直接测试云函数,而非云函数文件。

v0.0.2-beta.65 (2020-05-26)open in new window

  • [Feature] @faasjs/eslint-config-recommended 优化规则。

v0.0.2-beta.64 (2020-05-25)open in new window

  • [Feature] @faasjs/testmount 方法支持传入一个初始化后执行的函数。

v0.0.2-beta.63 (2020-05-18)open in new window

  • [Feature] @faasjs/test 新增 mount 方法,JSONHandler 方法支持 cookie 和 session 入参。

v0.0.2-beta.61 (2020-05-17)open in new window

  • [Feature] @faasjs/cos-secrets 支持密钥文件。
  • [Feature] @faasjs/tencentcloud 禁用腾讯云内置的旧版 request

v0.0.2-beta.59 (2020-05-06)open in new window

  • [修复] @faasjs/func 强制设定 context.callbackWaitsForEmptyEventLoop = false
  • [Feature] @faasjs/tencentcloud 禁用腾讯云内置的旧版 tencentcloud-sdk-nodejs

v0.0.2-beta.57 (2020-04-22)open in new window

  • [Feature] @faasjs/tencentcloud 升级默认 Node.js 版本为 10.15
  • [修复] @faasjs/tencentcloud 修正腾讯云新错误代码导致无法发布的问题。

v0.0.2-beta.55 (2020-04-15)open in new window

  • [Feature] @faasjs/eslint-config-vue 移除 plugin:security/recommended

v0.0.2-beta.54 (2020-04-13)open in new window

  • [Feature] @faasjs/cli 适配 Windows 环境。

v0.0.2-beta.53 (2020-04-12)open in new window

  • [Feature] @faasjs/server 添加 sourceIp。

v0.0.2-beta.52 (2020-04-10)open in new window

  • [Feature] @faasjs/server 优化日志展示。
  • [Feature] @faasjs/tencentcloud 优化依赖库打包机制。

v0.0.2-beta.51 (2020-04-09)open in new window

  • [Feature] @faasjs/http 添加 HTTP 方法定义。
  • [Feature] @faasjs/load 优化打包时排除内置库的逻辑。
  • [新增] 新增 @faasjs/sequelize
  • [Feature] @faasjs/http@faasjs/server 新增 header X-SCF-RequestId

v0.0.2-beta.47 (2020-04-02)open in new window

  • [Feature] @faasjs/cloud_function 在云函数环境中使用内网域名提升性能。

v0.0.2-beta.46 (2020-03-26)open in new window

  • [Feature] faasjs 移除依赖项:@faasjs/browser, @faasjs/sql, @faasjs/redis。
  • [新增] @faasjs/mongo 用于适配 mongodb。
  • [Feature] 优化了云函数的日志输出。

v0.0.2-beta.40 (2020-03-20)open in new window

  • [Feature] @faasjs/http 配置项新增 pathignorePathPrefix 设置。

v0.0.2-beta.34 (2020-03-15)open in new window

  • [修复] @faasjs/cli 修复当 tsconfig 中未使用 paths 功能时出错的问题。
  • [Feature] @faasjs/typeorm 新增 Connection, Repository, SelectQueryBuilder, getRepository 的输出。

v0.0.2-beta.32 (2020-03-09)open in new window

  • [Feature] @faasjs/cli 支持 tsconfig 的 paths 功能。
  • [修复] @faasjs/typeorm 修复单体应用模式下连接出错的问题

v0.0.2-beta.29 (2020-03-03)open in new window

  • [修复] @faasjs/cos-secrets 修复嵌套全局变量名错误的问题。

v0.0.2-beta.28 (2020-03-02)open in new window

  • [Feature] @faasjs/eslint-config-recommended 补充空格相关的样式设定。
  • [Feature] @faasjs/cos-secrets 本地模式下会读取本地文件。
  • [Feature] @faasjs/sql 支持从环境变量读取配置信息。
  • [Feature] @faasjs/typeorm 支持从环境变量读取配置信息。
  • [Feature] @faasjs/redis 支持从环境变量读取配置信息。
  • [Feature] @faasjs/server 出错信息以 json 格式返回。

v0.0.2-beta.26 (2020-03-01)open in new window

  • [新增] @faasjs/cos-secrets,一个基于 COS 的密钥解决方案。
  • [Feature] 将文档移入 docs 文件夹。
  • [Feature] 将示例移入 examples 文件夹。

v0.0.2-beta.25 (2020-02-27)open in new window

  • [Feature] @faasjs/tencentcloud 腾讯云故障,禁用别名功能。

v0.0.2-beta.24 (2020-02-25)open in new window

  • [Feature] @faasjs/graphql-server 允许 schemas 参数为函数,且支持异步函数。
  • [Feature] @faasjs/graphql-server 导出变量新增 GraphQLSchemaModule

v0.0.2-beta.22 (2020-02-24)open in new window

  • [修复] @faasjs/typeorm 修复配置项错误。
  • [修复] @faasjs/tencentcloud 修复部署时打包依赖项的错误。

v0.0.2-beta.20 (2020-02-23)open in new window

  • [新增] 新增 @faasjs/typeorm
  • [Feature] @faasjs/sql 单元测试新增 mysql 和 postgresql 的测试。

v0.0.2-beta.18 (2020-02-22)open in new window

  • [Feature] @faasjs/tencentcloud 云函数新增层和死信队列接口,COS 增加文件夹名。
  • [Feature] @faasjs/load 关闭 rollup 的警告信息。

v0.0.2-beta.16 (2020-02-21)open in new window

  • [Feature] @faasjs/graphql-server 内置 @faasjs/http
  • [Feature] @faasjs/tencentcloud 云函数环境变量新增 FaasLog=debug

v0.0.2-beta.13 (2020-02-20)open in new window

  • [Feature] @faasjs/tencentcloud 新增单元测试。
  • [Feature] @faasjs/request 新增 filedownloadStream 参数。
  • [Feature] @faasjs/graphql-server 规范化配置项,并将 invokeData 作为 context。

v0.0.2-beta.10 (2020-02-16)open in new window

  • [Feature] @faasjs/eslint-config-recommended 更新 eslint rules。

v0.0.2-beta.9 (2020-02-15)open in new window

  • [Feature] 恢复腾讯云的别名功能。
  • [Feature] 修复和优化 travis-ci。

v0.0.2-beta.8 (2020-02-14)open in new window

  • [Feature] faasjs 不再内置 @faasjs/graphql-server,需手动添加使用。

v0.0.2-beta.7 (2020-02-13)open in new window

  • [修复] @faasjs/load 修复打包时遇到内置模块报错的问题。
  • [Feature] @faasjs/eslint-config-recommended 更新 eslint rules。

v0.0.2-beta.5 (2020-02-10)open in new window

  • [Feature] @faasjs/testjest 添加为依赖项。

v0.0.2-beta.4 (2020-02-09)open in new window

  • [Feature] @faasjs/func handler 参数改为可选项。
  • [新增] @faasjs/graphql-server 试验性支持 graphQL。

v0.0.2-beta.2 (2020-02-08)open in new window

  • [Feature] @faasjs/tencentcloud 优化了部署云函数时的日志输出。

v0.0.2-beta.1 (2020-02-07)open in new window

  • [Feature] @faasjs/tencentcloud 补全已正式发布的云函数配置项。

v0.0.1-beta.31 (2020-02-06)open in new window

  • [Feature] faasjs 将 Sql 适配包从 faasjs 中移除。
  • [Feature] @faasjs/eslint-config-recommended 更新 eslint rules。

v0.0.1-beta.29 (2020-02-04)open in new window

  • [修复] @faasjs/tencentcloud 修复由于禁用别名功能造成的 BUG。

v0.0.1-beta.27 (2020-02-03)open in new window

  • [Feature] @faasjs/tencentcloud 由于腾讯云故障,暂时禁用别名功能。

v0.0.1-beta.25 (2020-02-02)open in new window

  • [修复] @faasjs/tencentcloud 修复腾讯云部署 BUG。
  • [Feature] @faasjs/tencentcloud 腾讯云云函数内存默认从 128 降低为 64。
  • [Feature] @faasjs/tencentcloud 默认环境变量新增 NODE_ENV,值为部署环境的名字。

v0.0.1-beta.23 (2020-02-01)open in new window

  • [修复] 修复错误的版本号。
  • [Feature] @faasjs/load 移除 loadNpmVersion。

v0.0.1-beta.21 (2020-01-27)open in new window

  • [修复] @faasjs/tencentcloud API 网关 BUG。
  • [Feature] @faasjs/func 云函数支持 callback。

v0.0.1-beta.20 (2020-01-26)open in new window

  • [修复] @faasjs/tencentcloud API 网关 BUG。
  • [Feature] @faasjs/tencentcloud 提升打包速度。

v0.0.1-beta.18 (2020-01-25)open in new window

  • [修复] @faasjs/tencentcloud 修复云函数命名错误。
  • [Feature] @faasjs/server 本地请求入参 method 改名为 httpMethod,增加 path 参数。

v0.0.1-beta.16 (2020-01-13)open in new window

  • [修复] @faasjs/load 修复 rollup 配置。
  • [修复] 修复 FaasJS 项目自动化测试配置。

v0.0.1-beta.14 (2020-01-04)open in new window

  • [Feature] @faasjs/http 移除无用的依赖项。
  • [Feature] @faasjs/tencentcloud 优化打包配置。

v0.0.1-beta.12 (2020-01-02)open in new window

  • [修复] 在 faasjs 中补上依赖项 @faasjs/http

v0.0.1-beta.11 (2020-01-01)open in new window

  • [Feature] 优化 FaasJS 项目打包配置。

v0.0.1-beta.10 (2019-12-30)open in new window

  • [Feature] 优化 FaasJS 项目的代码规范测试和自动化测试。
  • [修复] @faasjs/tencentcloud 修复云函数部署时未完成部署就删除了 COS 代码包的问题。

v0.0.1-beta.8 (2019-12-26)open in new window

  • [Feature] 更新 VS Code 配置项以适应新版 ESlint。
  • [Feature] @faasjs/tencentcloud 更新云函数时会等待其更新生效后才进行后续步骤。
  • [Feature] @faasjs/tencentcloud 使用本地 node_modules 文件加速部署。

v0.0.1-beta.7 (2019-11-05)open in new window

  • [Feature] @faasjs/logger 性能优化,并移除测试用的 lastOuput 属性。
  • [Feature] @faasjs/server 移除 response 的日志输出以优化性能。
  • [Feature] @faasjs/http 直接使用 request_id 作为响应头 X-Request-Id 的值。
  • [修复] @faasjs/http 使用 = 作为路径前缀避免模糊匹配。
  • [删除] 移除周刊。

v0.0.1-beta.6 (2019-10-25)open in new window

  • [修复] @faasjs/logger timeEnd 出错时的错误信息从 error 降级为 warn。

v0.0.1-beta.5 (2019-10-25)open in new window

  • [Feature] 新增性能测试用例。
  • [修复] @faasjs/logger timeEnd 的 key 重复或未知时,报错信息从 error 降级为 warn。

v0.0.1-beta.4 (2019-10-22)open in new window

  • [新增] @faasjs/http cookie 新增 sameSite 选项。
  • [Feature] FaasJS 项目新增代码测试覆盖率。

2019-10-21

  • [Feature] 使用 lerna 管理 FaasJS 核心库。
  • [Feature] @faasjs/request 新增 timeout 和 auth 选项。
  • [修复] 修正 @faasjs/http 遇到返回值为 null 时的错误。

2019-10-16

2019-10-15

2019-10-13

2019-10-11

  • [Feature] 教程中添加新加入的命令行指令。
  • [新增] 官网新增 支持 FaasJSopen in new window
  • [修复] @faasjs/func 当 handler 没有返回时出现的一个判断异常。

2019-10-09

  • [新增] 命令行工具新增 yarn new func 指令,用于快速创建云函数文件及其测试脚本,具体用法可见 yarn new -h
  • [Feature] create-faas-app 创建的项目中加入 .vscode/settings.json 文件,用于优化 VS Code 下的编程体验。

2019-10-08

  • [新增] 命令行工具 create-faas-app 用于快速创建 FaasJS 项目,可直接通过 npx create-faas-app 使用。

2019-09-30

  • [发布] 结束 Alpha 阶段,开始 Beta 公测阶段。

Alpha

2019-04-13

  • [发布] FaasJS Alpha 阶段开发开始。
- + diff --git a/CODE_OF_CONDUCT.html b/CODE_OF_CONDUCT.html index 585f456746..f7d0e64f8a 100644 --- a/CODE_OF_CONDUCT.html +++ b/CODE_OF_CONDUCT.html @@ -27,11 +27,11 @@ Contributor Covenant Code of Conduct | FaasJS - - + +

Contributor Covenant Code of Conduct

Our Pledge

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

Our Standards

Examples of behavior that contributes to a positive environment for our community include:

  • Demonstrating empathy and kindness toward other people
  • Being respectful of differing opinions, viewpoints, and experiences
  • Giving and gracefully accepting constructive feedback
  • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
  • Focusing on what is best not just for us as individuals, but for the overall community

Examples of unacceptable behavior include:

  • The use of sexualized language or imagery, and sexual attention or advances of any kind
  • Trolling, insulting or derogatory comments, and personal or political attacks
  • Public or private harassment
  • Publishing others' private information, such as a physical or email address, without their explicit permission
  • Other conduct which could reasonably be considered inappropriate in a professional setting

Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

Scope

This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ben@zfben.com. All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the reporter of any incident.

Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

1. Correction

Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

2. Warning

Community Impact: A violation through a single incident or series of actions.

Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

3. Temporary Ban

Community Impact: A serious violation of community standards, including sustained inappropriate behavior.

Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

4. Permanent Ban

Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

Consequence: A permanent ban from any sort of public interaction within the community.

Attribution

This Code of Conduct is adapted from the Contributor Covenantopen in new window, version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.

Community Impact Guidelines were inspired by Mozilla's code of conduct enforcement ladderopen in new window.

For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.

- + diff --git a/SECURITY.html b/SECURITY.html index 5e936dce9a..913ac60b35 100644 --- a/SECURITY.html +++ b/SECURITY.html @@ -27,11 +27,11 @@ FaasJS Security Guide | FaasJS - - + +

FaasJS Security Guide

If you discover any security vulnerabilities while using and developing FaasJS, you can submit an Issueopen in new window or send an email to ben@zfben.com.

Since FaasJS includes multiple components, each component has its own security guide. For more details, please refer to the documentation of each component.

FaasJS 安全指南

若您在使用和开发 FaasJS 时发现安全隐患,可以提交 Issueopen in new window 或发送邮件至 ben@zfben.com

由于 FaasJS 包含了多个组件,每个组件都有各自的安全指南,因此详情请阅读各个组件的文档。

- + diff --git a/assets/404.html-NjZuC1Rm.js b/assets/404.html-DoeZRk45.js similarity index 82% rename from assets/404.html-NjZuC1Rm.js rename to assets/404.html-DoeZRk45.js index 20ab76c6bf..4f86a462d2 100644 --- a/assets/404.html-NjZuC1Rm.js +++ b/assets/404.html-DoeZRk45.js @@ -1 +1 @@ -import{_ as t,o as e,c as o,a}from"./app-QyD7034V.js";const n={},c=a("p",null,"404 Not Found",-1),l=[c];function s(_,r){return e(),o("div",null,l)}const d=t(n,[["render",s],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"en","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{d as comp,h as data}; +import{_ as t,o as e,c as o,a}from"./app-COoiSelr.js";const n={},c=a("p",null,"404 Not Found",-1),l=[c];function s(_,r){return e(),o("div",null,l)}const d=t(n,[["render",s],["__file","404.html.vue"]]),h=JSON.parse('{"path":"/404.html","title":"","lang":"en","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{d as comp,h as data}; diff --git a/assets/App.html-fCNCmDW_.js b/assets/App.html-84V3vQHw.js similarity index 99% rename from assets/App.html-fCNCmDW_.js rename to assets/App.html-84V3vQHw.js index 33bbbbc8c1..3575e2f7ef 100644 --- a/assets/App.html-fCNCmDW_.js +++ b/assets/App.html-84V3vQHw.js @@ -1,4 +1,4 @@ -import{_ as c,r as p,o as r,c as l,a as s,d as a,w as o,b as n,e as i}from"./app-QyD7034V.js";const u={},d=s("h1",{id:"function-app",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#function-app"},[s("span",null,"Function: App()")])],-1),k=s("blockquote",null,[s("p",null,[s("strong",null,"App"),n("("),s("code",null,"props"),n("): "),s("code",null,"Element")])],-1),m=s("p",null,"App component with Ant Design & FaasJS",-1),g={href:"https://ant.design/components/config-provider/",target:"_blank",rel:"noopener noreferrer"},h={href:"https://ant.design/components/style-provider/",target:"_blank",rel:"noopener noreferrer"},f={href:"https://ant.design/components/message/",target:"_blank",rel:"noopener noreferrer"},_={href:"https://ant.design/components/notification/",target:"_blank",rel:"noopener noreferrer"},v={href:"https://faasjs.com/doc/ant-design/#configprovider",target:"_blank",rel:"noopener noreferrer"},b={href:"https://faasjs.com/doc/ant-design/#usemodal",target:"_blank",rel:"noopener noreferrer"},x={href:"https://faasjs.com/doc/ant-design/#usedrawer",target:"_blank",rel:"noopener noreferrer"},A={href:"https://faasjs.com/doc/ant-design/#errorboundary",target:"_blank",rel:"noopener noreferrer"},P={href:"https://reactrouter.com/en/router-components/browser-router",target:"_blank",rel:"noopener noreferrer"},w=s("h2",{id:"parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#parameters"},[s("span",null,"Parameters")])],-1),y=s("strong",null,"props",-1),j=s("code",null,"AppProps",-1),R=i(`

Returns

Element

Example

import { App } from '@faasjs/ant-design'
+import{_ as c,r as p,o as r,c as l,a as s,d as a,w as o,b as n,e as i}from"./app-COoiSelr.js";const u={},d=s("h1",{id:"function-app",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#function-app"},[s("span",null,"Function: App()")])],-1),k=s("blockquote",null,[s("p",null,[s("strong",null,"App"),n("("),s("code",null,"props"),n("): "),s("code",null,"Element")])],-1),m=s("p",null,"App component with Ant Design & FaasJS",-1),g={href:"https://ant.design/components/config-provider/",target:"_blank",rel:"noopener noreferrer"},h={href:"https://ant.design/components/style-provider/",target:"_blank",rel:"noopener noreferrer"},f={href:"https://ant.design/components/message/",target:"_blank",rel:"noopener noreferrer"},_={href:"https://ant.design/components/notification/",target:"_blank",rel:"noopener noreferrer"},v={href:"https://faasjs.com/doc/ant-design/#configprovider",target:"_blank",rel:"noopener noreferrer"},b={href:"https://faasjs.com/doc/ant-design/#usemodal",target:"_blank",rel:"noopener noreferrer"},x={href:"https://faasjs.com/doc/ant-design/#usedrawer",target:"_blank",rel:"noopener noreferrer"},A={href:"https://faasjs.com/doc/ant-design/#errorboundary",target:"_blank",rel:"noopener noreferrer"},P={href:"https://reactrouter.com/en/router-components/browser-router",target:"_blank",rel:"noopener noreferrer"},w=s("h2",{id:"parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#parameters"},[s("span",null,"Parameters")])],-1),y=s("strong",null,"props",-1),j=s("code",null,"AppProps",-1),R=i(`

Returns

Element

Example

import { App } from '@faasjs/ant-design'
 
 export default function () {
   return (
diff --git a/assets/App.html-Cx8-YHO8.js b/assets/App.html-CkfqzMdE.js
similarity index 97%
rename from assets/App.html-Cx8-YHO8.js
rename to assets/App.html-CkfqzMdE.js
index 84d0a52ada..a96fab01bc 100644
--- a/assets/App.html-Cx8-YHO8.js
+++ b/assets/App.html-CkfqzMdE.js
@@ -1,4 +1,4 @@
-import{_ as o,r as c,o as l,c as i,a as n,d as a,w as t,b as s,e as p}from"./app-QyD7034V.js";const u={},d=p('

Namespace: App

Table of contents

Functions

',3),r=n("h2",{id:"functions-1",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#functions-1"},[n("span",null,"Functions")])],-1),h=n("h3",{id:"useapp",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#useapp"},[n("span",null,"useApp")])],-1),f=n("strong",null,"useApp",-1),m=n("code",null,"useAppProps",-1),_=p(`

Get app context.

import { useApp } from '@faasjs/ant-design'
+import{_ as o,r as c,o as l,c as i,a as n,d as a,w as t,b as s,e as p}from"./app-COoiSelr.js";const u={},d=p('

Namespace: App

Table of contents

Functions

',3),r=n("h2",{id:"functions-1",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#functions-1"},[n("span",null,"Functions")])],-1),h=n("h3",{id:"useapp",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#useapp"},[n("span",null,"useApp")])],-1),f=n("strong",null,"useApp",-1),m=n("code",null,"useAppProps",-1),_=p(`

Get app context.

import { useApp } from '@faasjs/ant-design'
 
 const { message, notification, setModalProps, setDrawerProps } = useApp()
 

Returns

`,3),k=n("code",null,"useAppProps",-1);function g(b,v){const e=c("RouteLink");return l(),i("div",null,[n("p",null,[a(e,{to:"/doc/ant-design/"},{default:t(()=>[s("Documents")]),_:1}),s(" / Namespace: App")]),d,n("ul",null,[n("li",null,[a(e,{to:"/doc/ant-design/modules/App.html#useapp"},{default:t(()=>[s("useApp")]),_:1})])]),r,h,n("p",null,[s("▸ "),f,s("(): "),a(e,{to:"/doc/ant-design/interfaces/useAppProps.html"},{default:t(()=>[m]),_:1})]),_,n("p",null,[a(e,{to:"/doc/ant-design/interfaces/useAppProps.html"},{default:t(()=>[k]),_:1})])])}const x=o(u,[["render",g],["__file","App.html.vue"]]),N=JSON.parse('{"path":"/doc/ant-design/modules/App.html","title":"Namespace: App","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Functions","slug":"functions","link":"#functions","children":[]}]},{"level":2,"title":"Functions","slug":"functions-1","link":"#functions-1","children":[{"level":3,"title":"useApp","slug":"useapp","link":"#useapp","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/App.md"}');export{x as comp,N as data}; diff --git a/assets/AppProps.html-CV5DJaIz.js b/assets/AppProps.html-BtJjMRg-.js similarity index 98% rename from assets/AppProps.html-CV5DJaIz.js rename to assets/AppProps.html-BtJjMRg-.js index 34692baa8f..d2f2abed56 100644 --- a/assets/AppProps.html-CV5DJaIz.js +++ b/assets/AppProps.html-BtJjMRg-.js @@ -1 +1 @@ -import{_ as t,r as p,o as l,c as i,a as o,d as s,w as n,b as r,e as a}from"./app-QyD7034V.js";const d={},c=a('

Interface: AppProps

Properties

browserRouterProps?

optional browserRouterProps: BrowserRouterProps

https://reactrouter.com/en/router-components/browser-router

children

children: ReactNode

configProviderProps?

optional configProviderProps: ConfigProviderProps

https://ant.design/components/config-provider/#API

errorBoundaryProps?

',11),h=o("strong",null,[o("code",null,"optional")],-1),u=o("strong",null,"errorBoundaryProps",-1),f=o("code",null,"Omit",-1),g=o("code",null,"ErrorBoundaryProps",-1),_=o("code",null,'"children"',-1),P=o("p",null,"https://faasjs.com/doc/ant-design/#errorboundary",-1),v=o("h3",{id:"faasconfigproviderprops",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#faasconfigproviderprops"},[o("span",null,"faasConfigProviderProps?")])],-1),b=o("strong",null,[o("code",null,"optional")],-1),m=o("strong",null,"faasConfigProviderProps",-1),k=o("code",null,"Omit",-1),y=o("code",null,"ConfigProviderProps",-1),x=o("code",null,'"children"',-1),w=o("p",null,"https://faasjs.com/doc/ant-design/#configprovider",-1),q=o("h3",{id:"styleproviderprops",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#styleproviderprops"},[o("span",null,"styleProviderProps?")])],-1),B=o("blockquote",null,[o("p",null,[o("strong",null,[o("code",null,"optional")]),r(),o("strong",null,"styleProviderProps"),r(": "),o("code",null,"StyleProviderProps")])],-1),A=o("p",null,"https://ant.design/docs/react/compatible-style#styleprovider",-1);function C(R,N){const e=p("RouteLink");return l(),i("div",null,[o("p",null,[s(e,{to:"/doc/ant-design/"},{default:n(()=>[r("Documents")]),_:1}),r(" / "),s(e,{to:"/doc/ant-design/"},{default:n(()=>[r("@faasjs/ant-design")]),_:1}),r(" / AppProps")]),c,o("blockquote",null,[o("p",null,[h,r(),u,r(": "),f,r("<"),s(e,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[g]),_:1}),r(", "),_,r(">")])]),P,v,o("blockquote",null,[o("p",null,[b,r(),m,r(": "),k,r("<"),s(e,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:n(()=>[y]),_:1}),r(", "),x,r(">")])]),w,q,B,A])}const j=t(d,[["render",C],["__file","AppProps.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/interfaces/AppProps.html","title":"Interface: AppProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"browserRouterProps?","slug":"browserrouterprops","link":"#browserrouterprops","children":[]},{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"configProviderProps?","slug":"configproviderprops","link":"#configproviderprops","children":[]},{"level":3,"title":"errorBoundaryProps?","slug":"errorboundaryprops","link":"#errorboundaryprops","children":[]},{"level":3,"title":"faasConfigProviderProps?","slug":"faasconfigproviderprops","link":"#faasconfigproviderprops","children":[]},{"level":3,"title":"styleProviderProps?","slug":"styleproviderprops","link":"#styleproviderprops","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/AppProps.md"}');export{j as comp,E as data}; +import{_ as t,r as p,o as l,c as i,a as o,d as s,w as n,b as r,e as a}from"./app-COoiSelr.js";const d={},c=a('

Interface: AppProps

Properties

browserRouterProps?

optional browserRouterProps: BrowserRouterProps

https://reactrouter.com/en/router-components/browser-router

children

children: ReactNode

configProviderProps?

optional configProviderProps: ConfigProviderProps

https://ant.design/components/config-provider/#API

errorBoundaryProps?

',11),h=o("strong",null,[o("code",null,"optional")],-1),u=o("strong",null,"errorBoundaryProps",-1),f=o("code",null,"Omit",-1),g=o("code",null,"ErrorBoundaryProps",-1),_=o("code",null,'"children"',-1),P=o("p",null,"https://faasjs.com/doc/ant-design/#errorboundary",-1),v=o("h3",{id:"faasconfigproviderprops",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#faasconfigproviderprops"},[o("span",null,"faasConfigProviderProps?")])],-1),b=o("strong",null,[o("code",null,"optional")],-1),m=o("strong",null,"faasConfigProviderProps",-1),k=o("code",null,"Omit",-1),y=o("code",null,"ConfigProviderProps",-1),x=o("code",null,'"children"',-1),w=o("p",null,"https://faasjs.com/doc/ant-design/#configprovider",-1),q=o("h3",{id:"styleproviderprops",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#styleproviderprops"},[o("span",null,"styleProviderProps?")])],-1),B=o("blockquote",null,[o("p",null,[o("strong",null,[o("code",null,"optional")]),r(),o("strong",null,"styleProviderProps"),r(": "),o("code",null,"StyleProviderProps")])],-1),A=o("p",null,"https://ant.design/docs/react/compatible-style#styleprovider",-1);function C(R,N){const e=p("RouteLink");return l(),i("div",null,[o("p",null,[s(e,{to:"/doc/ant-design/"},{default:n(()=>[r("Documents")]),_:1}),r(" / "),s(e,{to:"/doc/ant-design/"},{default:n(()=>[r("@faasjs/ant-design")]),_:1}),r(" / AppProps")]),c,o("blockquote",null,[o("p",null,[h,r(),u,r(": "),f,r("<"),s(e,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[g]),_:1}),r(", "),_,r(">")])]),P,v,o("blockquote",null,[o("p",null,[b,r(),m,r(": "),k,r("<"),s(e,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:n(()=>[y]),_:1}),r(", "),x,r(">")])]),w,q,B,A])}const j=t(d,[["render",C],["__file","AppProps.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/interfaces/AppProps.html","title":"Interface: AppProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"browserRouterProps?","slug":"browserrouterprops","link":"#browserrouterprops","children":[]},{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"configProviderProps?","slug":"configproviderprops","link":"#configproviderprops","children":[]},{"level":3,"title":"errorBoundaryProps?","slug":"errorboundaryprops","link":"#errorboundaryprops","children":[]},{"level":3,"title":"faasConfigProviderProps?","slug":"faasconfigproviderprops","link":"#faasconfigproviderprops","children":[]},{"level":3,"title":"styleProviderProps?","slug":"styleproviderprops","link":"#styleproviderprops","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/AppProps.md"}');export{j as comp,E as data}; diff --git a/assets/BaseItemProps.html-BIvk98a_.js b/assets/BaseItemProps.html-CrGed5fH.js similarity index 97% rename from assets/BaseItemProps.html-BIvk98a_.js rename to assets/BaseItemProps.html-CrGed5fH.js index 545af6ea3f..743db98da1 100644 --- a/assets/BaseItemProps.html-BIvk98a_.js +++ b/assets/BaseItemProps.html-CrGed5fH.js @@ -1 +1 @@ -import{_ as l,r as a,o as i,c as d,a as e,d as s,w as o,b as t,e as r}from"./app-QyD7034V.js";const c={},p=e("h1",{id:"interface-baseitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-baseitemprops"},[e("span",null,"Interface: BaseItemProps")])],-1),h=e("h2",{id:"extended-by",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extended-by"},[e("span",null,"Extended by")])],-1),u=e("code",null,"FaasItemProps",-1),_=r('

Properties

id

id: string

options?

',4),m=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"options",-1),g=e("code",null,"BaseOption",-1),b=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),x=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1);function k(B,P){const n=a("RouteLink");return i(),d("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / BaseItemProps")]),p,h,e("ul",null,[e("li",null,[s(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[u]),_:1})])]),_,e("blockquote",null,[e("p",null,[m,t(),f,t(": "),s(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:o(()=>[g]),_:1}),t("[]")])]),b,x])}const v=l(c,[["render",k],["__file","BaseItemProps.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/interfaces/BaseItemProps.html","title":"Interface: BaseItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extended by","slug":"extended-by","link":"#extended-by","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/BaseItemProps.md"}');export{v as comp,y as data}; +import{_ as l,r as a,o as i,c as d,a as e,d as s,w as o,b as t,e as r}from"./app-COoiSelr.js";const c={},p=e("h1",{id:"interface-baseitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-baseitemprops"},[e("span",null,"Interface: BaseItemProps")])],-1),h=e("h2",{id:"extended-by",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extended-by"},[e("span",null,"Extended by")])],-1),u=e("code",null,"FaasItemProps",-1),_=r('

Properties

id

id: string

options?

',4),m=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"options",-1),g=e("code",null,"BaseOption",-1),b=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),x=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1);function k(B,P){const n=a("RouteLink");return i(),d("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / BaseItemProps")]),p,h,e("ul",null,[e("li",null,[s(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[u]),_:1})])]),_,e("blockquote",null,[e("p",null,[m,t(),f,t(": "),s(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:o(()=>[g]),_:1}),t("[]")])]),b,x])}const v=l(c,[["render",k],["__file","BaseItemProps.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/interfaces/BaseItemProps.html","title":"Interface: BaseItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extended by","slug":"extended-by","link":"#extended-by","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/BaseItemProps.md"}');export{v as comp,y as data}; diff --git a/assets/BaseOption.html-DHuHOs-8.js b/assets/BaseOption.html-wSCdJJcB.js similarity index 93% rename from assets/BaseOption.html-DHuHOs-8.js rename to assets/BaseOption.html-wSCdJJcB.js index a1c6b76ef6..45a6cbc98b 100644 --- a/assets/BaseOption.html-DHuHOs-8.js +++ b/assets/BaseOption.html-wSCdJJcB.js @@ -1 +1 @@ -import{_ as s,r as l,o as i,c,a as e,d as n,w as o,b as t}from"./app-QyD7034V.js";const d={},p=e("h1",{id:"type-alias-baseoption",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-baseoption"},[e("span",null,"Type alias: BaseOption")])],-1),r=e("blockquote",null,[e("p",null,[e("strong",null,"BaseOption"),t(": "),e("code",null,"string"),t(" | "),e("code",null,"number"),t(" | "),e("code",null,"Object")])],-1);function u(_,m){const a=l("RouteLink");return i(),c("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / BaseOption")]),p,r])}const f=s(d,[["render",u],["__file","BaseOption.html.vue"]]),B=JSON.parse('{"path":"/doc/ant-design/type-aliases/BaseOption.html","title":"Type alias: BaseOption","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/BaseOption.md"}');export{f as comp,B as data}; +import{_ as s,r as l,o as i,c,a as e,d as n,w as o,b as t}from"./app-COoiSelr.js";const d={},p=e("h1",{id:"type-alias-baseoption",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-baseoption"},[e("span",null,"Type alias: BaseOption")])],-1),r=e("blockquote",null,[e("p",null,[e("strong",null,"BaseOption"),t(": "),e("code",null,"string"),t(" | "),e("code",null,"number"),t(" | "),e("code",null,"Object")])],-1);function u(_,m){const a=l("RouteLink");return i(),c("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / BaseOption")]),p,r])}const f=s(d,[["render",u],["__file","BaseOption.html.vue"]]),B=JSON.parse('{"path":"/doc/ant-design/type-aliases/BaseOption.html","title":"Type alias: BaseOption","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/BaseOption.md"}');export{f as comp,B as data}; diff --git a/assets/Blank.html-BaZWRsrI.js b/assets/Blank.html-DwzT1985.js similarity index 97% rename from assets/Blank.html-BaZWRsrI.js rename to assets/Blank.html-DwzT1985.js index 68de1bc24f..558306db14 100644 --- a/assets/Blank.html-BaZWRsrI.js +++ b/assets/Blank.html-DwzT1985.js @@ -1,4 +1,4 @@ -import{_ as o,r as c,o as p,c as r,a,d as s,w as t,b as n,e as l}from"./app-QyD7034V.js";const i={},d=l('

Function: Blank()

Blank(options?): JSX.Element

Blank component.

If value is undefined or null, return text, otherwise return value.

Parameters

',5),u=a("strong",null,"options?",-1),k=a("code",null,"BlankProps",-1),m=l(`

Returns

JSX.Element

Example

import { Blank } from '@faasjs/ant-design'
+import{_ as o,r as c,o as p,c as r,a,d as s,w as t,b as n,e as l}from"./app-COoiSelr.js";const i={},d=l('

Function: Blank()

Blank(options?): JSX.Element

Blank component.

If value is undefined or null, return text, otherwise return value.

Parameters

',5),u=a("strong",null,"options?",-1),k=a("code",null,"BlankProps",-1),m=l(`

Returns

JSX.Element

Example

import { Blank } from '@faasjs/ant-design'
 
 <Blank value={undefined} text="Empty" />
 
`,4);function h(f,g){const e=c("RouteLink");return p(),r("div",null,[a("p",null,[s(e,{to:"/doc/ant-design/"},{default:t(()=>[n("Documents")]),_:1}),n(" / "),s(e,{to:"/doc/ant-design/"},{default:t(()=>[n("@faasjs/ant-design")]),_:1}),n(" / Blank")]),d,a("p",null,[n("• "),u,n(": "),s(e,{to:"/doc/ant-design/interfaces/BlankProps.html"},{default:t(()=>[k]),_:1})]),m])}const v=o(i,[["render",h],["__file","Blank.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/functions/Blank.html","title":"Function: Blank()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Blank.md"}');export{v as comp,x as data}; diff --git a/assets/BlankProps.html-D_hQZvmw.js b/assets/BlankProps.html-eudS6-g1.js similarity index 95% rename from assets/BlankProps.html-D_hQZvmw.js rename to assets/BlankProps.html-eudS6-g1.js index 5777163dc7..d27c6bd32e 100644 --- a/assets/BlankProps.html-D_hQZvmw.js +++ b/assets/BlankProps.html-eudS6-g1.js @@ -1 +1 @@ -import{_ as o,r as s,o as r,c as l,a as c,d as a,w as n,b as e,e as i}from"./app-QyD7034V.js";const d={},p=i('

Interface: BlankProps

Properties

text?

optional text: string

value?

optional value: any

',6);function h(u,f){const t=s("RouteLink");return r(),l("div",null,[c("p",null,[a(t,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / BlankProps")]),p])}const g=o(d,[["render",h],["__file","BlankProps.html.vue"]]),_=JSON.parse('{"path":"/doc/ant-design/interfaces/BlankProps.html","title":"Interface: BlankProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"text?","slug":"text","link":"#text","children":[]},{"level":3,"title":"value?","slug":"value","link":"#value","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/BlankProps.md"}');export{g as comp,_ as data}; +import{_ as o,r as s,o as r,c as l,a as c,d as a,w as n,b as e,e as i}from"./app-COoiSelr.js";const d={},p=i('

Interface: BlankProps

Properties

text?

optional text: string

value?

optional value: any

',6);function h(u,f){const t=s("RouteLink");return r(),l("div",null,[c("p",null,[a(t,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / BlankProps")]),p])}const g=o(d,[["render",h],["__file","BlankProps.html.vue"]]),_=JSON.parse('{"path":"/doc/ant-design/interfaces/BlankProps.html","title":"Interface: BlankProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"text?","slug":"text","link":"#text","children":[]},{"level":3,"title":"value?","slug":"value","link":"#value","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/BlankProps.md"}');export{g as comp,_ as data}; diff --git a/assets/CHANGELOG.html-C3ZnpeLs.js b/assets/CHANGELOG.html-Px4venIu.js similarity index 99% rename from assets/CHANGELOG.html-C3ZnpeLs.js rename to assets/CHANGELOG.html-Px4venIu.js index abb22b3e62..bb8002522c 100644 --- a/assets/CHANGELOG.html-C3ZnpeLs.js +++ b/assets/CHANGELOG.html-Px4venIu.js @@ -1 +1 @@ -import{_ as n,r as s,o as r,c as u,a as e,b as l,d as o,e as a}from"./app-QyD7034V.js";const c={},i=e("h1",{id:"changelog",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#changelog"},[e("span",null,"Changelog")])],-1),d={href:"https://semver.org/",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"stable",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#stable"},[e("span",null,"Stable")])],-1),h={href:"https://github.com/faasjs/faasjs/compare/v2.1.0...v2.2.0",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,"v2.2.0 (2024-03-13)",-1),p=a("
  • @faasjs/func

    • [Feature] Add FuncParamsType and FuncReturnType.
  • create-faas-app

    • [Feature] Simplify options.
",1),b={href:"https://github.com/faasjs/faasjs/compare/v2.0.0...v2.1.0",target:"_blank",rel:"noopener noreferrer"},j=e("code",null,"v2.1.0 (2024-03-08)",-1),v=a("
  • @faasjs/react

    • [Feature] Add createSplitedContext.
  • @faasjs/ant-design

    • [Feature] Simplify App with createSplitedContext.
",1),g={href:"https://github.com/faasjs/faasjs/compare/v1.7.2...v2.0.0",target:"_blank",rel:"noopener noreferrer"},m=e("code",null,"v2.0.0 (2024-02-28)",-1),F=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Break] Remove "),e("code",null,"@preact/signals-react"),l(".")])])])],-1),k={href:"https://github.com/faasjs/faasjs/compare/v1.7.1...v1.7.2",target:"_blank",rel:"noopener noreferrer"},x=e("code",null,"v1.7.2 (2024-02-27)",-1),A=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix loading's render issue.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Table's loading state.")])])],-1),y={href:"https://github.com/faasjs/faasjs/compare/v1.7.0...v1.7.1",target:"_blank",rel:"noopener noreferrer"},w=e("code",null,"v1.7.1 (2024-02-25)",-1),q=e("ul",null,[e("li",null,[e("code",null,"@faasjs/jest"),e("ul",null,[e("li",null,[l("[Fix] Fix dependences, remove "),e("code",null,"@faasjs/test"),l(".")])])])],-1),S={href:"https://github.com/faasjs/faasjs/compare/v1.6.0...v1.7.0",target:"_blank",rel:"noopener noreferrer"},R=e("code",null,"v1.7.0 (2024-02-24)",-1),C=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"create-faas-app")]),e("ul",null,[e("li",null,"[Feature] Support Bun."),e("li",null,"[Fix] Fix example file.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Feature] Refactor Logger class initialization.")])])],-1),D={href:"https://github.com/faasjs/faasjs/compare/v1.5.0...v1.6.0",target:"_blank",rel:"noopener noreferrer"},E=e("code",null,"v1.6.0 (2024-01-29)",-1),B=a("
  • @faasjs/react

    • [Feature] Add useConstant.
  • @faasjs/ant-design

    • [Feature] Reduce App re-render times.
",1),I={href:"https://github.com/faasjs/faasjs/compare/v1.4.2...v1.5.0",target:"_blank",rel:"noopener noreferrer"},T=e("code",null,"v1.5.0 (2024-01-29)",-1),L=e("code",null,"@faasjs/ant-design",-1),N={href:"https://github.com/welldone-software/why-did-you-render",target:"_blank",rel:"noopener noreferrer"},P=e("li",null,"[Feature] Drawer and Modal support function as change handler.",-1),U={href:"https://github.com/faasjs/faasjs/compare/v1.4.1...v1.4.2",target:"_blank",rel:"noopener noreferrer"},J=e("code",null,"v1.4.2 (2024-01-22)",-1),O=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Fix] Fix transaction return value.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Fix] Fix error log outputs.")])])],-1),G={href:"https://github.com/faasjs/faasjs/compare/v1.3.2...v1.4.1",target:"_blank",rel:"noopener noreferrer"},V=e("code",null,"v1.4.1 (2024-01-20)",-1),W=a("
  • @faasjs/knex

    • [Feature] Add commit and rollback events to transaction.
    • [Feature] Improve logger.
  • @faasjs/request

    • [Feature] Improve json parse.
  • @faasjs/redis

    • [Feature] Add lock success log.
    • [Fix] Fix logger label.
",1),H={href:"https://github.com/faasjs/faasjs/compare/v1.3.0...v1.3.2",target:"_blank",rel:"noopener noreferrer"},z=e("code",null,"v1.3.2 (2024-01-06)",-1),M=a("
  • @faasjs/request

    • [Feature] Display requestId in log.
    • [Fix] Fix downloadFile and downloadStream's logger.
  • @faasjs/ant-design

    • [Fix] Fix Tabs's item's type define.
",1),X={href:"https://github.com/faasjs/faasjs/compare/v1.2.0...v1.3.0",target:"_blank",rel:"noopener noreferrer"},K=e("code",null,"v1.3.0 (2024-01-03)",-1),Q=a("
  • @faasjs/logger

    • [Feature] Add FaasLogMode.
  • @faasjs/request, @faasjs/redis, @faasjs/server

    • [Fix] Use internal logger.
  • @faasjs/knex

    • [Fix] Improve log format.
",1),Y={href:"https://github.com/faasjs/faasjs/compare/v1.1.1...v1.2.0",target:"_blank",rel:"noopener noreferrer"},Z=e("code",null,"v1.2.0 (2023-12-31)",-1),$=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Add default timeout (5000 as 5s).")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/func")]),e("ul",null,[e("li",null,"[Feature] Improve logger.")])])],-1),ee={href:"https://github.com/faasjs/faasjs/compare/v1.1.0...v1.1.1",target:"_blank",rel:"noopener noreferrer"},le=e("code",null,"v1.1.1 (2023-12-29)",-1),te=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix transfer array types.")])])],-1),oe={href:"https://github.com/faasjs/faasjs/compare/v1.0.0...v1.1.0",target:"_blank",rel:"noopener noreferrer"},ae=e("code",null,"v1.1.0 (2023-12-26)",-1),ne=a("
  • @faasjs/http

    • [Feature] Lowercase header names.
  • @faasjs/server

    • [Feature] Lowercase header names.
    • [Feature] Add all headers to Access-Control-Allow-Headers.
    • [Feature] Add Access-Control-Expose-Headers.
  • @faasjs/browser

    • [Feature] Add headers to beforeRequest.
",1),se={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.6...v1.0.0",target:"_blank",rel:"noopener noreferrer"},re=e("code",null,"v1.0.0 (2023-12-23)",-1),ue=e("ul",null,[e("li",null,[e("p",null,"[Feature] Release first stable version.")]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"useSignals"),l(".")])])])],-1),ce=e("h2",{id:"beta",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#beta"},[e("span",null,"Beta")])],-1),ie={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.5...v0.0.5-beta.6",target:"_blank",rel:"noopener noreferrer"},de=e("code",null,"v0.0.5-beta.6 (2023-12-23)",-1),_e=a("
  • @faasjs/react

    • [Feature] Upgrade @preact/signal-react to ^2.0.0.
  • @faasjs/redis

    • [Feature] Improve locking log.
",1),he={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.3...v0.0.5-beta.5",target:"_blank",rel:"noopener noreferrer"},fe=e("code",null,"v0.0.5-beta.5 (2023-12-19)",-1),pe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Table"),l(" items re-render issue.")])])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/server")]),e("ul",null,[e("li",null,"[Feature] Support deep path default function.")])])],-1),be={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.2...v0.0.5-beta.3",target:"_blank",rel:"noopener noreferrer"},je=e("code",null,"v0.0.5-beta.3 (2023-12-14)",-1),ve=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix time input.")])])],-1),ge={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.1...v0.0.5-beta.2",target:"_blank",rel:"noopener noreferrer"},me=e("code",null,"v0.0.5-beta.2 (2023-12-12)",-1),Fe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Feature] Improve logger.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"useSignalState"),l(".")])])])],-1),ke={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.16...v0.0.5-beta.1",target:"_blank",rel:"noopener noreferrer"},xe=e("code",null,"v0.0.5-beta.1 (2023-12-04)",-1),Ae=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Break] Change ConfigProvider's config to theme."),e("li",null,"[Feature] Add FaasClientOptions to ConfigProvider.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Update logger.")])])],-1),ye={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.15...v0.0.4-beta.16",target:"_blank",rel:"noopener noreferrer"},we=e("code",null,"v0.0.4-beta.16 (2023-12-03)",-1),qe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Add FaasJS's ConfigProvider to App.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Support gzip and br encoding.")])])],-1),Se={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.14...v0.0.4-beta.15",target:"_blank",rel:"noopener noreferrer"},Re=e("code",null,"v0.0.4-beta.15 (2023-12-01)",-1),Ce=a("
  • @faasjs/eslint-config-recommended

    • [Break] Remove package.
  • @faasjs/eslint-config-react

    • [Break] Remove package.
  • @faasjs/eslint-config-vue

    • [Break] Remove package.
  • @faasjs/linter

    • [Break] Remove package.
  • @faasjs/ant-design

    • [Feature] Add ErrorBoundary to App.
",1),De={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.12...v0.0.4-beta.14",target:"_blank",rel:"noopener noreferrer"},Ee=e("code",null,"v0.0.4-beta.14 (2023-11-30)",-1),Be=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Table's columns support "),e("code",null,"filterDropdown: false"),l(" and "),e("code",null,"sorter: false"),l(".")])])])],-1),Ie={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.11...v0.0.4-beta.12",target:"_blank",rel:"noopener noreferrer"},Te=e("code",null,"v0.0.4-beta.12 (2023-11-29)",-1),Le=e("code",null,"@faasjs/react",-1),Ne=e("code",null,"signal",-1),Pe={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},Ue={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.10...v0.0.4-beta.11",target:"_blank",rel:"noopener noreferrer"},Je=e("code",null,"v0.0.4-beta.11 (2023-11-19)",-1),Oe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/redis")]),e("ul",null,[e("li",null,"[Feature] Remove unnecessary types.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Fix] Fix logger size.")])])],-1),Ge={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.9...v0.0.4-beta.10",target:"_blank",rel:"noopener noreferrer"},Ve=e("code",null,"v0.0.4-beta.10 (2023-11-05)",-1),We=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,[l("[Feature] When request failed, return "),e("code",null,"ResponseError"),l(" instead of "),e("code",null,"Error"),l(".")])])])],-1),He={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.7...v0.0.4-beta.9",target:"_blank",rel:"noopener noreferrer"},ze=e("code",null,"v0.0.4-beta.9 (2023-10-24)",-1),Me=e("ul",null,[e("li",null,"[Feature] Improve dependencies.")],-1),Xe={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.6...v0.0.4-beta.7",target:"_blank",rel:"noopener noreferrer"},Ke=e("code",null,"v0.0.4-beta.7 (2023-10-23)",-1),Qe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/func")]),e("ul",null,[e("li",null,"[Feature] Improve logger for mono mode.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/http")]),e("ul",null,[e("li",null,"[Feature] Improve logger for mono mode.")])])],-1),Ye={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.5...v0.0.4-beta.6",target:"_blank",rel:"noopener noreferrer"},Ze=e("code",null,"v0.0.4-beta.6 (2023-10-20)",-1),$e=e("code",null,"@faasjs/knex",-1),el=e("code",null,"transaction",-1),ll=e("code",null,"options: { trx: Knex.Transaction }",-1),tl={href:"https://github.com/WittCsharp",target:"_blank",rel:"noopener noreferrer"},ol=e("li",null,[l("[Feature] Export "),e("code",null,"originKnex"),l(" and "),e("code",null,"OriginKnex"),l(".")],-1),al={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.4...v0.0.4-beta.5",target:"_blank",rel:"noopener noreferrer"},nl=e("code",null,"v0.0.4-beta.5 (2023-10-17)",-1),sl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,[l("[Break] "),e("code",null,"jest.setup.js"),l(" moved to "),e("code",null,"@faasjs/jest"),l(".")])])])],-1),rl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.109...v0.0.4-beta.4",target:"_blank",rel:"noopener noreferrer"},ul=e("code",null,"v0.0.4-beta.4 (2023-10-16)",-1),cl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"skip"),l(" can be a function.")])])])],-1),il={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.108...v0.0.3-beta.109",target:"_blank",rel:"noopener noreferrer"},dl=e("code",null,"v0.0.3-beta.109 (2023-09-22)",-1),_l=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Improve logger.")])])],-1),hl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.107...v0.0.3-beta.108",target:"_blank",rel:"noopener noreferrer"},fl=e("code",null,"v0.0.3-beta.108 (2023-09-21)",-1),pl=e("code",null,"@faasjs/linter",-1),bl=e("code",null,"@faasjs/linter",-1),jl={href:"https://biomejs.dev/",target:"_blank",rel:"noopener noreferrer"},vl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.105...v0.0.3-beta.107",target:"_blank",rel:"noopener noreferrer"},gl=e("code",null,"v0.0.3-beta.107 (2023-09-14)",-1),ml=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix clone params.")])])],-1),Fl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.104...v0.0.3-beta.105",target:"_blank",rel:"noopener noreferrer"},kl=e("code",null,"v0.0.3-beta.105 (2023-09-13)",-1),xl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"data.event.params"),l(" as cloned params.")])])])],-1),Al={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.101...v0.0.3-beta.104",target:"_blank",rel:"noopener noreferrer"},yl=e("code",null,"v0.0.3-beta.104 (2023-09-05)",-1),wl=a("
  • @faasjs/browser

    • [Feature] Add setMock for testing.
  • @faasjs/ant-design

    • [Feature] Add onClick to Link.
    • [Fix] Avoid Link return null.
",1),ql={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.100...v0.0.3-beta.101",target:"_blank",rel:"noopener noreferrer"},Sl=e("code",null,"v0.0.3-beta.101 (2023-09-03)",-1),Rl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" global style.")])])])],-1),Cl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.98...v0.0.3-beta.100",target:"_blank",rel:"noopener noreferrer"},Dl=e("code",null,"v0.0.3-beta.100 (2023-08-29)",-1),El=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" style.")]),e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" onClick bug.")])])])],-1),Bl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.97...v0.0.3-beta.98",target:"_blank",rel:"noopener noreferrer"},Il=e("code",null,"v0.0.3-beta.98 (2023-08-26)",-1),Tl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"copyable"),l(" to "),e("code",null,"Link"),l(".")])])])],-1),Ll={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.96...v0.0.3-beta.97",target:"_blank",rel:"noopener noreferrer"},Nl=e("code",null,"v0.0.3-beta.97 (2023-08-25)",-1),Pl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"reloadTime"),l(" from "),e("code",null,"useFaas"),l(".")])])])],-1),Ul={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.95...v0.0.3-beta.96",target:"_blank",rel:"noopener noreferrer"},Jl=e("code",null,"v0.0.3-beta.96 (2023-08-19)",-1),Ol=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"debounce"),l(" to "),e("code",null,"useFaas"),l(".")])])])],-1),Gl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.94...v0.0.3-beta.95",target:"_blank",rel:"noopener noreferrer"},Vl=e("code",null,"v0.0.3-beta.95 (2023-08-17)",-1),Wl=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Descriptions' renderTitle.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/server")]),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"onError"),l(".")])])])],-1),Hl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.92...v0.0.3-beta.94",target:"_blank",rel:"noopener noreferrer"},zl=e("code",null,"v0.0.3-beta.94 (2023-08-16)",-1),Ml=a("
  • @faasjs/http

    • [Fix] Fix params parse.
  • @faasjs/react

    • [Feature] ErrorBoundary's onError be opitonal.
  • @faasjs/knex

    • [Feature] Make logger be public.
",1),Xl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.91...v0.0.3-beta.92",target:"_blank",rel:"noopener noreferrer"},Kl=e("code",null,"v0.0.3-beta.92 (2023-08-10)",-1),Ql=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] add "),e("code",null,"ErrorBoundary"),l(".")])])])],-1),Yl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.90...v0.0.3-beta.91",target:"_blank",rel:"noopener noreferrer"},Zl=e("code",null,"v0.0.3-beta.91 (2023-08-07)",-1),$l=e("ul",null,[e("li",null,[e("code",null,"@faasjs/cloud_function"),e("ul",null,[e("li",null,"[Feature] Add request_id to invoked funciton.")])])],-1),et={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.89...v0.0.3-beta.90",target:"_blank",rel:"noopener noreferrer"},lt=e("code",null,"v0.0.3-beta.90 (2023-08-06)",-1),tt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix Descriptions' renderTitle.")])])],-1),ot={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.88...v0.0.3-beta.89",target:"_blank",rel:"noopener noreferrer"},at=e("code",null,"v0.0.3-beta.89 (2023-08-04)",-1),nt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Upgrade antd version to ~5.8.0.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Update error message.")])])],-1),st={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.87...v0.0.3-beta.88",target:"_blank",rel:"noopener noreferrer"},rt=e("code",null,"v0.0.3-beta.88 (2023-07-31)",-1),ut=a("
  • @faasjs/server

    • [Feature] Add X-FaasJS-Timing-Pending, X-FaasJS-Timing-Processing, X-FaasJS-Timing-Total to header.
  • @faasjs/http

    • [Fix] Fix cookie and session's logger.
",1),ct={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.86...v0.0.3-beta.87",target:"_blank",rel:"noopener noreferrer"},it=e("code",null,"v0.0.3-beta.87 (2023-07-20)",-1),dt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,"[Feature] Ignore React Native's fetch abort.")])])],-1),_t={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.85...v0.0.3-beta.86",target:"_blank",rel:"noopener noreferrer"},ht=e("code",null,"v0.0.3-beta.86 (2023-07-19)",-1),ft=e("ul",null,[e("li",null,[e("code",null,"@faasjs/eslint-config-recommended"),e("ul",null,[e("li",null,"[Feature] Add more rules.")])])],-1),pt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.84...v0.0.3-beta.85",target:"_blank",rel:"noopener noreferrer"},bt=e("code",null,"v0.0.3-beta.85 (2023-07-01)",-1),jt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Fix] Fix Access-Control-Allow-Headers.")])])],-1),vt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.83...v0.0.3-beta.84",target:"_blank",rel:"noopener noreferrer"},gt=e("code",null,"v0.0.3-beta.84 (2023-06-29)",-1),mt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/browser"),l(" & "),e("code",null,"@faasjs/server"),l(" & "),e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,[l("[Feature] Add new "),e("code",null,"X-FaasJS-Request-Id"),l(" header.")])])])],-1),Ft={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.82...v0.0.3-beta.83",target:"_blank",rel:"noopener noreferrer"},kt=e("code",null,"v0.0.3-beta.83 (2023-06-05)",-1),xt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Display radio when options length less than 11.")])])],-1),At={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.81...v0.0.3-beta.82",target:"_blank",rel:"noopener noreferrer"},yt=e("code",null,"v0.0.3-beta.82 (2023-05-18)",-1),wt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Split process with path.")])])],-1),qt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.79...v0.0.3-beta.81",target:"_blank",rel:"noopener noreferrer"},St=e("code",null,"v0.0.3-beta.81 (2023-05-16)",-1),Rt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Add auto retry to "),e("code",null,"useFaas"),l(".")])])])],-1),Ct={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.78...v0.0.3-beta.79",target:"_blank",rel:"noopener noreferrer"},Dt=e("code",null,"v0.0.3-beta.79 (2023-04-26)",-1),Et=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Feature] Add json convert to pg.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Feature] Add FaasLogSize.")])])],-1),Bt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.77...v0.0.3-beta.78",target:"_blank",rel:"noopener noreferrer"},It=e("code",null,"v0.0.3-beta.78 (2023-04-18)",-1),Tt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Output debug logger for mock.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Export faas functions.")])])],-1),Lt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.76...v0.0.3-beta.77",target:"_blank",rel:"noopener noreferrer"},Nt=e("code",null,"v0.0.3-beta.77 (2023-04-12)",-1),Pt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix null item.")])])],-1),Ut={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.75...v0.0.3-beta.76",target:"_blank",rel:"noopener noreferrer"},Jt=e("code",null,"v0.0.3-beta.76 (2023-04-02)",-1),Ot=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix Tabs' label.")])])],-1),Gt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.74...v0.0.3-beta.75",target:"_blank",rel:"noopener noreferrer"},Vt=e("code",null,"v0.0.3-beta.75 (2023-03-30)",-1),Wt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix item type.")])])],-1),Ht={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.73...v0.0.3-beta.74",target:"_blank",rel:"noopener noreferrer"},zt=e("code",null,"v0.0.3-beta.74 (2023-03-23)",-1),Mt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Table extra.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix params.")])])],-1),Xt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.72...v0.0.3-beta.73",target:"_blank",rel:"noopener noreferrer"},Kt=e("code",null,"v0.0.3-beta.73 (2023-03-19)",-1),Qt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix action missing.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Display url in error message.")])])],-1),Yt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.70...v0.0.3-beta.72",target:"_blank",rel:"noopener noreferrer"},Zt=e("code",null,"v0.0.3-beta.72 (2023-03-17)",-1),$t=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"setParams"),l(".")])])])],-1),eo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.69...v0.0.3-beta.70",target:"_blank",rel:"noopener noreferrer"},lo=e("code",null,"v0.0.3-beta.70 (2023-03-12)",-1),to=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"Tabs"),l(" component.")])])])],-1),oo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.65...v0.0.3-beta.68",target:"_blank",rel:"noopener noreferrer"},ao=e("code",null,"v0.0.3-beta.68 (2023-03-05)",-1),no=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Improve dropdown render."),e("li",null,"[Fix] Fix table loading.")])])],-1),so={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.63...v0.0.3-beta.65",target:"_blank",rel:"noopener noreferrer"},ro=e("code",null,"v0.0.3-beta.65 (2023-03-04)",-1),uo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add date picker to date and time items.")])])],-1),co={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.62...v0.0.3-beta.63",target:"_blank",rel:"noopener noreferrer"},io=e("code",null,"v0.0.3-beta.63 (2023-03-02)",-1),_o=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix boolean filter.")])])],-1),ho={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.61...v0.0.3-beta.62",target:"_blank",rel:"noopener noreferrer"},fo=e("code",null,"v0.0.3-beta.62 (2023-02-27)",-1),po=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix filter.")])])],-1),bo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.59...v0.0.3-beta.61",target:"_blank",rel:"noopener noreferrer"},jo=e("code",null,"v0.0.3-beta.61 (2023-02-21)",-1),vo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Use Select as filters."),e("li",null,"[Fix] Fix filterDropdown.")])])],-1),go={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.57...v0.0.3-beta.59",target:"_blank",rel:"noopener noreferrer"},mo=e("code",null,"v0.0.3-beta.59 (2023-02-18)",-1),Fo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Feature] Update pool config.")])])],-1),ko={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.56...v0.0.3-beta.57",target:"_blank",rel:"noopener noreferrer"},xo=e("code",null,"v0.0.3-beta.57 (2023-02-16)",-1),Ao=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix null value.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/redis")]),e("ul",null,[e("li",null,"[Fix] Fix disconnect.")])])],-1),yo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.55...v0.0.3-beta.56",target:"_blank",rel:"noopener noreferrer"},wo=e("code",null,"v0.0.3-beta.56 (2023-02-15)",-1),qo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add BrowserRouter to App.")])])],-1),So={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.51...v0.0.3-beta.55",target:"_blank",rel:"noopener noreferrer"},Ro=e("code",null,"v0.0.3-beta.55 (2023-02-14)",-1),Co=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix App style.")])])],-1),Do={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.50...v0.0.3-beta.51",target:"_blank",rel:"noopener noreferrer"},Eo=e("code",null,"v0.0.3-beta.51 (2023-02-12)",-1),Bo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"App"),l(" component.")])])])],-1),Io={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.49...v0.0.3-beta.50",target:"_blank",rel:"noopener noreferrer"},To=e("code",null,"v0.0.3-beta.50 (2023-02-09)",-1),Lo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Feature] Add default pg config.")])])],-1),No={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.47...v0.0.3-beta.49",target:"_blank",rel:"noopener noreferrer"},Po=e("code",null,"v0.0.3-beta.49 (2023-02-08)",-1),Uo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix time sorter.")])])],-1),Jo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.46...v0.0.3-beta.47",target:"_blank",rel:"noopener noreferrer"},Oo=e("code",null,"v0.0.3-beta.47 (2023-02-07)",-1),Go=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Feature] Add lock and unlock.")])])],-1),Vo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.45...v0.0.3-beta.46",target:"_blank",rel:"noopener noreferrer"},Wo=e("code",null,"v0.0.3-beta.46 (2023-02-06)",-1),Ho=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,"[Feature] Return Error.")])])],-1),zo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.44...v0.0.3-beta.45",target:"_blank",rel:"noopener noreferrer"},Mo=e("code",null,"v0.0.3-beta.45 (2023-02-04)",-1),Xo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix boolean filter.")])])],-1),Ko={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.43...v0.0.3-beta.44",target:"_blank",rel:"noopener noreferrer"},Qo=e("code",null,"v0.0.3-beta.44 (2023-02-02)",-1),Yo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,".ts"),l(" to filename.")])])])],-1),Zo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.40...v0.0.3-beta.43",target:"_blank",rel:"noopener noreferrer"},$o=e("code",null,"v0.0.3-beta.43 (2023-02-01)",-1),ea=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add extra to list."),e("li",null,"[Fix] Fix FaasData.")])])],-1),la={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.36...v0.0.3-beta.40",target:"_blank",rel:"noopener noreferrer"},ta=e("code",null,"v0.0.3-beta.40 (2023-01-30)",-1),oa=e("ul",null,[e("li",null,"[Feature] Use peerDependence.")],-1),aa={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.35...v0.0.3-beta.36",target:"_blank",rel:"noopener noreferrer"},na=e("code",null,"v0.0.3-beta.36 (2023-01-27)",-1),sa=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Remove] Remove ErrorBoundary."),e("li",null,"[Fix] Remove unused log.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Fix] Improve parse.")])])],-1),ra={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.32...v0.0.3-beta.35",target:"_blank",rel:"noopener noreferrer"},ua=e("code",null,"v0.0.3-beta.35 (2023-01-24)",-1),ca=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add block to Link."),e("li",null,"[Fix] Fix link style.")])])],-1),ia={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.31...v0.0.3-beta.32",target:"_blank",rel:"noopener noreferrer"},da=e("code",null,"v0.0.3-beta.32 (2023-01-23)",-1),_a=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add type "),e("code",null,"UnionFaasItem"),l(".")]),e("li",null,"[Feature] Add loading to wrapper."),e("li",null,"[Feature] Add children to Loading.")])])],-1),ha={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.30...v0.0.3-beta.31",target:"_blank",rel:"noopener noreferrer"},fa=e("code",null,"v0.0.3-beta.31 (2023-01-22)",-1),pa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Feature] Add multi and pipeline.")])])],-1),ba={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.29...v0.0.3-beta.30",target:"_blank",rel:"noopener noreferrer"},ja=e("code",null,"v0.0.3-beta.30 (2023-01-19)",-1),va=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Feature] Export cookie and session.")])])],-1),ga={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.24...v0.0.3-beta.29",target:"_blank",rel:"noopener noreferrer"},ma=e("code",null,"v0.0.3-beta.29 (2023-01-18)",-1),Fa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add async to submit."),e("li",null,"[Feature] Export Form.List, Form.ErrorList and Form.Provider."),e("li",null,[l("[Feature] Add "),e("code",null,"Loading"),l(" and "),e("code",null,"FaasDataWrapper"),l(".")])])])],-1),ka={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.23...v0.0.3-beta.24",target:"_blank",rel:"noopener noreferrer"},xa=e("code",null,"v0.0.3-beta.24 (2023-01-17)",-1),Aa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix empty filter.")])])],-1),ya={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.21...v0.0.3-beta.23",target:"_blank",rel:"noopener noreferrer"},wa=e("code",null,"v0.0.3-beta.23 (2023-01-16)",-1),qa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix filter.")])])],-1),Sa={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.19...v0.0.3-beta.21",target:"_blank",rel:"noopener noreferrer"},Ra=e("code",null,"v0.0.3-beta.21 (2023-01-15)",-1),Ca=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add options to FaasDataTable."),e("li",null,"[Feature] Add children to FaasDataWrapper.")])])],-1),Da={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.18...v0.0.3-beta.19",target:"_blank",rel:"noopener noreferrer"},Ea=e("code",null,"v0.0.3-beta.19 (2023-01-13)",-1),Ba=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix params.")])])],-1),Ia={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.17...v0.0.3-beta.18",target:"_blank",rel:"noopener noreferrer"},Ta=e("code",null,"v0.0.3-beta.18 (2023-01-11)",-1),La=e("ul",null,[e("li",null,[e("code",null,"@faasjs/logger"),e("ul",null,[e("li",null,"[Fix] Increase default log size.")])])],-1),Na={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.16...v0.0.3-beta.17",target:"_blank",rel:"noopener noreferrer"},Pa=e("code",null,"v0.0.3-beta.17 (2023-01-10)",-1),Ua=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix link text.")])])],-1),Ja={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.15...v0.0.3-beta.16",target:"_blank",rel:"noopener noreferrer"},Oa=e("code",null,"v0.0.3-beta.16 (2022-12-23)",-1),Ga=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Update major types to interfaces.")])])],-1),Va={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.11...v0.0.3-beta.15",target:"_blank",rel:"noopener noreferrer"},Wa=e("code",null,"v0.0.3-beta.15 (2022-12-16)",-1),Ha=e("ul",null,[e("li",null,[e("code",null,"@faasjs/cloud_function"),e("ul",null,[e("li",null,"[Fix] Fix local mode's path issue.")])]),e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Feature] Let useify plugin returns plugin instance when it mounts.")])]),e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Don't initialize cookie and session before mount.")])])],-1),za={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.10...v0.0.3-beta.11",target:"_blank",rel:"noopener noreferrer"},Ma=e("code",null,"v0.0.3-beta.11 (2022-12-13)",-1),Xa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix link with button.")])])],-1),Ka={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.8...v0.0.3-beta.10",target:"_blank",rel:"noopener noreferrer"},Qa=e("code",null,"v0.0.3-beta.10 (2022-12-08)",-1),Ya=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,"[Fix] Auto cancel request when component unmount.")])])],-1),Za={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.6...v0.0.3-beta.8",target:"_blank",rel:"noopener noreferrer"},$a=e("code",null,"v0.0.3-beta.8 (2022-12-07)",-1),en=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add debug logs.")])]),e("li",null,[e("code",null,"@faasjs/logger"),e("ul",null,[e("li",null,"[Feature] Improve log outputs.")])])],-1),ln={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.5...v0.0.3-beta.6",target:"_blank",rel:"noopener noreferrer"},tn=e("code",null,"v0.0.3-beta.6 (2022-12-05)",-1),on=a("
  • @faasjs/cli
    • [Fix] Rollback to use lodash.
  • @faasjs/server
    • [Fix] Rollback to use lodash.
  • create-faas-app
    • [Fix] Rollback to use lodash.
",1),an={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.4...v0.0.3-beta.5",target:"_blank",rel:"noopener noreferrer"},nn=e("code",null,"v0.0.3-beta.5 (2022-12-02)",-1),sn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"if"),l(" in FormItem.")])])])],-1),rn={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.3...v0.0.3-beta.4",target:"_blank",rel:"noopener noreferrer"},un=e("code",null,"v0.0.3-beta.4 (2022-11-28)",-1),cn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix i18n for Table.")])])],-1),dn={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.2...v0.0.3-beta.3",target:"_blank",rel:"noopener noreferrer"},_n=e("code",null,"v0.0.3-beta.2 (2022-11-25)",-1),hn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add null to table's options.")])])],-1),fn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.456...v0.0.3-beta.2",target:"_blank",rel:"noopener noreferrer"},pn=e("code",null,"v0.0.3-beta.2 (2022-11-19)",-1),bn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Break] Upgrade Ant Design to 5.x."),e("li",null,[l("[Break] Use "),e("code",null,"lodash-es"),l(" instead of "),e("code",null,"lodash"),l(".")])])])],-1),jn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.404...v0.0.2-beta.406",target:"_blank",rel:"noopener noreferrer"},vn=e("code",null,"v0.0.2-beta.406 (2022-09-01)",-1),gn=e("ul",null,[e("li",null,"[Feature] Replace peerDependencies with dependencies."),e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Convert string to dayjs instance automatically when type is date or time."),e("li",null,"[Fix] Fix extendTypes warning.")])])],-1),mn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.403...v0.0.2-beta.404",target:"_blank",rel:"noopener noreferrer"},Fn=e("code",null,"v0.0.2-beta.404 (2022-08-24)",-1),kn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix query's typescript definition.")])])],-1),xn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.402...v0.0.2-beta.403",target:"_blank",rel:"noopener noreferrer"},An=e("code",null,"v0.0.2-beta.403 (2022-08-21)",-1),yn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Fix] Fix logger.")])])],-1),wn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.400...v0.0.2-beta.402",target:"_blank",rel:"noopener noreferrer"},qn=e("code",null,"v0.0.2-beta.402 (2022-08-20)",-1),Sn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Fix] Fix logger for testing.")])]),e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix logger.")])])],-1),Rn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.399...v0.0.2-beta.400",target:"_blank",rel:"noopener noreferrer"},Cn=e("code",null,"v0.0.2-beta.400 (2022-08-19)",-1),Dn=e("ul",null,[e("li",null,"[Break] Add request_id to all logs."),e("li",null,[l("[Break] Add "),e("code",null,"node >= 16.0.0"),l(" to "),e("code",null,"package.json"),l(".")])],-1),En={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.398...v0.0.2-beta.399",target:"_blank",rel:"noopener noreferrer"},Bn=e("code",null,"v0.0.2-beta.399 (2022-08-15)",-1),In=e("ul",null,[e("li",null,[e("code",null,"create-faas-app"),e("ul",null,[e("li",null,"[Feature] Update script and files.")])]),e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,"[Fix] Fix the empty config issue.")])])],-1),Tn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.397...v0.0.2-beta.398",target:"_blank",rel:"noopener noreferrer"},Ln=e("code",null,"v0.0.2-beta.398 (2022-08-07)",-1),Nn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Fix] usePlugin will add mount automatically.")])])],-1),Pn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.396...v0.0.2-beta.397",target:"_blank",rel:"noopener noreferrer"},Un=e("code",null,"v0.0.2-beta.397 (2022-08-06)",-1),Jn=a("
  • @faasjs/aws
    • [Break] Remove @faasjs/aws package.
  • @faasjs/react
    • [Feature] Export more types from @faasjs/types.
  • @faasjs/func
    • [Feature] Update documents.
    • [Remove] Remove export's config.
",1),On={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.395...v0.0.2-beta.396",target:"_blank",rel:"noopener noreferrer"},Gn=e("code",null,"v0.0.2-beta.396 (2022-07-27)",-1),Vn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix query function params's type.")])])],-1),Wn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.394...v0.0.2-beta.395",target:"_blank",rel:"noopener noreferrer"},Hn=e("code",null,"v0.0.2-beta.395 (2022-07-26)",-1),zn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,"[Feature] Add English documents.")])])],-1),Mn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.393...v0.0.2-beta.394",target:"_blank",rel:"noopener noreferrer"},Xn=e("code",null,"v0.0.2-beta.394 (2022-05-30)",-1),Kn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix validator.")])])],-1),Qn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.392...v0.0.2-beta.393",target:"_blank",rel:"noopener noreferrer"},Yn=e("code",null,"v0.0.2-beta.393 (2022-04-27)",-1),Zn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Support React 18.x.")])]),e("li",null,[e("code",null,"@faasjs/jest"),e("ul",null,[e("li",null,"[Feature] Support jest 28.x.")])])],-1),$n={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.391...v0.0.2-beta.392",target:"_blank",rel:"noopener noreferrer"},es=e("code",null,"v0.0.2-beta.392 (2022-04-14)",-1),ls=e("ul",null,[e("li",null,[e("code",null,"create-faas-app"),e("ul",null,[e("li",null,"[Break] Remove default provider.")])])],-1),ts={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.390...v0.0.2-beta.391",target:"_blank",rel:"noopener noreferrer"},os=e("code",null,"v0.0.2-beta.391 (2022-04-01)",-1),as=e("ul",null,[e("li",null,[e("code",null,"@faasjs/eslint-recommended"),e("ul",null,[e("li",null,"[Feature] Remove slow rules.")])])],-1),ns={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.389...v0.0.2-beta.390",target:"_blank",rel:"noopener noreferrer"},ss=e("code",null,"v0.0.2-beta.390 (2022-03-30)",-1),rs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Break] Remove "),e("code",null,"react-use"),l(" dependency.")])])])],-1),us={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.385...v0.0.2-beta.389",target:"_blank",rel:"noopener noreferrer"},cs=e("code",null,"v0.0.2-beta.389 (2022-03-25)",-1),is=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Feature] Add originBody to all response."),e("li",null,"[Fix] Fix response.")])]),e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,[l("[Break] Use "),e("code",null,"better-sqlite3"),l(" as sqlite adapter.")])])])],-1),ds={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.384...v0.0.2-beta.385",target:"_blank",rel:"noopener noreferrer"},_s=e("code",null,"v0.0.2-beta.385 (2022-03-18)",-1),hs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"afterItems"),l(" to "),e("code",null,"Form"),l(".")])])])],-1),fs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.383...v0.0.2-beta.384",target:"_blank",rel:"noopener noreferrer"},ps=e("code",null,"v0.0.2-beta.384 (2022-03-03)",-1),bs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"filterDropdown"),l(".")])])])],-1),js={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.382...v0.0.2-beta.383",target:"_blank",rel:"noopener noreferrer"},vs=e("code",null,"v0.0.2-beta.383 (2022-03-01)",-1),gs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Update i18n.")])])],-1),ms={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.380...v0.0.2-beta.382",target:"_blank",rel:"noopener noreferrer"},Fs=e("code",null,"v0.0.2-beta.382 (2022-02-28)",-1),ks=a("
  • @faasjs/jest
    • [Feature] Add new package @faasjs/jest.
  • @faasjs/ant-design
    • [Feature] Add object and object[] to FormItem.
",1),xs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.379...v0.0.2-beta.380",target:"_blank",rel:"noopener noreferrer"},As=e("code",null,"v0.0.2-beta.380 (2022-02-25)",-1),ys=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Add default route.")])])],-1),ws={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.378...v0.0.2-beta.379",target:"_blank",rel:"noopener noreferrer"},qs=e("code",null,"v0.0.2-beta.379 (2022-02-24)",-1),Ss=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Support tsx file.")])]),e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix submit for "),e("code",null,"Form"),l(".")])])])],-1),Rs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.375...v0.0.2-beta.378",target:"_blank",rel:"noopener noreferrer"},Cs=e("code",null,"v0.0.2-beta.378 (2022-02-23)",-1),Ds=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"beforeItems"),l(" to "),e("code",null,"Form"),l(".")]),e("li",null,"[Feature] Support pure string as children.")])])],-1),Es={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.374...v0.0.2-beta.375",target:"_blank",rel:"noopener noreferrer"},Bs=e("code",null,"v0.0.2-beta.375 (2022-02-22)",-1),Is=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"submitTo"),l(" to "),e("code",null,"Form"),l(".")])])])],-1),Ts={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.373...v0.0.2-beta.374",target:"_blank",rel:"noopener noreferrer"},Ls=e("code",null,"v0.0.2-beta.374 (2022-02-18)",-1),Ns=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"children"),l(" to "),e("code",null,"Title"),l(".")])])])],-1),Ps={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.371...v0.0.2-beta.373",target:"_blank",rel:"noopener noreferrer"},Us=e("code",null,"v0.0.2-beta.373 (2022-02-14)",-1),Js=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix antd paths.")])])],-1),Os={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.370...v0.0.2-beta.371",target:"_blank",rel:"noopener noreferrer"},Gs=e("code",null,"v0.0.2-beta.371 (2022-02-13)",-1),Vs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"h1"),l(" to "),e("code",null,"Title"),l(".")]),e("li",null,"[Feature] Export dayjs components.")])])],-1),Ws={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.365...v0.0.2-beta.370",target:"_blank",rel:"noopener noreferrer"},Hs=e("code",null,"v0.0.2-beta.370 (2022-02-09)",-1),zs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add DatePicker to "),e("code",null,"FormItem"),l(".")])])])],-1),Ms={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.357...v0.0.2-beta.365",target:"_blank",rel:"noopener noreferrer"},Xs=e("code",null,"v0.0.2-beta.365 (2022-02-07)",-1),Ks=e("ul",null,[e("li",null,[e("code",null,"@faasjs/graphql-server"),e("ul",null,[e("li",null,[l("[Break] Remove package "),e("code",null,"@faasjs/graphql-server"),l(".")])])])],-1),Qs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.353...v0.0.2-beta.357",target:"_blank",rel:"noopener noreferrer"},Ys=e("code",null,"v0.0.2-beta.357 (2022-02-01)",-1),Zs=a("

Happy Chinese New Year! 🐯 🧨

  • @faasjs/browser
    • [Break] Rename FaasData to FaasDataWrapper.
    • [Break] Rename element to render.
    • [Feature] Add data and setData to useFaas and FaasDataWrapper.
    • [Feature] Add module to package.json.
    • [Feature] Export FaasDataWrapper directly, it will use default client.
  • @faasjs/ant-design
    • [Feature] Table supports ajax mode.
",2),$s={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.352...v0.0.2-beta.353",target:"_blank",rel:"noopener noreferrer"},er=e("code",null,"v0.0.2-beta.353 (2022-01-30)",-1),lr=a("
  • @faasjs/ant-design
    • [Feature] Add Config.
    • [Feature] Add Title.
    • [Feature] Add Routes.
",1),tr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.346...v0.0.2-beta.352",target:"_blank",rel:"noopener noreferrer"},or=e("code",null,"v0.0.2-beta.348 (2022-01-29)",-1),ar=e("code",null,"@faasjs/http",-1),nr={href:"https://github.com/Germiniku",target:"_blank",rel:"noopener noreferrer"},sr=a("
  • @faasjs/ant-design
    • [Feature] Add Drawer and useDrawer.
    • [Feature] Add data and setData to FaasDataWrapper.
  • @faasjs/eslint-config-recommended
    • [Feature] Add *.mjs to files.
  • ",2),rr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.345...v0.0.2-beta.346",target:"_blank",rel:"noopener noreferrer"},ur=e("code",null,"v0.0.2-beta.346 (2022-01-17)",-1),cr=a("
    • @faasjs/ant-design
      • [Feature] Add options to baseItemProps.
    • @faasjs/knex
      • [Feature] upgrade to knex v1.0.0.
      • [Feature] use @vscode/sqlite3 instead of sqlite3.
    ",1),ir={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.342...v0.0.2-beta.345",target:"_blank",rel:"noopener noreferrer"},dr=e("code",null,"v0.0.2-beta.345 (2022-01-15)",-1),_r=a("
    • @faasjs/ant-design
      • [Feature] Add options to Description and Table.
      • [Feature] Add Blank.
      • [Feature] Add filter to boolean in Table.
    • @faasjs/server
      • [Feature] use randomBytes to generate requestId.
      • [Feature] add queryString to event.
    ",1),hr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.341...v0.0.2-beta.342",target:"_blank",rel:"noopener noreferrer"},fr=e("code",null,"v0.0.2-beta.342 (2022-01-13)",-1),pr=a("
    • @faasjs/ant-design
      • [Feature] Add faasData to Table and Description.
    • @faasjs/react
      • [Feature] Add getClient.
    ",1),br={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.337...v0.0.2-beta.341",target:"_blank",rel:"noopener noreferrer"},jr=e("code",null,"v0.0.2-beta.341 (2022-01-12)",-1),vr=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"extend"),l(" to "),e("code",null,"Form"),l(", "),e("code",null,"Description"),l(" and "),e("code",null,"Table"),l(".")])])])],-1),gr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.334...v0.0.2-beta.337",target:"_blank",rel:"noopener noreferrer"},mr=e("code",null,"v0.0.2-beta.337 (2022-01-11)",-1),Fr=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"render"),l(" to "),e("code",null,"Description"),l(".")]),e("li",null,[l("[Feature] Add submit options to "),e("code",null,"Form"),l(".")])])])],-1),kr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.331...v0.0.2-beta.334",target:"_blank",rel:"noopener noreferrer"},xr=e("code",null,"v0.0.2-beta.334 (2022-01-10)",-1),Ar=e("ul",null,[e("li",null,[l("[Remove] "),e("code",null,"@faasjs/logger"),l(" remove default export.")]),e("li",null,[l("[Remove] "),e("code",null,"@faasjs/request"),l(" remove default export.")]),e("li",null,[l("[Remove] "),e("code",null,"@faasjs/deep_merge"),l(" remove default export.")])],-1),yr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.328...v0.0.2-beta.331",target:"_blank",rel:"noopener noreferrer"},wr=e("code",null,"v0.0.2-beta.331 (2022-01-05)",-1),qr=a("
    • @faasjs/ant-design
      • [Feature] Add maxCount to FormItem.
      • [Feature] Add string[] and number[] to options.
    ",1),Sr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.326...v0.0.2-beta.328",target:"_blank",rel:"noopener noreferrer"},Rr=e("code",null,"v0.0.2-beta.328 (2022-01-04)",-1),Cr=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/ant-design"),l(" add "),e("code",null,"options"),l(" as a select to "),e("code",null,"FormItem"),l(".")])],-1),Dr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.324...v0.0.2-beta.326",target:"_blank",rel:"noopener noreferrer"},Er=e("code",null,"v0.0.2-beta.326 (2022-01-04)",-1),Br=e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/ts-transform"),l(".")])],-1),Ir={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.323...v0.0.2-beta.324",target:"_blank",rel:"noopener noreferrer"},Tr=e("code",null,"v0.0.2-beta.324 (2021-12-28)",-1),Lr=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/browser"),l(" fix cookie.")])],-1),Nr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.321...v0.0.2-beta.323",target:"_blank",rel:"noopener noreferrer"},Pr=e("code",null,"v0.0.2-beta.323 (2021-12-27)",-1),Ur=a("
    • [Feature] @faasjs/ant-design add input to FormItem.
    • [Feature] @faasjs/ant-design export useForm.
    ",1),Jr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.314...v0.0.2-beta.321",target:"_blank",rel:"noopener noreferrer"},Or=e("code",null,"v0.0.2-beta.321 (2021-12-26)",-1),Gr=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/load"),l(" fix node resolve issue.")]),e("li",null,[l("[Feature] replace "),e("code",null,"ts-node"),l(" with "),e("code",null,"swc"),l(".")])],-1),Vr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.313...v0.0.2-beta.314",target:"_blank",rel:"noopener noreferrer"},Wr=e("code",null,"v0.0.2-beta.314 (2021-12-25)",-1),Hr=e("ul",null,[e("li",null,[l("[Feature] use "),e("code",null,"tsup"),l(" to build packages.")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" remove "),e("code",null,"vm2"),l(".")])],-1),zr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.311...v0.0.2-beta.313",target:"_blank",rel:"noopener noreferrer"},Mr=e("code",null,"v0.0.2-beta.313 (2021-12-24)",-1),Xr=e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/types"),l(" to "),e("code",null,"faasjs"),l(".")]),e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/ant-design"),l(".")])],-1),Kr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.309...v0.0.2-beta.311",target:"_blank",rel:"noopener noreferrer"},Qr=e("code",null,"v0.0.2-beta.313 (2021-12-21)",-1),Yr=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" upgrade api.")]),e("li",null,[l("[Feature] replace "),e("code",null,"@sucrase/jest-plugin"),l(" with "),e("code",null,"@swc/jest"),l(".")])],-1),Zr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.298...v0.0.2-beta.309",target:"_blank",rel:"noopener noreferrer"},$r=e("code",null,"v0.0.2-beta.309 (2021-12-18)",-1),eu=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/react"),l(" fix types.")])],-1),lu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.295...v0.0.2-beta.298",target:"_blank",rel:"noopener noreferrer"},tu=e("code",null,"v0.0.2-beta.298 (2021-12-16)",-1),ou=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/browser"),l(" fix "),e("code",null,"data"),l(" and "),e("code",null,"onError"),l(".")])],-1),au={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.295...v0.0.2-beta.298",target:"_blank",rel:"noopener noreferrer"},nu=e("code",null,"v0.0.2-beta.295 (2021-12-15)",-1),su=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" replace "),e("code",null,"XMLHttpRequest"),l(" with "),e("code",null,"fetch"),l(".")])],-1),ru={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.292...v0.0.2-beta.295",target:"_blank",rel:"noopener noreferrer"},uu=e("code",null,"v0.0.2-beta.295 (2021-12-14)",-1),cu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" export "),e("code",null,"ValidatorConfig"),l(".")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" add "),e("code",null,"FaasActions"),l(".")])],-1),iu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.285...v0.0.2-beta.292",target:"_blank",rel:"noopener noreferrer"},du=e("code",null,"v0.0.2-beta.292 (2021-12-12)",-1),_u=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" add "),e("code",null,"FaasData"),l(".")])],-1),hu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.280...v0.0.2-beta.285",target:"_blank",rel:"noopener noreferrer"},fu=e("code",null,"v0.0.2-beta.285 (2021-12-10)",-1),pu=a("
    • [Feature] @faasjs/reactuseFaas 新增导出 setLoadingsetPromisesetDatasetError 参数,用于自定义数据加载。
    ",1),bu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.278...v0.0.2-beta.280",target:"_blank",rel:"noopener noreferrer"},ju=e("code",null,"v0.0.2-beta.280 (2021-12-07)",-1),vu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 中 "),e("code",null,"beforeRequest"),l(" 配置项允许传入异步函数。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 内置 "),e("code",null,"CORS"),l(" 支持。")])],-1),gu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.275...v0.0.2-beta.278",target:"_blank",rel:"noopener noreferrer"},mu=e("code",null,"v0.0.2-beta.278 (2021-12-06)",-1),Fu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化单体应用模式下的日志输出。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 新增 "),e("code",null,"http.body"),l(" 属性,用于获取原始请求体。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 简化日志输出。")])],-1),ku={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.273...v0.0.2-beta.275",target:"_blank",rel:"noopener noreferrer"},xu=e("code",null,"v0.0.2-beta.275 (2021-12-05)",-1),Au=a("
    • [Feature] faasjs 默认依赖包移除 @faasjs/tencentcloud,使用腾讯云的服务须手动添加依赖。
    • [Feature] @faasjs/browser@faasjs/react@faasjs/vue-plugin 编译版本升级到 es2017
    ",1),yu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.271...v0.0.2-beta.273",target:"_blank",rel:"noopener noreferrer"},wu=e("code",null,"v0.0.2-beta.273 (2021-12-03)",-1),qu=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/aws"),l(" 新增 AWS 适配器。")])],-1),Su={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.269...v0.0.2-beta.271",target:"_blank",rel:"noopener noreferrer"},Ru=e("code",null,"v0.0.2-beta.271 (2021-11-29)",-1),Cu=a("
    • [Feature] @faasjs/redis 使用 ioredis 替代 redis
    • [Feature] @faasjs/tencentcloud 优化重复代码。
    • [Feature] @faasjs/cli 优化日志提示。
    • [修复] @faasjs/tencentcloud 修正打包时未将 .d.ts 等文件移除的问题。
    ",1),Du={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.268...v0.0.2-beta.269",target:"_blank",rel:"noopener noreferrer"},Eu=e("code",null,"v0.0.2-beta.269 (2021-11-01)",-1),Bu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 新增代码包启动计时(此时间为冷启动的一部分)。")])],-1),Iu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.267...v0.0.2-beta.268",target:"_blank",rel:"noopener noreferrer"},Tu=e("code",null,"v0.0.2-beta.268 (2021-10-28)",-1),Lu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 移除 "),e("code",null,"eslint-plugin-jest"),l("。")])],-1),Nu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.266...v0.0.2-beta.267",target:"_blank",rel:"noopener noreferrer"},Pu=e("code",null,"v0.0.2-beta.267 (2021-10-25)",-1),Uu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),Ju={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.263...v0.0.2-beta.266",target:"_blank",rel:"noopener noreferrer"},Ou=e("code",null,"v0.0.2-beta.266 (2021-10-24)",-1),Gu=e("ul",null,[e("li",null,[l("[Feature] 将项目的 ts 编译设置为 "),e("code",null,"strict"),l(" 模式。")])],-1),Vu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.260...v0.0.2-beta.263",target:"_blank",rel:"noopener noreferrer"},Wu=e("code",null,"v0.0.2-beta.263 (2021-10-16)",-1),Hu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 修正 "),e("code",null,"FuncWarper"),l(" 为正确的拼写。")])],-1),zu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.258...v0.0.2-beta.260",target:"_blank",rel:"noopener noreferrer"},Mu=e("code",null,"v0.0.2-beta.260 (2021-10-13)",-1),Xu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化部分 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化部分 ts 定义。")])],-1),Ku={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.257...v0.0.2-beta.258",target:"_blank",rel:"noopener noreferrer"},Qu=e("code",null,"v0.0.2-beta.258 (2021-10-12)",-1),Yu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 对于小于 100 字节的内容不压缩。")])],-1),Zu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.256...v0.0.2-beta.257",target:"_blank",rel:"noopener noreferrer"},$u=e("code",null,"v0.0.2-beta.257 (2021-10-11)",-1),ec=a("
    • [Feature] @faasjs/redis 新增 getJSONsetJSON 方法。
    • [Feature] vscode/faasjs-snippets 新增 http validator 代码块。
    ",1),lc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.254...v0.0.2-beta.256",target:"_blank",rel:"noopener noreferrer"},tc=e("code",null,"v0.0.2-beta.256 (2021-10-04)",-1),oc=e("ul",null,[e("li",null,[l("[Feature] 采用 "),e("code",null,"npm"),l(" 替代 "),e("code",null,"yarn"),l(",并将部分关联依赖改为 "),e("code",null,"peerDependencies"),l("。")])],-1),ac={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.253...v0.0.2-beta.254",target:"_blank",rel:"noopener noreferrer"},nc=e("code",null,"v0.0.2-beta.254 (2021-09-26)",-1),sc=e("ul",null,[e("li",null,[l("[移除] "),e("code",null,"@faasjs/kafka"),l("。")]),e("li",null,[l("[修正] "),e("code",null,"@faasjs/react"),l(" 修正加载错误。")])],-1),rc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.251...v0.0.2-beta.253",target:"_blank",rel:"noopener noreferrer"},uc=e("code",null,"v0.0.2-beta.253 (2021-09-24)",-1),cc=a("
    • [移除] @faasjs/sql 移除,使用 @faasjs/knex 代替。
    • [Feature] VS Code 插件 faasjs-snippets 添加更多代码片段。
    • [Feature] @faasjs/cloud_functionconfig 参数改为 public
    ",1),ic={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.244...v0.0.2-beta.251",target:"_blank",rel:"noopener noreferrer"},dc=e("code",null,"v0.0.2-beta.251 (2021-09-17)",-1),_c=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 支持 CDN。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 支持 CDN。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/vue-plugin"),l(" 支持 CDN。")])],-1),hc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.243...v0.0.2-beta.244",target:"_blank",rel:"noopener noreferrer"},fc=e("code",null,"v0.0.2-beta.244 (2021-09-16)",-1),pc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/deep_merge"),l(" 导出 "),e("code",null,"deepMerge"),l(" 方法。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 导出 "),e("code",null,"Logger"),l(" 类。")])],-1),bc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.241...v0.0.2-beta.243",target:"_blank",rel:"noopener noreferrer"},jc=e("code",null,"v0.0.2-beta.243 (2021-09-15)",-1),vc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 将本地 mock 功能移到 "),e("code",null,"@faasjs/cloud_function"),l("。")])],-1),gc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.240...v0.0.2-beta.241",target:"_blank",rel:"noopener noreferrer"},mc=e("code",null,"v0.0.2-beta.241 (2021-09-13)",-1),Fc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 环境变量不再强制覆盖 region。")])],-1),kc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.238...v0.0.2-beta.240",target:"_blank",rel:"noopener noreferrer"},xc=e("code",null,"v0.0.2-beta.240 (2021-09-11)",-1),Ac=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增 "),e("code",null,"reload"),l(" 方法。")])],-1),yc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.237...v0.0.2-beta.238",target:"_blank",rel:"noopener noreferrer"},wc=e("code",null,"v0.0.2-beta.238 (2021-09-07)",-1),qc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 添加 "),e("code",null,"filename"),l(" 属性。")])],-1),Sc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.234...v0.0.2-beta.237",target:"_blank",rel:"noopener noreferrer"},Rc=e("code",null,"v0.0.2-beta.237 (2021-09-05)",-1),Cc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化并导出 "),e("code",null,"request"),l(" 方法。")])],-1),Dc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.232...v0.0.2-beta.234",target:"_blank",rel:"noopener noreferrer"},Ec=e("code",null,"v0.0.2-beta.234 (2021-09-03)",-1),Bc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/redis"),l(" 导出 "),e("code",null,"get"),l(" 和 "),e("code",null,"set"),l(" 方法。")])],-1),Ic={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.231...v0.0.2-beta.232",target:"_blank",rel:"noopener noreferrer"},Tc=e("code",null,"v0.0.2-beta.232 (2021-09-01)",-1),Lc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/cli"),l(" 修正部署时内存泄露的问题。")])],-1),Nc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.231...v0.0.2-beta.232",target:"_blank",rel:"noopener noreferrer"},Pc=e("code",null,"v0.0.2-beta.232 (2021-08-30)",-1),Uc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 修正日志输出。")])],-1),Jc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.230...v0.0.2-beta.231",target:"_blank",rel:"noopener noreferrer"},Oc=e("code",null,"v0.0.2-beta.231 (2021-08-29)",-1),Gc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/http"),l(" 修正 "),e("code",null,"HttpError"),l(" 的问题。")])],-1),Vc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.220...v0.0.2-beta.230",target:"_blank",rel:"noopener noreferrer"},Wc=e("code",null,"v0.0.2-beta.230 (2021-08-27)",-1),Hc=e("ul",null,[e("li",null,"[Feature] 常用函数通过 export 直接导出。")],-1),zc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.219...v0.0.2-beta.220",target:"_blank",rel:"noopener noreferrer"},Mc=e("code",null,"v0.0.2-beta.220 (2021-07-30)",-1),Xc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 使用最新的环境变量。")])],-1),Kc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.218...v0.0.2-beta.219",target:"_blank",rel:"noopener noreferrer"},Qc=e("code",null,"v0.0.2-beta.219 (2021-07-28)",-1),Yc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化 invoke 数据。")])],-1),Zc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.216...v0.0.2-beta.218",target:"_blank",rel:"noopener noreferrer"},$c=e("code",null,"v0.0.2-beta.218 (2021-07-26)",-1),e0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化代码风格规范。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/mongo"),l(" 支持 "),e("code",null,"mongodb"),l(" 新版本。")])],-1),l0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.215...v0.0.2-beta.216",target:"_blank",rel:"noopener noreferrer"},t0=e("code",null,"v0.0.2-beta.216 (2021-07-26)",-1),o0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化时间签名。")])],-1),a0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.214...v0.0.2-beta.215",target:"_blank",rel:"noopener noreferrer"},n0=e("code",null,"v0.0.2-beta.215 (2021-07-13)",-1),s0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 支持 "),e("code",null,"apollo-server-core"),l(" 新版本。")])],-1),r0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.212...v0.0.2-beta.214",target:"_blank",rel:"noopener noreferrer"},u0=e("code",null,"v0.0.2-beta.214 (2021-07-12)",-1),c0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化代码风格规范。")])],-1),i0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.209...v0.0.2-beta.212",target:"_blank",rel:"noopener noreferrer"},d0=e("code",null,"v0.0.2-beta.212 (2021-07-10)",-1),_0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署命令如果使用 "),e("code",null,"-c"),l(" 参数,默认读取最近的 commit 日志。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化日志。")]),e("li",null,[l("[删除] 删除 "),e("code",null,"@faasjs/nuxt"),l(" 插件。")])],-1),h0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.207...v0.0.2-beta.209",target:"_blank",rel:"noopener noreferrer"},f0=e("code",null,"v0.0.2-beta.209 (2021-07-02)",-1),p0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 退出时自动关闭连接。")])],-1),b0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.204...v0.0.2-beta.207",target:"_blank",rel:"noopener noreferrer"},j0=e("code",null,"v0.0.2-beta.207 (2021-07-01)",-1),v0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 使用 "),e("code",null,"@rollup/plugin-typescript"),l(" 替代 rpt2。")])],-1),g0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.201...v0.0.2-beta.204",target:"_blank",rel:"noopener noreferrer"},m0=e("code",null,"v0.0.2-beta.204 (2021-06-29)",-1),F0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 新增 "),e("code",null,"commit"),l(" 参数,批量部署被修改的云函数。")])],-1),k0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.198...v0.0.2-beta.201",target:"_blank",rel:"noopener noreferrer"},x0=e("code",null,"v0.0.2-beta.201 (2021-06-28)",-1),A0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化腾讯云接口。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 配置优先级调整为:环境变量 > 代码配置项 > yaml 配置项。")])],-1),y0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.197...v0.0.2-beta.198",target:"_blank",rel:"noopener noreferrer"},w0=e("code",null,"v0.0.2-beta.198 (2021-06-23)",-1),q0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 提速 ts-node,编译时不检查 ts 定义。")])],-1),S0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.193...v0.0.2-beta.197",target:"_blank",rel:"noopener noreferrer"},R0=e("code",null,"v0.0.2-beta.197 (2021-06-21)",-1),C0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),D0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.191...v0.0.2-beta.193",target:"_blank",rel:"noopener noreferrer"},E0=e("code",null,"v0.0.2-beta.193 (2021-06-20)",-1),B0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),I0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.188...v0.0.2-beta.191",target:"_blank",rel:"noopener noreferrer"},T0=e("code",null,"v0.0.2-beta.191 (2021-06-18)",-1),L0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 使用 vm2 加载测试云函数。")])],-1),N0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.185...v0.0.2-beta.188",target:"_blank",rel:"noopener noreferrer"},P0=e("code",null,"v0.0.2-beta.188 (2021-06-17)",-1),U0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 仅在启动 server 时引入 ts-node。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修正部署大量云函数时内存泄露的问题。")]),e("li",null,[l("[Feature] 示例新增 "),e("code",null,"jwt"),l(" 项目示例。")])],-1),J0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.179...v0.0.2-beta.185",target:"_blank",rel:"noopener noreferrer"},O0=e("code",null,"v0.0.2-beta.185 (2021-06-14)",-1),G0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 新增 "),e("code",null,"beforeRequest"),l(" 参数。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复部分入参无效的问题。")])],-1),V0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.178...v0.0.2-beta.179",target:"_blank",rel:"noopener noreferrer"},W0=e("code",null,"v0.0.2-beta.179 (2021-06-12)",-1),H0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 "),e("code",null,"beforeValid"),l("。")])],-1),z0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.175...v0.0.2-beta.178",target:"_blank",rel:"noopener noreferrer"},M0=e("code",null,"v0.0.2-beta.178 (2021-06-08)",-1),X0=e("ul",null,[e("li",null,[l("[移除] 为了简化和统一数据库读写,移除 "),e("code",null,"@faasjs/typeorm"),l(" 和 "),e("code",null,"@faasjs/sequelize"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 新增 "),e("code",null,"beforeValid"),l(",用于构建包含自定义请求校验的 http 插件。")])],-1),K0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.174...v0.0.2-beta.175",target:"_blank",rel:"noopener noreferrer"},Q0=e("code",null,"v0.0.2-beta.175 (2021-05-19)",-1),Y0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/knex"),l(" 优化 transaction 的 ts 定义。")])],-1),Z0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.170...v0.0.2-beta.174",target:"_blank",rel:"noopener noreferrer"},$0=e("code",null,"v0.0.2-beta.174 (2021-05-19)",-1),ei=a("
    • [Feature] @faasjs/cli 部署时对文件名进行检查。
    • [Feature] @faasjs/cli 部署命令添加 ar 参数,默认自动重试 3 次。
    • [Feature] @faasjs/knex 部署时检查适配器依赖项是否添加。
    • [修复] @faasjs/tencentcloud 修复部分情况下依赖项错误的问题。
    ",1),li={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.169...v0.0.2-beta.170",target:"_blank",rel:"noopener noreferrer"},ti=e("code",null,"v0.0.2-beta.170 (2021-04-23)",-1),oi=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复插件排序错误的问题。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复插件名字错误的问题。")])],-1),ai={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.167...v0.0.2-beta.169",target:"_blank",rel:"noopener noreferrer"},ni=e("code",null,"v0.0.2-beta.169 (2021-04-22)",-1),si=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署失败时,优化错误提示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 新增 -w 参数,设置并发数。")])],-1),ri={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.163...v0.0.2-beta.167",target:"_blank",rel:"noopener noreferrer"},ui=e("code",null,"v0.0.2-beta.167 (2021-04-19)",-1),ci=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署多个云函数时,自动根据 CPU 数量进行多进程部署。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化多进程部署时的日志显示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 测试环境下禁用缓存。")])],-1),ii={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.162...v0.0.2-beta.163",target:"_blank",rel:"noopener noreferrer"},di=e("code",null,"v0.0.2-beta.163 (2021-04-16)",-1),_i=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 和 "),e("code",null,"@faasjs/browser"),l(" action 自动转小写。")])],-1),hi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.161...v0.0.2-beta.162",target:"_blank",rel:"noopener noreferrer"},fi=e("code",null,"v0.0.2-beta.162 (2021-04-15)",-1),pi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 支持部署失败时重试。")])],-1),bi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.160...v0.0.2-beta.161",target:"_blank",rel:"noopener noreferrer"},ji=e("code",null,"v0.0.2-beta.161 (2021-04-12)",-1),vi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" 新增 parse 配置项。")])],-1),gi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.158...v0.0.2-beta.160",target:"_blank",rel:"noopener noreferrer"},mi=e("code",null,"v0.0.2-beta.160 (2021-04-08)",-1),Fi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/knex"),l(" 优化 knex 的 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql"),l(" 优化 graphql 依赖项。")])],-1),ki={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.155...v0.0.2-beta.158",target:"_blank",rel:"noopener noreferrer"},xi=e("code",null,"v0.0.2-beta.158 (2021-04-01)",-1),Ai=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数插件某些情况下未加载的问题。")])],-1),yi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.153...v0.0.2-beta.155",target:"_blank",rel:"noopener noreferrer"},wi=e("code",null,"v0.0.2-beta.155 (2021-02-04)",-1),qi=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/eslint-config-react"),l("。")])],-1),Si={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.151...v0.0.2-beta.153",target:"_blank",rel:"noopener noreferrer"},Ri=e("code",null,"v0.0.2-beta.153 (2021-02-04)",-1),Ci=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复日志等级错误的问题。")])],-1),Di={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.144...v0.0.2-beta.151",target:"_blank",rel:"noopener noreferrer"},Ei=e("code",null,"v0.0.2-beta.151 (2021-01-26)",-1),Bi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化打包机制。")])],-1),Ii={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.140...v0.0.2-beta.144",target:"_blank",rel:"noopener noreferrer"},Ti=e("code",null,"v0.0.2-beta.144 (2021-01-14)",-1),Li=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新网关发布接口。")])],-1),Ni={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.135...v0.0.2-beta.140",target:"_blank",rel:"noopener noreferrer"},Pi=e("code",null,"v0.0.2-beta.140 (2021-01-07)",-1),Ui=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 升级 js-yaml 版本。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 更新内置库。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/typeorm"),l(" 支持 "),e("code",null,"useTypeORM"),l("。")])],-1),Ji={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.131...v0.0.2-beta.135",target:"_blank",rel:"noopener noreferrer"},Oi=e("code",null,"v0.0.2-beta.135 (2020-12-25)",-1),Gi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化日志输出。")])],-1),Vi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.126...v0.0.2-beta.131",target:"_blank",rel:"noopener noreferrer"},Wi=e("code",null,"v0.0.2-beta.131 (2020-12-19)",-1),Hi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/create-faas-app"),l(" 优化命令行。")])],-1),zi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.125...v0.0.2-beta.126",target:"_blank",rel:"noopener noreferrer"},Mi=e("code",null,"v0.0.2-beta.126 (2020-12-14)",-1),Xi=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/knex"),l(" 修复 raw 的 ts 定义。")])],-1),Ki={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.124...v0.0.2-beta.125",target:"_blank",rel:"noopener noreferrer"},Qi=e("code",null,"v0.0.2-beta.125 (2020-12-10)",-1),Yi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 优化规则。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),Zi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.122...v0.0.2-beta.124",target:"_blank",rel:"noopener noreferrer"},$i=e("code",null,"v0.0.2-beta.124 (2020-12-04)",-1),ed=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" config 支持传入一个 function。")])],-1),ld={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.121...v0.0.2-beta.122",target:"_blank",rel:"noopener noreferrer"},td=e("code",null,"v0.0.2-beta.122 (2020-11-30)",-1),od=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 优化规则。")])],-1),ad={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.119...v0.0.2-beta.121",target:"_blank",rel:"noopener noreferrer"},nd=e("code",null,"v0.0.2-beta.121 (2020-11-21)",-1),sd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复重复引用文件的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" debug 模式下显示更详细的日志。")])],-1),rd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.118...v0.0.2-beta.119",target:"_blank",rel:"noopener noreferrer"},ud=e("code",null,"v0.0.2-beta.119 (2020-11-19)",-1),cd=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/kafka"),l("。")])],-1),id={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.117...v0.0.2-beta.118",target:"_blank",rel:"noopener noreferrer"},dd=e("code",null,"v0.0.2-beta.118 (2020-11-13)",-1),_d=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/knex"),l(" 修复 knex 连接。")])],-1),hd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.116...v0.0.2-beta.117",target:"_blank",rel:"noopener noreferrer"},fd=e("code",null,"v0.0.2-beta.117 (2020-11-12)",-1),pd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/test"),l(" 补充 headers 的 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 优化插件的日志显示。")])],-1),bd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.115...v0.0.2-beta.116",target:"_blank",rel:"noopener noreferrer"},jd=e("code",null,"v0.0.2-beta.116 (2020-10-30)",-1),vd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复本地调试时没 context 时的报错。")])],-1),gd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.114...v0.0.2-beta.115",target:"_blank",rel:"noopener noreferrer"},md=e("code",null,"v0.0.2-beta.115 (2020-10-28)",-1),Fd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增返回 "),e("code",null,"promise"),l(" 对象。")])],-1),kd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.112...v0.0.2-beta.114",target:"_blank",rel:"noopener noreferrer"},xd=e("code",null,"v0.0.2-beta.114 (2020-10-15)",-1),Ad=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 压缩后添加 originBody 以便日志查看。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 移除 context 中的 function 等无法序列化的内容。")])],-1),yd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.107...v0.0.2-beta.112",target:"_blank",rel:"noopener noreferrer"},wd=e("code",null,"v0.0.2-beta.112 (2020-10-14)",-1),qd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 默认使用 brotli 压缩。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/http"),l(" 修复没有 body 时也压缩的 bug。")])],-1),Sd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.106...v0.0.2-beta.107",target:"_blank",rel:"noopener noreferrer"},Rd=e("code",null,"v0.0.2-beta.107 (2020-10-13)",-1),Cd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 支持 gzip 压缩。")]),e("li",null,[l("[删除] 禁用并删除 "),e("code",null,"@faasjs/cos-secrets"),l(",请使用 CFS 替代。")])],-1),Dd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.105...v0.0.2-beta.106",target:"_blank",rel:"noopener noreferrer"},Ed=e("code",null,"v0.0.2-beta.106 (2020-09-30)",-1),Bd=e("ul",null,[e("li",null,"[Feature] 优化 ts 定义。")],-1),Id={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.104...v0.0.2-beta.105",target:"_blank",rel:"noopener noreferrer"},Td=e("code",null,"v0.0.2-beta.105 (2020-09-16)",-1),Ld=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l("优化日志。")])],-1),Nd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.101...v0.0.2-beta.104",target:"_blank",rel:"noopener noreferrer"},Pd=e("code",null,"v0.0.2-beta.104 (2020-09-14)",-1),Ud=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" 新增 pfx 和 passphrase 配置项。")])],-1),Jd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.100...v0.0.2-beta.101",target:"_blank",rel:"noopener noreferrer"},Od=e("code",null,"v0.0.2-beta.101 (2020-09-09)",-1),Gd=e("ul",null,[e("li",null,"[修复] 修复日志 bug。")],-1),Vd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.96...v0.0.2-beta.100",target:"_blank",rel:"noopener noreferrer"},Wd=e("code",null,"v0.0.2-beta.100 (2020-09-07)",-1),Hd=e("ul",null,[e("li",null,"[修复] 修复函数式编程接口的 bug。")],-1),zd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.95...v0.0.2-beta.96",target:"_blank",rel:"noopener noreferrer"},Md=e("code",null,"v0.0.2-beta.96 (2020-08-28)",-1),Xd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云函数配置项。")])],-1),Kd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.94...v0.0.2-beta.95",target:"_blank",rel:"noopener noreferrer"},Qd=e("code",null,"v0.0.2-beta.95 (2020-08-21)",-1),Yd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增 "),e("code",null,"onError"),l(" 配置项。")])],-1),Zd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.93...v0.0.2-beta.94",target:"_blank",rel:"noopener noreferrer"},$d=e("code",null,"v0.0.2-beta.94 (2020-08-11)",-1),e_=e("ul",null,[e("li",null,"[Feature] 更新 ts 定义。")],-1),l_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.88...v0.0.2-beta.93",target:"_blank",rel:"noopener noreferrer"},t_=e("code",null,"v0.0.2-beta.93 (2020-08-07)",-1),o_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 多个请求时排队处理。")])],-1),a_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.87...v0.0.2-beta.88",target:"_blank",rel:"noopener noreferrer"},n_=e("code",null,"v0.0.2-beta.88 (2020-08-06)",-1),s_=e("ul",null,[e("li",null,"[Feature] 优化 ts 定义及相关测试用例。")],-1),r_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.86...v0.0.2-beta.87",target:"_blank",rel:"noopener noreferrer"},u_=e("code",null,"v0.0.2-beta.87 (2020-08-03)",-1),c_=e("ul",null,[e("li",null,"[Feature] 优化日志输出格式。")],-1),i_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.85...v0.0.2-beta.86",target:"_blank",rel:"noopener noreferrer"},d_=e("code",null,"v0.0.2-beta.86 (2020-08-02)",-1),__=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/redis"),l(" 支持 "),e("code",null,"useRedis"),l("。")])],-1),h_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.84...v0.0.2-beta.85",target:"_blank",rel:"noopener noreferrer"},f_=e("code",null,"v0.0.2-beta.85 (2020-07-31)",-1),p_=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/knex"),l("。")]),e("li",null,"[Feature] 优化 useFunc 及 usePlugin。")],-1),b_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.82...v0.0.2-beta.84",target:"_blank",rel:"noopener noreferrer"},j_=e("code",null,"v0.0.2-beta.84 (2020-07-27)",-1),v_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云API v3。")])],-1),g_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.80...v0.0.2-beta.82",target:"_blank",rel:"noopener noreferrer"},m_=e("code",null,"v0.0.2-beta.82 (2020-07-16)",-1),F_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化触发器更新机制。")])],-1),k_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.79...v0.0.2-beta.80",target:"_blank",rel:"noopener noreferrer"},x_=e("code",null,"v0.0.2-beta.80 (2020-07-15)",-1),A_=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/react"),l(",提供 "),e("code",null,"faas"),l(" 和 "),e("code",null,"useFaas"),l(" 两种风格的接口。")])],-1),y_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.78...v0.0.2-beta.79",target:"_blank",rel:"noopener noreferrer"},w_=e("code",null,"v0.0.2-beta.79 (2020-07-13)",-1),q_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 修复没有响应内容时的报错。")])],-1),S_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.77...v0.0.2-beta.78",target:"_blank",rel:"noopener noreferrer"},R_=e("code",null,"v0.0.2-beta.78 (2020-07-09)",-1),C_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"create-faas-app"),l(" 删除旧的 babel 配置,改成 ts-jest。")]),e("li",null,"[修复] 修复示例项目的 package.json。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化 ts 支持。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 修正没有响应内容时的出错。")])],-1),D_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.76...v0.0.2-beta.77",target:"_blank",rel:"noopener noreferrer"},E_=e("code",null,"v0.0.2-beta.77 (2020-06-19)",-1),B_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化无缓存情况下的热加载。")])],-1),I_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.70...v0.0.2-beta.76",target:"_blank",rel:"noopener noreferrer"},T_=e("code",null,"v0.0.2-beta.76 (2020-06-19)",-1),L_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化无缓存情况下的热加载。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 将 Node.js 默认版本升级到 12.16。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化 ts 支持。")])],-1),N_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.69...v0.0.2-beta.70",target:"_blank",rel:"noopener noreferrer"},P_=e("code",null,"v0.0.2-beta.70 (2020-06-10)",-1),U_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化缓存。")])],-1),J_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.67...v0.0.2-beta.69",target:"_blank",rel:"noopener noreferrer"},O_=e("code",null,"v0.0.2-beta.69 (2020-06-03)",-1),G_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 云函数环境下,删除日志中的换行符。")])],-1),V_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.66...v0.0.2-beta.67",target:"_blank",rel:"noopener noreferrer"},W_=e("code",null,"v0.0.2-beta.67 (2020-06-02)",-1),H_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化日志显示和 ts 类型。")])],-1),z_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.65...v0.0.2-beta.66",target:"_blank",rel:"noopener noreferrer"},M_=e("code",null,"v0.0.2-beta.66 (2020-05-28)",-1),X_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 支持直接测试云函数,而非云函数文件。")])],-1),K_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.64...v0.0.2-beta.65",target:"_blank",rel:"noopener noreferrer"},Q_=e("code",null,"v0.0.2-beta.65 (2020-05-26)",-1),Y_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化规则。")])],-1),Z_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.63...v0.0.2-beta.64",target:"_blank",rel:"noopener noreferrer"},$_=e("code",null,"v0.0.2-beta.64 (2020-05-25)",-1),e2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 中 "),e("code",null,"mount"),l(" 方法支持传入一个初始化后执行的函数。")])],-1),l2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.61...v0.0.2-beta.63",target:"_blank",rel:"noopener noreferrer"},t2=e("code",null,"v0.0.2-beta.63 (2020-05-18)",-1),o2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 新增 "),e("code",null,"mount"),l(" 方法,"),e("code",null,"JSONHandler"),l(" 方法支持 cookie 和 session 入参。")])],-1),a2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.59...v0.0.2-beta.61",target:"_blank",rel:"noopener noreferrer"},n2=e("code",null,"v0.0.2-beta.61 (2020-05-17)",-1),s2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cos-secrets"),l(" 支持密钥文件。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 禁用腾讯云内置的旧版 "),e("code",null,"request"),l("。")])],-1),r2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.57...v0.0.2-beta.59",target:"_blank",rel:"noopener noreferrer"},u2=e("code",null,"v0.0.2-beta.59 (2020-05-06)",-1),c2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/func"),l(" 强制设定 "),e("code",null,"context.callbackWaitsForEmptyEventLoop = false"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 禁用腾讯云内置的旧版 "),e("code",null,"tencentcloud-sdk-nodejs"),l("。")])],-1),i2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.55...v0.0.2-beta.57",target:"_blank",rel:"noopener noreferrer"},d2=e("code",null,"v0.0.2-beta.57 (2020-04-22)",-1),_2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 升级默认 Node.js 版本为 "),e("code",null,"10.15"),l("。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修正腾讯云新错误代码导致无法发布的问题。")])],-1),h2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.54...v0.0.2-beta.55",target:"_blank",rel:"noopener noreferrer"},f2=e("code",null,"v0.0.2-beta.55 (2020-04-15)",-1),p2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 移除 "),e("code",null,"plugin:security/recommended"),l("。")])],-1),b2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.53...v0.0.2-beta.54",target:"_blank",rel:"noopener noreferrer"},j2=e("code",null,"v0.0.2-beta.54 (2020-04-13)",-1),v2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 适配 Windows 环境。")])],-1),g2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.52...v0.0.2-beta.53",target:"_blank",rel:"noopener noreferrer"},m2=e("code",null,"v0.0.2-beta.53 (2020-04-12)",-1),F2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 添加 sourceIp。")])],-1),k2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.51...v0.0.2-beta.52",target:"_blank",rel:"noopener noreferrer"},x2=e("code",null,"v0.0.2-beta.52 (2020-04-10)",-1),A2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化日志展示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化依赖库打包机制。")])],-1),y2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.47...v0.0.2-beta.51",target:"_blank",rel:"noopener noreferrer"},w2=e("code",null,"v0.0.2-beta.51 (2020-04-09)",-1),q2=a("
    • [Feature] @faasjs/http 添加 HTTP 方法定义。
    • [Feature] @faasjs/load 优化打包时排除内置库的逻辑。
    • [新增] 新增 @faasjs/sequelize
    • [Feature] @faasjs/http@faasjs/server 新增 header X-SCF-RequestId
    ",1),S2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.46...v0.0.2-beta.47",target:"_blank",rel:"noopener noreferrer"},R2=e("code",null,"v0.0.2-beta.47 (2020-04-02)",-1),C2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 在云函数环境中使用内网域名提升性能。")])],-1),D2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.40...v0.0.2-beta.46",target:"_blank",rel:"noopener noreferrer"},E2=e("code",null,"v0.0.2-beta.46 (2020-03-26)",-1),B2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 移除依赖项:@faasjs/browser, @faasjs/sql, @faasjs/redis。")]),e("li",null,[l("[新增] "),e("code",null,"@faasjs/mongo"),l(" 用于适配 mongodb。")]),e("li",null,"[Feature] 优化了云函数的日志输出。")],-1),I2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.34...v0.0.2-beta.40",target:"_blank",rel:"noopener noreferrer"},T2=e("code",null,"v0.0.2-beta.40 (2020-03-20)",-1),L2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 配置项新增 "),e("code",null,"path"),l(" 和 "),e("code",null,"ignorePathPrefix"),l(" 设置。")])],-1),N2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.32...v0.0.2-beta.34",target:"_blank",rel:"noopener noreferrer"},P2=e("code",null,"v0.0.2-beta.34 (2020-03-15)",-1),U2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复当 tsconfig 中未使用 paths 功能时出错的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/typeorm"),l(" 新增 "),e("code",null,"Connection, Repository, SelectQueryBuilder, getRepository"),l(" 的输出。")])],-1),J2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.29...v0.0.2-beta.32",target:"_blank",rel:"noopener noreferrer"},O2=e("code",null,"v0.0.2-beta.32 (2020-03-09)",-1),G2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 支持 tsconfig 的 paths 功能。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/typeorm"),l(" 修复单体应用模式下连接出错的问题")])],-1),V2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.28...v0.0.2-beta.29",target:"_blank",rel:"noopener noreferrer"},W2=e("code",null,"v0.0.2-beta.29 (2020-03-03)",-1),H2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cos-secrets"),l(" 修复嵌套全局变量名错误的问题。")])],-1),z2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.26...v0.0.2-beta.28",target:"_blank",rel:"noopener noreferrer"},M2=e("code",null,"v0.0.2-beta.28 (2020-03-02)",-1),X2=a("
    • [Feature] @faasjs/eslint-config-recommended 补充空格相关的样式设定。
    • [Feature] @faasjs/cos-secrets 本地模式下会读取本地文件。
    • [Feature] @faasjs/sql 支持从环境变量读取配置信息。
    • [Feature] @faasjs/typeorm 支持从环境变量读取配置信息。
    • [Feature] @faasjs/redis 支持从环境变量读取配置信息。
    • [Feature] @faasjs/server 出错信息以 json 格式返回。
    ",1),K2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.25...v0.0.2-beta.26",target:"_blank",rel:"noopener noreferrer"},Q2=e("code",null,"v0.0.2-beta.26 (2020-03-01)",-1),Y2=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/cos-secrets"),l(",一个基于 COS 的密钥解决方案。")]),e("li",null,[l("[Feature] 将文档移入 "),e("code",null,"docs"),l(" 文件夹。")]),e("li",null,[l("[Feature] 将示例移入 "),e("code",null,"examples"),l(" 文件夹。")])],-1),Z2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.24...v0.0.2-beta.25",target:"_blank",rel:"noopener noreferrer"},$2=e("code",null,"v0.0.2-beta.25 (2020-02-27)",-1),eh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 腾讯云故障,禁用别名功能。")])],-1),lh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.22...v0.0.2-beta.24",target:"_blank",rel:"noopener noreferrer"},th=e("code",null,"v0.0.2-beta.24 (2020-02-25)",-1),oh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 允许 "),e("code",null,"schemas"),l(" 参数为函数,且支持异步函数。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 导出变量新增 "),e("code",null,"GraphQLSchemaModule"),l("。")])],-1),ah={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.20...v0.0.2-beta.22",target:"_blank",rel:"noopener noreferrer"},nh=e("code",null,"v0.0.2-beta.22 (2020-02-24)",-1),sh=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/typeorm"),l(" 修复配置项错误。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复部署时打包依赖项的错误。")])],-1),rh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.18...v0.0.2-beta.20",target:"_blank",rel:"noopener noreferrer"},uh=e("code",null,"v0.0.2-beta.20 (2020-02-23)",-1),ch=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/typeorm"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/sql"),l(" 单元测试新增 mysql 和 postgresql 的测试。")])],-1),ih={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.16...v0.0.2-beta.18",target:"_blank",rel:"noopener noreferrer"},dh=e("code",null,"v0.0.2-beta.18 (2020-02-22)",-1),_h=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 云函数新增层和死信队列接口,COS 增加文件夹名。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 关闭 rollup 的警告信息。")])],-1),hh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.13...v0.0.2-beta.16",target:"_blank",rel:"noopener noreferrer"},fh=e("code",null,"v0.0.2-beta.16 (2020-02-21)",-1),ph=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 内置 "),e("code",null,"@faasjs/http"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 云函数环境变量新增 "),e("code",null,"FaasLog=debug"),l("。")])],-1),bh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.10...v0.0.2-beta.13",target:"_blank",rel:"noopener noreferrer"},jh=e("code",null,"v0.0.2-beta.13 (2020-02-20)",-1),vh=a("
    • [Feature] @faasjs/tencentcloud 新增单元测试。
    • [Feature] @faasjs/request 新增 filedownloadStream 参数。
    • [Feature] @faasjs/graphql-server 规范化配置项,并将 invokeData 作为 context。
    ",1),gh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.9...v0.0.2-beta.10",target:"_blank",rel:"noopener noreferrer"},mh=e("code",null,"v0.0.2-beta.10 (2020-02-16)",-1),Fh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),kh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.8...v0.0.2-beta.9",target:"_blank",rel:"noopener noreferrer"},xh=e("code",null,"v0.0.2-beta.9 (2020-02-15)",-1),Ah=e("ul",null,[e("li",null,"[Feature] 恢复腾讯云的别名功能。"),e("li",null,"[Feature] 修复和优化 travis-ci。")],-1),yh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.7...v0.0.2-beta.8",target:"_blank",rel:"noopener noreferrer"},wh=e("code",null,"v0.0.2-beta.8 (2020-02-14)",-1),qh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 不再内置 "),e("code",null,"@faasjs/graphql-server"),l(",需手动添加使用。")])],-1),Sh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.5...v0.0.2-beta.7",target:"_blank",rel:"noopener noreferrer"},Rh=e("code",null,"v0.0.2-beta.7 (2020-02-13)",-1),Ch=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复打包时遇到内置模块报错的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),Dh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.4...v0.0.2-beta.5",target:"_blank",rel:"noopener noreferrer"},Eh=e("code",null,"v0.0.2-beta.5 (2020-02-10)",-1),Bh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 将 "),e("code",null,"jest"),l(" 添加为依赖项。")])],-1),Ih={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.2...v0.0.2-beta.4",target:"_blank",rel:"noopener noreferrer"},Th=e("code",null,"v0.0.2-beta.4 (2020-02-09)",-1),Lh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" handler 参数改为可选项。")]),e("li",null,[l("[新增] "),e("code",null,"@faasjs/graphql-server"),l(" 试验性支持 graphQL。")])],-1),Nh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.1...v0.0.2-beta.2",target:"_blank",rel:"noopener noreferrer"},Ph=e("code",null,"v0.0.2-beta.2 (2020-02-08)",-1),Uh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化了部署云函数时的日志输出。")])],-1),Jh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.31...v0.0.2-beta.1",target:"_blank",rel:"noopener noreferrer"},Oh=e("code",null,"v0.0.2-beta.1 (2020-02-07)",-1),Gh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 补全已正式发布的云函数配置项。")])],-1),Vh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.29...v0.0.1-beta.31",target:"_blank",rel:"noopener noreferrer"},Wh=e("code",null,"v0.0.1-beta.31 (2020-02-06)",-1),Hh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 将 Sql 适配包从 "),e("code",null,"faasjs"),l(" 中移除。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),zh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.27...v0.0.1-beta.29",target:"_blank",rel:"noopener noreferrer"},Mh=e("code",null,"v0.0.1-beta.29 (2020-02-04)",-1),Xh=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复由于禁用别名功能造成的 BUG。")])],-1),Kh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.25...v0.0.1-beta.27",target:"_blank",rel:"noopener noreferrer"},Qh=e("code",null,"v0.0.1-beta.27 (2020-02-03)",-1),Yh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 由于腾讯云故障,暂时禁用别名功能。")])],-1),Zh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.23...v0.0.1-beta.25",target:"_blank",rel:"noopener noreferrer"},$h=e("code",null,"v0.0.1-beta.25 (2020-02-02)",-1),ef=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复腾讯云部署 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 腾讯云云函数内存默认从 128 降低为 64。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 默认环境变量新增 NODE_ENV,值为部署环境的名字。")])],-1),lf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.21...v0.0.1-beta.23",target:"_blank",rel:"noopener noreferrer"},tf=e("code",null,"v0.0.1-beta.23 (2020-02-01)",-1),of=e("ul",null,[e("li",null,"[修复] 修复错误的版本号。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 移除 loadNpmVersion。")])],-1),af={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.20...v0.0.1-beta.21",target:"_blank",rel:"noopener noreferrer"},nf=e("code",null,"v0.0.1-beta.21 (2020-01-27)",-1),sf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" API 网关 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 云函数支持 callback。")])],-1),rf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.18...v0.0.1-beta.20",target:"_blank",rel:"noopener noreferrer"},uf=e("code",null,"v0.0.1-beta.20 (2020-01-26)",-1),cf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" API 网关 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 提升打包速度。")])],-1),df={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.16...v0.0.1-beta.18",target:"_blank",rel:"noopener noreferrer"},_f=e("code",null,"v0.0.1-beta.18 (2020-01-25)",-1),hf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数命名错误。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 本地请求入参 method 改名为 httpMethod,增加 path 参数。")])],-1),ff={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.14...v0.0.1-beta.16",target:"_blank",rel:"noopener noreferrer"},pf=e("code",null,"v0.0.1-beta.16 (2020-01-13)",-1),bf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复 rollup 配置。")]),e("li",null,"[修复] 修复 FaasJS 项目自动化测试配置。")],-1),jf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.12...v0.0.1-beta.14",target:"_blank",rel:"noopener noreferrer"},vf=e("code",null,"v0.0.1-beta.14 (2020-01-04)",-1),gf=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 移除无用的依赖项。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化打包配置。")])],-1),mf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.11...v0.0.1-beta.12",target:"_blank",rel:"noopener noreferrer"},Ff=e("code",null,"v0.0.1-beta.12 (2020-01-02)",-1),kf=e("ul",null,[e("li",null,[l("[修复] 在 "),e("code",null,"faasjs"),l(" 中补上依赖项 "),e("code",null,"@faasjs/http"),l("。")])],-1),xf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.10...v0.0.1-beta.11",target:"_blank",rel:"noopener noreferrer"},Af=e("code",null,"v0.0.1-beta.11 (2020-01-01)",-1),yf=e("ul",null,[e("li",null,"[Feature] 优化 FaasJS 项目打包配置。")],-1),wf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.8...v0.0.1-beta.10",target:"_blank",rel:"noopener noreferrer"},qf=e("code",null,"v0.0.1-beta.10 (2019-12-30)",-1),Sf=e("ul",null,[e("li",null,"[Feature] 优化 FaasJS 项目的代码规范测试和自动化测试。"),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数部署时未完成部署就删除了 COS 代码包的问题。")])],-1),Rf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.7...v0.0.1-beta.8",target:"_blank",rel:"noopener noreferrer"},Cf=e("code",null,"v0.0.1-beta.8 (2019-12-26)",-1),Df=e("ul",null,[e("li",null,"[Feature] 更新 VS Code 配置项以适应新版 ESlint。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云函数时会等待其更新生效后才进行后续步骤。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 使用本地 node_modules 文件加速部署。")])],-1),Ef={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.6...v0.0.1-beta.7",target:"_blank",rel:"noopener noreferrer"},Bf=e("code",null,"v0.0.1-beta.7 (2019-11-05)",-1),If=a("
    • [Feature] @faasjs/logger 性能优化,并移除测试用的 lastOuput 属性。
    • [Feature] @faasjs/server 移除 response 的日志输出以优化性能。
    • [Feature] @faasjs/http 直接使用 request_id 作为响应头 X-Request-Id 的值。
    • [修复] @faasjs/http 使用 = 作为路径前缀避免模糊匹配。
    • [删除] 移除周刊。
    ",1),Tf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.5...v0.0.1-beta.6",target:"_blank",rel:"noopener noreferrer"},Lf=e("code",null,"v0.0.1-beta.6 (2019-10-25)",-1),Nf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/logger"),l(" timeEnd 出错时的错误信息从 error 降级为 warn。")])],-1),Pf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.4...v0.0.1-beta.5",target:"_blank",rel:"noopener noreferrer"},Uf=e("code",null,"v0.0.1-beta.5 (2019-10-25)",-1),Jf=e("ul",null,[e("li",null,"[Feature] 新增性能测试用例。"),e("li",null,[l("[修复] "),e("code",null,"@faasjs/logger"),l(" timeEnd 的 key 重复或未知时,报错信息从 error 降级为 warn。")])],-1),Of={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.2...v0.0.1-beta.4",target:"_blank",rel:"noopener noreferrer"},Gf=e("code",null,"v0.0.1-beta.4 (2019-10-22)",-1),Vf=a("
    • [新增] @faasjs/http cookie 新增 sameSite 选项。
    • [Feature] FaasJS 项目新增代码测试覆盖率。

    2019-10-21

    • [Feature] 使用 lerna 管理 FaasJS 核心库。
    • [Feature] @faasjs/request 新增 timeout 和 auth 选项。
    • [修复] 修正 @faasjs/http 遇到返回值为 null 时的错误。

    2019-10-16

    ",4),Wf={href:"https://github.com/faasjs/examples/tree/main/knex",target:"_blank",rel:"noopener noreferrer"},Hf=e("p",null,[e("code",null,"2019-10-15")],-1),zf={href:"https://github.com/faasjs/faasjs/tree/main/packages",target:"_blank",rel:"noopener noreferrer"},Mf=e("p",null,[e("code",null,"2019-10-13")],-1),Xf={href:"https://faasjs.com/weekly/",target:"_blank",rel:"noopener noreferrer"},Kf=e("p",null,[e("code",null,"2019-10-11")],-1),Qf=e("li",null,"[Feature] 教程中添加新加入的命令行指令。",-1),Yf={href:"https://faasjs.com/contribute.html",target:"_blank",rel:"noopener noreferrer"},Zf=e("li",null,[l("[修复] "),e("code",null,"@faasjs/func"),l(" 当 handler 没有返回时出现的一个判断异常。")],-1),$f=a('

    2019-10-09

    • [新增] 命令行工具新增 yarn new func 指令,用于快速创建云函数文件及其测试脚本,具体用法可见 yarn new -h
    • [Feature] create-faas-app 创建的项目中加入 .vscode/settings.json 文件,用于优化 VS Code 下的编程体验。

    2019-10-08

    • [新增] 命令行工具 create-faas-app 用于快速创建 FaasJS 项目,可直接通过 npx create-faas-app 使用。

    2019-09-30

    • [发布] 结束 Alpha 阶段,开始 Beta 公测阶段。

    Alpha

    2019-04-13

    • [发布] FaasJS Alpha 阶段开发开始。
    ',9);function e1(l1,t1){const t=s("ExternalLinkIcon");return r(),u("div",null,[i,e("p",null,[l("FaasJS use "),e("a",d,[l("Semantic Versioning"),o(t)]),l(".")]),_,e("p",null,[e("a",h,[f,o(t)])]),p,e("p",null,[e("a",b,[j,o(t)])]),v,e("p",null,[e("a",g,[m,o(t)])]),F,e("p",null,[e("a",k,[x,o(t)])]),A,e("p",null,[e("a",y,[w,o(t)])]),q,e("p",null,[e("a",S,[R,o(t)])]),C,e("p",null,[e("a",D,[E,o(t)])]),B,e("p",null,[e("a",I,[T,o(t)])]),e("ul",null,[e("li",null,[L,e("ul",null,[e("li",null,[l("[Feature] Support "),e("a",N,[l("why-did-you-render"),o(t)]),l(".")]),P])])]),e("p",null,[e("a",U,[J,o(t)])]),O,e("p",null,[e("a",G,[V,o(t)])]),W,e("p",null,[e("a",H,[z,o(t)])]),M,e("p",null,[e("a",X,[K,o(t)])]),Q,e("p",null,[e("a",Y,[Z,o(t)])]),$,e("p",null,[e("a",ee,[le,o(t)])]),te,e("p",null,[e("a",oe,[ae,o(t)])]),ne,e("p",null,[e("a",se,[re,o(t)])]),ue,ce,e("p",null,[e("a",ie,[de,o(t)])]),_e,e("p",null,[e("a",he,[fe,o(t)])]),pe,e("p",null,[e("a",be,[je,o(t)])]),ve,e("p",null,[e("a",ge,[me,o(t)])]),Fe,e("p",null,[e("a",ke,[xe,o(t)])]),Ae,e("p",null,[e("a",ye,[we,o(t)])]),qe,e("p",null,[e("a",Se,[Re,o(t)])]),Ce,e("p",null,[e("a",De,[Ee,o(t)])]),Be,e("p",null,[e("a",Ie,[Te,o(t)])]),e("ul",null,[e("li",null,[Le,e("ul",null,[e("li",null,[l("[Feature] Add "),Ne,l(" feature, based on "),e("a",Pe,[l("@preact/signals-react"),o(t)]),l(".")])])])]),e("p",null,[e("a",Ue,[Je,o(t)])]),Oe,e("p",null,[e("a",Ge,[Ve,o(t)])]),We,e("p",null,[e("a",He,[ze,o(t)])]),Me,e("p",null,[e("a",Xe,[Ke,o(t)])]),Qe,e("p",null,[e("a",Ye,[Ze,o(t)])]),e("ul",null,[e("li",null,[$e,e("ul",null,[e("li",null,[l("[Feature] "),el,l(" add "),ll,l(" (Thanks contributor: "),e("a",tl,[l("@Witt"),o(t)]),l(").")]),ol])])]),e("p",null,[e("a",al,[nl,o(t)])]),sl,e("p",null,[e("a",rl,[ul,o(t)])]),cl,e("p",null,[e("a",il,[dl,o(t)])]),_l,e("p",null,[e("a",hl,[fl,o(t)])]),e("ul",null,[e("li",null,[pl,e("ul",null,[e("li",null,[l("[Feature] Add "),bl,l(" based on "),e("a",jl,[l("biome"),o(t)]),l(".")])])])]),e("p",null,[e("a",vl,[gl,o(t)])]),ml,e("p",null,[e("a",Fl,[kl,o(t)])]),xl,e("p",null,[e("a",Al,[yl,o(t)])]),wl,e("p",null,[e("a",ql,[Sl,o(t)])]),Rl,e("p",null,[e("a",Cl,[Dl,o(t)])]),El,e("p",null,[e("a",Bl,[Il,o(t)])]),Tl,e("p",null,[e("a",Ll,[Nl,o(t)])]),Pl,e("p",null,[e("a",Ul,[Jl,o(t)])]),Ol,e("p",null,[e("a",Gl,[Vl,o(t)])]),Wl,e("p",null,[e("a",Hl,[zl,o(t)])]),Ml,e("p",null,[e("a",Xl,[Kl,o(t)])]),Ql,e("p",null,[e("a",Yl,[Zl,o(t)])]),$l,e("p",null,[e("a",et,[lt,o(t)])]),tt,e("p",null,[e("a",ot,[at,o(t)])]),nt,e("p",null,[e("a",st,[rt,o(t)])]),ut,e("p",null,[e("a",ct,[it,o(t)])]),dt,e("p",null,[e("a",_t,[ht,o(t)])]),ft,e("p",null,[e("a",pt,[bt,o(t)])]),jt,e("p",null,[e("a",vt,[gt,o(t)])]),mt,e("p",null,[e("a",Ft,[kt,o(t)])]),xt,e("p",null,[e("a",At,[yt,o(t)])]),wt,e("p",null,[e("a",qt,[St,o(t)])]),Rt,e("p",null,[e("a",Ct,[Dt,o(t)])]),Et,e("p",null,[e("a",Bt,[It,o(t)])]),Tt,e("p",null,[e("a",Lt,[Nt,o(t)])]),Pt,e("p",null,[e("a",Ut,[Jt,o(t)])]),Ot,e("p",null,[e("a",Gt,[Vt,o(t)])]),Wt,e("p",null,[e("a",Ht,[zt,o(t)])]),Mt,e("p",null,[e("a",Xt,[Kt,o(t)])]),Qt,e("p",null,[e("a",Yt,[Zt,o(t)])]),$t,e("p",null,[e("a",eo,[lo,o(t)])]),to,e("p",null,[e("a",oo,[ao,o(t)])]),no,e("p",null,[e("a",so,[ro,o(t)])]),uo,e("p",null,[e("a",co,[io,o(t)])]),_o,e("p",null,[e("a",ho,[fo,o(t)])]),po,e("p",null,[e("a",bo,[jo,o(t)])]),vo,e("p",null,[e("a",go,[mo,o(t)])]),Fo,e("p",null,[e("a",ko,[xo,o(t)])]),Ao,e("p",null,[e("a",yo,[wo,o(t)])]),qo,e("p",null,[e("a",So,[Ro,o(t)])]),Co,e("p",null,[e("a",Do,[Eo,o(t)])]),Bo,e("p",null,[e("a",Io,[To,o(t)])]),Lo,e("p",null,[e("a",No,[Po,o(t)])]),Uo,e("p",null,[e("a",Jo,[Oo,o(t)])]),Go,e("p",null,[e("a",Vo,[Wo,o(t)])]),Ho,e("p",null,[e("a",zo,[Mo,o(t)])]),Xo,e("p",null,[e("a",Ko,[Qo,o(t)])]),Yo,e("p",null,[e("a",Zo,[$o,o(t)])]),ea,e("p",null,[e("a",la,[ta,o(t)])]),oa,e("p",null,[e("a",aa,[na,o(t)])]),sa,e("p",null,[e("a",ra,[ua,o(t)])]),ca,e("p",null,[e("a",ia,[da,o(t)])]),_a,e("p",null,[e("a",ha,[fa,o(t)])]),pa,e("p",null,[e("a",ba,[ja,o(t)])]),va,e("p",null,[e("a",ga,[ma,o(t)])]),Fa,e("p",null,[e("a",ka,[xa,o(t)])]),Aa,e("p",null,[e("a",ya,[wa,o(t)])]),qa,e("p",null,[e("a",Sa,[Ra,o(t)])]),Ca,e("p",null,[e("a",Da,[Ea,o(t)])]),Ba,e("p",null,[e("a",Ia,[Ta,o(t)])]),La,e("p",null,[e("a",Na,[Pa,o(t)])]),Ua,e("p",null,[e("a",Ja,[Oa,o(t)])]),Ga,e("p",null,[e("a",Va,[Wa,o(t)])]),Ha,e("p",null,[e("a",za,[Ma,o(t)])]),Xa,e("p",null,[e("a",Ka,[Qa,o(t)])]),Ya,e("p",null,[e("a",Za,[$a,o(t)])]),en,e("p",null,[e("a",ln,[tn,o(t)])]),on,e("p",null,[e("a",an,[nn,o(t)])]),sn,e("p",null,[e("a",rn,[un,o(t)])]),cn,e("p",null,[e("a",dn,[_n,o(t)])]),hn,e("p",null,[e("a",fn,[pn,o(t)])]),bn,e("p",null,[e("a",jn,[vn,o(t)])]),gn,e("p",null,[e("a",mn,[Fn,o(t)])]),kn,e("p",null,[e("a",xn,[An,o(t)])]),yn,e("p",null,[e("a",wn,[qn,o(t)])]),Sn,e("p",null,[e("a",Rn,[Cn,o(t)])]),Dn,e("p",null,[e("a",En,[Bn,o(t)])]),In,e("p",null,[e("a",Tn,[Ln,o(t)])]),Nn,e("p",null,[e("a",Pn,[Un,o(t)])]),Jn,e("p",null,[e("a",On,[Gn,o(t)])]),Vn,e("p",null,[e("a",Wn,[Hn,o(t)])]),zn,e("p",null,[e("a",Mn,[Xn,o(t)])]),Kn,e("p",null,[e("a",Qn,[Yn,o(t)])]),Zn,e("p",null,[e("a",$n,[es,o(t)])]),ls,e("p",null,[e("a",ts,[os,o(t)])]),as,e("p",null,[e("a",ns,[ss,o(t)])]),rs,e("p",null,[e("a",us,[cs,o(t)])]),is,e("p",null,[e("a",ds,[_s,o(t)])]),hs,e("p",null,[e("a",fs,[ps,o(t)])]),bs,e("p",null,[e("a",js,[vs,o(t)])]),gs,e("p",null,[e("a",ms,[Fs,o(t)])]),ks,e("p",null,[e("a",xs,[As,o(t)])]),ys,e("p",null,[e("a",ws,[qs,o(t)])]),Ss,e("p",null,[e("a",Rs,[Cs,o(t)])]),Ds,e("p",null,[e("a",Es,[Bs,o(t)])]),Is,e("p",null,[e("a",Ts,[Ls,o(t)])]),Ns,e("p",null,[e("a",Ps,[Us,o(t)])]),Js,e("p",null,[e("a",Os,[Gs,o(t)])]),Vs,e("p",null,[e("a",Ws,[Hs,o(t)])]),zs,e("p",null,[e("a",Ms,[Xs,o(t)])]),Ks,e("p",null,[e("a",Qs,[Ys,o(t)])]),Zs,e("p",null,[e("a",$s,[er,o(t)])]),lr,e("p",null,[e("a",tr,[or,o(t)])]),e("ul",null,[e("li",null,[ar,e("ul",null,[e("li",null,[l("[Feature] Add regexp rule. (Thanks contributor: "),e("a",nr,[l("@Germini"),o(t)]),l(").")])])]),sr]),e("p",null,[e("a",rr,[ur,o(t)])]),cr,e("p",null,[e("a",ir,[dr,o(t)])]),_r,e("p",null,[e("a",hr,[fr,o(t)])]),pr,e("p",null,[e("a",br,[jr,o(t)])]),vr,e("p",null,[e("a",gr,[mr,o(t)])]),Fr,e("p",null,[e("a",kr,[xr,o(t)])]),Ar,e("p",null,[e("a",yr,[wr,o(t)])]),qr,e("p",null,[e("a",Sr,[Rr,o(t)])]),Cr,e("p",null,[e("a",Dr,[Er,o(t)])]),Br,e("p",null,[e("a",Ir,[Tr,o(t)])]),Lr,e("p",null,[e("a",Nr,[Pr,o(t)])]),Ur,e("p",null,[e("a",Jr,[Or,o(t)])]),Gr,e("p",null,[e("a",Vr,[Wr,o(t)])]),Hr,e("p",null,[e("a",zr,[Mr,o(t)])]),Xr,e("p",null,[e("a",Kr,[Qr,o(t)])]),Yr,e("p",null,[e("a",Zr,[$r,o(t)])]),eu,e("p",null,[e("a",lu,[tu,o(t)])]),ou,e("p",null,[e("a",au,[nu,o(t)])]),su,e("p",null,[e("a",ru,[uu,o(t)])]),cu,e("p",null,[e("a",iu,[du,o(t)])]),_u,e("p",null,[e("a",hu,[fu,o(t)])]),pu,e("p",null,[e("a",bu,[ju,o(t)])]),vu,e("p",null,[e("a",gu,[mu,o(t)])]),Fu,e("p",null,[e("a",ku,[xu,o(t)])]),Au,e("p",null,[e("a",yu,[wu,o(t)])]),qu,e("p",null,[e("a",Su,[Ru,o(t)])]),Cu,e("p",null,[e("a",Du,[Eu,o(t)])]),Bu,e("p",null,[e("a",Iu,[Tu,o(t)])]),Lu,e("p",null,[e("a",Nu,[Pu,o(t)])]),Uu,e("p",null,[e("a",Ju,[Ou,o(t)])]),Gu,e("p",null,[e("a",Vu,[Wu,o(t)])]),Hu,e("p",null,[e("a",zu,[Mu,o(t)])]),Xu,e("p",null,[e("a",Ku,[Qu,o(t)])]),Yu,e("p",null,[e("a",Zu,[$u,o(t)])]),ec,e("p",null,[e("a",lc,[tc,o(t)])]),oc,e("p",null,[e("a",ac,[nc,o(t)])]),sc,e("p",null,[e("a",rc,[uc,o(t)])]),cc,e("p",null,[e("a",ic,[dc,o(t)])]),_c,e("p",null,[e("a",hc,[fc,o(t)])]),pc,e("p",null,[e("a",bc,[jc,o(t)])]),vc,e("p",null,[e("a",gc,[mc,o(t)])]),Fc,e("p",null,[e("a",kc,[xc,o(t)])]),Ac,e("p",null,[e("a",yc,[wc,o(t)])]),qc,e("p",null,[e("a",Sc,[Rc,o(t)])]),Cc,e("p",null,[e("a",Dc,[Ec,o(t)])]),Bc,e("p",null,[e("a",Ic,[Tc,o(t)])]),Lc,e("p",null,[e("a",Nc,[Pc,o(t)])]),Uc,e("p",null,[e("a",Jc,[Oc,o(t)])]),Gc,e("p",null,[e("a",Vc,[Wc,o(t)])]),Hc,e("p",null,[e("a",zc,[Mc,o(t)])]),Xc,e("p",null,[e("a",Kc,[Qc,o(t)])]),Yc,e("p",null,[e("a",Zc,[$c,o(t)])]),e0,e("p",null,[e("a",l0,[t0,o(t)])]),o0,e("p",null,[e("a",a0,[n0,o(t)])]),s0,e("p",null,[e("a",r0,[u0,o(t)])]),c0,e("p",null,[e("a",i0,[d0,o(t)])]),_0,e("p",null,[e("a",h0,[f0,o(t)])]),p0,e("p",null,[e("a",b0,[j0,o(t)])]),v0,e("p",null,[e("a",g0,[m0,o(t)])]),F0,e("p",null,[e("a",k0,[x0,o(t)])]),A0,e("p",null,[e("a",y0,[w0,o(t)])]),q0,e("p",null,[e("a",S0,[R0,o(t)])]),C0,e("p",null,[e("a",D0,[E0,o(t)])]),B0,e("p",null,[e("a",I0,[T0,o(t)])]),L0,e("p",null,[e("a",N0,[P0,o(t)])]),U0,e("p",null,[e("a",J0,[O0,o(t)])]),G0,e("p",null,[e("a",V0,[W0,o(t)])]),H0,e("p",null,[e("a",z0,[M0,o(t)])]),X0,e("p",null,[e("a",K0,[Q0,o(t)])]),Y0,e("p",null,[e("a",Z0,[$0,o(t)])]),ei,e("p",null,[e("a",li,[ti,o(t)])]),oi,e("p",null,[e("a",ai,[ni,o(t)])]),si,e("p",null,[e("a",ri,[ui,o(t)])]),ci,e("p",null,[e("a",ii,[di,o(t)])]),_i,e("p",null,[e("a",hi,[fi,o(t)])]),pi,e("p",null,[e("a",bi,[ji,o(t)])]),vi,e("p",null,[e("a",gi,[mi,o(t)])]),Fi,e("p",null,[e("a",ki,[xi,o(t)])]),Ai,e("p",null,[e("a",yi,[wi,o(t)])]),qi,e("p",null,[e("a",Si,[Ri,o(t)])]),Ci,e("p",null,[e("a",Di,[Ei,o(t)])]),Bi,e("p",null,[e("a",Ii,[Ti,o(t)])]),Li,e("p",null,[e("a",Ni,[Pi,o(t)])]),Ui,e("p",null,[e("a",Ji,[Oi,o(t)])]),Gi,e("p",null,[e("a",Vi,[Wi,o(t)])]),Hi,e("p",null,[e("a",zi,[Mi,o(t)])]),Xi,e("p",null,[e("a",Ki,[Qi,o(t)])]),Yi,e("p",null,[e("a",Zi,[$i,o(t)])]),ed,e("p",null,[e("a",ld,[td,o(t)])]),od,e("p",null,[e("a",ad,[nd,o(t)])]),sd,e("p",null,[e("a",rd,[ud,o(t)])]),cd,e("p",null,[e("a",id,[dd,o(t)])]),_d,e("p",null,[e("a",hd,[fd,o(t)])]),pd,e("p",null,[e("a",bd,[jd,o(t)])]),vd,e("p",null,[e("a",gd,[md,o(t)])]),Fd,e("p",null,[e("a",kd,[xd,o(t)])]),Ad,e("p",null,[e("a",yd,[wd,o(t)])]),qd,e("p",null,[e("a",Sd,[Rd,o(t)])]),Cd,e("p",null,[e("a",Dd,[Ed,o(t)])]),Bd,e("p",null,[e("a",Id,[Td,o(t)])]),Ld,e("p",null,[e("a",Nd,[Pd,o(t)])]),Ud,e("p",null,[e("a",Jd,[Od,o(t)])]),Gd,e("p",null,[e("a",Vd,[Wd,o(t)])]),Hd,e("p",null,[e("a",zd,[Md,o(t)])]),Xd,e("p",null,[e("a",Kd,[Qd,o(t)])]),Yd,e("p",null,[e("a",Zd,[$d,o(t)])]),e_,e("p",null,[e("a",l_,[t_,o(t)])]),o_,e("p",null,[e("a",a_,[n_,o(t)])]),s_,e("p",null,[e("a",r_,[u_,o(t)])]),c_,e("p",null,[e("a",i_,[d_,o(t)])]),__,e("p",null,[e("a",h_,[f_,o(t)])]),p_,e("p",null,[e("a",b_,[j_,o(t)])]),v_,e("p",null,[e("a",g_,[m_,o(t)])]),F_,e("p",null,[e("a",k_,[x_,o(t)])]),A_,e("p",null,[e("a",y_,[w_,o(t)])]),q_,e("p",null,[e("a",S_,[R_,o(t)])]),C_,e("p",null,[e("a",D_,[E_,o(t)])]),B_,e("p",null,[e("a",I_,[T_,o(t)])]),L_,e("p",null,[e("a",N_,[P_,o(t)])]),U_,e("p",null,[e("a",J_,[O_,o(t)])]),G_,e("p",null,[e("a",V_,[W_,o(t)])]),H_,e("p",null,[e("a",z_,[M_,o(t)])]),X_,e("p",null,[e("a",K_,[Q_,o(t)])]),Y_,e("p",null,[e("a",Z_,[$_,o(t)])]),e2,e("p",null,[e("a",l2,[t2,o(t)])]),o2,e("p",null,[e("a",a2,[n2,o(t)])]),s2,e("p",null,[e("a",r2,[u2,o(t)])]),c2,e("p",null,[e("a",i2,[d2,o(t)])]),_2,e("p",null,[e("a",h2,[f2,o(t)])]),p2,e("p",null,[e("a",b2,[j2,o(t)])]),v2,e("p",null,[e("a",g2,[m2,o(t)])]),F2,e("p",null,[e("a",k2,[x2,o(t)])]),A2,e("p",null,[e("a",y2,[w2,o(t)])]),q2,e("p",null,[e("a",S2,[R2,o(t)])]),C2,e("p",null,[e("a",D2,[E2,o(t)])]),B2,e("p",null,[e("a",I2,[T2,o(t)])]),L2,e("p",null,[e("a",N2,[P2,o(t)])]),U2,e("p",null,[e("a",J2,[O2,o(t)])]),G2,e("p",null,[e("a",V2,[W2,o(t)])]),H2,e("p",null,[e("a",z2,[M2,o(t)])]),X2,e("p",null,[e("a",K2,[Q2,o(t)])]),Y2,e("p",null,[e("a",Z2,[$2,o(t)])]),eh,e("p",null,[e("a",lh,[th,o(t)])]),oh,e("p",null,[e("a",ah,[nh,o(t)])]),sh,e("p",null,[e("a",rh,[uh,o(t)])]),ch,e("p",null,[e("a",ih,[dh,o(t)])]),_h,e("p",null,[e("a",hh,[fh,o(t)])]),ph,e("p",null,[e("a",bh,[jh,o(t)])]),vh,e("p",null,[e("a",gh,[mh,o(t)])]),Fh,e("p",null,[e("a",kh,[xh,o(t)])]),Ah,e("p",null,[e("a",yh,[wh,o(t)])]),qh,e("p",null,[e("a",Sh,[Rh,o(t)])]),Ch,e("p",null,[e("a",Dh,[Eh,o(t)])]),Bh,e("p",null,[e("a",Ih,[Th,o(t)])]),Lh,e("p",null,[e("a",Nh,[Ph,o(t)])]),Uh,e("p",null,[e("a",Jh,[Oh,o(t)])]),Gh,e("p",null,[e("a",Vh,[Wh,o(t)])]),Hh,e("p",null,[e("a",zh,[Mh,o(t)])]),Xh,e("p",null,[e("a",Kh,[Qh,o(t)])]),Yh,e("p",null,[e("a",Zh,[$h,o(t)])]),ef,e("p",null,[e("a",lf,[tf,o(t)])]),of,e("p",null,[e("a",af,[nf,o(t)])]),sf,e("p",null,[e("a",rf,[uf,o(t)])]),cf,e("p",null,[e("a",df,[_f,o(t)])]),hf,e("p",null,[e("a",ff,[pf,o(t)])]),bf,e("p",null,[e("a",jf,[vf,o(t)])]),gf,e("p",null,[e("a",mf,[Ff,o(t)])]),kf,e("p",null,[e("a",xf,[Af,o(t)])]),yf,e("p",null,[e("a",wf,[qf,o(t)])]),Sf,e("p",null,[e("a",Rf,[Cf,o(t)])]),Df,e("p",null,[e("a",Ef,[Bf,o(t)])]),If,e("p",null,[e("a",Tf,[Lf,o(t)])]),Nf,e("p",null,[e("a",Pf,[Uf,o(t)])]),Jf,e("p",null,[e("a",Of,[Gf,o(t)])]),Vf,e("ul",null,[e("li",null,[l("[新增] 示例项目新增 "),e("a",Wf,[l("knex"),o(t)]),l("。")])]),Hf,e("ul",null,[e("li",null,[l("[Feature] 将 FaasJS 所有库都并入了 "),e("a",zf,[l("faasjs/faasjs"),o(t)]),l(" 项目中,便于统一管理和更新。")])]),Mf,e("ul",null,[e("li",null,[l("[新增] "),e("a",Xf,[l("FaasJS 周刊"),o(t)]),l(" 开始试运行。")])]),Kf,e("ul",null,[Qf,e("li",null,[l("[新增] 官网新增 "),e("a",Yf,[l("支持 FaasJS"),o(t)]),l("。")]),Zf]),$f])}const a1=n(c,[["render",e1],["__file","CHANGELOG.html.vue"]]),n1=JSON.parse('{"path":"/CHANGELOG.html","title":"Changelog","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Stable","slug":"stable","link":"#stable","children":[]},{"level":2,"title":"Beta","slug":"beta","link":"#beta","children":[]},{"level":2,"title":"Alpha","slug":"alpha","link":"#alpha","children":[]}],"git":{"updatedTime":null},"filePathRelative":"CHANGELOG.md"}');export{a1 as comp,n1 as data}; +import{_ as n,r as s,o as r,c as u,a as e,b as l,d as o,e as a}from"./app-COoiSelr.js";const c={},i=e("h1",{id:"changelog",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#changelog"},[e("span",null,"Changelog")])],-1),d={href:"https://semver.org/",target:"_blank",rel:"noopener noreferrer"},_=e("h2",{id:"stable",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#stable"},[e("span",null,"Stable")])],-1),h={href:"https://github.com/faasjs/faasjs/compare/v2.1.0...v2.2.0",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,"v2.2.0 (2024-03-13)",-1),p=a("
    • @faasjs/func

      • [Feature] Add FuncParamsType and FuncReturnType.
    • create-faas-app

      • [Feature] Simplify options.
    ",1),b={href:"https://github.com/faasjs/faasjs/compare/v2.0.0...v2.1.0",target:"_blank",rel:"noopener noreferrer"},j=e("code",null,"v2.1.0 (2024-03-08)",-1),v=a("
    • @faasjs/react

      • [Feature] Add createSplitedContext.
    • @faasjs/ant-design

      • [Feature] Simplify App with createSplitedContext.
    ",1),g={href:"https://github.com/faasjs/faasjs/compare/v1.7.2...v2.0.0",target:"_blank",rel:"noopener noreferrer"},m=e("code",null,"v2.0.0 (2024-02-28)",-1),F=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Break] Remove "),e("code",null,"@preact/signals-react"),l(".")])])])],-1),k={href:"https://github.com/faasjs/faasjs/compare/v1.7.1...v1.7.2",target:"_blank",rel:"noopener noreferrer"},x=e("code",null,"v1.7.2 (2024-02-27)",-1),A=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix loading's render issue.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Table's loading state.")])])],-1),y={href:"https://github.com/faasjs/faasjs/compare/v1.7.0...v1.7.1",target:"_blank",rel:"noopener noreferrer"},w=e("code",null,"v1.7.1 (2024-02-25)",-1),q=e("ul",null,[e("li",null,[e("code",null,"@faasjs/jest"),e("ul",null,[e("li",null,[l("[Fix] Fix dependences, remove "),e("code",null,"@faasjs/test"),l(".")])])])],-1),S={href:"https://github.com/faasjs/faasjs/compare/v1.6.0...v1.7.0",target:"_blank",rel:"noopener noreferrer"},R=e("code",null,"v1.7.0 (2024-02-24)",-1),C=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"create-faas-app")]),e("ul",null,[e("li",null,"[Feature] Support Bun."),e("li",null,"[Fix] Fix example file.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Feature] Refactor Logger class initialization.")])])],-1),D={href:"https://github.com/faasjs/faasjs/compare/v1.5.0...v1.6.0",target:"_blank",rel:"noopener noreferrer"},E=e("code",null,"v1.6.0 (2024-01-29)",-1),B=a("
    • @faasjs/react

      • [Feature] Add useConstant.
    • @faasjs/ant-design

      • [Feature] Reduce App re-render times.
    ",1),I={href:"https://github.com/faasjs/faasjs/compare/v1.4.2...v1.5.0",target:"_blank",rel:"noopener noreferrer"},T=e("code",null,"v1.5.0 (2024-01-29)",-1),L=e("code",null,"@faasjs/ant-design",-1),N={href:"https://github.com/welldone-software/why-did-you-render",target:"_blank",rel:"noopener noreferrer"},P=e("li",null,"[Feature] Drawer and Modal support function as change handler.",-1),U={href:"https://github.com/faasjs/faasjs/compare/v1.4.1...v1.4.2",target:"_blank",rel:"noopener noreferrer"},J=e("code",null,"v1.4.2 (2024-01-22)",-1),O=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Fix] Fix transaction return value.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Fix] Fix error log outputs.")])])],-1),G={href:"https://github.com/faasjs/faasjs/compare/v1.3.2...v1.4.1",target:"_blank",rel:"noopener noreferrer"},V=e("code",null,"v1.4.1 (2024-01-20)",-1),W=a("
    • @faasjs/knex

      • [Feature] Add commit and rollback events to transaction.
      • [Feature] Improve logger.
    • @faasjs/request

      • [Feature] Improve json parse.
    • @faasjs/redis

      • [Feature] Add lock success log.
      • [Fix] Fix logger label.
    ",1),H={href:"https://github.com/faasjs/faasjs/compare/v1.3.0...v1.3.2",target:"_blank",rel:"noopener noreferrer"},z=e("code",null,"v1.3.2 (2024-01-06)",-1),M=a("
    • @faasjs/request

      • [Feature] Display requestId in log.
      • [Fix] Fix downloadFile and downloadStream's logger.
    • @faasjs/ant-design

      • [Fix] Fix Tabs's item's type define.
    ",1),X={href:"https://github.com/faasjs/faasjs/compare/v1.2.0...v1.3.0",target:"_blank",rel:"noopener noreferrer"},K=e("code",null,"v1.3.0 (2024-01-03)",-1),Q=a("
    • @faasjs/logger

      • [Feature] Add FaasLogMode.
    • @faasjs/request, @faasjs/redis, @faasjs/server

      • [Fix] Use internal logger.
    • @faasjs/knex

      • [Fix] Improve log format.
    ",1),Y={href:"https://github.com/faasjs/faasjs/compare/v1.1.1...v1.2.0",target:"_blank",rel:"noopener noreferrer"},Z=e("code",null,"v1.2.0 (2023-12-31)",-1),$=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Add default timeout (5000 as 5s).")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/func")]),e("ul",null,[e("li",null,"[Feature] Improve logger.")])])],-1),ee={href:"https://github.com/faasjs/faasjs/compare/v1.1.0...v1.1.1",target:"_blank",rel:"noopener noreferrer"},le=e("code",null,"v1.1.1 (2023-12-29)",-1),te=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix transfer array types.")])])],-1),oe={href:"https://github.com/faasjs/faasjs/compare/v1.0.0...v1.1.0",target:"_blank",rel:"noopener noreferrer"},ae=e("code",null,"v1.1.0 (2023-12-26)",-1),ne=a("
    • @faasjs/http

      • [Feature] Lowercase header names.
    • @faasjs/server

      • [Feature] Lowercase header names.
      • [Feature] Add all headers to Access-Control-Allow-Headers.
      • [Feature] Add Access-Control-Expose-Headers.
    • @faasjs/browser

      • [Feature] Add headers to beforeRequest.
    ",1),se={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.6...v1.0.0",target:"_blank",rel:"noopener noreferrer"},re=e("code",null,"v1.0.0 (2023-12-23)",-1),ue=e("ul",null,[e("li",null,[e("p",null,"[Feature] Release first stable version.")]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"useSignals"),l(".")])])])],-1),ce=e("h2",{id:"beta",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#beta"},[e("span",null,"Beta")])],-1),ie={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.5...v0.0.5-beta.6",target:"_blank",rel:"noopener noreferrer"},de=e("code",null,"v0.0.5-beta.6 (2023-12-23)",-1),_e=a("
    • @faasjs/react

      • [Feature] Upgrade @preact/signal-react to ^2.0.0.
    • @faasjs/redis

      • [Feature] Improve locking log.
    ",1),he={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.3...v0.0.5-beta.5",target:"_blank",rel:"noopener noreferrer"},fe=e("code",null,"v0.0.5-beta.5 (2023-12-19)",-1),pe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Table"),l(" items re-render issue.")])])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/server")]),e("ul",null,[e("li",null,"[Feature] Support deep path default function.")])])],-1),be={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.2...v0.0.5-beta.3",target:"_blank",rel:"noopener noreferrer"},je=e("code",null,"v0.0.5-beta.3 (2023-12-14)",-1),ve=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix time input.")])])],-1),ge={href:"https://github.com/faasjs/faasjs/compare/v0.0.5-beta.1...v0.0.5-beta.2",target:"_blank",rel:"noopener noreferrer"},me=e("code",null,"v0.0.5-beta.2 (2023-12-12)",-1),Fe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Feature] Improve logger.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"useSignalState"),l(".")])])])],-1),ke={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.16...v0.0.5-beta.1",target:"_blank",rel:"noopener noreferrer"},xe=e("code",null,"v0.0.5-beta.1 (2023-12-04)",-1),Ae=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Break] Change ConfigProvider's config to theme."),e("li",null,"[Feature] Add FaasClientOptions to ConfigProvider.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Update logger.")])])],-1),ye={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.15...v0.0.4-beta.16",target:"_blank",rel:"noopener noreferrer"},we=e("code",null,"v0.0.4-beta.16 (2023-12-03)",-1),qe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Add FaasJS's ConfigProvider to App.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Support gzip and br encoding.")])])],-1),Se={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.14...v0.0.4-beta.15",target:"_blank",rel:"noopener noreferrer"},Re=e("code",null,"v0.0.4-beta.15 (2023-12-01)",-1),Ce=a("
    • @faasjs/eslint-config-recommended

      • [Break] Remove package.
    • @faasjs/eslint-config-react

      • [Break] Remove package.
    • @faasjs/eslint-config-vue

      • [Break] Remove package.
    • @faasjs/linter

      • [Break] Remove package.
    • @faasjs/ant-design

      • [Feature] Add ErrorBoundary to App.
    ",1),De={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.12...v0.0.4-beta.14",target:"_blank",rel:"noopener noreferrer"},Ee=e("code",null,"v0.0.4-beta.14 (2023-11-30)",-1),Be=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Table's columns support "),e("code",null,"filterDropdown: false"),l(" and "),e("code",null,"sorter: false"),l(".")])])])],-1),Ie={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.11...v0.0.4-beta.12",target:"_blank",rel:"noopener noreferrer"},Te=e("code",null,"v0.0.4-beta.12 (2023-11-29)",-1),Le=e("code",null,"@faasjs/react",-1),Ne=e("code",null,"signal",-1),Pe={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},Ue={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.10...v0.0.4-beta.11",target:"_blank",rel:"noopener noreferrer"},Je=e("code",null,"v0.0.4-beta.11 (2023-11-19)",-1),Oe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/redis")]),e("ul",null,[e("li",null,"[Feature] Remove unnecessary types.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Fix] Fix logger size.")])])],-1),Ge={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.9...v0.0.4-beta.10",target:"_blank",rel:"noopener noreferrer"},Ve=e("code",null,"v0.0.4-beta.10 (2023-11-05)",-1),We=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,[l("[Feature] When request failed, return "),e("code",null,"ResponseError"),l(" instead of "),e("code",null,"Error"),l(".")])])])],-1),He={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.7...v0.0.4-beta.9",target:"_blank",rel:"noopener noreferrer"},ze=e("code",null,"v0.0.4-beta.9 (2023-10-24)",-1),Me=e("ul",null,[e("li",null,"[Feature] Improve dependencies.")],-1),Xe={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.6...v0.0.4-beta.7",target:"_blank",rel:"noopener noreferrer"},Ke=e("code",null,"v0.0.4-beta.7 (2023-10-23)",-1),Qe=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/func")]),e("ul",null,[e("li",null,"[Feature] Improve logger for mono mode.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/http")]),e("ul",null,[e("li",null,"[Feature] Improve logger for mono mode.")])])],-1),Ye={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.5...v0.0.4-beta.6",target:"_blank",rel:"noopener noreferrer"},Ze=e("code",null,"v0.0.4-beta.6 (2023-10-20)",-1),$e=e("code",null,"@faasjs/knex",-1),el=e("code",null,"transaction",-1),ll=e("code",null,"options: { trx: Knex.Transaction }",-1),tl={href:"https://github.com/WittCsharp",target:"_blank",rel:"noopener noreferrer"},ol=e("li",null,[l("[Feature] Export "),e("code",null,"originKnex"),l(" and "),e("code",null,"OriginKnex"),l(".")],-1),al={href:"https://github.com/faasjs/faasjs/compare/v0.0.4-beta.4...v0.0.4-beta.5",target:"_blank",rel:"noopener noreferrer"},nl=e("code",null,"v0.0.4-beta.5 (2023-10-17)",-1),sl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,[l("[Break] "),e("code",null,"jest.setup.js"),l(" moved to "),e("code",null,"@faasjs/jest"),l(".")])])])],-1),rl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.109...v0.0.4-beta.4",target:"_blank",rel:"noopener noreferrer"},ul=e("code",null,"v0.0.4-beta.4 (2023-10-16)",-1),cl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"skip"),l(" can be a function.")])])])],-1),il={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.108...v0.0.3-beta.109",target:"_blank",rel:"noopener noreferrer"},dl=e("code",null,"v0.0.3-beta.109 (2023-09-22)",-1),_l=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Improve logger.")])])],-1),hl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.107...v0.0.3-beta.108",target:"_blank",rel:"noopener noreferrer"},fl=e("code",null,"v0.0.3-beta.108 (2023-09-21)",-1),pl=e("code",null,"@faasjs/linter",-1),bl=e("code",null,"@faasjs/linter",-1),jl={href:"https://biomejs.dev/",target:"_blank",rel:"noopener noreferrer"},vl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.105...v0.0.3-beta.107",target:"_blank",rel:"noopener noreferrer"},gl=e("code",null,"v0.0.3-beta.107 (2023-09-14)",-1),ml=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix clone params.")])])],-1),Fl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.104...v0.0.3-beta.105",target:"_blank",rel:"noopener noreferrer"},kl=e("code",null,"v0.0.3-beta.105 (2023-09-13)",-1),xl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"data.event.params"),l(" as cloned params.")])])])],-1),Al={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.101...v0.0.3-beta.104",target:"_blank",rel:"noopener noreferrer"},yl=e("code",null,"v0.0.3-beta.104 (2023-09-05)",-1),wl=a("
    • @faasjs/browser

      • [Feature] Add setMock for testing.
    • @faasjs/ant-design

      • [Feature] Add onClick to Link.
      • [Fix] Avoid Link return null.
    ",1),ql={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.100...v0.0.3-beta.101",target:"_blank",rel:"noopener noreferrer"},Sl=e("code",null,"v0.0.3-beta.101 (2023-09-03)",-1),Rl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" global style.")])])])],-1),Cl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.98...v0.0.3-beta.100",target:"_blank",rel:"noopener noreferrer"},Dl=e("code",null,"v0.0.3-beta.100 (2023-08-29)",-1),El=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" style.")]),e("li",null,[l("[Fix] Fix "),e("code",null,"Link"),l(" onClick bug.")])])])],-1),Bl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.97...v0.0.3-beta.98",target:"_blank",rel:"noopener noreferrer"},Il=e("code",null,"v0.0.3-beta.98 (2023-08-26)",-1),Tl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"copyable"),l(" to "),e("code",null,"Link"),l(".")])])])],-1),Ll={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.96...v0.0.3-beta.97",target:"_blank",rel:"noopener noreferrer"},Nl=e("code",null,"v0.0.3-beta.97 (2023-08-25)",-1),Pl=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"reloadTime"),l(" from "),e("code",null,"useFaas"),l(".")])])])],-1),Ul={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.95...v0.0.3-beta.96",target:"_blank",rel:"noopener noreferrer"},Jl=e("code",null,"v0.0.3-beta.96 (2023-08-19)",-1),Ol=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"debounce"),l(" to "),e("code",null,"useFaas"),l(".")])])])],-1),Gl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.94...v0.0.3-beta.95",target:"_blank",rel:"noopener noreferrer"},Vl=e("code",null,"v0.0.3-beta.95 (2023-08-17)",-1),Wl=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Descriptions' renderTitle.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/server")]),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"onError"),l(".")])])])],-1),Hl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.92...v0.0.3-beta.94",target:"_blank",rel:"noopener noreferrer"},zl=e("code",null,"v0.0.3-beta.94 (2023-08-16)",-1),Ml=a("
    • @faasjs/http

      • [Fix] Fix params parse.
    • @faasjs/react

      • [Feature] ErrorBoundary's onError be opitonal.
    • @faasjs/knex

      • [Feature] Make logger be public.
    ",1),Xl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.91...v0.0.3-beta.92",target:"_blank",rel:"noopener noreferrer"},Kl=e("code",null,"v0.0.3-beta.92 (2023-08-10)",-1),Ql=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] add "),e("code",null,"ErrorBoundary"),l(".")])])])],-1),Yl={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.90...v0.0.3-beta.91",target:"_blank",rel:"noopener noreferrer"},Zl=e("code",null,"v0.0.3-beta.91 (2023-08-07)",-1),$l=e("ul",null,[e("li",null,[e("code",null,"@faasjs/cloud_function"),e("ul",null,[e("li",null,"[Feature] Add request_id to invoked funciton.")])])],-1),et={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.89...v0.0.3-beta.90",target:"_blank",rel:"noopener noreferrer"},lt=e("code",null,"v0.0.3-beta.90 (2023-08-06)",-1),tt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix Descriptions' renderTitle.")])])],-1),ot={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.88...v0.0.3-beta.89",target:"_blank",rel:"noopener noreferrer"},at=e("code",null,"v0.0.3-beta.89 (2023-08-04)",-1),nt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Upgrade antd version to ~5.8.0.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Update error message.")])])],-1),st={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.87...v0.0.3-beta.88",target:"_blank",rel:"noopener noreferrer"},rt=e("code",null,"v0.0.3-beta.88 (2023-07-31)",-1),ut=a("
    • @faasjs/server

      • [Feature] Add X-FaasJS-Timing-Pending, X-FaasJS-Timing-Processing, X-FaasJS-Timing-Total to header.
    • @faasjs/http

      • [Fix] Fix cookie and session's logger.
    ",1),ct={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.86...v0.0.3-beta.87",target:"_blank",rel:"noopener noreferrer"},it=e("code",null,"v0.0.3-beta.87 (2023-07-20)",-1),dt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,"[Feature] Ignore React Native's fetch abort.")])])],-1),_t={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.85...v0.0.3-beta.86",target:"_blank",rel:"noopener noreferrer"},ht=e("code",null,"v0.0.3-beta.86 (2023-07-19)",-1),ft=e("ul",null,[e("li",null,[e("code",null,"@faasjs/eslint-config-recommended"),e("ul",null,[e("li",null,"[Feature] Add more rules.")])])],-1),pt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.84...v0.0.3-beta.85",target:"_blank",rel:"noopener noreferrer"},bt=e("code",null,"v0.0.3-beta.85 (2023-07-01)",-1),jt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Fix] Fix Access-Control-Allow-Headers.")])])],-1),vt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.83...v0.0.3-beta.84",target:"_blank",rel:"noopener noreferrer"},gt=e("code",null,"v0.0.3-beta.84 (2023-06-29)",-1),mt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/browser"),l(" & "),e("code",null,"@faasjs/server"),l(" & "),e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,[l("[Feature] Add new "),e("code",null,"X-FaasJS-Request-Id"),l(" header.")])])])],-1),Ft={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.82...v0.0.3-beta.83",target:"_blank",rel:"noopener noreferrer"},kt=e("code",null,"v0.0.3-beta.83 (2023-06-05)",-1),xt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Display radio when options length less than 11.")])])],-1),At={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.81...v0.0.3-beta.82",target:"_blank",rel:"noopener noreferrer"},yt=e("code",null,"v0.0.3-beta.82 (2023-05-18)",-1),wt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Split process with path.")])])],-1),qt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.79...v0.0.3-beta.81",target:"_blank",rel:"noopener noreferrer"},St=e("code",null,"v0.0.3-beta.81 (2023-05-16)",-1),Rt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Add auto retry to "),e("code",null,"useFaas"),l(".")])])])],-1),Ct={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.78...v0.0.3-beta.79",target:"_blank",rel:"noopener noreferrer"},Dt=e("code",null,"v0.0.3-beta.79 (2023-04-26)",-1),Et=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/knex")]),e("ul",null,[e("li",null,"[Feature] Add json convert to pg.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/logger")]),e("ul",null,[e("li",null,"[Feature] Add FaasLogSize.")])])],-1),Bt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.77...v0.0.3-beta.78",target:"_blank",rel:"noopener noreferrer"},It=e("code",null,"v0.0.3-beta.78 (2023-04-18)",-1),Tt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Output debug logger for mock.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Feature] Export faas functions.")])])],-1),Lt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.76...v0.0.3-beta.77",target:"_blank",rel:"noopener noreferrer"},Nt=e("code",null,"v0.0.3-beta.77 (2023-04-12)",-1),Pt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix null item.")])])],-1),Ut={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.75...v0.0.3-beta.76",target:"_blank",rel:"noopener noreferrer"},Jt=e("code",null,"v0.0.3-beta.76 (2023-04-02)",-1),Ot=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix Tabs' label.")])])],-1),Gt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.74...v0.0.3-beta.75",target:"_blank",rel:"noopener noreferrer"},Vt=e("code",null,"v0.0.3-beta.75 (2023-03-30)",-1),Wt=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix item type.")])])],-1),Ht={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.73...v0.0.3-beta.74",target:"_blank",rel:"noopener noreferrer"},zt=e("code",null,"v0.0.3-beta.74 (2023-03-23)",-1),Mt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix Table extra.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix params.")])])],-1),Xt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.72...v0.0.3-beta.73",target:"_blank",rel:"noopener noreferrer"},Kt=e("code",null,"v0.0.3-beta.73 (2023-03-19)",-1),Qt=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/react")]),e("ul",null,[e("li",null,"[Fix] Fix action missing.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Feature] Display url in error message.")])])],-1),Yt={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.70...v0.0.3-beta.72",target:"_blank",rel:"noopener noreferrer"},Zt=e("code",null,"v0.0.3-beta.72 (2023-03-17)",-1),$t=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,[l("[Feature] Export "),e("code",null,"setParams"),l(".")])])])],-1),eo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.69...v0.0.3-beta.70",target:"_blank",rel:"noopener noreferrer"},lo=e("code",null,"v0.0.3-beta.70 (2023-03-12)",-1),to=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"Tabs"),l(" component.")])])])],-1),oo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.65...v0.0.3-beta.68",target:"_blank",rel:"noopener noreferrer"},ao=e("code",null,"v0.0.3-beta.68 (2023-03-05)",-1),no=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Improve dropdown render."),e("li",null,"[Fix] Fix table loading.")])])],-1),so={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.63...v0.0.3-beta.65",target:"_blank",rel:"noopener noreferrer"},ro=e("code",null,"v0.0.3-beta.65 (2023-03-04)",-1),uo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add date picker to date and time items.")])])],-1),co={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.62...v0.0.3-beta.63",target:"_blank",rel:"noopener noreferrer"},io=e("code",null,"v0.0.3-beta.63 (2023-03-02)",-1),_o=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix boolean filter.")])])],-1),ho={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.61...v0.0.3-beta.62",target:"_blank",rel:"noopener noreferrer"},fo=e("code",null,"v0.0.3-beta.62 (2023-02-27)",-1),po=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix filter.")])])],-1),bo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.59...v0.0.3-beta.61",target:"_blank",rel:"noopener noreferrer"},jo=e("code",null,"v0.0.3-beta.61 (2023-02-21)",-1),vo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Use Select as filters."),e("li",null,"[Fix] Fix filterDropdown.")])])],-1),go={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.57...v0.0.3-beta.59",target:"_blank",rel:"noopener noreferrer"},mo=e("code",null,"v0.0.3-beta.59 (2023-02-18)",-1),Fo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Feature] Update pool config.")])])],-1),ko={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.56...v0.0.3-beta.57",target:"_blank",rel:"noopener noreferrer"},xo=e("code",null,"v0.0.3-beta.57 (2023-02-16)",-1),Ao=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Fix] Fix null value.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/redis")]),e("ul",null,[e("li",null,"[Fix] Fix disconnect.")])])],-1),yo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.55...v0.0.3-beta.56",target:"_blank",rel:"noopener noreferrer"},wo=e("code",null,"v0.0.3-beta.56 (2023-02-15)",-1),qo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add BrowserRouter to App.")])])],-1),So={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.51...v0.0.3-beta.55",target:"_blank",rel:"noopener noreferrer"},Ro=e("code",null,"v0.0.3-beta.55 (2023-02-14)",-1),Co=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix App style.")])])],-1),Do={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.50...v0.0.3-beta.51",target:"_blank",rel:"noopener noreferrer"},Eo=e("code",null,"v0.0.3-beta.51 (2023-02-12)",-1),Bo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"App"),l(" component.")])])])],-1),Io={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.49...v0.0.3-beta.50",target:"_blank",rel:"noopener noreferrer"},To=e("code",null,"v0.0.3-beta.50 (2023-02-09)",-1),Lo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Feature] Add default pg config.")])])],-1),No={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.47...v0.0.3-beta.49",target:"_blank",rel:"noopener noreferrer"},Po=e("code",null,"v0.0.3-beta.49 (2023-02-08)",-1),Uo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix time sorter.")])])],-1),Jo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.46...v0.0.3-beta.47",target:"_blank",rel:"noopener noreferrer"},Oo=e("code",null,"v0.0.3-beta.47 (2023-02-07)",-1),Go=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Feature] Add lock and unlock.")])])],-1),Vo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.45...v0.0.3-beta.46",target:"_blank",rel:"noopener noreferrer"},Wo=e("code",null,"v0.0.3-beta.46 (2023-02-06)",-1),Ho=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,"[Feature] Return Error.")])])],-1),zo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.44...v0.0.3-beta.45",target:"_blank",rel:"noopener noreferrer"},Mo=e("code",null,"v0.0.3-beta.45 (2023-02-04)",-1),Xo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix boolean filter.")])])],-1),Ko={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.43...v0.0.3-beta.44",target:"_blank",rel:"noopener noreferrer"},Qo=e("code",null,"v0.0.3-beta.44 (2023-02-02)",-1),Yo=e("ul",null,[e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,".ts"),l(" to filename.")])])])],-1),Zo={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.40...v0.0.3-beta.43",target:"_blank",rel:"noopener noreferrer"},$o=e("code",null,"v0.0.3-beta.43 (2023-02-01)",-1),ea=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add extra to list."),e("li",null,"[Fix] Fix FaasData.")])])],-1),la={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.36...v0.0.3-beta.40",target:"_blank",rel:"noopener noreferrer"},ta=e("code",null,"v0.0.3-beta.40 (2023-01-30)",-1),oa=e("ul",null,[e("li",null,"[Feature] Use peerDependence.")],-1),aa={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.35...v0.0.3-beta.36",target:"_blank",rel:"noopener noreferrer"},na=e("code",null,"v0.0.3-beta.36 (2023-01-27)",-1),sa=e("ul",null,[e("li",null,[e("p",null,[e("code",null,"@faasjs/ant-design")]),e("ul",null,[e("li",null,"[Remove] Remove ErrorBoundary."),e("li",null,"[Fix] Remove unused log.")])]),e("li",null,[e("p",null,[e("code",null,"@faasjs/request")]),e("ul",null,[e("li",null,"[Fix] Improve parse.")])])],-1),ra={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.32...v0.0.3-beta.35",target:"_blank",rel:"noopener noreferrer"},ua=e("code",null,"v0.0.3-beta.35 (2023-01-24)",-1),ca=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add block to Link."),e("li",null,"[Fix] Fix link style.")])])],-1),ia={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.31...v0.0.3-beta.32",target:"_blank",rel:"noopener noreferrer"},da=e("code",null,"v0.0.3-beta.32 (2023-01-23)",-1),_a=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add type "),e("code",null,"UnionFaasItem"),l(".")]),e("li",null,"[Feature] Add loading to wrapper."),e("li",null,"[Feature] Add children to Loading.")])])],-1),ha={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.30...v0.0.3-beta.31",target:"_blank",rel:"noopener noreferrer"},fa=e("code",null,"v0.0.3-beta.31 (2023-01-22)",-1),pa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Feature] Add multi and pipeline.")])])],-1),ba={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.29...v0.0.3-beta.30",target:"_blank",rel:"noopener noreferrer"},ja=e("code",null,"v0.0.3-beta.30 (2023-01-19)",-1),va=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Feature] Export cookie and session.")])])],-1),ga={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.24...v0.0.3-beta.29",target:"_blank",rel:"noopener noreferrer"},ma=e("code",null,"v0.0.3-beta.29 (2023-01-18)",-1),Fa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add async to submit."),e("li",null,"[Feature] Export Form.List, Form.ErrorList and Form.Provider."),e("li",null,[l("[Feature] Add "),e("code",null,"Loading"),l(" and "),e("code",null,"FaasDataWrapper"),l(".")])])])],-1),ka={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.23...v0.0.3-beta.24",target:"_blank",rel:"noopener noreferrer"},xa=e("code",null,"v0.0.3-beta.24 (2023-01-17)",-1),Aa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix empty filter.")])])],-1),ya={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.21...v0.0.3-beta.23",target:"_blank",rel:"noopener noreferrer"},wa=e("code",null,"v0.0.3-beta.23 (2023-01-16)",-1),qa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix filter.")])])],-1),Sa={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.19...v0.0.3-beta.21",target:"_blank",rel:"noopener noreferrer"},Ra=e("code",null,"v0.0.3-beta.21 (2023-01-15)",-1),Ca=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add options to FaasDataTable."),e("li",null,"[Feature] Add children to FaasDataWrapper.")])])],-1),Da={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.18...v0.0.3-beta.19",target:"_blank",rel:"noopener noreferrer"},Ea=e("code",null,"v0.0.3-beta.19 (2023-01-13)",-1),Ba=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix params.")])])],-1),Ia={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.17...v0.0.3-beta.18",target:"_blank",rel:"noopener noreferrer"},Ta=e("code",null,"v0.0.3-beta.18 (2023-01-11)",-1),La=e("ul",null,[e("li",null,[e("code",null,"@faasjs/logger"),e("ul",null,[e("li",null,"[Fix] Increase default log size.")])])],-1),Na={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.16...v0.0.3-beta.17",target:"_blank",rel:"noopener noreferrer"},Pa=e("code",null,"v0.0.3-beta.17 (2023-01-10)",-1),Ua=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix link text.")])])],-1),Ja={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.15...v0.0.3-beta.16",target:"_blank",rel:"noopener noreferrer"},Oa=e("code",null,"v0.0.3-beta.16 (2022-12-23)",-1),Ga=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Update major types to interfaces.")])])],-1),Va={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.11...v0.0.3-beta.15",target:"_blank",rel:"noopener noreferrer"},Wa=e("code",null,"v0.0.3-beta.15 (2022-12-16)",-1),Ha=e("ul",null,[e("li",null,[e("code",null,"@faasjs/cloud_function"),e("ul",null,[e("li",null,"[Fix] Fix local mode's path issue.")])]),e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Feature] Let useify plugin returns plugin instance when it mounts.")])]),e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Don't initialize cookie and session before mount.")])])],-1),za={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.10...v0.0.3-beta.11",target:"_blank",rel:"noopener noreferrer"},Ma=e("code",null,"v0.0.3-beta.11 (2022-12-13)",-1),Xa=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix link with button.")])])],-1),Ka={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.8...v0.0.3-beta.10",target:"_blank",rel:"noopener noreferrer"},Qa=e("code",null,"v0.0.3-beta.10 (2022-12-08)",-1),Ya=e("ul",null,[e("li",null,[e("code",null,"@faasjs/react"),e("ul",null,[e("li",null,"[Fix] Auto cancel request when component unmount.")])])],-1),Za={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.6...v0.0.3-beta.8",target:"_blank",rel:"noopener noreferrer"},$a=e("code",null,"v0.0.3-beta.8 (2022-12-07)",-1),en=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add debug logs.")])]),e("li",null,[e("code",null,"@faasjs/logger"),e("ul",null,[e("li",null,"[Feature] Improve log outputs.")])])],-1),ln={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.5...v0.0.3-beta.6",target:"_blank",rel:"noopener noreferrer"},tn=e("code",null,"v0.0.3-beta.6 (2022-12-05)",-1),on=a("
    • @faasjs/cli
      • [Fix] Rollback to use lodash.
    • @faasjs/server
      • [Fix] Rollback to use lodash.
    • create-faas-app
      • [Fix] Rollback to use lodash.
    ",1),an={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.4...v0.0.3-beta.5",target:"_blank",rel:"noopener noreferrer"},nn=e("code",null,"v0.0.3-beta.5 (2022-12-02)",-1),sn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"if"),l(" in FormItem.")])])])],-1),rn={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.3...v0.0.3-beta.4",target:"_blank",rel:"noopener noreferrer"},un=e("code",null,"v0.0.3-beta.4 (2022-11-28)",-1),cn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix i18n for Table.")])])],-1),dn={href:"https://github.com/faasjs/faasjs/compare/v0.0.3-beta.2...v0.0.3-beta.3",target:"_blank",rel:"noopener noreferrer"},_n=e("code",null,"v0.0.3-beta.2 (2022-11-25)",-1),hn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Add null to table's options.")])])],-1),fn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.456...v0.0.3-beta.2",target:"_blank",rel:"noopener noreferrer"},pn=e("code",null,"v0.0.3-beta.2 (2022-11-19)",-1),bn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Break] Upgrade Ant Design to 5.x."),e("li",null,[l("[Break] Use "),e("code",null,"lodash-es"),l(" instead of "),e("code",null,"lodash"),l(".")])])])],-1),jn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.404...v0.0.2-beta.406",target:"_blank",rel:"noopener noreferrer"},vn=e("code",null,"v0.0.2-beta.406 (2022-09-01)",-1),gn=e("ul",null,[e("li",null,"[Feature] Replace peerDependencies with dependencies."),e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Convert string to dayjs instance automatically when type is date or time."),e("li",null,"[Fix] Fix extendTypes warning.")])])],-1),mn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.403...v0.0.2-beta.404",target:"_blank",rel:"noopener noreferrer"},Fn=e("code",null,"v0.0.2-beta.404 (2022-08-24)",-1),kn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix query's typescript definition.")])])],-1),xn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.402...v0.0.2-beta.403",target:"_blank",rel:"noopener noreferrer"},An=e("code",null,"v0.0.2-beta.403 (2022-08-21)",-1),yn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/redis"),e("ul",null,[e("li",null,"[Fix] Fix logger.")])])],-1),wn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.400...v0.0.2-beta.402",target:"_blank",rel:"noopener noreferrer"},qn=e("code",null,"v0.0.2-beta.402 (2022-08-20)",-1),Sn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Fix] Fix logger for testing.")])]),e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix logger.")])])],-1),Rn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.399...v0.0.2-beta.400",target:"_blank",rel:"noopener noreferrer"},Cn=e("code",null,"v0.0.2-beta.400 (2022-08-19)",-1),Dn=e("ul",null,[e("li",null,"[Break] Add request_id to all logs."),e("li",null,[l("[Break] Add "),e("code",null,"node >= 16.0.0"),l(" to "),e("code",null,"package.json"),l(".")])],-1),En={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.398...v0.0.2-beta.399",target:"_blank",rel:"noopener noreferrer"},Bn=e("code",null,"v0.0.2-beta.399 (2022-08-15)",-1),In=e("ul",null,[e("li",null,[e("code",null,"create-faas-app"),e("ul",null,[e("li",null,"[Feature] Update script and files.")])]),e("li",null,[e("code",null,"@faasjs/test"),e("ul",null,[e("li",null,"[Fix] Fix the empty config issue.")])])],-1),Tn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.397...v0.0.2-beta.398",target:"_blank",rel:"noopener noreferrer"},Ln=e("code",null,"v0.0.2-beta.398 (2022-08-07)",-1),Nn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/func"),e("ul",null,[e("li",null,"[Fix] usePlugin will add mount automatically.")])])],-1),Pn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.396...v0.0.2-beta.397",target:"_blank",rel:"noopener noreferrer"},Un=e("code",null,"v0.0.2-beta.397 (2022-08-06)",-1),Jn=a("
    • @faasjs/aws
      • [Break] Remove @faasjs/aws package.
    • @faasjs/react
      • [Feature] Export more types from @faasjs/types.
    • @faasjs/func
      • [Feature] Update documents.
      • [Remove] Remove export's config.
    ",1),On={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.395...v0.0.2-beta.396",target:"_blank",rel:"noopener noreferrer"},Gn=e("code",null,"v0.0.2-beta.396 (2022-07-27)",-1),Vn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,"[Fix] Fix query function params's type.")])])],-1),Wn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.394...v0.0.2-beta.395",target:"_blank",rel:"noopener noreferrer"},Hn=e("code",null,"v0.0.2-beta.395 (2022-07-26)",-1),zn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/request"),e("ul",null,[e("li",null,"[Feature] Add English documents.")])])],-1),Mn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.393...v0.0.2-beta.394",target:"_blank",rel:"noopener noreferrer"},Xn=e("code",null,"v0.0.2-beta.394 (2022-05-30)",-1),Kn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Fix] Fix validator.")])])],-1),Qn={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.392...v0.0.2-beta.393",target:"_blank",rel:"noopener noreferrer"},Yn=e("code",null,"v0.0.2-beta.393 (2022-04-27)",-1),Zn=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Support React 18.x.")])]),e("li",null,[e("code",null,"@faasjs/jest"),e("ul",null,[e("li",null,"[Feature] Support jest 28.x.")])])],-1),$n={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.391...v0.0.2-beta.392",target:"_blank",rel:"noopener noreferrer"},es=e("code",null,"v0.0.2-beta.392 (2022-04-14)",-1),ls=e("ul",null,[e("li",null,[e("code",null,"create-faas-app"),e("ul",null,[e("li",null,"[Break] Remove default provider.")])])],-1),ts={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.390...v0.0.2-beta.391",target:"_blank",rel:"noopener noreferrer"},os=e("code",null,"v0.0.2-beta.391 (2022-04-01)",-1),as=e("ul",null,[e("li",null,[e("code",null,"@faasjs/eslint-recommended"),e("ul",null,[e("li",null,"[Feature] Remove slow rules.")])])],-1),ns={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.389...v0.0.2-beta.390",target:"_blank",rel:"noopener noreferrer"},ss=e("code",null,"v0.0.2-beta.390 (2022-03-30)",-1),rs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Break] Remove "),e("code",null,"react-use"),l(" dependency.")])])])],-1),us={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.385...v0.0.2-beta.389",target:"_blank",rel:"noopener noreferrer"},cs=e("code",null,"v0.0.2-beta.389 (2022-03-25)",-1),is=e("ul",null,[e("li",null,[e("code",null,"@faasjs/http"),e("ul",null,[e("li",null,"[Feature] Add originBody to all response."),e("li",null,"[Fix] Fix response.")])]),e("li",null,[e("code",null,"@faasjs/knex"),e("ul",null,[e("li",null,[l("[Break] Use "),e("code",null,"better-sqlite3"),l(" as sqlite adapter.")])])])],-1),ds={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.384...v0.0.2-beta.385",target:"_blank",rel:"noopener noreferrer"},_s=e("code",null,"v0.0.2-beta.385 (2022-03-18)",-1),hs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"afterItems"),l(" to "),e("code",null,"Form"),l(".")])])])],-1),fs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.383...v0.0.2-beta.384",target:"_blank",rel:"noopener noreferrer"},ps=e("code",null,"v0.0.2-beta.384 (2022-03-03)",-1),bs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix "),e("code",null,"filterDropdown"),l(".")])])])],-1),js={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.382...v0.0.2-beta.383",target:"_blank",rel:"noopener noreferrer"},vs=e("code",null,"v0.0.2-beta.383 (2022-03-01)",-1),gs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Feature] Update i18n.")])])],-1),ms={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.380...v0.0.2-beta.382",target:"_blank",rel:"noopener noreferrer"},Fs=e("code",null,"v0.0.2-beta.382 (2022-02-28)",-1),ks=a("
    • @faasjs/jest
      • [Feature] Add new package @faasjs/jest.
    • @faasjs/ant-design
      • [Feature] Add object and object[] to FormItem.
    ",1),xs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.379...v0.0.2-beta.380",target:"_blank",rel:"noopener noreferrer"},As=e("code",null,"v0.0.2-beta.380 (2022-02-25)",-1),ys=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Add default route.")])])],-1),ws={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.378...v0.0.2-beta.379",target:"_blank",rel:"noopener noreferrer"},qs=e("code",null,"v0.0.2-beta.379 (2022-02-24)",-1),Ss=e("ul",null,[e("li",null,[e("code",null,"@faasjs/server"),e("ul",null,[e("li",null,"[Feature] Support tsx file.")])]),e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Fix] Fix submit for "),e("code",null,"Form"),l(".")])])])],-1),Rs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.375...v0.0.2-beta.378",target:"_blank",rel:"noopener noreferrer"},Cs=e("code",null,"v0.0.2-beta.378 (2022-02-23)",-1),Ds=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"beforeItems"),l(" to "),e("code",null,"Form"),l(".")]),e("li",null,"[Feature] Support pure string as children.")])])],-1),Es={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.374...v0.0.2-beta.375",target:"_blank",rel:"noopener noreferrer"},Bs=e("code",null,"v0.0.2-beta.375 (2022-02-22)",-1),Is=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"submitTo"),l(" to "),e("code",null,"Form"),l(".")])])])],-1),Ts={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.373...v0.0.2-beta.374",target:"_blank",rel:"noopener noreferrer"},Ls=e("code",null,"v0.0.2-beta.374 (2022-02-18)",-1),Ns=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"children"),l(" to "),e("code",null,"Title"),l(".")])])])],-1),Ps={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.371...v0.0.2-beta.373",target:"_blank",rel:"noopener noreferrer"},Us=e("code",null,"v0.0.2-beta.373 (2022-02-14)",-1),Js=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,"[Fix] Fix antd paths.")])])],-1),Os={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.370...v0.0.2-beta.371",target:"_blank",rel:"noopener noreferrer"},Gs=e("code",null,"v0.0.2-beta.371 (2022-02-13)",-1),Vs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"h1"),l(" to "),e("code",null,"Title"),l(".")]),e("li",null,"[Feature] Export dayjs components.")])])],-1),Ws={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.365...v0.0.2-beta.370",target:"_blank",rel:"noopener noreferrer"},Hs=e("code",null,"v0.0.2-beta.370 (2022-02-09)",-1),zs=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add DatePicker to "),e("code",null,"FormItem"),l(".")])])])],-1),Ms={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.357...v0.0.2-beta.365",target:"_blank",rel:"noopener noreferrer"},Xs=e("code",null,"v0.0.2-beta.365 (2022-02-07)",-1),Ks=e("ul",null,[e("li",null,[e("code",null,"@faasjs/graphql-server"),e("ul",null,[e("li",null,[l("[Break] Remove package "),e("code",null,"@faasjs/graphql-server"),l(".")])])])],-1),Qs={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.353...v0.0.2-beta.357",target:"_blank",rel:"noopener noreferrer"},Ys=e("code",null,"v0.0.2-beta.357 (2022-02-01)",-1),Zs=a("

    Happy Chinese New Year! 🐯 🧨

    • @faasjs/browser
      • [Break] Rename FaasData to FaasDataWrapper.
      • [Break] Rename element to render.
      • [Feature] Add data and setData to useFaas and FaasDataWrapper.
      • [Feature] Add module to package.json.
      • [Feature] Export FaasDataWrapper directly, it will use default client.
    • @faasjs/ant-design
      • [Feature] Table supports ajax mode.
    ",2),$s={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.352...v0.0.2-beta.353",target:"_blank",rel:"noopener noreferrer"},er=e("code",null,"v0.0.2-beta.353 (2022-01-30)",-1),lr=a("
    • @faasjs/ant-design
      • [Feature] Add Config.
      • [Feature] Add Title.
      • [Feature] Add Routes.
    ",1),tr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.346...v0.0.2-beta.352",target:"_blank",rel:"noopener noreferrer"},or=e("code",null,"v0.0.2-beta.348 (2022-01-29)",-1),ar=e("code",null,"@faasjs/http",-1),nr={href:"https://github.com/Germiniku",target:"_blank",rel:"noopener noreferrer"},sr=a("
  • @faasjs/ant-design
    • [Feature] Add Drawer and useDrawer.
    • [Feature] Add data and setData to FaasDataWrapper.
  • @faasjs/eslint-config-recommended
    • [Feature] Add *.mjs to files.
  • ",2),rr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.345...v0.0.2-beta.346",target:"_blank",rel:"noopener noreferrer"},ur=e("code",null,"v0.0.2-beta.346 (2022-01-17)",-1),cr=a("
    • @faasjs/ant-design
      • [Feature] Add options to baseItemProps.
    • @faasjs/knex
      • [Feature] upgrade to knex v1.0.0.
      • [Feature] use @vscode/sqlite3 instead of sqlite3.
    ",1),ir={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.342...v0.0.2-beta.345",target:"_blank",rel:"noopener noreferrer"},dr=e("code",null,"v0.0.2-beta.345 (2022-01-15)",-1),_r=a("
    • @faasjs/ant-design
      • [Feature] Add options to Description and Table.
      • [Feature] Add Blank.
      • [Feature] Add filter to boolean in Table.
    • @faasjs/server
      • [Feature] use randomBytes to generate requestId.
      • [Feature] add queryString to event.
    ",1),hr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.341...v0.0.2-beta.342",target:"_blank",rel:"noopener noreferrer"},fr=e("code",null,"v0.0.2-beta.342 (2022-01-13)",-1),pr=a("
    • @faasjs/ant-design
      • [Feature] Add faasData to Table and Description.
    • @faasjs/react
      • [Feature] Add getClient.
    ",1),br={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.337...v0.0.2-beta.341",target:"_blank",rel:"noopener noreferrer"},jr=e("code",null,"v0.0.2-beta.341 (2022-01-12)",-1),vr=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"extend"),l(" to "),e("code",null,"Form"),l(", "),e("code",null,"Description"),l(" and "),e("code",null,"Table"),l(".")])])])],-1),gr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.334...v0.0.2-beta.337",target:"_blank",rel:"noopener noreferrer"},mr=e("code",null,"v0.0.2-beta.337 (2022-01-11)",-1),Fr=e("ul",null,[e("li",null,[e("code",null,"@faasjs/ant-design"),e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"render"),l(" to "),e("code",null,"Description"),l(".")]),e("li",null,[l("[Feature] Add submit options to "),e("code",null,"Form"),l(".")])])])],-1),kr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.331...v0.0.2-beta.334",target:"_blank",rel:"noopener noreferrer"},xr=e("code",null,"v0.0.2-beta.334 (2022-01-10)",-1),Ar=e("ul",null,[e("li",null,[l("[Remove] "),e("code",null,"@faasjs/logger"),l(" remove default export.")]),e("li",null,[l("[Remove] "),e("code",null,"@faasjs/request"),l(" remove default export.")]),e("li",null,[l("[Remove] "),e("code",null,"@faasjs/deep_merge"),l(" remove default export.")])],-1),yr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.328...v0.0.2-beta.331",target:"_blank",rel:"noopener noreferrer"},wr=e("code",null,"v0.0.2-beta.331 (2022-01-05)",-1),qr=a("
    • @faasjs/ant-design
      • [Feature] Add maxCount to FormItem.
      • [Feature] Add string[] and number[] to options.
    ",1),Sr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.326...v0.0.2-beta.328",target:"_blank",rel:"noopener noreferrer"},Rr=e("code",null,"v0.0.2-beta.328 (2022-01-04)",-1),Cr=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/ant-design"),l(" add "),e("code",null,"options"),l(" as a select to "),e("code",null,"FormItem"),l(".")])],-1),Dr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.324...v0.0.2-beta.326",target:"_blank",rel:"noopener noreferrer"},Er=e("code",null,"v0.0.2-beta.326 (2022-01-04)",-1),Br=e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/ts-transform"),l(".")])],-1),Ir={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.323...v0.0.2-beta.324",target:"_blank",rel:"noopener noreferrer"},Tr=e("code",null,"v0.0.2-beta.324 (2021-12-28)",-1),Lr=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/browser"),l(" fix cookie.")])],-1),Nr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.321...v0.0.2-beta.323",target:"_blank",rel:"noopener noreferrer"},Pr=e("code",null,"v0.0.2-beta.323 (2021-12-27)",-1),Ur=a("
    • [Feature] @faasjs/ant-design add input to FormItem.
    • [Feature] @faasjs/ant-design export useForm.
    ",1),Jr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.314...v0.0.2-beta.321",target:"_blank",rel:"noopener noreferrer"},Or=e("code",null,"v0.0.2-beta.321 (2021-12-26)",-1),Gr=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/load"),l(" fix node resolve issue.")]),e("li",null,[l("[Feature] replace "),e("code",null,"ts-node"),l(" with "),e("code",null,"swc"),l(".")])],-1),Vr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.313...v0.0.2-beta.314",target:"_blank",rel:"noopener noreferrer"},Wr=e("code",null,"v0.0.2-beta.314 (2021-12-25)",-1),Hr=e("ul",null,[e("li",null,[l("[Feature] use "),e("code",null,"tsup"),l(" to build packages.")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" remove "),e("code",null,"vm2"),l(".")])],-1),zr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.311...v0.0.2-beta.313",target:"_blank",rel:"noopener noreferrer"},Mr=e("code",null,"v0.0.2-beta.313 (2021-12-24)",-1),Xr=e("ul",null,[e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/types"),l(" to "),e("code",null,"faasjs"),l(".")]),e("li",null,[l("[Feature] Add "),e("code",null,"@faasjs/ant-design"),l(".")])],-1),Kr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.309...v0.0.2-beta.311",target:"_blank",rel:"noopener noreferrer"},Qr=e("code",null,"v0.0.2-beta.313 (2021-12-21)",-1),Yr=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" upgrade api.")]),e("li",null,[l("[Feature] replace "),e("code",null,"@sucrase/jest-plugin"),l(" with "),e("code",null,"@swc/jest"),l(".")])],-1),Zr={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.298...v0.0.2-beta.309",target:"_blank",rel:"noopener noreferrer"},$r=e("code",null,"v0.0.2-beta.309 (2021-12-18)",-1),eu=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/react"),l(" fix types.")])],-1),lu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.295...v0.0.2-beta.298",target:"_blank",rel:"noopener noreferrer"},tu=e("code",null,"v0.0.2-beta.298 (2021-12-16)",-1),ou=e("ul",null,[e("li",null,[l("[Fix] "),e("code",null,"@faasjs/browser"),l(" fix "),e("code",null,"data"),l(" and "),e("code",null,"onError"),l(".")])],-1),au={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.295...v0.0.2-beta.298",target:"_blank",rel:"noopener noreferrer"},nu=e("code",null,"v0.0.2-beta.295 (2021-12-15)",-1),su=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" replace "),e("code",null,"XMLHttpRequest"),l(" with "),e("code",null,"fetch"),l(".")])],-1),ru={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.292...v0.0.2-beta.295",target:"_blank",rel:"noopener noreferrer"},uu=e("code",null,"v0.0.2-beta.295 (2021-12-14)",-1),cu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" export "),e("code",null,"ValidatorConfig"),l(".")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" add "),e("code",null,"FaasActions"),l(".")])],-1),iu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.285...v0.0.2-beta.292",target:"_blank",rel:"noopener noreferrer"},du=e("code",null,"v0.0.2-beta.292 (2021-12-12)",-1),_u=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" add "),e("code",null,"FaasData"),l(".")])],-1),hu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.280...v0.0.2-beta.285",target:"_blank",rel:"noopener noreferrer"},fu=e("code",null,"v0.0.2-beta.285 (2021-12-10)",-1),pu=a("
    • [Feature] @faasjs/reactuseFaas 新增导出 setLoadingsetPromisesetDatasetError 参数,用于自定义数据加载。
    ",1),bu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.278...v0.0.2-beta.280",target:"_blank",rel:"noopener noreferrer"},ju=e("code",null,"v0.0.2-beta.280 (2021-12-07)",-1),vu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 中 "),e("code",null,"beforeRequest"),l(" 配置项允许传入异步函数。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 内置 "),e("code",null,"CORS"),l(" 支持。")])],-1),gu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.275...v0.0.2-beta.278",target:"_blank",rel:"noopener noreferrer"},mu=e("code",null,"v0.0.2-beta.278 (2021-12-06)",-1),Fu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化单体应用模式下的日志输出。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 新增 "),e("code",null,"http.body"),l(" 属性,用于获取原始请求体。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 简化日志输出。")])],-1),ku={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.273...v0.0.2-beta.275",target:"_blank",rel:"noopener noreferrer"},xu=e("code",null,"v0.0.2-beta.275 (2021-12-05)",-1),Au=a("
    • [Feature] faasjs 默认依赖包移除 @faasjs/tencentcloud,使用腾讯云的服务须手动添加依赖。
    • [Feature] @faasjs/browser@faasjs/react@faasjs/vue-plugin 编译版本升级到 es2017
    ",1),yu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.271...v0.0.2-beta.273",target:"_blank",rel:"noopener noreferrer"},wu=e("code",null,"v0.0.2-beta.273 (2021-12-03)",-1),qu=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/aws"),l(" 新增 AWS 适配器。")])],-1),Su={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.269...v0.0.2-beta.271",target:"_blank",rel:"noopener noreferrer"},Ru=e("code",null,"v0.0.2-beta.271 (2021-11-29)",-1),Cu=a("
    • [Feature] @faasjs/redis 使用 ioredis 替代 redis
    • [Feature] @faasjs/tencentcloud 优化重复代码。
    • [Feature] @faasjs/cli 优化日志提示。
    • [修复] @faasjs/tencentcloud 修正打包时未将 .d.ts 等文件移除的问题。
    ",1),Du={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.268...v0.0.2-beta.269",target:"_blank",rel:"noopener noreferrer"},Eu=e("code",null,"v0.0.2-beta.269 (2021-11-01)",-1),Bu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 新增代码包启动计时(此时间为冷启动的一部分)。")])],-1),Iu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.267...v0.0.2-beta.268",target:"_blank",rel:"noopener noreferrer"},Tu=e("code",null,"v0.0.2-beta.268 (2021-10-28)",-1),Lu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 移除 "),e("code",null,"eslint-plugin-jest"),l("。")])],-1),Nu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.266...v0.0.2-beta.267",target:"_blank",rel:"noopener noreferrer"},Pu=e("code",null,"v0.0.2-beta.267 (2021-10-25)",-1),Uu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),Ju={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.263...v0.0.2-beta.266",target:"_blank",rel:"noopener noreferrer"},Ou=e("code",null,"v0.0.2-beta.266 (2021-10-24)",-1),Gu=e("ul",null,[e("li",null,[l("[Feature] 将项目的 ts 编译设置为 "),e("code",null,"strict"),l(" 模式。")])],-1),Vu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.260...v0.0.2-beta.263",target:"_blank",rel:"noopener noreferrer"},Wu=e("code",null,"v0.0.2-beta.263 (2021-10-16)",-1),Hu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 修正 "),e("code",null,"FuncWarper"),l(" 为正确的拼写。")])],-1),zu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.258...v0.0.2-beta.260",target:"_blank",rel:"noopener noreferrer"},Mu=e("code",null,"v0.0.2-beta.260 (2021-10-13)",-1),Xu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化部分 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化部分 ts 定义。")])],-1),Ku={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.257...v0.0.2-beta.258",target:"_blank",rel:"noopener noreferrer"},Qu=e("code",null,"v0.0.2-beta.258 (2021-10-12)",-1),Yu=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 对于小于 100 字节的内容不压缩。")])],-1),Zu={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.256...v0.0.2-beta.257",target:"_blank",rel:"noopener noreferrer"},$u=e("code",null,"v0.0.2-beta.257 (2021-10-11)",-1),ec=a("
    • [Feature] @faasjs/redis 新增 getJSONsetJSON 方法。
    • [Feature] vscode/faasjs-snippets 新增 http validator 代码块。
    ",1),lc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.254...v0.0.2-beta.256",target:"_blank",rel:"noopener noreferrer"},tc=e("code",null,"v0.0.2-beta.256 (2021-10-04)",-1),oc=e("ul",null,[e("li",null,[l("[Feature] 采用 "),e("code",null,"npm"),l(" 替代 "),e("code",null,"yarn"),l(",并将部分关联依赖改为 "),e("code",null,"peerDependencies"),l("。")])],-1),ac={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.253...v0.0.2-beta.254",target:"_blank",rel:"noopener noreferrer"},nc=e("code",null,"v0.0.2-beta.254 (2021-09-26)",-1),sc=e("ul",null,[e("li",null,[l("[移除] "),e("code",null,"@faasjs/kafka"),l("。")]),e("li",null,[l("[修正] "),e("code",null,"@faasjs/react"),l(" 修正加载错误。")])],-1),rc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.251...v0.0.2-beta.253",target:"_blank",rel:"noopener noreferrer"},uc=e("code",null,"v0.0.2-beta.253 (2021-09-24)",-1),cc=a("
    • [移除] @faasjs/sql 移除,使用 @faasjs/knex 代替。
    • [Feature] VS Code 插件 faasjs-snippets 添加更多代码片段。
    • [Feature] @faasjs/cloud_functionconfig 参数改为 public
    ",1),ic={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.244...v0.0.2-beta.251",target:"_blank",rel:"noopener noreferrer"},dc=e("code",null,"v0.0.2-beta.251 (2021-09-17)",-1),_c=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 支持 CDN。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 支持 CDN。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/vue-plugin"),l(" 支持 CDN。")])],-1),hc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.243...v0.0.2-beta.244",target:"_blank",rel:"noopener noreferrer"},fc=e("code",null,"v0.0.2-beta.244 (2021-09-16)",-1),pc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/deep_merge"),l(" 导出 "),e("code",null,"deepMerge"),l(" 方法。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 导出 "),e("code",null,"Logger"),l(" 类。")])],-1),bc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.241...v0.0.2-beta.243",target:"_blank",rel:"noopener noreferrer"},jc=e("code",null,"v0.0.2-beta.243 (2021-09-15)",-1),vc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 将本地 mock 功能移到 "),e("code",null,"@faasjs/cloud_function"),l("。")])],-1),gc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.240...v0.0.2-beta.241",target:"_blank",rel:"noopener noreferrer"},mc=e("code",null,"v0.0.2-beta.241 (2021-09-13)",-1),Fc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 环境变量不再强制覆盖 region。")])],-1),kc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.238...v0.0.2-beta.240",target:"_blank",rel:"noopener noreferrer"},xc=e("code",null,"v0.0.2-beta.240 (2021-09-11)",-1),Ac=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增 "),e("code",null,"reload"),l(" 方法。")])],-1),yc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.237...v0.0.2-beta.238",target:"_blank",rel:"noopener noreferrer"},wc=e("code",null,"v0.0.2-beta.238 (2021-09-07)",-1),qc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 添加 "),e("code",null,"filename"),l(" 属性。")])],-1),Sc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.234...v0.0.2-beta.237",target:"_blank",rel:"noopener noreferrer"},Rc=e("code",null,"v0.0.2-beta.237 (2021-09-05)",-1),Cc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化并导出 "),e("code",null,"request"),l(" 方法。")])],-1),Dc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.232...v0.0.2-beta.234",target:"_blank",rel:"noopener noreferrer"},Ec=e("code",null,"v0.0.2-beta.234 (2021-09-03)",-1),Bc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/redis"),l(" 导出 "),e("code",null,"get"),l(" 和 "),e("code",null,"set"),l(" 方法。")])],-1),Ic={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.231...v0.0.2-beta.232",target:"_blank",rel:"noopener noreferrer"},Tc=e("code",null,"v0.0.2-beta.232 (2021-09-01)",-1),Lc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/cli"),l(" 修正部署时内存泄露的问题。")])],-1),Nc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.231...v0.0.2-beta.232",target:"_blank",rel:"noopener noreferrer"},Pc=e("code",null,"v0.0.2-beta.232 (2021-08-30)",-1),Uc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 修正日志输出。")])],-1),Jc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.230...v0.0.2-beta.231",target:"_blank",rel:"noopener noreferrer"},Oc=e("code",null,"v0.0.2-beta.231 (2021-08-29)",-1),Gc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/http"),l(" 修正 "),e("code",null,"HttpError"),l(" 的问题。")])],-1),Vc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.220...v0.0.2-beta.230",target:"_blank",rel:"noopener noreferrer"},Wc=e("code",null,"v0.0.2-beta.230 (2021-08-27)",-1),Hc=e("ul",null,[e("li",null,"[Feature] 常用函数通过 export 直接导出。")],-1),zc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.219...v0.0.2-beta.220",target:"_blank",rel:"noopener noreferrer"},Mc=e("code",null,"v0.0.2-beta.220 (2021-07-30)",-1),Xc=e("ul",null,[e("li",null,[l("[修正] "),e("code",null,"@faasjs/tencentcloud"),l(" 使用最新的环境变量。")])],-1),Kc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.218...v0.0.2-beta.219",target:"_blank",rel:"noopener noreferrer"},Qc=e("code",null,"v0.0.2-beta.219 (2021-07-28)",-1),Yc=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化 invoke 数据。")])],-1),Zc={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.216...v0.0.2-beta.218",target:"_blank",rel:"noopener noreferrer"},$c=e("code",null,"v0.0.2-beta.218 (2021-07-26)",-1),e0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化代码风格规范。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/mongo"),l(" 支持 "),e("code",null,"mongodb"),l(" 新版本。")])],-1),l0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.215...v0.0.2-beta.216",target:"_blank",rel:"noopener noreferrer"},t0=e("code",null,"v0.0.2-beta.216 (2021-07-26)",-1),o0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化时间签名。")])],-1),a0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.214...v0.0.2-beta.215",target:"_blank",rel:"noopener noreferrer"},n0=e("code",null,"v0.0.2-beta.215 (2021-07-13)",-1),s0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 支持 "),e("code",null,"apollo-server-core"),l(" 新版本。")])],-1),r0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.212...v0.0.2-beta.214",target:"_blank",rel:"noopener noreferrer"},u0=e("code",null,"v0.0.2-beta.214 (2021-07-12)",-1),c0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化代码风格规范。")])],-1),i0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.209...v0.0.2-beta.212",target:"_blank",rel:"noopener noreferrer"},d0=e("code",null,"v0.0.2-beta.212 (2021-07-10)",-1),_0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署命令如果使用 "),e("code",null,"-c"),l(" 参数,默认读取最近的 commit 日志。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化日志。")]),e("li",null,[l("[删除] 删除 "),e("code",null,"@faasjs/nuxt"),l(" 插件。")])],-1),h0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.207...v0.0.2-beta.209",target:"_blank",rel:"noopener noreferrer"},f0=e("code",null,"v0.0.2-beta.209 (2021-07-02)",-1),p0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 退出时自动关闭连接。")])],-1),b0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.204...v0.0.2-beta.207",target:"_blank",rel:"noopener noreferrer"},j0=e("code",null,"v0.0.2-beta.207 (2021-07-01)",-1),v0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 使用 "),e("code",null,"@rollup/plugin-typescript"),l(" 替代 rpt2。")])],-1),g0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.201...v0.0.2-beta.204",target:"_blank",rel:"noopener noreferrer"},m0=e("code",null,"v0.0.2-beta.204 (2021-06-29)",-1),F0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 新增 "),e("code",null,"commit"),l(" 参数,批量部署被修改的云函数。")])],-1),k0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.198...v0.0.2-beta.201",target:"_blank",rel:"noopener noreferrer"},x0=e("code",null,"v0.0.2-beta.201 (2021-06-28)",-1),A0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化腾讯云接口。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 配置优先级调整为:环境变量 > 代码配置项 > yaml 配置项。")])],-1),y0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.197...v0.0.2-beta.198",target:"_blank",rel:"noopener noreferrer"},w0=e("code",null,"v0.0.2-beta.198 (2021-06-23)",-1),q0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 提速 ts-node,编译时不检查 ts 定义。")])],-1),S0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.193...v0.0.2-beta.197",target:"_blank",rel:"noopener noreferrer"},R0=e("code",null,"v0.0.2-beta.197 (2021-06-21)",-1),C0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),D0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.191...v0.0.2-beta.193",target:"_blank",rel:"noopener noreferrer"},E0=e("code",null,"v0.0.2-beta.193 (2021-06-20)",-1),B0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),I0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.188...v0.0.2-beta.191",target:"_blank",rel:"noopener noreferrer"},T0=e("code",null,"v0.0.2-beta.191 (2021-06-18)",-1),L0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 使用 vm2 加载测试云函数。")])],-1),N0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.185...v0.0.2-beta.188",target:"_blank",rel:"noopener noreferrer"},P0=e("code",null,"v0.0.2-beta.188 (2021-06-17)",-1),U0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 仅在启动 server 时引入 ts-node。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修正部署大量云函数时内存泄露的问题。")]),e("li",null,[l("[Feature] 示例新增 "),e("code",null,"jwt"),l(" 项目示例。")])],-1),J0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.179...v0.0.2-beta.185",target:"_blank",rel:"noopener noreferrer"},O0=e("code",null,"v0.0.2-beta.185 (2021-06-14)",-1),G0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/browser"),l(" 新增 "),e("code",null,"beforeRequest"),l(" 参数。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复部分入参无效的问题。")])],-1),V0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.178...v0.0.2-beta.179",target:"_blank",rel:"noopener noreferrer"},W0=e("code",null,"v0.0.2-beta.179 (2021-06-12)",-1),H0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 "),e("code",null,"beforeValid"),l("。")])],-1),z0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.175...v0.0.2-beta.178",target:"_blank",rel:"noopener noreferrer"},M0=e("code",null,"v0.0.2-beta.178 (2021-06-08)",-1),X0=e("ul",null,[e("li",null,[l("[移除] 为了简化和统一数据库读写,移除 "),e("code",null,"@faasjs/typeorm"),l(" 和 "),e("code",null,"@faasjs/sequelize"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 新增 "),e("code",null,"beforeValid"),l(",用于构建包含自定义请求校验的 http 插件。")])],-1),K0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.174...v0.0.2-beta.175",target:"_blank",rel:"noopener noreferrer"},Q0=e("code",null,"v0.0.2-beta.175 (2021-05-19)",-1),Y0=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/knex"),l(" 优化 transaction 的 ts 定义。")])],-1),Z0={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.170...v0.0.2-beta.174",target:"_blank",rel:"noopener noreferrer"},$0=e("code",null,"v0.0.2-beta.174 (2021-05-19)",-1),ei=a("
    • [Feature] @faasjs/cli 部署时对文件名进行检查。
    • [Feature] @faasjs/cli 部署命令添加 ar 参数,默认自动重试 3 次。
    • [Feature] @faasjs/knex 部署时检查适配器依赖项是否添加。
    • [修复] @faasjs/tencentcloud 修复部分情况下依赖项错误的问题。
    ",1),li={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.169...v0.0.2-beta.170",target:"_blank",rel:"noopener noreferrer"},ti=e("code",null,"v0.0.2-beta.170 (2021-04-23)",-1),oi=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复插件排序错误的问题。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复插件名字错误的问题。")])],-1),ai={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.167...v0.0.2-beta.169",target:"_blank",rel:"noopener noreferrer"},ni=e("code",null,"v0.0.2-beta.169 (2021-04-22)",-1),si=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署失败时,优化错误提示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 新增 -w 参数,设置并发数。")])],-1),ri={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.163...v0.0.2-beta.167",target:"_blank",rel:"noopener noreferrer"},ui=e("code",null,"v0.0.2-beta.167 (2021-04-19)",-1),ci=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 部署多个云函数时,自动根据 CPU 数量进行多进程部署。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化多进程部署时的日志显示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 测试环境下禁用缓存。")])],-1),ii={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.162...v0.0.2-beta.163",target:"_blank",rel:"noopener noreferrer"},di=e("code",null,"v0.0.2-beta.163 (2021-04-16)",-1),_i=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 和 "),e("code",null,"@faasjs/browser"),l(" action 自动转小写。")])],-1),hi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.161...v0.0.2-beta.162",target:"_blank",rel:"noopener noreferrer"},fi=e("code",null,"v0.0.2-beta.162 (2021-04-15)",-1),pi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 支持部署失败时重试。")])],-1),bi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.160...v0.0.2-beta.161",target:"_blank",rel:"noopener noreferrer"},ji=e("code",null,"v0.0.2-beta.161 (2021-04-12)",-1),vi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" 新增 parse 配置项。")])],-1),gi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.158...v0.0.2-beta.160",target:"_blank",rel:"noopener noreferrer"},mi=e("code",null,"v0.0.2-beta.160 (2021-04-08)",-1),Fi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/knex"),l(" 优化 knex 的 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql"),l(" 优化 graphql 依赖项。")])],-1),ki={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.155...v0.0.2-beta.158",target:"_blank",rel:"noopener noreferrer"},xi=e("code",null,"v0.0.2-beta.158 (2021-04-01)",-1),Ai=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数插件某些情况下未加载的问题。")])],-1),yi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.153...v0.0.2-beta.155",target:"_blank",rel:"noopener noreferrer"},wi=e("code",null,"v0.0.2-beta.155 (2021-02-04)",-1),qi=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/eslint-config-react"),l("。")])],-1),Si={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.151...v0.0.2-beta.153",target:"_blank",rel:"noopener noreferrer"},Ri=e("code",null,"v0.0.2-beta.153 (2021-02-04)",-1),Ci=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复日志等级错误的问题。")])],-1),Di={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.144...v0.0.2-beta.151",target:"_blank",rel:"noopener noreferrer"},Ei=e("code",null,"v0.0.2-beta.151 (2021-01-26)",-1),Bi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化打包机制。")])],-1),Ii={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.140...v0.0.2-beta.144",target:"_blank",rel:"noopener noreferrer"},Ti=e("code",null,"v0.0.2-beta.144 (2021-01-14)",-1),Li=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新网关发布接口。")])],-1),Ni={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.135...v0.0.2-beta.140",target:"_blank",rel:"noopener noreferrer"},Pi=e("code",null,"v0.0.2-beta.140 (2021-01-07)",-1),Ui=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 升级 js-yaml 版本。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 更新内置库。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/typeorm"),l(" 支持 "),e("code",null,"useTypeORM"),l("。")])],-1),Ji={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.131...v0.0.2-beta.135",target:"_blank",rel:"noopener noreferrer"},Oi=e("code",null,"v0.0.2-beta.135 (2020-12-25)",-1),Gi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 优化日志输出。")])],-1),Vi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.126...v0.0.2-beta.131",target:"_blank",rel:"noopener noreferrer"},Wi=e("code",null,"v0.0.2-beta.131 (2020-12-19)",-1),Hi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/create-faas-app"),l(" 优化命令行。")])],-1),zi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.125...v0.0.2-beta.126",target:"_blank",rel:"noopener noreferrer"},Mi=e("code",null,"v0.0.2-beta.126 (2020-12-14)",-1),Xi=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/knex"),l(" 修复 raw 的 ts 定义。")])],-1),Ki={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.124...v0.0.2-beta.125",target:"_blank",rel:"noopener noreferrer"},Qi=e("code",null,"v0.0.2-beta.125 (2020-12-10)",-1),Yi=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 优化规则。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 优化 ts 定义。")])],-1),Zi={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.122...v0.0.2-beta.124",target:"_blank",rel:"noopener noreferrer"},$i=e("code",null,"v0.0.2-beta.124 (2020-12-04)",-1),ed=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" config 支持传入一个 function。")])],-1),ld={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.121...v0.0.2-beta.122",target:"_blank",rel:"noopener noreferrer"},td=e("code",null,"v0.0.2-beta.122 (2020-11-30)",-1),od=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 优化规则。")])],-1),ad={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.119...v0.0.2-beta.121",target:"_blank",rel:"noopener noreferrer"},nd=e("code",null,"v0.0.2-beta.121 (2020-11-21)",-1),sd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复重复引用文件的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" debug 模式下显示更详细的日志。")])],-1),rd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.118...v0.0.2-beta.119",target:"_blank",rel:"noopener noreferrer"},ud=e("code",null,"v0.0.2-beta.119 (2020-11-19)",-1),cd=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/kafka"),l("。")])],-1),id={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.117...v0.0.2-beta.118",target:"_blank",rel:"noopener noreferrer"},dd=e("code",null,"v0.0.2-beta.118 (2020-11-13)",-1),_d=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/knex"),l(" 修复 knex 连接。")])],-1),hd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.116...v0.0.2-beta.117",target:"_blank",rel:"noopener noreferrer"},fd=e("code",null,"v0.0.2-beta.117 (2020-11-12)",-1),pd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/test"),l(" 补充 headers 的 ts 定义。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 优化插件的日志显示。")])],-1),bd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.115...v0.0.2-beta.116",target:"_blank",rel:"noopener noreferrer"},jd=e("code",null,"v0.0.2-beta.116 (2020-10-30)",-1),vd=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cloud_function"),l(" 修复本地调试时没 context 时的报错。")])],-1),gd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.114...v0.0.2-beta.115",target:"_blank",rel:"noopener noreferrer"},md=e("code",null,"v0.0.2-beta.115 (2020-10-28)",-1),Fd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增返回 "),e("code",null,"promise"),l(" 对象。")])],-1),kd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.112...v0.0.2-beta.114",target:"_blank",rel:"noopener noreferrer"},xd=e("code",null,"v0.0.2-beta.114 (2020-10-15)",-1),Ad=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 压缩后添加 originBody 以便日志查看。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 移除 context 中的 function 等无法序列化的内容。")])],-1),yd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.107...v0.0.2-beta.112",target:"_blank",rel:"noopener noreferrer"},wd=e("code",null,"v0.0.2-beta.112 (2020-10-14)",-1),qd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 默认使用 brotli 压缩。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/http"),l(" 修复没有 body 时也压缩的 bug。")])],-1),Sd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.106...v0.0.2-beta.107",target:"_blank",rel:"noopener noreferrer"},Rd=e("code",null,"v0.0.2-beta.107 (2020-10-13)",-1),Cd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 支持 gzip 压缩。")]),e("li",null,[l("[删除] 禁用并删除 "),e("code",null,"@faasjs/cos-secrets"),l(",请使用 CFS 替代。")])],-1),Dd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.105...v0.0.2-beta.106",target:"_blank",rel:"noopener noreferrer"},Ed=e("code",null,"v0.0.2-beta.106 (2020-09-30)",-1),Bd=e("ul",null,[e("li",null,"[Feature] 优化 ts 定义。")],-1),Id={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.104...v0.0.2-beta.105",target:"_blank",rel:"noopener noreferrer"},Td=e("code",null,"v0.0.2-beta.105 (2020-09-16)",-1),Ld=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l("优化日志。")])],-1),Nd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.101...v0.0.2-beta.104",target:"_blank",rel:"noopener noreferrer"},Pd=e("code",null,"v0.0.2-beta.104 (2020-09-14)",-1),Ud=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/request"),l(" 新增 pfx 和 passphrase 配置项。")])],-1),Jd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.100...v0.0.2-beta.101",target:"_blank",rel:"noopener noreferrer"},Od=e("code",null,"v0.0.2-beta.101 (2020-09-09)",-1),Gd=e("ul",null,[e("li",null,"[修复] 修复日志 bug。")],-1),Vd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.96...v0.0.2-beta.100",target:"_blank",rel:"noopener noreferrer"},Wd=e("code",null,"v0.0.2-beta.100 (2020-09-07)",-1),Hd=e("ul",null,[e("li",null,"[修复] 修复函数式编程接口的 bug。")],-1),zd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.95...v0.0.2-beta.96",target:"_blank",rel:"noopener noreferrer"},Md=e("code",null,"v0.0.2-beta.96 (2020-08-28)",-1),Xd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云函数配置项。")])],-1),Kd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.94...v0.0.2-beta.95",target:"_blank",rel:"noopener noreferrer"},Qd=e("code",null,"v0.0.2-beta.95 (2020-08-21)",-1),Yd=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/react"),l(" 新增 "),e("code",null,"onError"),l(" 配置项。")])],-1),Zd={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.93...v0.0.2-beta.94",target:"_blank",rel:"noopener noreferrer"},$d=e("code",null,"v0.0.2-beta.94 (2020-08-11)",-1),e_=e("ul",null,[e("li",null,"[Feature] 更新 ts 定义。")],-1),l_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.88...v0.0.2-beta.93",target:"_blank",rel:"noopener noreferrer"},t_=e("code",null,"v0.0.2-beta.93 (2020-08-07)",-1),o_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 多个请求时排队处理。")])],-1),a_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.87...v0.0.2-beta.88",target:"_blank",rel:"noopener noreferrer"},n_=e("code",null,"v0.0.2-beta.88 (2020-08-06)",-1),s_=e("ul",null,[e("li",null,"[Feature] 优化 ts 定义及相关测试用例。")],-1),r_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.86...v0.0.2-beta.87",target:"_blank",rel:"noopener noreferrer"},u_=e("code",null,"v0.0.2-beta.87 (2020-08-03)",-1),c_=e("ul",null,[e("li",null,"[Feature] 优化日志输出格式。")],-1),i_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.85...v0.0.2-beta.86",target:"_blank",rel:"noopener noreferrer"},d_=e("code",null,"v0.0.2-beta.86 (2020-08-02)",-1),__=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/redis"),l(" 支持 "),e("code",null,"useRedis"),l("。")])],-1),h_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.84...v0.0.2-beta.85",target:"_blank",rel:"noopener noreferrer"},f_=e("code",null,"v0.0.2-beta.85 (2020-07-31)",-1),p_=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/knex"),l("。")]),e("li",null,"[Feature] 优化 useFunc 及 usePlugin。")],-1),b_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.82...v0.0.2-beta.84",target:"_blank",rel:"noopener noreferrer"},j_=e("code",null,"v0.0.2-beta.84 (2020-07-27)",-1),v_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云API v3。")])],-1),g_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.80...v0.0.2-beta.82",target:"_blank",rel:"noopener noreferrer"},m_=e("code",null,"v0.0.2-beta.82 (2020-07-16)",-1),F_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化触发器更新机制。")])],-1),k_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.79...v0.0.2-beta.80",target:"_blank",rel:"noopener noreferrer"},x_=e("code",null,"v0.0.2-beta.80 (2020-07-15)",-1),A_=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/react"),l(",提供 "),e("code",null,"faas"),l(" 和 "),e("code",null,"useFaas"),l(" 两种风格的接口。")])],-1),y_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.78...v0.0.2-beta.79",target:"_blank",rel:"noopener noreferrer"},w_=e("code",null,"v0.0.2-beta.79 (2020-07-13)",-1),q_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 修复没有响应内容时的报错。")])],-1),S_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.77...v0.0.2-beta.78",target:"_blank",rel:"noopener noreferrer"},R_=e("code",null,"v0.0.2-beta.78 (2020-07-09)",-1),C_=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"create-faas-app"),l(" 删除旧的 babel 配置,改成 ts-jest。")]),e("li",null,"[修复] 修复示例项目的 package.json。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化 ts 支持。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/server"),l(" 修正没有响应内容时的出错。")])],-1),D_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.76...v0.0.2-beta.77",target:"_blank",rel:"noopener noreferrer"},E_=e("code",null,"v0.0.2-beta.77 (2020-06-19)",-1),B_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化无缓存情况下的热加载。")])],-1),I_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.70...v0.0.2-beta.76",target:"_blank",rel:"noopener noreferrer"},T_=e("code",null,"v0.0.2-beta.76 (2020-06-19)",-1),L_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化无缓存情况下的热加载。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 将 Node.js 默认版本升级到 12.16。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化 ts 支持。")])],-1),N_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.69...v0.0.2-beta.70",target:"_blank",rel:"noopener noreferrer"},P_=e("code",null,"v0.0.2-beta.70 (2020-06-10)",-1),U_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化缓存。")])],-1),J_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.67...v0.0.2-beta.69",target:"_blank",rel:"noopener noreferrer"},O_=e("code",null,"v0.0.2-beta.69 (2020-06-03)",-1),G_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/logger"),l(" 云函数环境下,删除日志中的换行符。")])],-1),V_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.66...v0.0.2-beta.67",target:"_blank",rel:"noopener noreferrer"},W_=e("code",null,"v0.0.2-beta.67 (2020-06-02)",-1),H_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 优化日志显示和 ts 类型。")])],-1),z_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.65...v0.0.2-beta.66",target:"_blank",rel:"noopener noreferrer"},M_=e("code",null,"v0.0.2-beta.66 (2020-05-28)",-1),X_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 支持直接测试云函数,而非云函数文件。")])],-1),K_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.64...v0.0.2-beta.65",target:"_blank",rel:"noopener noreferrer"},Q_=e("code",null,"v0.0.2-beta.65 (2020-05-26)",-1),Y_=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 优化规则。")])],-1),Z_={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.63...v0.0.2-beta.64",target:"_blank",rel:"noopener noreferrer"},$_=e("code",null,"v0.0.2-beta.64 (2020-05-25)",-1),e2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 中 "),e("code",null,"mount"),l(" 方法支持传入一个初始化后执行的函数。")])],-1),l2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.61...v0.0.2-beta.63",target:"_blank",rel:"noopener noreferrer"},t2=e("code",null,"v0.0.2-beta.63 (2020-05-18)",-1),o2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 新增 "),e("code",null,"mount"),l(" 方法,"),e("code",null,"JSONHandler"),l(" 方法支持 cookie 和 session 入参。")])],-1),a2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.59...v0.0.2-beta.61",target:"_blank",rel:"noopener noreferrer"},n2=e("code",null,"v0.0.2-beta.61 (2020-05-17)",-1),s2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cos-secrets"),l(" 支持密钥文件。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 禁用腾讯云内置的旧版 "),e("code",null,"request"),l("。")])],-1),r2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.57...v0.0.2-beta.59",target:"_blank",rel:"noopener noreferrer"},u2=e("code",null,"v0.0.2-beta.59 (2020-05-06)",-1),c2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/func"),l(" 强制设定 "),e("code",null,"context.callbackWaitsForEmptyEventLoop = false"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 禁用腾讯云内置的旧版 "),e("code",null,"tencentcloud-sdk-nodejs"),l("。")])],-1),i2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.55...v0.0.2-beta.57",target:"_blank",rel:"noopener noreferrer"},d2=e("code",null,"v0.0.2-beta.57 (2020-04-22)",-1),_2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 升级默认 Node.js 版本为 "),e("code",null,"10.15"),l("。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修正腾讯云新错误代码导致无法发布的问题。")])],-1),h2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.54...v0.0.2-beta.55",target:"_blank",rel:"noopener noreferrer"},f2=e("code",null,"v0.0.2-beta.55 (2020-04-15)",-1),p2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-vue"),l(" 移除 "),e("code",null,"plugin:security/recommended"),l("。")])],-1),b2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.53...v0.0.2-beta.54",target:"_blank",rel:"noopener noreferrer"},j2=e("code",null,"v0.0.2-beta.54 (2020-04-13)",-1),v2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 适配 Windows 环境。")])],-1),g2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.52...v0.0.2-beta.53",target:"_blank",rel:"noopener noreferrer"},m2=e("code",null,"v0.0.2-beta.53 (2020-04-12)",-1),F2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 添加 sourceIp。")])],-1),k2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.51...v0.0.2-beta.52",target:"_blank",rel:"noopener noreferrer"},x2=e("code",null,"v0.0.2-beta.52 (2020-04-10)",-1),A2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 优化日志展示。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化依赖库打包机制。")])],-1),y2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.47...v0.0.2-beta.51",target:"_blank",rel:"noopener noreferrer"},w2=e("code",null,"v0.0.2-beta.51 (2020-04-09)",-1),q2=a("
    • [Feature] @faasjs/http 添加 HTTP 方法定义。
    • [Feature] @faasjs/load 优化打包时排除内置库的逻辑。
    • [新增] 新增 @faasjs/sequelize
    • [Feature] @faasjs/http@faasjs/server 新增 header X-SCF-RequestId
    ",1),S2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.46...v0.0.2-beta.47",target:"_blank",rel:"noopener noreferrer"},R2=e("code",null,"v0.0.2-beta.47 (2020-04-02)",-1),C2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cloud_function"),l(" 在云函数环境中使用内网域名提升性能。")])],-1),D2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.40...v0.0.2-beta.46",target:"_blank",rel:"noopener noreferrer"},E2=e("code",null,"v0.0.2-beta.46 (2020-03-26)",-1),B2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 移除依赖项:@faasjs/browser, @faasjs/sql, @faasjs/redis。")]),e("li",null,[l("[新增] "),e("code",null,"@faasjs/mongo"),l(" 用于适配 mongodb。")]),e("li",null,"[Feature] 优化了云函数的日志输出。")],-1),I2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.34...v0.0.2-beta.40",target:"_blank",rel:"noopener noreferrer"},T2=e("code",null,"v0.0.2-beta.40 (2020-03-20)",-1),L2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 配置项新增 "),e("code",null,"path"),l(" 和 "),e("code",null,"ignorePathPrefix"),l(" 设置。")])],-1),N2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.32...v0.0.2-beta.34",target:"_blank",rel:"noopener noreferrer"},P2=e("code",null,"v0.0.2-beta.34 (2020-03-15)",-1),U2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cli"),l(" 修复当 tsconfig 中未使用 paths 功能时出错的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/typeorm"),l(" 新增 "),e("code",null,"Connection, Repository, SelectQueryBuilder, getRepository"),l(" 的输出。")])],-1),J2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.29...v0.0.2-beta.32",target:"_blank",rel:"noopener noreferrer"},O2=e("code",null,"v0.0.2-beta.32 (2020-03-09)",-1),G2=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/cli"),l(" 支持 tsconfig 的 paths 功能。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/typeorm"),l(" 修复单体应用模式下连接出错的问题")])],-1),V2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.28...v0.0.2-beta.29",target:"_blank",rel:"noopener noreferrer"},W2=e("code",null,"v0.0.2-beta.29 (2020-03-03)",-1),H2=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/cos-secrets"),l(" 修复嵌套全局变量名错误的问题。")])],-1),z2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.26...v0.0.2-beta.28",target:"_blank",rel:"noopener noreferrer"},M2=e("code",null,"v0.0.2-beta.28 (2020-03-02)",-1),X2=a("
    • [Feature] @faasjs/eslint-config-recommended 补充空格相关的样式设定。
    • [Feature] @faasjs/cos-secrets 本地模式下会读取本地文件。
    • [Feature] @faasjs/sql 支持从环境变量读取配置信息。
    • [Feature] @faasjs/typeorm 支持从环境变量读取配置信息。
    • [Feature] @faasjs/redis 支持从环境变量读取配置信息。
    • [Feature] @faasjs/server 出错信息以 json 格式返回。
    ",1),K2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.25...v0.0.2-beta.26",target:"_blank",rel:"noopener noreferrer"},Q2=e("code",null,"v0.0.2-beta.26 (2020-03-01)",-1),Y2=e("ul",null,[e("li",null,[l("[新增] "),e("code",null,"@faasjs/cos-secrets"),l(",一个基于 COS 的密钥解决方案。")]),e("li",null,[l("[Feature] 将文档移入 "),e("code",null,"docs"),l(" 文件夹。")]),e("li",null,[l("[Feature] 将示例移入 "),e("code",null,"examples"),l(" 文件夹。")])],-1),Z2={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.24...v0.0.2-beta.25",target:"_blank",rel:"noopener noreferrer"},$2=e("code",null,"v0.0.2-beta.25 (2020-02-27)",-1),eh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 腾讯云故障,禁用别名功能。")])],-1),lh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.22...v0.0.2-beta.24",target:"_blank",rel:"noopener noreferrer"},th=e("code",null,"v0.0.2-beta.24 (2020-02-25)",-1),oh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 允许 "),e("code",null,"schemas"),l(" 参数为函数,且支持异步函数。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 导出变量新增 "),e("code",null,"GraphQLSchemaModule"),l("。")])],-1),ah={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.20...v0.0.2-beta.22",target:"_blank",rel:"noopener noreferrer"},nh=e("code",null,"v0.0.2-beta.22 (2020-02-24)",-1),sh=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/typeorm"),l(" 修复配置项错误。")]),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复部署时打包依赖项的错误。")])],-1),rh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.18...v0.0.2-beta.20",target:"_blank",rel:"noopener noreferrer"},uh=e("code",null,"v0.0.2-beta.20 (2020-02-23)",-1),ch=e("ul",null,[e("li",null,[l("[新增] 新增 "),e("code",null,"@faasjs/typeorm"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/sql"),l(" 单元测试新增 mysql 和 postgresql 的测试。")])],-1),ih={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.16...v0.0.2-beta.18",target:"_blank",rel:"noopener noreferrer"},dh=e("code",null,"v0.0.2-beta.18 (2020-02-22)",-1),_h=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 云函数新增层和死信队列接口,COS 增加文件夹名。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 关闭 rollup 的警告信息。")])],-1),hh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.13...v0.0.2-beta.16",target:"_blank",rel:"noopener noreferrer"},fh=e("code",null,"v0.0.2-beta.16 (2020-02-21)",-1),ph=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/graphql-server"),l(" 内置 "),e("code",null,"@faasjs/http"),l("。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 云函数环境变量新增 "),e("code",null,"FaasLog=debug"),l("。")])],-1),bh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.10...v0.0.2-beta.13",target:"_blank",rel:"noopener noreferrer"},jh=e("code",null,"v0.0.2-beta.13 (2020-02-20)",-1),vh=a("
    • [Feature] @faasjs/tencentcloud 新增单元测试。
    • [Feature] @faasjs/request 新增 filedownloadStream 参数。
    • [Feature] @faasjs/graphql-server 规范化配置项,并将 invokeData 作为 context。
    ",1),gh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.9...v0.0.2-beta.10",target:"_blank",rel:"noopener noreferrer"},mh=e("code",null,"v0.0.2-beta.10 (2020-02-16)",-1),Fh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),kh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.8...v0.0.2-beta.9",target:"_blank",rel:"noopener noreferrer"},xh=e("code",null,"v0.0.2-beta.9 (2020-02-15)",-1),Ah=e("ul",null,[e("li",null,"[Feature] 恢复腾讯云的别名功能。"),e("li",null,"[Feature] 修复和优化 travis-ci。")],-1),yh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.7...v0.0.2-beta.8",target:"_blank",rel:"noopener noreferrer"},wh=e("code",null,"v0.0.2-beta.8 (2020-02-14)",-1),qh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 不再内置 "),e("code",null,"@faasjs/graphql-server"),l(",需手动添加使用。")])],-1),Sh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.5...v0.0.2-beta.7",target:"_blank",rel:"noopener noreferrer"},Rh=e("code",null,"v0.0.2-beta.7 (2020-02-13)",-1),Ch=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复打包时遇到内置模块报错的问题。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),Dh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.4...v0.0.2-beta.5",target:"_blank",rel:"noopener noreferrer"},Eh=e("code",null,"v0.0.2-beta.5 (2020-02-10)",-1),Bh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/test"),l(" 将 "),e("code",null,"jest"),l(" 添加为依赖项。")])],-1),Ih={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.2...v0.0.2-beta.4",target:"_blank",rel:"noopener noreferrer"},Th=e("code",null,"v0.0.2-beta.4 (2020-02-09)",-1),Lh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" handler 参数改为可选项。")]),e("li",null,[l("[新增] "),e("code",null,"@faasjs/graphql-server"),l(" 试验性支持 graphQL。")])],-1),Nh={href:"https://github.com/faasjs/faasjs/compare/v0.0.2-beta.1...v0.0.2-beta.2",target:"_blank",rel:"noopener noreferrer"},Ph=e("code",null,"v0.0.2-beta.2 (2020-02-08)",-1),Uh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化了部署云函数时的日志输出。")])],-1),Jh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.31...v0.0.2-beta.1",target:"_blank",rel:"noopener noreferrer"},Oh=e("code",null,"v0.0.2-beta.1 (2020-02-07)",-1),Gh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 补全已正式发布的云函数配置项。")])],-1),Vh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.29...v0.0.1-beta.31",target:"_blank",rel:"noopener noreferrer"},Wh=e("code",null,"v0.0.1-beta.31 (2020-02-06)",-1),Hh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"faasjs"),l(" 将 Sql 适配包从 "),e("code",null,"faasjs"),l(" 中移除。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/eslint-config-recommended"),l(" 更新 eslint rules。")])],-1),zh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.27...v0.0.1-beta.29",target:"_blank",rel:"noopener noreferrer"},Mh=e("code",null,"v0.0.1-beta.29 (2020-02-04)",-1),Xh=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复由于禁用别名功能造成的 BUG。")])],-1),Kh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.25...v0.0.1-beta.27",target:"_blank",rel:"noopener noreferrer"},Qh=e("code",null,"v0.0.1-beta.27 (2020-02-03)",-1),Yh=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 由于腾讯云故障,暂时禁用别名功能。")])],-1),Zh={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.23...v0.0.1-beta.25",target:"_blank",rel:"noopener noreferrer"},$h=e("code",null,"v0.0.1-beta.25 (2020-02-02)",-1),ef=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复腾讯云部署 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 腾讯云云函数内存默认从 128 降低为 64。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 默认环境变量新增 NODE_ENV,值为部署环境的名字。")])],-1),lf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.21...v0.0.1-beta.23",target:"_blank",rel:"noopener noreferrer"},tf=e("code",null,"v0.0.1-beta.23 (2020-02-01)",-1),of=e("ul",null,[e("li",null,"[修复] 修复错误的版本号。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/load"),l(" 移除 loadNpmVersion。")])],-1),af={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.20...v0.0.1-beta.21",target:"_blank",rel:"noopener noreferrer"},nf=e("code",null,"v0.0.1-beta.21 (2020-01-27)",-1),sf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" API 网关 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/func"),l(" 云函数支持 callback。")])],-1),rf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.18...v0.0.1-beta.20",target:"_blank",rel:"noopener noreferrer"},uf=e("code",null,"v0.0.1-beta.20 (2020-01-26)",-1),cf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" API 网关 BUG。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 提升打包速度。")])],-1),df={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.16...v0.0.1-beta.18",target:"_blank",rel:"noopener noreferrer"},_f=e("code",null,"v0.0.1-beta.18 (2020-01-25)",-1),hf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数命名错误。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/server"),l(" 本地请求入参 method 改名为 httpMethod,增加 path 参数。")])],-1),ff={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.14...v0.0.1-beta.16",target:"_blank",rel:"noopener noreferrer"},pf=e("code",null,"v0.0.1-beta.16 (2020-01-13)",-1),bf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/load"),l(" 修复 rollup 配置。")]),e("li",null,"[修复] 修复 FaasJS 项目自动化测试配置。")],-1),jf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.12...v0.0.1-beta.14",target:"_blank",rel:"noopener noreferrer"},vf=e("code",null,"v0.0.1-beta.14 (2020-01-04)",-1),gf=e("ul",null,[e("li",null,[l("[Feature] "),e("code",null,"@faasjs/http"),l(" 移除无用的依赖项。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 优化打包配置。")])],-1),mf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.11...v0.0.1-beta.12",target:"_blank",rel:"noopener noreferrer"},Ff=e("code",null,"v0.0.1-beta.12 (2020-01-02)",-1),kf=e("ul",null,[e("li",null,[l("[修复] 在 "),e("code",null,"faasjs"),l(" 中补上依赖项 "),e("code",null,"@faasjs/http"),l("。")])],-1),xf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.10...v0.0.1-beta.11",target:"_blank",rel:"noopener noreferrer"},Af=e("code",null,"v0.0.1-beta.11 (2020-01-01)",-1),yf=e("ul",null,[e("li",null,"[Feature] 优化 FaasJS 项目打包配置。")],-1),wf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.8...v0.0.1-beta.10",target:"_blank",rel:"noopener noreferrer"},qf=e("code",null,"v0.0.1-beta.10 (2019-12-30)",-1),Sf=e("ul",null,[e("li",null,"[Feature] 优化 FaasJS 项目的代码规范测试和自动化测试。"),e("li",null,[l("[修复] "),e("code",null,"@faasjs/tencentcloud"),l(" 修复云函数部署时未完成部署就删除了 COS 代码包的问题。")])],-1),Rf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.7...v0.0.1-beta.8",target:"_blank",rel:"noopener noreferrer"},Cf=e("code",null,"v0.0.1-beta.8 (2019-12-26)",-1),Df=e("ul",null,[e("li",null,"[Feature] 更新 VS Code 配置项以适应新版 ESlint。"),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 更新云函数时会等待其更新生效后才进行后续步骤。")]),e("li",null,[l("[Feature] "),e("code",null,"@faasjs/tencentcloud"),l(" 使用本地 node_modules 文件加速部署。")])],-1),Ef={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.6...v0.0.1-beta.7",target:"_blank",rel:"noopener noreferrer"},Bf=e("code",null,"v0.0.1-beta.7 (2019-11-05)",-1),If=a("
    • [Feature] @faasjs/logger 性能优化,并移除测试用的 lastOuput 属性。
    • [Feature] @faasjs/server 移除 response 的日志输出以优化性能。
    • [Feature] @faasjs/http 直接使用 request_id 作为响应头 X-Request-Id 的值。
    • [修复] @faasjs/http 使用 = 作为路径前缀避免模糊匹配。
    • [删除] 移除周刊。
    ",1),Tf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.5...v0.0.1-beta.6",target:"_blank",rel:"noopener noreferrer"},Lf=e("code",null,"v0.0.1-beta.6 (2019-10-25)",-1),Nf=e("ul",null,[e("li",null,[l("[修复] "),e("code",null,"@faasjs/logger"),l(" timeEnd 出错时的错误信息从 error 降级为 warn。")])],-1),Pf={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.4...v0.0.1-beta.5",target:"_blank",rel:"noopener noreferrer"},Uf=e("code",null,"v0.0.1-beta.5 (2019-10-25)",-1),Jf=e("ul",null,[e("li",null,"[Feature] 新增性能测试用例。"),e("li",null,[l("[修复] "),e("code",null,"@faasjs/logger"),l(" timeEnd 的 key 重复或未知时,报错信息从 error 降级为 warn。")])],-1),Of={href:"https://github.com/faasjs/faasjs/compare/v0.0.1-beta.2...v0.0.1-beta.4",target:"_blank",rel:"noopener noreferrer"},Gf=e("code",null,"v0.0.1-beta.4 (2019-10-22)",-1),Vf=a("
    • [新增] @faasjs/http cookie 新增 sameSite 选项。
    • [Feature] FaasJS 项目新增代码测试覆盖率。

    2019-10-21

    • [Feature] 使用 lerna 管理 FaasJS 核心库。
    • [Feature] @faasjs/request 新增 timeout 和 auth 选项。
    • [修复] 修正 @faasjs/http 遇到返回值为 null 时的错误。

    2019-10-16

    ",4),Wf={href:"https://github.com/faasjs/examples/tree/main/knex",target:"_blank",rel:"noopener noreferrer"},Hf=e("p",null,[e("code",null,"2019-10-15")],-1),zf={href:"https://github.com/faasjs/faasjs/tree/main/packages",target:"_blank",rel:"noopener noreferrer"},Mf=e("p",null,[e("code",null,"2019-10-13")],-1),Xf={href:"https://faasjs.com/weekly/",target:"_blank",rel:"noopener noreferrer"},Kf=e("p",null,[e("code",null,"2019-10-11")],-1),Qf=e("li",null,"[Feature] 教程中添加新加入的命令行指令。",-1),Yf={href:"https://faasjs.com/contribute.html",target:"_blank",rel:"noopener noreferrer"},Zf=e("li",null,[l("[修复] "),e("code",null,"@faasjs/func"),l(" 当 handler 没有返回时出现的一个判断异常。")],-1),$f=a('

    2019-10-09

    • [新增] 命令行工具新增 yarn new func 指令,用于快速创建云函数文件及其测试脚本,具体用法可见 yarn new -h
    • [Feature] create-faas-app 创建的项目中加入 .vscode/settings.json 文件,用于优化 VS Code 下的编程体验。

    2019-10-08

    • [新增] 命令行工具 create-faas-app 用于快速创建 FaasJS 项目,可直接通过 npx create-faas-app 使用。

    2019-09-30

    • [发布] 结束 Alpha 阶段,开始 Beta 公测阶段。

    Alpha

    2019-04-13

    • [发布] FaasJS Alpha 阶段开发开始。
    ',9);function e1(l1,t1){const t=s("ExternalLinkIcon");return r(),u("div",null,[i,e("p",null,[l("FaasJS use "),e("a",d,[l("Semantic Versioning"),o(t)]),l(".")]),_,e("p",null,[e("a",h,[f,o(t)])]),p,e("p",null,[e("a",b,[j,o(t)])]),v,e("p",null,[e("a",g,[m,o(t)])]),F,e("p",null,[e("a",k,[x,o(t)])]),A,e("p",null,[e("a",y,[w,o(t)])]),q,e("p",null,[e("a",S,[R,o(t)])]),C,e("p",null,[e("a",D,[E,o(t)])]),B,e("p",null,[e("a",I,[T,o(t)])]),e("ul",null,[e("li",null,[L,e("ul",null,[e("li",null,[l("[Feature] Support "),e("a",N,[l("why-did-you-render"),o(t)]),l(".")]),P])])]),e("p",null,[e("a",U,[J,o(t)])]),O,e("p",null,[e("a",G,[V,o(t)])]),W,e("p",null,[e("a",H,[z,o(t)])]),M,e("p",null,[e("a",X,[K,o(t)])]),Q,e("p",null,[e("a",Y,[Z,o(t)])]),$,e("p",null,[e("a",ee,[le,o(t)])]),te,e("p",null,[e("a",oe,[ae,o(t)])]),ne,e("p",null,[e("a",se,[re,o(t)])]),ue,ce,e("p",null,[e("a",ie,[de,o(t)])]),_e,e("p",null,[e("a",he,[fe,o(t)])]),pe,e("p",null,[e("a",be,[je,o(t)])]),ve,e("p",null,[e("a",ge,[me,o(t)])]),Fe,e("p",null,[e("a",ke,[xe,o(t)])]),Ae,e("p",null,[e("a",ye,[we,o(t)])]),qe,e("p",null,[e("a",Se,[Re,o(t)])]),Ce,e("p",null,[e("a",De,[Ee,o(t)])]),Be,e("p",null,[e("a",Ie,[Te,o(t)])]),e("ul",null,[e("li",null,[Le,e("ul",null,[e("li",null,[l("[Feature] Add "),Ne,l(" feature, based on "),e("a",Pe,[l("@preact/signals-react"),o(t)]),l(".")])])])]),e("p",null,[e("a",Ue,[Je,o(t)])]),Oe,e("p",null,[e("a",Ge,[Ve,o(t)])]),We,e("p",null,[e("a",He,[ze,o(t)])]),Me,e("p",null,[e("a",Xe,[Ke,o(t)])]),Qe,e("p",null,[e("a",Ye,[Ze,o(t)])]),e("ul",null,[e("li",null,[$e,e("ul",null,[e("li",null,[l("[Feature] "),el,l(" add "),ll,l(" (Thanks contributor: "),e("a",tl,[l("@Witt"),o(t)]),l(").")]),ol])])]),e("p",null,[e("a",al,[nl,o(t)])]),sl,e("p",null,[e("a",rl,[ul,o(t)])]),cl,e("p",null,[e("a",il,[dl,o(t)])]),_l,e("p",null,[e("a",hl,[fl,o(t)])]),e("ul",null,[e("li",null,[pl,e("ul",null,[e("li",null,[l("[Feature] Add "),bl,l(" based on "),e("a",jl,[l("biome"),o(t)]),l(".")])])])]),e("p",null,[e("a",vl,[gl,o(t)])]),ml,e("p",null,[e("a",Fl,[kl,o(t)])]),xl,e("p",null,[e("a",Al,[yl,o(t)])]),wl,e("p",null,[e("a",ql,[Sl,o(t)])]),Rl,e("p",null,[e("a",Cl,[Dl,o(t)])]),El,e("p",null,[e("a",Bl,[Il,o(t)])]),Tl,e("p",null,[e("a",Ll,[Nl,o(t)])]),Pl,e("p",null,[e("a",Ul,[Jl,o(t)])]),Ol,e("p",null,[e("a",Gl,[Vl,o(t)])]),Wl,e("p",null,[e("a",Hl,[zl,o(t)])]),Ml,e("p",null,[e("a",Xl,[Kl,o(t)])]),Ql,e("p",null,[e("a",Yl,[Zl,o(t)])]),$l,e("p",null,[e("a",et,[lt,o(t)])]),tt,e("p",null,[e("a",ot,[at,o(t)])]),nt,e("p",null,[e("a",st,[rt,o(t)])]),ut,e("p",null,[e("a",ct,[it,o(t)])]),dt,e("p",null,[e("a",_t,[ht,o(t)])]),ft,e("p",null,[e("a",pt,[bt,o(t)])]),jt,e("p",null,[e("a",vt,[gt,o(t)])]),mt,e("p",null,[e("a",Ft,[kt,o(t)])]),xt,e("p",null,[e("a",At,[yt,o(t)])]),wt,e("p",null,[e("a",qt,[St,o(t)])]),Rt,e("p",null,[e("a",Ct,[Dt,o(t)])]),Et,e("p",null,[e("a",Bt,[It,o(t)])]),Tt,e("p",null,[e("a",Lt,[Nt,o(t)])]),Pt,e("p",null,[e("a",Ut,[Jt,o(t)])]),Ot,e("p",null,[e("a",Gt,[Vt,o(t)])]),Wt,e("p",null,[e("a",Ht,[zt,o(t)])]),Mt,e("p",null,[e("a",Xt,[Kt,o(t)])]),Qt,e("p",null,[e("a",Yt,[Zt,o(t)])]),$t,e("p",null,[e("a",eo,[lo,o(t)])]),to,e("p",null,[e("a",oo,[ao,o(t)])]),no,e("p",null,[e("a",so,[ro,o(t)])]),uo,e("p",null,[e("a",co,[io,o(t)])]),_o,e("p",null,[e("a",ho,[fo,o(t)])]),po,e("p",null,[e("a",bo,[jo,o(t)])]),vo,e("p",null,[e("a",go,[mo,o(t)])]),Fo,e("p",null,[e("a",ko,[xo,o(t)])]),Ao,e("p",null,[e("a",yo,[wo,o(t)])]),qo,e("p",null,[e("a",So,[Ro,o(t)])]),Co,e("p",null,[e("a",Do,[Eo,o(t)])]),Bo,e("p",null,[e("a",Io,[To,o(t)])]),Lo,e("p",null,[e("a",No,[Po,o(t)])]),Uo,e("p",null,[e("a",Jo,[Oo,o(t)])]),Go,e("p",null,[e("a",Vo,[Wo,o(t)])]),Ho,e("p",null,[e("a",zo,[Mo,o(t)])]),Xo,e("p",null,[e("a",Ko,[Qo,o(t)])]),Yo,e("p",null,[e("a",Zo,[$o,o(t)])]),ea,e("p",null,[e("a",la,[ta,o(t)])]),oa,e("p",null,[e("a",aa,[na,o(t)])]),sa,e("p",null,[e("a",ra,[ua,o(t)])]),ca,e("p",null,[e("a",ia,[da,o(t)])]),_a,e("p",null,[e("a",ha,[fa,o(t)])]),pa,e("p",null,[e("a",ba,[ja,o(t)])]),va,e("p",null,[e("a",ga,[ma,o(t)])]),Fa,e("p",null,[e("a",ka,[xa,o(t)])]),Aa,e("p",null,[e("a",ya,[wa,o(t)])]),qa,e("p",null,[e("a",Sa,[Ra,o(t)])]),Ca,e("p",null,[e("a",Da,[Ea,o(t)])]),Ba,e("p",null,[e("a",Ia,[Ta,o(t)])]),La,e("p",null,[e("a",Na,[Pa,o(t)])]),Ua,e("p",null,[e("a",Ja,[Oa,o(t)])]),Ga,e("p",null,[e("a",Va,[Wa,o(t)])]),Ha,e("p",null,[e("a",za,[Ma,o(t)])]),Xa,e("p",null,[e("a",Ka,[Qa,o(t)])]),Ya,e("p",null,[e("a",Za,[$a,o(t)])]),en,e("p",null,[e("a",ln,[tn,o(t)])]),on,e("p",null,[e("a",an,[nn,o(t)])]),sn,e("p",null,[e("a",rn,[un,o(t)])]),cn,e("p",null,[e("a",dn,[_n,o(t)])]),hn,e("p",null,[e("a",fn,[pn,o(t)])]),bn,e("p",null,[e("a",jn,[vn,o(t)])]),gn,e("p",null,[e("a",mn,[Fn,o(t)])]),kn,e("p",null,[e("a",xn,[An,o(t)])]),yn,e("p",null,[e("a",wn,[qn,o(t)])]),Sn,e("p",null,[e("a",Rn,[Cn,o(t)])]),Dn,e("p",null,[e("a",En,[Bn,o(t)])]),In,e("p",null,[e("a",Tn,[Ln,o(t)])]),Nn,e("p",null,[e("a",Pn,[Un,o(t)])]),Jn,e("p",null,[e("a",On,[Gn,o(t)])]),Vn,e("p",null,[e("a",Wn,[Hn,o(t)])]),zn,e("p",null,[e("a",Mn,[Xn,o(t)])]),Kn,e("p",null,[e("a",Qn,[Yn,o(t)])]),Zn,e("p",null,[e("a",$n,[es,o(t)])]),ls,e("p",null,[e("a",ts,[os,o(t)])]),as,e("p",null,[e("a",ns,[ss,o(t)])]),rs,e("p",null,[e("a",us,[cs,o(t)])]),is,e("p",null,[e("a",ds,[_s,o(t)])]),hs,e("p",null,[e("a",fs,[ps,o(t)])]),bs,e("p",null,[e("a",js,[vs,o(t)])]),gs,e("p",null,[e("a",ms,[Fs,o(t)])]),ks,e("p",null,[e("a",xs,[As,o(t)])]),ys,e("p",null,[e("a",ws,[qs,o(t)])]),Ss,e("p",null,[e("a",Rs,[Cs,o(t)])]),Ds,e("p",null,[e("a",Es,[Bs,o(t)])]),Is,e("p",null,[e("a",Ts,[Ls,o(t)])]),Ns,e("p",null,[e("a",Ps,[Us,o(t)])]),Js,e("p",null,[e("a",Os,[Gs,o(t)])]),Vs,e("p",null,[e("a",Ws,[Hs,o(t)])]),zs,e("p",null,[e("a",Ms,[Xs,o(t)])]),Ks,e("p",null,[e("a",Qs,[Ys,o(t)])]),Zs,e("p",null,[e("a",$s,[er,o(t)])]),lr,e("p",null,[e("a",tr,[or,o(t)])]),e("ul",null,[e("li",null,[ar,e("ul",null,[e("li",null,[l("[Feature] Add regexp rule. (Thanks contributor: "),e("a",nr,[l("@Germini"),o(t)]),l(").")])])]),sr]),e("p",null,[e("a",rr,[ur,o(t)])]),cr,e("p",null,[e("a",ir,[dr,o(t)])]),_r,e("p",null,[e("a",hr,[fr,o(t)])]),pr,e("p",null,[e("a",br,[jr,o(t)])]),vr,e("p",null,[e("a",gr,[mr,o(t)])]),Fr,e("p",null,[e("a",kr,[xr,o(t)])]),Ar,e("p",null,[e("a",yr,[wr,o(t)])]),qr,e("p",null,[e("a",Sr,[Rr,o(t)])]),Cr,e("p",null,[e("a",Dr,[Er,o(t)])]),Br,e("p",null,[e("a",Ir,[Tr,o(t)])]),Lr,e("p",null,[e("a",Nr,[Pr,o(t)])]),Ur,e("p",null,[e("a",Jr,[Or,o(t)])]),Gr,e("p",null,[e("a",Vr,[Wr,o(t)])]),Hr,e("p",null,[e("a",zr,[Mr,o(t)])]),Xr,e("p",null,[e("a",Kr,[Qr,o(t)])]),Yr,e("p",null,[e("a",Zr,[$r,o(t)])]),eu,e("p",null,[e("a",lu,[tu,o(t)])]),ou,e("p",null,[e("a",au,[nu,o(t)])]),su,e("p",null,[e("a",ru,[uu,o(t)])]),cu,e("p",null,[e("a",iu,[du,o(t)])]),_u,e("p",null,[e("a",hu,[fu,o(t)])]),pu,e("p",null,[e("a",bu,[ju,o(t)])]),vu,e("p",null,[e("a",gu,[mu,o(t)])]),Fu,e("p",null,[e("a",ku,[xu,o(t)])]),Au,e("p",null,[e("a",yu,[wu,o(t)])]),qu,e("p",null,[e("a",Su,[Ru,o(t)])]),Cu,e("p",null,[e("a",Du,[Eu,o(t)])]),Bu,e("p",null,[e("a",Iu,[Tu,o(t)])]),Lu,e("p",null,[e("a",Nu,[Pu,o(t)])]),Uu,e("p",null,[e("a",Ju,[Ou,o(t)])]),Gu,e("p",null,[e("a",Vu,[Wu,o(t)])]),Hu,e("p",null,[e("a",zu,[Mu,o(t)])]),Xu,e("p",null,[e("a",Ku,[Qu,o(t)])]),Yu,e("p",null,[e("a",Zu,[$u,o(t)])]),ec,e("p",null,[e("a",lc,[tc,o(t)])]),oc,e("p",null,[e("a",ac,[nc,o(t)])]),sc,e("p",null,[e("a",rc,[uc,o(t)])]),cc,e("p",null,[e("a",ic,[dc,o(t)])]),_c,e("p",null,[e("a",hc,[fc,o(t)])]),pc,e("p",null,[e("a",bc,[jc,o(t)])]),vc,e("p",null,[e("a",gc,[mc,o(t)])]),Fc,e("p",null,[e("a",kc,[xc,o(t)])]),Ac,e("p",null,[e("a",yc,[wc,o(t)])]),qc,e("p",null,[e("a",Sc,[Rc,o(t)])]),Cc,e("p",null,[e("a",Dc,[Ec,o(t)])]),Bc,e("p",null,[e("a",Ic,[Tc,o(t)])]),Lc,e("p",null,[e("a",Nc,[Pc,o(t)])]),Uc,e("p",null,[e("a",Jc,[Oc,o(t)])]),Gc,e("p",null,[e("a",Vc,[Wc,o(t)])]),Hc,e("p",null,[e("a",zc,[Mc,o(t)])]),Xc,e("p",null,[e("a",Kc,[Qc,o(t)])]),Yc,e("p",null,[e("a",Zc,[$c,o(t)])]),e0,e("p",null,[e("a",l0,[t0,o(t)])]),o0,e("p",null,[e("a",a0,[n0,o(t)])]),s0,e("p",null,[e("a",r0,[u0,o(t)])]),c0,e("p",null,[e("a",i0,[d0,o(t)])]),_0,e("p",null,[e("a",h0,[f0,o(t)])]),p0,e("p",null,[e("a",b0,[j0,o(t)])]),v0,e("p",null,[e("a",g0,[m0,o(t)])]),F0,e("p",null,[e("a",k0,[x0,o(t)])]),A0,e("p",null,[e("a",y0,[w0,o(t)])]),q0,e("p",null,[e("a",S0,[R0,o(t)])]),C0,e("p",null,[e("a",D0,[E0,o(t)])]),B0,e("p",null,[e("a",I0,[T0,o(t)])]),L0,e("p",null,[e("a",N0,[P0,o(t)])]),U0,e("p",null,[e("a",J0,[O0,o(t)])]),G0,e("p",null,[e("a",V0,[W0,o(t)])]),H0,e("p",null,[e("a",z0,[M0,o(t)])]),X0,e("p",null,[e("a",K0,[Q0,o(t)])]),Y0,e("p",null,[e("a",Z0,[$0,o(t)])]),ei,e("p",null,[e("a",li,[ti,o(t)])]),oi,e("p",null,[e("a",ai,[ni,o(t)])]),si,e("p",null,[e("a",ri,[ui,o(t)])]),ci,e("p",null,[e("a",ii,[di,o(t)])]),_i,e("p",null,[e("a",hi,[fi,o(t)])]),pi,e("p",null,[e("a",bi,[ji,o(t)])]),vi,e("p",null,[e("a",gi,[mi,o(t)])]),Fi,e("p",null,[e("a",ki,[xi,o(t)])]),Ai,e("p",null,[e("a",yi,[wi,o(t)])]),qi,e("p",null,[e("a",Si,[Ri,o(t)])]),Ci,e("p",null,[e("a",Di,[Ei,o(t)])]),Bi,e("p",null,[e("a",Ii,[Ti,o(t)])]),Li,e("p",null,[e("a",Ni,[Pi,o(t)])]),Ui,e("p",null,[e("a",Ji,[Oi,o(t)])]),Gi,e("p",null,[e("a",Vi,[Wi,o(t)])]),Hi,e("p",null,[e("a",zi,[Mi,o(t)])]),Xi,e("p",null,[e("a",Ki,[Qi,o(t)])]),Yi,e("p",null,[e("a",Zi,[$i,o(t)])]),ed,e("p",null,[e("a",ld,[td,o(t)])]),od,e("p",null,[e("a",ad,[nd,o(t)])]),sd,e("p",null,[e("a",rd,[ud,o(t)])]),cd,e("p",null,[e("a",id,[dd,o(t)])]),_d,e("p",null,[e("a",hd,[fd,o(t)])]),pd,e("p",null,[e("a",bd,[jd,o(t)])]),vd,e("p",null,[e("a",gd,[md,o(t)])]),Fd,e("p",null,[e("a",kd,[xd,o(t)])]),Ad,e("p",null,[e("a",yd,[wd,o(t)])]),qd,e("p",null,[e("a",Sd,[Rd,o(t)])]),Cd,e("p",null,[e("a",Dd,[Ed,o(t)])]),Bd,e("p",null,[e("a",Id,[Td,o(t)])]),Ld,e("p",null,[e("a",Nd,[Pd,o(t)])]),Ud,e("p",null,[e("a",Jd,[Od,o(t)])]),Gd,e("p",null,[e("a",Vd,[Wd,o(t)])]),Hd,e("p",null,[e("a",zd,[Md,o(t)])]),Xd,e("p",null,[e("a",Kd,[Qd,o(t)])]),Yd,e("p",null,[e("a",Zd,[$d,o(t)])]),e_,e("p",null,[e("a",l_,[t_,o(t)])]),o_,e("p",null,[e("a",a_,[n_,o(t)])]),s_,e("p",null,[e("a",r_,[u_,o(t)])]),c_,e("p",null,[e("a",i_,[d_,o(t)])]),__,e("p",null,[e("a",h_,[f_,o(t)])]),p_,e("p",null,[e("a",b_,[j_,o(t)])]),v_,e("p",null,[e("a",g_,[m_,o(t)])]),F_,e("p",null,[e("a",k_,[x_,o(t)])]),A_,e("p",null,[e("a",y_,[w_,o(t)])]),q_,e("p",null,[e("a",S_,[R_,o(t)])]),C_,e("p",null,[e("a",D_,[E_,o(t)])]),B_,e("p",null,[e("a",I_,[T_,o(t)])]),L_,e("p",null,[e("a",N_,[P_,o(t)])]),U_,e("p",null,[e("a",J_,[O_,o(t)])]),G_,e("p",null,[e("a",V_,[W_,o(t)])]),H_,e("p",null,[e("a",z_,[M_,o(t)])]),X_,e("p",null,[e("a",K_,[Q_,o(t)])]),Y_,e("p",null,[e("a",Z_,[$_,o(t)])]),e2,e("p",null,[e("a",l2,[t2,o(t)])]),o2,e("p",null,[e("a",a2,[n2,o(t)])]),s2,e("p",null,[e("a",r2,[u2,o(t)])]),c2,e("p",null,[e("a",i2,[d2,o(t)])]),_2,e("p",null,[e("a",h2,[f2,o(t)])]),p2,e("p",null,[e("a",b2,[j2,o(t)])]),v2,e("p",null,[e("a",g2,[m2,o(t)])]),F2,e("p",null,[e("a",k2,[x2,o(t)])]),A2,e("p",null,[e("a",y2,[w2,o(t)])]),q2,e("p",null,[e("a",S2,[R2,o(t)])]),C2,e("p",null,[e("a",D2,[E2,o(t)])]),B2,e("p",null,[e("a",I2,[T2,o(t)])]),L2,e("p",null,[e("a",N2,[P2,o(t)])]),U2,e("p",null,[e("a",J2,[O2,o(t)])]),G2,e("p",null,[e("a",V2,[W2,o(t)])]),H2,e("p",null,[e("a",z2,[M2,o(t)])]),X2,e("p",null,[e("a",K2,[Q2,o(t)])]),Y2,e("p",null,[e("a",Z2,[$2,o(t)])]),eh,e("p",null,[e("a",lh,[th,o(t)])]),oh,e("p",null,[e("a",ah,[nh,o(t)])]),sh,e("p",null,[e("a",rh,[uh,o(t)])]),ch,e("p",null,[e("a",ih,[dh,o(t)])]),_h,e("p",null,[e("a",hh,[fh,o(t)])]),ph,e("p",null,[e("a",bh,[jh,o(t)])]),vh,e("p",null,[e("a",gh,[mh,o(t)])]),Fh,e("p",null,[e("a",kh,[xh,o(t)])]),Ah,e("p",null,[e("a",yh,[wh,o(t)])]),qh,e("p",null,[e("a",Sh,[Rh,o(t)])]),Ch,e("p",null,[e("a",Dh,[Eh,o(t)])]),Bh,e("p",null,[e("a",Ih,[Th,o(t)])]),Lh,e("p",null,[e("a",Nh,[Ph,o(t)])]),Uh,e("p",null,[e("a",Jh,[Oh,o(t)])]),Gh,e("p",null,[e("a",Vh,[Wh,o(t)])]),Hh,e("p",null,[e("a",zh,[Mh,o(t)])]),Xh,e("p",null,[e("a",Kh,[Qh,o(t)])]),Yh,e("p",null,[e("a",Zh,[$h,o(t)])]),ef,e("p",null,[e("a",lf,[tf,o(t)])]),of,e("p",null,[e("a",af,[nf,o(t)])]),sf,e("p",null,[e("a",rf,[uf,o(t)])]),cf,e("p",null,[e("a",df,[_f,o(t)])]),hf,e("p",null,[e("a",ff,[pf,o(t)])]),bf,e("p",null,[e("a",jf,[vf,o(t)])]),gf,e("p",null,[e("a",mf,[Ff,o(t)])]),kf,e("p",null,[e("a",xf,[Af,o(t)])]),yf,e("p",null,[e("a",wf,[qf,o(t)])]),Sf,e("p",null,[e("a",Rf,[Cf,o(t)])]),Df,e("p",null,[e("a",Ef,[Bf,o(t)])]),If,e("p",null,[e("a",Tf,[Lf,o(t)])]),Nf,e("p",null,[e("a",Pf,[Uf,o(t)])]),Jf,e("p",null,[e("a",Of,[Gf,o(t)])]),Vf,e("ul",null,[e("li",null,[l("[新增] 示例项目新增 "),e("a",Wf,[l("knex"),o(t)]),l("。")])]),Hf,e("ul",null,[e("li",null,[l("[Feature] 将 FaasJS 所有库都并入了 "),e("a",zf,[l("faasjs/faasjs"),o(t)]),l(" 项目中,便于统一管理和更新。")])]),Mf,e("ul",null,[e("li",null,[l("[新增] "),e("a",Xf,[l("FaasJS 周刊"),o(t)]),l(" 开始试运行。")])]),Kf,e("ul",null,[Qf,e("li",null,[l("[新增] 官网新增 "),e("a",Yf,[l("支持 FaasJS"),o(t)]),l("。")]),Zf]),$f])}const a1=n(c,[["render",e1],["__file","CHANGELOG.html.vue"]]),n1=JSON.parse('{"path":"/CHANGELOG.html","title":"Changelog","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Stable","slug":"stable","link":"#stable","children":[]},{"level":2,"title":"Beta","slug":"beta","link":"#beta","children":[]},{"level":2,"title":"Alpha","slug":"alpha","link":"#alpha","children":[]}],"git":{"updatedTime":null},"filePathRelative":"CHANGELOG.md"}');export{a1 as comp,n1 as data}; diff --git a/assets/CODE_OF_CONDUCT.html-CVWlaLCG.js b/assets/CODE_OF_CONDUCT.html-NeDT09lI.js similarity index 99% rename from assets/CODE_OF_CONDUCT.html-CVWlaLCG.js rename to assets/CODE_OF_CONDUCT.html-NeDT09lI.js index 623e49cf8b..2f33daa82e 100644 --- a/assets/CODE_OF_CONDUCT.html-CVWlaLCG.js +++ b/assets/CODE_OF_CONDUCT.html-NeDT09lI.js @@ -1 +1 @@ -import{_ as o,r as a,o as r,c as s,a as n,b as e,d as t,e as l}from"./app-QyD7034V.js";const c={},d=l('

    Contributor Covenant Code of Conduct

    Our Pledge

    We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

    We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

    Our Standards

    Examples of behavior that contributes to a positive environment for our community include:

    • Demonstrating empathy and kindness toward other people
    • Being respectful of differing opinions, viewpoints, and experiences
    • Giving and gracefully accepting constructive feedback
    • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
    • Focusing on what is best not just for us as individuals, but for the overall community

    Examples of unacceptable behavior include:

    • The use of sexualized language or imagery, and sexual attention or advances of any kind
    • Trolling, insulting or derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or email address, without their explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting

    Enforcement Responsibilities

    Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

    Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

    Scope

    This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

    Enforcement

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ben@zfben.com. All complaints will be reviewed and investigated promptly and fairly.

    All community leaders are obligated to respect the privacy and security of the reporter of any incident.

    Enforcement Guidelines

    Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

    1. Correction

    Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

    Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

    2. Warning

    Community Impact: A violation through a single incident or series of actions.

    Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

    3. Temporary Ban

    Community Impact: A serious violation of community standards, including sustained inappropriate behavior.

    Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

    4. Permanent Ban

    Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

    Consequence: A permanent ban from any sort of public interaction within the community.

    Attribution

    ',32),p={href:"https://www.contributor-covenant.org",target:"_blank",rel:"noopener noreferrer"},h={href:"https://github.com/mozilla/diversity",target:"_blank",rel:"noopener noreferrer"},u=n("p",null,"For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.",-1);function m(f,g){const i=a("ExternalLinkIcon");return r(),s("div",null,[d,n("p",null,[e("This Code of Conduct is adapted from the "),n("a",p,[e("Contributor Covenant"),t(i)]),e(", version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.")]),n("p",null,[e("Community Impact Guidelines were inspired by "),n("a",h,[e("Mozilla's code of conduct enforcement ladder"),t(i)]),e(".")]),u])}const v=o(c,[["render",m],["__file","CODE_OF_CONDUCT.html.vue"]]),y=JSON.parse('{"path":"/CODE_OF_CONDUCT.html","title":"Contributor Covenant Code of Conduct","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Our Pledge","slug":"our-pledge","link":"#our-pledge","children":[]},{"level":2,"title":"Our Standards","slug":"our-standards","link":"#our-standards","children":[]},{"level":2,"title":"Enforcement Responsibilities","slug":"enforcement-responsibilities","link":"#enforcement-responsibilities","children":[]},{"level":2,"title":"Scope","slug":"scope","link":"#scope","children":[]},{"level":2,"title":"Enforcement","slug":"enforcement","link":"#enforcement","children":[]},{"level":2,"title":"Enforcement Guidelines","slug":"enforcement-guidelines","link":"#enforcement-guidelines","children":[{"level":3,"title":"1. Correction","slug":"_1-correction","link":"#_1-correction","children":[]},{"level":3,"title":"2. Warning","slug":"_2-warning","link":"#_2-warning","children":[]},{"level":3,"title":"3. Temporary Ban","slug":"_3-temporary-ban","link":"#_3-temporary-ban","children":[]},{"level":3,"title":"4. Permanent Ban","slug":"_4-permanent-ban","link":"#_4-permanent-ban","children":[]}]},{"level":2,"title":"Attribution","slug":"attribution","link":"#attribution","children":[]}],"git":{"updatedTime":null},"filePathRelative":"CODE_OF_CONDUCT.md"}');export{v as comp,y as data}; +import{_ as o,r as a,o as r,c as s,a as n,b as e,d as t,e as l}from"./app-COoiSelr.js";const c={},d=l('

    Contributor Covenant Code of Conduct

    Our Pledge

    We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

    We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.

    Our Standards

    Examples of behavior that contributes to a positive environment for our community include:

    • Demonstrating empathy and kindness toward other people
    • Being respectful of differing opinions, viewpoints, and experiences
    • Giving and gracefully accepting constructive feedback
    • Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
    • Focusing on what is best not just for us as individuals, but for the overall community

    Examples of unacceptable behavior include:

    • The use of sexualized language or imagery, and sexual attention or advances of any kind
    • Trolling, insulting or derogatory comments, and personal or political attacks
    • Public or private harassment
    • Publishing others' private information, such as a physical or email address, without their explicit permission
    • Other conduct which could reasonably be considered inappropriate in a professional setting

    Enforcement Responsibilities

    Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.

    Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.

    Scope

    This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.

    Enforcement

    Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at ben@zfben.com. All complaints will be reviewed and investigated promptly and fairly.

    All community leaders are obligated to respect the privacy and security of the reporter of any incident.

    Enforcement Guidelines

    Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:

    1. Correction

    Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.

    Consequence: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.

    2. Warning

    Community Impact: A violation through a single incident or series of actions.

    Consequence: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.

    3. Temporary Ban

    Community Impact: A serious violation of community standards, including sustained inappropriate behavior.

    Consequence: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.

    4. Permanent Ban

    Community Impact: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.

    Consequence: A permanent ban from any sort of public interaction within the community.

    Attribution

    ',32),p={href:"https://www.contributor-covenant.org",target:"_blank",rel:"noopener noreferrer"},h={href:"https://github.com/mozilla/diversity",target:"_blank",rel:"noopener noreferrer"},u=n("p",null,"For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.",-1);function m(f,g){const i=a("ExternalLinkIcon");return r(),s("div",null,[d,n("p",null,[e("This Code of Conduct is adapted from the "),n("a",p,[e("Contributor Covenant"),t(i)]),e(", version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.")]),n("p",null,[e("Community Impact Guidelines were inspired by "),n("a",h,[e("Mozilla's code of conduct enforcement ladder"),t(i)]),e(".")]),u])}const v=o(c,[["render",m],["__file","CODE_OF_CONDUCT.html.vue"]]),y=JSON.parse('{"path":"/CODE_OF_CONDUCT.html","title":"Contributor Covenant Code of Conduct","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Our Pledge","slug":"our-pledge","link":"#our-pledge","children":[]},{"level":2,"title":"Our Standards","slug":"our-standards","link":"#our-standards","children":[]},{"level":2,"title":"Enforcement Responsibilities","slug":"enforcement-responsibilities","link":"#enforcement-responsibilities","children":[]},{"level":2,"title":"Scope","slug":"scope","link":"#scope","children":[]},{"level":2,"title":"Enforcement","slug":"enforcement","link":"#enforcement","children":[]},{"level":2,"title":"Enforcement Guidelines","slug":"enforcement-guidelines","link":"#enforcement-guidelines","children":[{"level":3,"title":"1. Correction","slug":"_1-correction","link":"#_1-correction","children":[]},{"level":3,"title":"2. Warning","slug":"_2-warning","link":"#_2-warning","children":[]},{"level":3,"title":"3. Temporary Ban","slug":"_3-temporary-ban","link":"#_3-temporary-ban","children":[]},{"level":3,"title":"4. Permanent Ban","slug":"_4-permanent-ban","link":"#_4-permanent-ban","children":[]}]},{"level":2,"title":"Attribution","slug":"attribution","link":"#attribution","children":[]}],"git":{"updatedTime":null},"filePathRelative":"CODE_OF_CONDUCT.md"}');export{v as comp,y as data}; diff --git a/assets/CloudFunction.html-eU8Ks50_.js b/assets/CloudFunction.html-CRtLVPFh.js similarity index 99% rename from assets/CloudFunction.html-eU8Ks50_.js rename to assets/CloudFunction.html-CRtLVPFh.js index 1469536329..da100def4f 100644 --- a/assets/CloudFunction.html-eU8Ks50_.js +++ b/assets/CloudFunction.html-CRtLVPFh.js @@ -1 +1 @@ -import{_ as c,r as d,o as r,c as l,a as e,d as t,w as a,b as o,e as s}from"./app-QyD7034V.js";const i={},p=s('

    Class: CloudFunction

    Implements

    • Plugin

    Constructors

    new CloudFunction(config)

    ',5),h=e("strong",null,"new CloudFunction",-1),u=e("code",null,"config",-1),g=e("code",null,"CloudFunction",-1),m=e("p",null,"创建云函数配置",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("strong",null,"config?",-1),k=e("code",null,"CloudFunctionConfig",-1),x=e("p",null,"{object} 配置项,这些配置将强制覆盖默认配置",-1),v=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("code",null,"CloudFunction",-1),y=s('

    Properties

    config

    config: Object

    Index signature

    [key: string]: any

    memorySize?

    optional memorySize: number

    name?

    optional name: string

    timeout?

    optional timeout: number

    triggers?

    optional triggers: Object[]

    context

    context: any

    event

    event: any

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    invoke()

    invoke<TData>(name, data?, options?): Promise<void>

    异步触发云函数

    Type parameters

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<void>

    invokeSync()

    invokeSync<TResult, TData>(name, data?, options?): Promise<TResult>

    同步调用云函数

    Type parameters

    TResult = any

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<TResult>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    ',82);function q(P,C){const n=d("RouteLink");return r(),l("div",null,[e("p",null,[t(n,{to:"/doc/cloud_function/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/cloud_function/"},{default:a(()=>[o("@faasjs/cloud_function")]),_:1}),o(" / CloudFunction")]),p,e("blockquote",null,[e("p",null,[h,o("("),u,o("?): "),t(n,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:a(()=>[g]),_:1})])]),m,f,e("p",null,[o("• "),b,o(": "),t(n,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:a(()=>[k]),_:1})]),x,v,e("p",null,[t(n,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:a(()=>[_]),_:1})]),y])}const D=c(i,[["render",q],["__file","CloudFunction.html.vue"]]),R=JSON.parse('{"path":"/doc/cloud_function/classes/CloudFunction.html","title":"Class: CloudFunction","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new CloudFunction(config)","slug":"new-cloudfunction-config","link":"#new-cloudfunction-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"name","slug":"name-1","link":"#name-1","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"invokeSync()","slug":"invokesync","link":"#invokesync","children":[]},{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/classes/CloudFunction.md"}');export{D as comp,R as data}; +import{_ as c,r as d,o as r,c as l,a as e,d as t,w as a,b as o,e as s}from"./app-COoiSelr.js";const i={},p=s('

    Class: CloudFunction

    Implements

    • Plugin

    Constructors

    new CloudFunction(config)

    ',5),h=e("strong",null,"new CloudFunction",-1),u=e("code",null,"config",-1),g=e("code",null,"CloudFunction",-1),m=e("p",null,"创建云函数配置",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("strong",null,"config?",-1),k=e("code",null,"CloudFunctionConfig",-1),x=e("p",null,"{object} 配置项,这些配置将强制覆盖默认配置",-1),v=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("code",null,"CloudFunction",-1),y=s('

    Properties

    config

    config: Object

    Index signature

    [key: string]: any

    memorySize?

    optional memorySize: number

    name?

    optional name: string

    timeout?

    optional timeout: number

    triggers?

    optional triggers: Object[]

    context

    context: any

    event

    event: any

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    invoke()

    invoke<TData>(name, data?, options?): Promise<void>

    异步触发云函数

    Type parameters

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<void>

    invokeSync()

    invokeSync<TResult, TData>(name, data?, options?): Promise<TResult>

    同步调用云函数

    Type parameters

    TResult = any

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<TResult>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    ',82);function q(P,C){const n=d("RouteLink");return r(),l("div",null,[e("p",null,[t(n,{to:"/doc/cloud_function/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/cloud_function/"},{default:a(()=>[o("@faasjs/cloud_function")]),_:1}),o(" / CloudFunction")]),p,e("blockquote",null,[e("p",null,[h,o("("),u,o("?): "),t(n,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:a(()=>[g]),_:1})])]),m,f,e("p",null,[o("• "),b,o(": "),t(n,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:a(()=>[k]),_:1})]),x,v,e("p",null,[t(n,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:a(()=>[_]),_:1})]),y])}const D=c(i,[["render",q],["__file","CloudFunction.html.vue"]]),R=JSON.parse('{"path":"/doc/cloud_function/classes/CloudFunction.html","title":"Class: CloudFunction","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new CloudFunction(config)","slug":"new-cloudfunction-config","link":"#new-cloudfunction-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"name","slug":"name-1","link":"#name-1","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"invokeSync()","slug":"invokesync","link":"#invokesync","children":[]},{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/classes/CloudFunction.md"}');export{D as comp,R as data}; diff --git a/assets/CloudFunctionAdapter.html-DiCyTjEd.js b/assets/CloudFunctionAdapter.html-DdI96t6A.js similarity index 98% rename from assets/CloudFunctionAdapter.html-DiCyTjEd.js rename to assets/CloudFunctionAdapter.html-DdI96t6A.js index ef18fc7c6f..36c7039576 100644 --- a/assets/CloudFunctionAdapter.html-DiCyTjEd.js +++ b/assets/CloudFunctionAdapter.html-DdI96t6A.js @@ -1 +1 @@ -import{_ as a,r as c,o as d,c as s,a as r,d as n,w as t,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Type alias: CloudFunctionAdapter

    CloudFunctionAdapter: Object

    Type declaration

    invokeCloudFunction()

    invokeCloudFunction: (name, data, options?) => Promise<void>

    Parameters

    name: string

    data: any

    options?: any

    Returns

    Promise<void>

    invokeSyncCloudFunction()

    invokeSyncCloudFunction: <TResult>(name, data, options?) => Promise<TResult>

    Type parameters

    TResult

    Parameters

    name: string

    data: any

    options?: any

    Returns

    Promise<TResult>

    ',21);function u(h,f){const o=c("RouteLink");return d(),s("div",null,[r("p",null,[n(o,{to:"/doc/cloud_function/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/cloud_function/"},{default:t(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / CloudFunctionAdapter")]),p])}const m=a(l,[["render",u],["__file","CloudFunctionAdapter.html.vue"]]),k=JSON.parse('{"path":"/doc/cloud_function/type-aliases/CloudFunctionAdapter.html","title":"Type alias: CloudFunctionAdapter","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"invokeCloudFunction()","slug":"invokecloudfunction","link":"#invokecloudfunction","children":[]},{"level":3,"title":"invokeSyncCloudFunction()","slug":"invokesynccloudfunction","link":"#invokesynccloudfunction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/type-aliases/CloudFunctionAdapter.md"}');export{m as comp,k as data}; +import{_ as a,r as c,o as d,c as s,a as r,d as n,w as t,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Type alias: CloudFunctionAdapter

    CloudFunctionAdapter: Object

    Type declaration

    invokeCloudFunction()

    invokeCloudFunction: (name, data, options?) => Promise<void>

    Parameters

    name: string

    data: any

    options?: any

    Returns

    Promise<void>

    invokeSyncCloudFunction()

    invokeSyncCloudFunction: <TResult>(name, data, options?) => Promise<TResult>

    Type parameters

    TResult

    Parameters

    name: string

    data: any

    options?: any

    Returns

    Promise<TResult>

    ',21);function u(h,f){const o=c("RouteLink");return d(),s("div",null,[r("p",null,[n(o,{to:"/doc/cloud_function/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/cloud_function/"},{default:t(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / CloudFunctionAdapter")]),p])}const m=a(l,[["render",u],["__file","CloudFunctionAdapter.html.vue"]]),k=JSON.parse('{"path":"/doc/cloud_function/type-aliases/CloudFunctionAdapter.html","title":"Type alias: CloudFunctionAdapter","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"invokeCloudFunction()","slug":"invokecloudfunction","link":"#invokecloudfunction","children":[]},{"level":3,"title":"invokeSyncCloudFunction()","slug":"invokesynccloudfunction","link":"#invokesynccloudfunction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/type-aliases/CloudFunctionAdapter.md"}');export{m as comp,k as data}; diff --git a/assets/CloudFunctionConfig.html-BpZVHVBk.js b/assets/CloudFunctionConfig.html-C0hSpm75.js similarity index 98% rename from assets/CloudFunctionConfig.html-BpZVHVBk.js rename to assets/CloudFunctionConfig.html-C0hSpm75.js index 8b66ff9a09..7487d0ff41 100644 --- a/assets/CloudFunctionConfig.html-BpZVHVBk.js +++ b/assets/CloudFunctionConfig.html-C0hSpm75.js @@ -1 +1 @@ -import{_ as t,r as i,o as a,c as r,a as d,d as n,w as c,b as e,e as s}from"./app-QyD7034V.js";const l={},g=s('

    Type alias: CloudFunctionConfig

    CloudFunctionConfig: Object

    云函数配置项

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    配置项

    Index signature

    [key: string]: any

    config.memorySize?

    optional memorySize: 64 | 128 | 256 | 384 | 512 | 640 | 768 | 896 | 1024 | number

    内存大小,单位为MB,默认 64

    config.name?

    optional name: string

    配置名称

    config.provisionedConcurrent?

    optional provisionedConcurrent: Object

    预制并发配置

    config.provisionedConcurrent.executions

    executions: number

    预制并发数量

    config.timeout?

    optional timeout: number

    执行超时时间,单位为秒,默认 30

    config.triggers?

    optional triggers: Object[]

    触发器配置

    name?

    optional name: string

    插件名称

    validator?

    optional validator: Object

    validator.event?

    optional event: ValidatorConfig

    ',36);function p(u,h){const o=i("RouteLink");return a(),r("div",null,[d("p",null,[n(o,{to:"/doc/cloud_function/"},{default:c(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/cloud_function/"},{default:c(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / CloudFunctionConfig")]),g])}const m=t(l,[["render",p],["__file","CloudFunctionConfig.html.vue"]]),v=JSON.parse('{"path":"/doc/cloud_function/type-aliases/CloudFunctionConfig.html","title":"Type alias: CloudFunctionConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"config.memorySize?","slug":"config-memorysize","link":"#config-memorysize","children":[]},{"level":3,"title":"config.name?","slug":"config-name","link":"#config-name","children":[]},{"level":3,"title":"config.provisionedConcurrent?","slug":"config-provisionedconcurrent","link":"#config-provisionedconcurrent","children":[]},{"level":3,"title":"config.provisionedConcurrent.executions","slug":"config-provisionedconcurrent-executions","link":"#config-provisionedconcurrent-executions","children":[]},{"level":3,"title":"config.timeout?","slug":"config-timeout","link":"#config-timeout","children":[]},{"level":3,"title":"config.triggers?","slug":"config-triggers","link":"#config-triggers","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"validator?","slug":"validator","link":"#validator","children":[]},{"level":3,"title":"validator.event?","slug":"validator-event","link":"#validator-event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/type-aliases/CloudFunctionConfig.md"}');export{m as comp,v as data}; +import{_ as t,r as i,o as a,c as r,a as d,d as n,w as c,b as e,e as s}from"./app-COoiSelr.js";const l={},g=s('

    Type alias: CloudFunctionConfig

    CloudFunctionConfig: Object

    云函数配置项

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    配置项

    Index signature

    [key: string]: any

    config.memorySize?

    optional memorySize: 64 | 128 | 256 | 384 | 512 | 640 | 768 | 896 | 1024 | number

    内存大小,单位为MB,默认 64

    config.name?

    optional name: string

    配置名称

    config.provisionedConcurrent?

    optional provisionedConcurrent: Object

    预制并发配置

    config.provisionedConcurrent.executions

    executions: number

    预制并发数量

    config.timeout?

    optional timeout: number

    执行超时时间,单位为秒,默认 30

    config.triggers?

    optional triggers: Object[]

    触发器配置

    name?

    optional name: string

    插件名称

    validator?

    optional validator: Object

    validator.event?

    optional event: ValidatorConfig

    ',36);function p(u,h){const o=i("RouteLink");return a(),r("div",null,[d("p",null,[n(o,{to:"/doc/cloud_function/"},{default:c(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/cloud_function/"},{default:c(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / CloudFunctionConfig")]),g])}const m=t(l,[["render",p],["__file","CloudFunctionConfig.html.vue"]]),v=JSON.parse('{"path":"/doc/cloud_function/type-aliases/CloudFunctionConfig.html","title":"Type alias: CloudFunctionConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"config.memorySize?","slug":"config-memorysize","link":"#config-memorysize","children":[]},{"level":3,"title":"config.name?","slug":"config-name","link":"#config-name","children":[]},{"level":3,"title":"config.provisionedConcurrent?","slug":"config-provisionedconcurrent","link":"#config-provisionedconcurrent","children":[]},{"level":3,"title":"config.provisionedConcurrent.executions","slug":"config-provisionedconcurrent-executions","link":"#config-provisionedconcurrent-executions","children":[]},{"level":3,"title":"config.timeout?","slug":"config-timeout","link":"#config-timeout","children":[]},{"level":3,"title":"config.triggers?","slug":"config-triggers","link":"#config-triggers","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"validator?","slug":"validator","link":"#validator","children":[]},{"level":3,"title":"validator.event?","slug":"validator-event","link":"#validator-event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/type-aliases/CloudFunctionConfig.md"}');export{m as comp,v as data}; diff --git a/assets/Color.html-DE6d4Ewr.js b/assets/Color.html-CMdk-C5c.js similarity index 98% rename from assets/Color.html-DE6d4Ewr.js rename to assets/Color.html-CMdk-C5c.js index 5346820528..8d8e019e1d 100644 --- a/assets/Color.html-DE6d4Ewr.js +++ b/assets/Color.html-CMdk-C5c.js @@ -1 +1 @@ -import{_ as t,r as s,o as d,c,a as e,d as a,w as o,b as n,e as r}from"./app-QyD7034V.js";const h={},i=r('

    Enumeration: Color

    Table of contents

    Enumeration Members

    ',3),u=r('

    Enumeration Members

    BLACK

    BLACK = 30


    BLUE

    BLUE = 34


    CYAN

    CYAN = 36


    DEFAULT

    DEFAULT = 39


    GRAY

    GRAY = 90


    GREEN

    GREEN = 32


    MAGENTA

    MAGENTA = 35


    ORANGE

    ORANGE = 33


    RED

    RED = 31

    ',27);function g(m,p){const l=s("RouteLink");return d(),c("div",null,[e("p",null,[a(l,{to:"/doc/logger/"},{default:o(()=>[n("Documents")]),_:1}),n(" / Enumeration: Color")]),i,e("ul",null,[e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#black"},{default:o(()=>[n("BLACK")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#blue"},{default:o(()=>[n("BLUE")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#cyan"},{default:o(()=>[n("CYAN")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#default"},{default:o(()=>[n("DEFAULT")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#gray"},{default:o(()=>[n("GRAY")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#green"},{default:o(()=>[n("GREEN")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#magenta"},{default:o(()=>[n("MAGENTA")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#orange"},{default:o(()=>[n("ORANGE")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#red"},{default:o(()=>[n("RED")]),_:1})])]),u])}const f=t(h,[["render",g],["__file","Color.html.vue"]]),E=JSON.parse('{"path":"/doc/logger/enums/Color.html","title":"Enumeration: Color","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Enumeration Members","slug":"enumeration-members","link":"#enumeration-members","children":[]}]},{"level":2,"title":"Enumeration Members","slug":"enumeration-members-1","link":"#enumeration-members-1","children":[{"level":3,"title":"BLACK","slug":"black","link":"#black","children":[]},{"level":3,"title":"BLUE","slug":"blue","link":"#blue","children":[]},{"level":3,"title":"CYAN","slug":"cyan","link":"#cyan","children":[]},{"level":3,"title":"DEFAULT","slug":"default","link":"#default","children":[]},{"level":3,"title":"GRAY","slug":"gray","link":"#gray","children":[]},{"level":3,"title":"GREEN","slug":"green","link":"#green","children":[]},{"level":3,"title":"MAGENTA","slug":"magenta","link":"#magenta","children":[]},{"level":3,"title":"ORANGE","slug":"orange","link":"#orange","children":[]},{"level":3,"title":"RED","slug":"red","link":"#red","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/logger/enums/Color.md"}');export{f as comp,E as data}; +import{_ as t,r as s,o as d,c,a as e,d as a,w as o,b as n,e as r}from"./app-COoiSelr.js";const h={},i=r('

    Enumeration: Color

    Table of contents

    Enumeration Members

    ',3),u=r('

    Enumeration Members

    BLACK

    BLACK = 30


    BLUE

    BLUE = 34


    CYAN

    CYAN = 36


    DEFAULT

    DEFAULT = 39


    GRAY

    GRAY = 90


    GREEN

    GREEN = 32


    MAGENTA

    MAGENTA = 35


    ORANGE

    ORANGE = 33


    RED

    RED = 31

    ',27);function g(m,p){const l=s("RouteLink");return d(),c("div",null,[e("p",null,[a(l,{to:"/doc/logger/"},{default:o(()=>[n("Documents")]),_:1}),n(" / Enumeration: Color")]),i,e("ul",null,[e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#black"},{default:o(()=>[n("BLACK")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#blue"},{default:o(()=>[n("BLUE")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#cyan"},{default:o(()=>[n("CYAN")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#default"},{default:o(()=>[n("DEFAULT")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#gray"},{default:o(()=>[n("GRAY")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#green"},{default:o(()=>[n("GREEN")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#magenta"},{default:o(()=>[n("MAGENTA")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#orange"},{default:o(()=>[n("ORANGE")]),_:1})]),e("li",null,[a(l,{to:"/doc/logger/enums/Color.html#red"},{default:o(()=>[n("RED")]),_:1})])]),u])}const f=t(h,[["render",g],["__file","Color.html.vue"]]),E=JSON.parse('{"path":"/doc/logger/enums/Color.html","title":"Enumeration: Color","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Enumeration Members","slug":"enumeration-members","link":"#enumeration-members","children":[]}]},{"level":2,"title":"Enumeration Members","slug":"enumeration-members-1","link":"#enumeration-members-1","children":[{"level":3,"title":"BLACK","slug":"black","link":"#black","children":[]},{"level":3,"title":"BLUE","slug":"blue","link":"#blue","children":[]},{"level":3,"title":"CYAN","slug":"cyan","link":"#cyan","children":[]},{"level":3,"title":"DEFAULT","slug":"default","link":"#default","children":[]},{"level":3,"title":"GRAY","slug":"gray","link":"#gray","children":[]},{"level":3,"title":"GREEN","slug":"green","link":"#green","children":[]},{"level":3,"title":"MAGENTA","slug":"magenta","link":"#magenta","children":[]},{"level":3,"title":"ORANGE","slug":"orange","link":"#orange","children":[]},{"level":3,"title":"RED","slug":"red","link":"#red","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/logger/enums/Color.md"}');export{f as comp,E as data}; diff --git a/assets/Color.html-Dz69XcVv.js b/assets/Color.html-CYNmIW8R.js similarity index 97% rename from assets/Color.html-Dz69XcVv.js rename to assets/Color.html-CYNmIW8R.js index 39dedacc0f..cc0e774a8b 100644 --- a/assets/Color.html-Dz69XcVv.js +++ b/assets/Color.html-CYNmIW8R.js @@ -1 +1 @@ -import{_ as l,r as t,o as r,c,a as s,d as o,w as n,b as e,e as d}from"./app-QyD7034V.js";const i={},h=d('

    Enumeration: Color

    Enumeration Members

    BLACK

    BLACK: 30

    BLUE

    BLUE: 34

    CYAN

    CYAN: 36

    DEFAULT

    DEFAULT: 39

    GRAY

    GRAY: 90

    GREEN

    GREEN: 32

    MAGENTA

    MAGENTA: 35

    ORANGE

    ORANGE: 33

    RED

    RED: 31

    ',20);function u(g,p){const a=t("RouteLink");return r(),c("div",null,[s("p",null,[o(a,{to:"/doc/logger/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/logger/"},{default:n(()=>[e("@faasjs/logger")]),_:1}),e(" / Color")]),h])}const m=l(i,[["render",u],["__file","Color.html.vue"]]),k=JSON.parse('{"path":"/doc/logger/enumerations/Color.html","title":"Enumeration: Color","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Enumeration Members","slug":"enumeration-members","link":"#enumeration-members","children":[{"level":3,"title":"BLACK","slug":"black","link":"#black","children":[]},{"level":3,"title":"BLUE","slug":"blue","link":"#blue","children":[]},{"level":3,"title":"CYAN","slug":"cyan","link":"#cyan","children":[]},{"level":3,"title":"DEFAULT","slug":"default","link":"#default","children":[]},{"level":3,"title":"GRAY","slug":"gray","link":"#gray","children":[]},{"level":3,"title":"GREEN","slug":"green","link":"#green","children":[]},{"level":3,"title":"MAGENTA","slug":"magenta","link":"#magenta","children":[]},{"level":3,"title":"ORANGE","slug":"orange","link":"#orange","children":[]},{"level":3,"title":"RED","slug":"red","link":"#red","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/logger/enumerations/Color.md"}');export{m as comp,k as data}; +import{_ as l,r as t,o as r,c,a as s,d as o,w as n,b as e,e as d}from"./app-COoiSelr.js";const i={},h=d('

    Enumeration: Color

    Enumeration Members

    BLACK

    BLACK: 30

    BLUE

    BLUE: 34

    CYAN

    CYAN: 36

    DEFAULT

    DEFAULT: 39

    GRAY

    GRAY: 90

    GREEN

    GREEN: 32

    MAGENTA

    MAGENTA: 35

    ORANGE

    ORANGE: 33

    RED

    RED: 31

    ',20);function u(g,p){const a=t("RouteLink");return r(),c("div",null,[s("p",null,[o(a,{to:"/doc/logger/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/logger/"},{default:n(()=>[e("@faasjs/logger")]),_:1}),e(" / Color")]),h])}const m=l(i,[["render",u],["__file","Color.html.vue"]]),k=JSON.parse('{"path":"/doc/logger/enumerations/Color.html","title":"Enumeration: Color","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Enumeration Members","slug":"enumeration-members","link":"#enumeration-members","children":[{"level":3,"title":"BLACK","slug":"black","link":"#black","children":[]},{"level":3,"title":"BLUE","slug":"blue","link":"#blue","children":[]},{"level":3,"title":"CYAN","slug":"cyan","link":"#cyan","children":[]},{"level":3,"title":"DEFAULT","slug":"default","link":"#default","children":[]},{"level":3,"title":"GRAY","slug":"gray","link":"#gray","children":[]},{"level":3,"title":"GREEN","slug":"green","link":"#green","children":[]},{"level":3,"title":"MAGENTA","slug":"magenta","link":"#magenta","children":[]},{"level":3,"title":"ORANGE","slug":"orange","link":"#orange","children":[]},{"level":3,"title":"RED","slug":"red","link":"#red","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/logger/enumerations/Color.md"}');export{m as comp,k as data}; diff --git a/assets/Config.html-c7EGWjBn.js b/assets/Config.html-DXgsTwc7.js similarity index 97% rename from assets/Config.html-c7EGWjBn.js rename to assets/Config.html-DXgsTwc7.js index 3d8b9e16cb..3118c80cd9 100644 --- a/assets/Config.html-c7EGWjBn.js +++ b/assets/Config.html-DXgsTwc7.js @@ -1 +1 @@ -import{_ as s,r as i,o as d,c as r,a as n,d as a,w as o,b as e,e as c}from"./app-QyD7034V.js";const l={},p=c('

    Type alias: Config

    Config: Object

    Index signature

    [key: string]: any

    Type declaration

    plugins?

    optional plugins: Object

    Index signature

    [key: string]: Object

    providers?

    optional providers: Object

    Index signature

    ',12),h=n("code",null,"key",-1),g=n("code",null,"string",-1),u=n("code",null,"ProviderConfig",-1);function f(_,x){const t=i("RouteLink");return d(),r("div",null,[n("p",null,[a(t,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / Config")]),p,n("p",null,[e("["),h,e(": "),g,e("]: "),a(t,{to:"/doc/test/type-aliases/ProviderConfig.html"},{default:o(()=>[u]),_:1})])])}const k=s(l,[["render",f],["__file","Config.html.vue"]]),v=JSON.parse('{"path":"/doc/test/type-aliases/Config.html","title":"Type alias: Config","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"providers?","slug":"providers","link":"#providers","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Config.md"}');export{k as comp,v as data}; +import{_ as s,r as i,o as d,c as r,a as n,d as a,w as o,b as e,e as c}from"./app-COoiSelr.js";const l={},p=c('

    Type alias: Config

    Config: Object

    Index signature

    [key: string]: any

    Type declaration

    plugins?

    optional plugins: Object

    Index signature

    [key: string]: Object

    providers?

    optional providers: Object

    Index signature

    ',12),h=n("code",null,"key",-1),g=n("code",null,"string",-1),u=n("code",null,"ProviderConfig",-1);function f(_,x){const t=i("RouteLink");return d(),r("div",null,[n("p",null,[a(t,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / Config")]),p,n("p",null,[e("["),h,e(": "),g,e("]: "),a(t,{to:"/doc/test/type-aliases/ProviderConfig.html"},{default:o(()=>[u]),_:1})])])}const k=s(l,[["render",f],["__file","Config.html.vue"]]),v=JSON.parse('{"path":"/doc/test/type-aliases/Config.html","title":"Type alias: Config","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"providers?","slug":"providers","link":"#providers","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Config.md"}');export{k as comp,v as data}; diff --git a/assets/Config.html-Bh5ViP1f.js b/assets/Config.html-Dr1W2A8e.js similarity index 97% rename from assets/Config.html-Bh5ViP1f.js rename to assets/Config.html-Dr1W2A8e.js index 4c00161ae1..7fcc08d88f 100644 --- a/assets/Config.html-Bh5ViP1f.js +++ b/assets/Config.html-Dr1W2A8e.js @@ -1 +1 @@ -import{_ as s,r as i,o as d,c,a as n,d as o,w as t,b as e,e as r}from"./app-QyD7034V.js";const l={},p=r('

    Type alias: Config

    Config: Object

    Index signature

    [key: string]: any

    Type declaration

    plugins?

    optional plugins: Object

    Index signature

    [key: string]: Object

    providers?

    optional providers: Object

    Index signature

    ',12),h=n("code",null,"key",-1),u=n("code",null,"string",-1),g=n("code",null,"ProviderConfig",-1);function f(_,x){const a=i("RouteLink");return d(),c("div",null,[n("p",null,[o(a,{to:"/doc/func/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/func/"},{default:t(()=>[e("@faasjs/func")]),_:1}),e(" / Config")]),p,n("p",null,[e("["),h,e(": "),u,e("]: "),o(a,{to:"/doc/func/type-aliases/ProviderConfig.html"},{default:t(()=>[g]),_:1})])])}const k=s(l,[["render",f],["__file","Config.html.vue"]]),v=JSON.parse('{"path":"/doc/func/type-aliases/Config.html","title":"Type alias: Config","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"providers?","slug":"providers","link":"#providers","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Config.md"}');export{k as comp,v as data}; +import{_ as s,r as i,o as d,c,a as n,d as o,w as t,b as e,e as r}from"./app-COoiSelr.js";const l={},p=r('

    Type alias: Config

    Config: Object

    Index signature

    [key: string]: any

    Type declaration

    plugins?

    optional plugins: Object

    Index signature

    [key: string]: Object

    providers?

    optional providers: Object

    Index signature

    ',12),h=n("code",null,"key",-1),u=n("code",null,"string",-1),g=n("code",null,"ProviderConfig",-1);function f(_,x){const a=i("RouteLink");return d(),c("div",null,[n("p",null,[o(a,{to:"/doc/func/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/func/"},{default:t(()=>[e("@faasjs/func")]),_:1}),e(" / Config")]),p,n("p",null,[e("["),h,e(": "),u,e("]: "),o(a,{to:"/doc/func/type-aliases/ProviderConfig.html"},{default:t(()=>[g]),_:1})])])}const k=s(l,[["render",f],["__file","Config.html.vue"]]),v=JSON.parse('{"path":"/doc/func/type-aliases/Config.html","title":"Type alias: Config","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"providers?","slug":"providers","link":"#providers","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Config.md"}');export{k as comp,v as data}; diff --git a/assets/ConfigContext.html-D5IhKPkQ.js b/assets/ConfigContext.html-C99L4bmK.js similarity index 94% rename from assets/ConfigContext.html-D5IhKPkQ.js rename to assets/ConfigContext.html-C99L4bmK.js index 70f08cb861..b1c402995f 100644 --- a/assets/ConfigContext.html-D5IhKPkQ.js +++ b/assets/ConfigContext.html-C99L4bmK.js @@ -1 +1 @@ -import{_ as s,r as i,o as l,c,a as t,d as n,w as a,b as e}from"./app-QyD7034V.js";const d={},r=t("h1",{id:"variable-configcontext",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#variable-configcontext"},[t("span",null,"Variable: ConfigContext")])],-1),_=t("strong",null,[t("code",null,"const")],-1),f=t("strong",null,"ConfigContext",-1),u=t("code",null,"Context",-1),g=t("code",null,"Partial",-1),C=t("code",null,"ConfigProviderProps",-1);function h(x,m){const o=i("RouteLink");return l(),c("div",null,[t("p",null,[n(o,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ConfigContext")]),r,t("blockquote",null,[t("p",null,[_,e(),f,e(": "),u,e("<"),g,e("<"),n(o,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:a(()=>[C]),_:1}),e(">>")])])])}const v=s(d,[["render",h],["__file","ConfigContext.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/variables/ConfigContext.html","title":"Variable: ConfigContext","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/variables/ConfigContext.md"}');export{v as comp,b as data}; +import{_ as s,r as i,o as l,c,a as t,d as n,w as a,b as e}from"./app-COoiSelr.js";const d={},r=t("h1",{id:"variable-configcontext",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#variable-configcontext"},[t("span",null,"Variable: ConfigContext")])],-1),_=t("strong",null,[t("code",null,"const")],-1),f=t("strong",null,"ConfigContext",-1),u=t("code",null,"Context",-1),g=t("code",null,"Partial",-1),C=t("code",null,"ConfigProviderProps",-1);function h(x,m){const o=i("RouteLink");return l(),c("div",null,[t("p",null,[n(o,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ConfigContext")]),r,t("blockquote",null,[t("p",null,[_,e(),f,e(": "),u,e("<"),g,e("<"),n(o,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:a(()=>[C]),_:1}),e(">>")])])])}const v=s(d,[["render",h],["__file","ConfigContext.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/variables/ConfigContext.html","title":"Variable: ConfigContext","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/variables/ConfigContext.md"}');export{v as comp,b as data}; diff --git a/assets/ConfigProvider.html-OYGVHA-1.js b/assets/ConfigProvider.html-C4Ul_seg.js similarity index 98% rename from assets/ConfigProvider.html-OYGVHA-1.js rename to assets/ConfigProvider.html-C4Ul_seg.js index d4fb38d34f..a1b61bf04c 100644 --- a/assets/ConfigProvider.html-OYGVHA-1.js +++ b/assets/ConfigProvider.html-C4Ul_seg.js @@ -1,4 +1,4 @@ -import{_ as p,r as c,o as i,c as l,a,d as e,w as t,b as n,e as o}from"./app-QyD7034V.js";const r={},d=o('

    Function: ConfigProvider()

    ConfigProvider(props): Element

    Config for @faasjs/ant-design components.

    Parameters

    ',4),u=a("strong",null,"props",-1),g=a("code",null,"ConfigProviderProps",-1),m=o(`

    Returns

    Element

    Example

    import { ConfigProvider } from '@faasjs/ant-design'
    +import{_ as p,r as c,o as i,c as l,a,d as e,w as t,b as n,e as o}from"./app-COoiSelr.js";const r={},d=o('

    Function: ConfigProvider()

    ConfigProvider(props): Element

    Config for @faasjs/ant-design components.

    Parameters

    ',4),u=a("strong",null,"props",-1),g=a("code",null,"ConfigProviderProps",-1),m=o(`

    Returns

    Element

    Example

    import { ConfigProvider } from '@faasjs/ant-design'
     
     <ConfigProvider theme={{ common: { blank: 'Empty' } }}>
       <Blank />
    diff --git a/assets/ConfigProviderProps.html-D2yNbYMf.js b/assets/ConfigProviderProps.html-BEfgt915.js
    similarity index 99%
    rename from assets/ConfigProviderProps.html-D2yNbYMf.js
    rename to assets/ConfigProviderProps.html-BEfgt915.js
    index 8bf597c441..ea9699b066 100644
    --- a/assets/ConfigProviderProps.html-D2yNbYMf.js
    +++ b/assets/ConfigProviderProps.html-BEfgt915.js
    @@ -1 +1 @@
    -import{_ as a,r as s,o as r,c,a as d,d as t,w as n,b as o,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Interface: ConfigProviderProps

    Properties

    children

    children: ReactNode

    faasClientOptions?

    optional faasClientOptions: FaasReactClientOptions

    theme?

    optional theme: Object

    Blank?

    optional Blank: Object

    Blank.text?

    optional text: string

    Form?

    optional Form: Object

    Form.submit?

    optional submit: Object

    Form.submit.text?

    optional text: string

    optional Link: Object

    optional style: CSSProperties

    optional target: string

    '_blank' as default

    Title?

    optional Title: Object

    Title.separator?

    optional separator: string

    ' - ' as default

    Title.suffix?

    optional suffix: string

    common?

    optional common: Object

    common.add?

    optional add: string

    common.all?

    optional all: string

    common.blank?

    optional blank: string

    common.delete?

    optional delete: string

    common.pageNotFound?

    optional pageNotFound: string

    common.required?

    optional required: string

    common.reset?

    optional reset: string

    optional search: string

    common.submit?

    optional submit: string

    lang?

    optional lang: string

    ',54);function h(g,b){const e=s("RouteLink");return r(),c("div",null,[d("p",null,[t(e,{to:"/doc/ant-design/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(e,{to:"/doc/ant-design/"},{default:n(()=>[o("@faasjs/ant-design")]),_:1}),o(" / ConfigProviderProps")]),p])}const u=a(l,[["render",h],["__file","ConfigProviderProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/interfaces/ConfigProviderProps.html","title":"Interface: ConfigProviderProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"faasClientOptions?","slug":"faasclientoptions","link":"#faasclientoptions","children":[]},{"level":3,"title":"theme?","slug":"theme","link":"#theme","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ConfigProviderProps.md"}');export{u as comp,k as data}; +import{_ as a,r as s,o as r,c,a as d,d as t,w as n,b as o,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Interface: ConfigProviderProps

    Properties

    children

    children: ReactNode

    faasClientOptions?

    optional faasClientOptions: FaasReactClientOptions

    theme?

    optional theme: Object

    Blank?

    optional Blank: Object

    Blank.text?

    optional text: string

    Form?

    optional Form: Object

    Form.submit?

    optional submit: Object

    Form.submit.text?

    optional text: string

    optional Link: Object

    optional style: CSSProperties

    optional target: string

    '_blank' as default

    Title?

    optional Title: Object

    Title.separator?

    optional separator: string

    ' - ' as default

    Title.suffix?

    optional suffix: string

    common?

    optional common: Object

    common.add?

    optional add: string

    common.all?

    optional all: string

    common.blank?

    optional blank: string

    common.delete?

    optional delete: string

    common.pageNotFound?

    optional pageNotFound: string

    common.required?

    optional required: string

    common.reset?

    optional reset: string

    optional search: string

    common.submit?

    optional submit: string

    lang?

    optional lang: string

    ',54);function h(g,b){const e=s("RouteLink");return r(),c("div",null,[d("p",null,[t(e,{to:"/doc/ant-design/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(e,{to:"/doc/ant-design/"},{default:n(()=>[o("@faasjs/ant-design")]),_:1}),o(" / ConfigProviderProps")]),p])}const u=a(l,[["render",h],["__file","ConfigProviderProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/interfaces/ConfigProviderProps.html","title":"Interface: ConfigProviderProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"faasClientOptions?","slug":"faasclientoptions","link":"#faasclientoptions","children":[]},{"level":3,"title":"theme?","slug":"theme","link":"#theme","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ConfigProviderProps.md"}');export{u as comp,k as data}; diff --git a/assets/ContentType.html-KdD2mfdt.js b/assets/ContentType.html-71_4lam0.js similarity index 94% rename from assets/ContentType.html-KdD2mfdt.js rename to assets/ContentType.html-71_4lam0.js index d5d71f2362..07ad89a8e7 100644 --- a/assets/ContentType.html-KdD2mfdt.js +++ b/assets/ContentType.html-71_4lam0.js @@ -1 +1 @@ -import{_ as o,r as s,o as c,c as r,a as d,d as n,w as a,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Variable: ContentType

    const ContentType: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const t=s("RouteLink");return c(),r("div",null,[d("p",null,[n(t,{to:"/doc/http/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(t,{to:"/doc/http/"},{default:a(()=>[e("@faasjs/http")]),_:1}),e(" / ContentType")]),p])}const m=o(l,[["render",h],["__file","ContentType.html.vue"]]),f=JSON.parse('{"path":"/doc/http/variables/ContentType.html","title":"Variable: ContentType","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/variables/ContentType.md"}');export{m as comp,f as data}; +import{_ as o,r as s,o as c,c as r,a as d,d as n,w as a,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Variable: ContentType

    const ContentType: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const t=s("RouteLink");return c(),r("div",null,[d("p",null,[n(t,{to:"/doc/http/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(t,{to:"/doc/http/"},{default:a(()=>[e("@faasjs/http")]),_:1}),e(" / ContentType")]),p])}const m=o(l,[["render",h],["__file","ContentType.html.vue"]]),f=JSON.parse('{"path":"/doc/http/variables/ContentType.html","title":"Variable: ContentType","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/variables/ContentType.md"}');export{m as comp,f as data}; diff --git a/assets/Cookie.html-Bm_LNDlf.js b/assets/Cookie.html-Dz23sfGj.js similarity index 99% rename from assets/Cookie.html-Bm_LNDlf.js rename to assets/Cookie.html-Dz23sfGj.js index fa56f02d9e..a2b0319750 100644 --- a/assets/Cookie.html-Bm_LNDlf.js +++ b/assets/Cookie.html-Dz23sfGj.js @@ -1 +1 @@ -import{_ as c,r,o as d,c as l,a as e,d as t,w as n,b as o,e as a}from"./app-QyD7034V.js";const i={},h=a('

    Class: Cookie<C, S>

    Type parameters

    C extends Record<string, string> = any

    S extends Record<string, string> = any

    Constructors

    ',6),p=e("strong",null,"new Cookie",-1),u=e("code",null,"C",-1),g=e("code",null,"S",-1),_=e("code",null,"config",-1),k=e("code",null,"logger",-1),b=e("code",null,"Cookie",-1),f=e("code",null,"C",-1),m=e("code",null,"S",-1),x=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),C=e("strong",null,"config",-1),q=e("code",null,"CookieOptions",-1),v=e("p",null,[o("• "),e("strong",null,"logger?"),o(": "),e("code",null,"Logger")],-1),S=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),y=e("code",null,"Cookie",-1),w=e("code",null,"C",-1),O=e("code",null,"S",-1),R=a('

    Properties

    config

    readonly config: Object

    domain?

    optional domain: string

    expires

    expires: number

    httpOnly

    httpOnly: boolean

    path

    path: string

    sameSite?

    optional sameSite: "Strict" | "Lax" | "None"

    secure

    secure: boolean

    session

    ',16),L=e("strong",null,"session",-1),N=e("code",null,"SessionOptions",-1),P=a('

    content

    content: Record<string, string>

    logger

    logger: Logger

    session

    ',5),j=e("strong",null,"session",-1),T=e("code",null,"Session",-1),V=e("code",null,"S",-1),B=e("code",null,"C",-1),M=a('

    Methods

    headers()

    headers(): Object

    Returns

    Object

    optional Set-Cookie: string[]

    invoke()

    ',8),D=e("strong",null,"invoke",-1),E=e("code",null,"cookie",-1),J=e("code",null,"logger",-1),z=e("code",null,"Cookie",-1),A=e("code",null,"C",-1),F=e("code",null,"S",-1),G=a('

    Parameters

    cookie: string

    logger: Logger

    Returns

    ',4),H=e("code",null,"Cookie",-1),I=e("code",null,"C",-1),K=e("code",null,"S",-1),Q=a('

    read()

    read(key): any

    Parameters

    key: string

    Returns

    any

    write()

    ',7),U=e("strong",null,"write",-1),W=e("code",null,"key",-1),X=e("code",null,"value",-1),Y=e("code",null,"opts",-1),Z=e("code",null,"Cookie",-1),$=e("code",null,"C",-1),ee=e("code",null,"S",-1),oe=a('

    Parameters

    key: string

    value: string

    opts?

    opts.domain?: string

    opts.expires?: string | number

    opts.httpOnly?: boolean

    opts.path?: string

    opts.sameSite?: "Strict" | "Lax" | "None"

    opts.secure?: boolean

    Returns

    ',11),se=e("code",null,"Cookie",-1),te=e("code",null,"C",-1),ne=e("code",null,"S",-1);function ae(ce,re){const s=r("RouteLink");return d(),l("div",null,[e("p",null,[t(s,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Cookie")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),g,o(">("),_,o(", "),k,o("?): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[b]),_:1}),o("<"),f,o(", "),m,o(">")])]),x,e("p",null,[o("• "),C,o(": "),t(s,{to:"/doc/http/type-aliases/CookieOptions.html"},{default:n(()=>[q]),_:1})]),v,S,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[y]),_:1}),o("<"),w,o(", "),O,o(">")]),R,e("blockquote",null,[e("p",null,[L,o(": "),t(s,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[N]),_:1})])]),P,e("blockquote",null,[e("p",null,[j,o(": "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[T]),_:1}),o("<"),V,o(", "),B,o(">")])]),M,e("blockquote",null,[e("p",null,[D,o("("),E,o(", "),J,o("): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[z]),_:1}),o("<"),A,o(", "),F,o(">")])]),G,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(", "),K,o(">")]),Q,e("blockquote",null,[e("p",null,[U,o("("),W,o(", "),X,o(", "),Y,o("?): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[Z]),_:1}),o("<"),$,o(", "),ee,o(">")])]),oe,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[se]),_:1}),o("<"),te,o(", "),ne,o(">")])])}const le=c(i,[["render",ae],["__file","Cookie.html.vue"]]),ie=JSON.parse('{"path":"/doc/http/classes/Cookie.html","title":"Class: Cookie","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Cookie(config, logger)","slug":"new-cookie-config-logger","link":"#new-cookie-config-logger","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"content","slug":"content","link":"#content","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"session","slug":"session-1","link":"#session-1","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"headers()","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"read()","slug":"read","link":"#read","children":[]},{"level":3,"title":"write()","slug":"write","link":"#write","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Cookie.md"}');export{le as comp,ie as data}; +import{_ as c,r,o as d,c as l,a as e,d as t,w as n,b as o,e as a}from"./app-COoiSelr.js";const i={},h=a('

    Class: Cookie<C, S>

    Type parameters

    C extends Record<string, string> = any

    S extends Record<string, string> = any

    Constructors

    ',6),p=e("strong",null,"new Cookie",-1),u=e("code",null,"C",-1),g=e("code",null,"S",-1),_=e("code",null,"config",-1),k=e("code",null,"logger",-1),b=e("code",null,"Cookie",-1),f=e("code",null,"C",-1),m=e("code",null,"S",-1),x=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),C=e("strong",null,"config",-1),q=e("code",null,"CookieOptions",-1),v=e("p",null,[o("• "),e("strong",null,"logger?"),o(": "),e("code",null,"Logger")],-1),S=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),y=e("code",null,"Cookie",-1),w=e("code",null,"C",-1),O=e("code",null,"S",-1),R=a('

    Properties

    config

    readonly config: Object

    domain?

    optional domain: string

    expires

    expires: number

    httpOnly

    httpOnly: boolean

    path

    path: string

    sameSite?

    optional sameSite: "Strict" | "Lax" | "None"

    secure

    secure: boolean

    session

    ',16),L=e("strong",null,"session",-1),N=e("code",null,"SessionOptions",-1),P=a('

    content

    content: Record<string, string>

    logger

    logger: Logger

    session

    ',5),j=e("strong",null,"session",-1),T=e("code",null,"Session",-1),V=e("code",null,"S",-1),B=e("code",null,"C",-1),M=a('

    Methods

    headers()

    headers(): Object

    Returns

    Object

    optional Set-Cookie: string[]

    invoke()

    ',8),D=e("strong",null,"invoke",-1),E=e("code",null,"cookie",-1),J=e("code",null,"logger",-1),z=e("code",null,"Cookie",-1),A=e("code",null,"C",-1),F=e("code",null,"S",-1),G=a('

    Parameters

    cookie: string

    logger: Logger

    Returns

    ',4),H=e("code",null,"Cookie",-1),I=e("code",null,"C",-1),K=e("code",null,"S",-1),Q=a('

    read()

    read(key): any

    Parameters

    key: string

    Returns

    any

    write()

    ',7),U=e("strong",null,"write",-1),W=e("code",null,"key",-1),X=e("code",null,"value",-1),Y=e("code",null,"opts",-1),Z=e("code",null,"Cookie",-1),$=e("code",null,"C",-1),ee=e("code",null,"S",-1),oe=a('

    Parameters

    key: string

    value: string

    opts?

    opts.domain?: string

    opts.expires?: string | number

    opts.httpOnly?: boolean

    opts.path?: string

    opts.sameSite?: "Strict" | "Lax" | "None"

    opts.secure?: boolean

    Returns

    ',11),se=e("code",null,"Cookie",-1),te=e("code",null,"C",-1),ne=e("code",null,"S",-1);function ae(ce,re){const s=r("RouteLink");return d(),l("div",null,[e("p",null,[t(s,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Cookie")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),g,o(">("),_,o(", "),k,o("?): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[b]),_:1}),o("<"),f,o(", "),m,o(">")])]),x,e("p",null,[o("• "),C,o(": "),t(s,{to:"/doc/http/type-aliases/CookieOptions.html"},{default:n(()=>[q]),_:1})]),v,S,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[y]),_:1}),o("<"),w,o(", "),O,o(">")]),R,e("blockquote",null,[e("p",null,[L,o(": "),t(s,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[N]),_:1})])]),P,e("blockquote",null,[e("p",null,[j,o(": "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[T]),_:1}),o("<"),V,o(", "),B,o(">")])]),M,e("blockquote",null,[e("p",null,[D,o("("),E,o(", "),J,o("): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[z]),_:1}),o("<"),A,o(", "),F,o(">")])]),G,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(", "),K,o(">")]),Q,e("blockquote",null,[e("p",null,[U,o("("),W,o(", "),X,o(", "),Y,o("?): "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[Z]),_:1}),o("<"),$,o(", "),ee,o(">")])]),oe,e("p",null,[t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[se]),_:1}),o("<"),te,o(", "),ne,o(">")])])}const le=c(i,[["render",ae],["__file","Cookie.html.vue"]]),ie=JSON.parse('{"path":"/doc/http/classes/Cookie.html","title":"Class: Cookie","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Cookie(config, logger)","slug":"new-cookie-config-logger","link":"#new-cookie-config-logger","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"content","slug":"content","link":"#content","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"session","slug":"session-1","link":"#session-1","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"headers()","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"read()","slug":"read","link":"#read","children":[]},{"level":3,"title":"write()","slug":"write","link":"#write","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Cookie.md"}');export{le as comp,ie as data}; diff --git a/assets/CookieOptions.html-aMKA0NRc.js b/assets/CookieOptions.html-CqPOStcv.js similarity index 98% rename from assets/CookieOptions.html-aMKA0NRc.js rename to assets/CookieOptions.html-CqPOStcv.js index e56bc8a7f8..8a2864082f 100644 --- a/assets/CookieOptions.html-aMKA0NRc.js +++ b/assets/CookieOptions.html-CqPOStcv.js @@ -1 +1 @@ -import{_ as a,r as i,o as l,c,a as e,d as s,w as n,b as o,e as d}from"./app-QyD7034V.js";const r={},p=d('

    Type alias: CookieOptions

    CookieOptions: Object

    Index signature

    [key: string]: any

    Type declaration

    domain?

    optional domain: string

    expires?

    optional expires: number

    httpOnly?

    optional httpOnly: boolean

    path?

    optional path: string

    sameSite?

    optional sameSite: "Strict" | "Lax" | "None"

    secure?

    optional secure: boolean

    session?

    ',18),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"session",-1),g=e("code",null,"SessionOptions",-1);function k(b,m){const t=i("RouteLink");return l(),c("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / CookieOptions")]),p,e("blockquote",null,[e("p",null,[h,o(),u,o(": "),s(t,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[g]),_:1})])])])}const _=a(r,[["render",k],["__file","CookieOptions.html.vue"]]),f=JSON.parse('{"path":"/doc/http/type-aliases/CookieOptions.html","title":"Type alias: CookieOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain?","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"expires?","slug":"expires","link":"#expires","children":[]},{"level":3,"title":"httpOnly?","slug":"httponly","link":"#httponly","children":[]},{"level":3,"title":"path?","slug":"path","link":"#path","children":[]},{"level":3,"title":"sameSite?","slug":"samesite","link":"#samesite","children":[]},{"level":3,"title":"secure?","slug":"secure","link":"#secure","children":[]},{"level":3,"title":"session?","slug":"session","link":"#session","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/CookieOptions.md"}');export{_ as comp,f as data}; +import{_ as a,r as i,o as l,c,a as e,d as s,w as n,b as o,e as d}from"./app-COoiSelr.js";const r={},p=d('

    Type alias: CookieOptions

    CookieOptions: Object

    Index signature

    [key: string]: any

    Type declaration

    domain?

    optional domain: string

    expires?

    optional expires: number

    httpOnly?

    optional httpOnly: boolean

    path?

    optional path: string

    sameSite?

    optional sameSite: "Strict" | "Lax" | "None"

    secure?

    optional secure: boolean

    session?

    ',18),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"session",-1),g=e("code",null,"SessionOptions",-1);function k(b,m){const t=i("RouteLink");return l(),c("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / CookieOptions")]),p,e("blockquote",null,[e("p",null,[h,o(),u,o(": "),s(t,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[g]),_:1})])])])}const _=a(r,[["render",k],["__file","CookieOptions.html.vue"]]),f=JSON.parse('{"path":"/doc/http/type-aliases/CookieOptions.html","title":"Type alias: CookieOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain?","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"expires?","slug":"expires","link":"#expires","children":[]},{"level":3,"title":"httpOnly?","slug":"httponly","link":"#httponly","children":[]},{"level":3,"title":"path?","slug":"path","link":"#path","children":[]},{"level":3,"title":"sameSite?","slug":"samesite","link":"#samesite","children":[]},{"level":3,"title":"secure?","slug":"secure","link":"#secure","children":[]},{"level":3,"title":"session?","slug":"session","link":"#session","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/CookieOptions.md"}');export{_ as comp,f as data}; diff --git a/assets/DeployData.html-DAjxY_OM.js b/assets/DeployData.html-6mMSBbD5.js similarity index 98% rename from assets/DeployData.html-DAjxY_OM.js rename to assets/DeployData.html-6mMSBbD5.js index 6d0166caff..b2f5e3499b 100644 --- a/assets/DeployData.html-DAjxY_OM.js +++ b/assets/DeployData.html-6mMSBbD5.js @@ -1 +1 @@ -import{_ as s,r as c,o as i,c as d,a as e,d as a,w as t,b as n,e as l}from"./app-QyD7034V.js";const r={},p=l('

    Type alias: DeployData

    DeployData: Object

    Index signature

    [key: string]: any

    Type declaration

    config?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"config",-1),u=e("code",null,"Config",-1),f=l('

    dependencies

    dependencies: Object

    Index signature

    [name: string]: string

    env?

    optional env: string

    filename

    filename: string

    logger?

    optional logger: Logger

    name?

    optional name: string

    plugins?

    optional plugins: Object

    Index signature

    [name: string]: Object

    root

    root: string

    version?

    optional version: string

    ',20);function b(k,m){const o=c("RouteLink");return i(),d("div",null,[e("p",null,[a(o,{to:"/doc/func/"},{default:t(()=>[n("Documents")]),_:1}),n(" / "),a(o,{to:"/doc/func/"},{default:t(()=>[n("@faasjs/func")]),_:1}),n(" / DeployData")]),p,e("blockquote",null,[e("p",null,[g,n(),h,n(": "),a(o,{to:"/doc/func/type-aliases/Config.html"},{default:t(()=>[u]),_:1})])]),f])}const v=s(r,[["render",b],["__file","DeployData.html.vue"]]),_=JSON.parse('{"path":"/doc/func/type-aliases/DeployData.html","title":"Type alias: DeployData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"dependencies","slug":"dependencies","link":"#dependencies","children":[]},{"level":3,"title":"env?","slug":"env","link":"#env","children":[]},{"level":3,"title":"filename","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"logger?","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"root","slug":"root","link":"#root","children":[]},{"level":3,"title":"version?","slug":"version","link":"#version","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/DeployData.md"}');export{v as comp,_ as data}; +import{_ as s,r as c,o as i,c as d,a as e,d as a,w as t,b as n,e as l}from"./app-COoiSelr.js";const r={},p=l('

    Type alias: DeployData

    DeployData: Object

    Index signature

    [key: string]: any

    Type declaration

    config?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"config",-1),u=e("code",null,"Config",-1),f=l('

    dependencies

    dependencies: Object

    Index signature

    [name: string]: string

    env?

    optional env: string

    filename

    filename: string

    logger?

    optional logger: Logger

    name?

    optional name: string

    plugins?

    optional plugins: Object

    Index signature

    [name: string]: Object

    root

    root: string

    version?

    optional version: string

    ',20);function b(k,m){const o=c("RouteLink");return i(),d("div",null,[e("p",null,[a(o,{to:"/doc/func/"},{default:t(()=>[n("Documents")]),_:1}),n(" / "),a(o,{to:"/doc/func/"},{default:t(()=>[n("@faasjs/func")]),_:1}),n(" / DeployData")]),p,e("blockquote",null,[e("p",null,[g,n(),h,n(": "),a(o,{to:"/doc/func/type-aliases/Config.html"},{default:t(()=>[u]),_:1})])]),f])}const v=s(r,[["render",b],["__file","DeployData.html.vue"]]),_=JSON.parse('{"path":"/doc/func/type-aliases/DeployData.html","title":"Type alias: DeployData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"dependencies","slug":"dependencies","link":"#dependencies","children":[]},{"level":3,"title":"env?","slug":"env","link":"#env","children":[]},{"level":3,"title":"filename","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"logger?","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"root","slug":"root","link":"#root","children":[]},{"level":3,"title":"version?","slug":"version","link":"#version","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/DeployData.md"}');export{v as comp,_ as data}; diff --git a/assets/DeployData.html-Czot-0tC.js b/assets/DeployData.html-l9pCvEHj.js similarity index 98% rename from assets/DeployData.html-Czot-0tC.js rename to assets/DeployData.html-l9pCvEHj.js index 2c39ade85d..a1e16e0f60 100644 --- a/assets/DeployData.html-Czot-0tC.js +++ b/assets/DeployData.html-l9pCvEHj.js @@ -1 +1 @@ -import{_ as l,r as i,o as c,c as d,a as e,d as a,w as t,b as n,e as s}from"./app-QyD7034V.js";const r={},p=s('

    Type alias: DeployData

    DeployData: Object

    Index signature

    [key: string]: any

    Type declaration

    config?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"config",-1),u=e("code",null,"Config",-1),f=s('

    dependencies

    dependencies: Object

    Index signature

    [name: string]: string

    env?

    optional env: string

    filename

    filename: string

    logger?

    optional logger: Logger

    name?

    optional name: string

    plugins?

    optional plugins: Object

    Index signature

    [name: string]: Object

    root

    root: string

    version?

    optional version: string

    ',20);function b(k,m){const o=i("RouteLink");return c(),d("div",null,[e("p",null,[a(o,{to:"/doc/test/"},{default:t(()=>[n("Documents")]),_:1}),n(" / "),a(o,{to:"/doc/test/"},{default:t(()=>[n("@faasjs/test")]),_:1}),n(" / DeployData")]),p,e("blockquote",null,[e("p",null,[g,n(),h,n(": "),a(o,{to:"/doc/test/type-aliases/Config.html"},{default:t(()=>[u]),_:1})])]),f])}const v=l(r,[["render",b],["__file","DeployData.html.vue"]]),_=JSON.parse('{"path":"/doc/test/type-aliases/DeployData.html","title":"Type alias: DeployData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"dependencies","slug":"dependencies","link":"#dependencies","children":[]},{"level":3,"title":"env?","slug":"env","link":"#env","children":[]},{"level":3,"title":"filename","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"logger?","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"root","slug":"root","link":"#root","children":[]},{"level":3,"title":"version?","slug":"version","link":"#version","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/DeployData.md"}');export{v as comp,_ as data}; +import{_ as l,r as i,o as c,c as d,a as e,d as a,w as t,b as n,e as s}from"./app-COoiSelr.js";const r={},p=s('

    Type alias: DeployData

    DeployData: Object

    Index signature

    [key: string]: any

    Type declaration

    config?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"config",-1),u=e("code",null,"Config",-1),f=s('

    dependencies

    dependencies: Object

    Index signature

    [name: string]: string

    env?

    optional env: string

    filename

    filename: string

    logger?

    optional logger: Logger

    name?

    optional name: string

    plugins?

    optional plugins: Object

    Index signature

    [name: string]: Object

    root

    root: string

    version?

    optional version: string

    ',20);function b(k,m){const o=i("RouteLink");return c(),d("div",null,[e("p",null,[a(o,{to:"/doc/test/"},{default:t(()=>[n("Documents")]),_:1}),n(" / "),a(o,{to:"/doc/test/"},{default:t(()=>[n("@faasjs/test")]),_:1}),n(" / DeployData")]),p,e("blockquote",null,[e("p",null,[g,n(),h,n(": "),a(o,{to:"/doc/test/type-aliases/Config.html"},{default:t(()=>[u]),_:1})])]),f])}const v=l(r,[["render",b],["__file","DeployData.html.vue"]]),_=JSON.parse('{"path":"/doc/test/type-aliases/DeployData.html","title":"Type alias: DeployData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"dependencies","slug":"dependencies","link":"#dependencies","children":[]},{"level":3,"title":"env?","slug":"env","link":"#env","children":[]},{"level":3,"title":"filename","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"logger?","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]},{"level":3,"title":"root","slug":"root","link":"#root","children":[]},{"level":3,"title":"version?","slug":"version","link":"#version","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/DeployData.md"}');export{v as comp,_ as data}; diff --git a/assets/Deployer.html-DYNIWDsW.js b/assets/Deployer.html-DQXLwu4M.js similarity index 98% rename from assets/Deployer.html-DYNIWDsW.js rename to assets/Deployer.html-DQXLwu4M.js index 6fe8ea9a37..947886f113 100644 --- a/assets/Deployer.html-DYNIWDsW.js +++ b/assets/Deployer.html-DQXLwu4M.js @@ -1 +1 @@ -import{_ as n,r,o as d,c,a as e,d as t,w as l,b as o,e as s}from"./app-QyD7034V.js";const p={},h=s('

    Class: Deployer

    Constructors

    new Deployer(data)

    ',3),i=e("strong",null,"new Deployer",-1),u=e("code",null,"data",-1),y=e("code",null,"Deployer",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("p",null,[o("• "),e("strong",null,"data"),o(": "),e("code",null,"DeployData")],-1),b=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("code",null,"Deployer",-1),g=s('

    Properties

    deployData

    deployData: DeployData

    func?

    optional func: Func<any, any, any>

    Methods

    deploy()

    deploy(): Promise<Object>

    Returns

    Promise<Object>

    filename

    filename: string

    root

    root: string

    ',11);function k(D,x){const a=r("RouteLink");return d(),c("div",null,[e("p",null,[t(a,{to:"/doc/deployer/"},{default:l(()=>[o("Documents")]),_:1}),o(" / "),t(a,{to:"/doc/deployer/"},{default:l(()=>[o("@faasjs/deployer")]),_:1}),o(" / Deployer")]),h,e("blockquote",null,[e("p",null,[i,o("("),u,o("): "),t(a,{to:"/doc/deployer/classes/Deployer.html"},{default:l(()=>[y]),_:1})])]),f,_,b,e("p",null,[t(a,{to:"/doc/deployer/classes/Deployer.html"},{default:l(()=>[m]),_:1})]),g])}const v=n(p,[["render",k],["__file","Deployer.html.vue"]]),w=JSON.parse('{"path":"/doc/deployer/classes/Deployer.html","title":"Class: Deployer","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Deployer(data)","slug":"new-deployer-data","link":"#new-deployer-data","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"deployData","slug":"deploydata","link":"#deploydata","children":[]},{"level":3,"title":"func?","slug":"func","link":"#func","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/deployer/classes/Deployer.md"}');export{v as comp,w as data}; +import{_ as n,r,o as d,c,a as e,d as t,w as l,b as o,e as s}from"./app-COoiSelr.js";const p={},h=s('

    Class: Deployer

    Constructors

    new Deployer(data)

    ',3),i=e("strong",null,"new Deployer",-1),u=e("code",null,"data",-1),y=e("code",null,"Deployer",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("p",null,[o("• "),e("strong",null,"data"),o(": "),e("code",null,"DeployData")],-1),b=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("code",null,"Deployer",-1),g=s('

    Properties

    deployData

    deployData: DeployData

    func?

    optional func: Func<any, any, any>

    Methods

    deploy()

    deploy(): Promise<Object>

    Returns

    Promise<Object>

    filename

    filename: string

    root

    root: string

    ',11);function k(D,x){const a=r("RouteLink");return d(),c("div",null,[e("p",null,[t(a,{to:"/doc/deployer/"},{default:l(()=>[o("Documents")]),_:1}),o(" / "),t(a,{to:"/doc/deployer/"},{default:l(()=>[o("@faasjs/deployer")]),_:1}),o(" / Deployer")]),h,e("blockquote",null,[e("p",null,[i,o("("),u,o("): "),t(a,{to:"/doc/deployer/classes/Deployer.html"},{default:l(()=>[y]),_:1})])]),f,_,b,e("p",null,[t(a,{to:"/doc/deployer/classes/Deployer.html"},{default:l(()=>[m]),_:1})]),g])}const v=n(p,[["render",k],["__file","Deployer.html.vue"]]),w=JSON.parse('{"path":"/doc/deployer/classes/Deployer.html","title":"Class: Deployer","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Deployer(data)","slug":"new-deployer-data","link":"#new-deployer-data","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"deployData","slug":"deploydata","link":"#deploydata","children":[]},{"level":3,"title":"func?","slug":"func","link":"#func","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/deployer/classes/Deployer.md"}');export{v as comp,w as data}; diff --git a/assets/Description.html-BqUcNk85.js b/assets/Description.html-B0U7RLhU.js similarity index 98% rename from assets/Description.html-BqUcNk85.js rename to assets/Description.html-B0U7RLhU.js index 6291e13141..a669631418 100644 --- a/assets/Description.html-BqUcNk85.js +++ b/assets/Description.html-B0U7RLhU.js @@ -1,4 +1,4 @@ -import{_ as i,r as o,o as l,c,a as n,d as a,w as t,b as s,e as r}from"./app-QyD7034V.js";const u={},d=n("h1",{id:"function-description",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-description"},[n("span",null,"Function: Description()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"Description"),s("<"),n("code",null,"T"),s(">("),n("code",null,"props"),s("): "),n("code",null,"Element")])],-1),k=n("p",null,"Description component",-1),h={href:"https://ant.design/components/descriptions/",target:"_blank",rel:"noopener noreferrer"},_=n("h2",{id:"type-parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-parameters"},[n("span",null,"Type parameters")])],-1),v=n("p",null,[s("• "),n("strong",null,"T"),s(" = "),n("code",null,"any")],-1),g=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),f=n("strong",null,"props",-1),b=n("code",null,"DescriptionProps",-1),x=n("code",null,"T",-1),D=n("code",null,"any",-1),y=r(`

    Returns

    Element

    Example

    import { Description } from '@faasjs/ant-design'
    +import{_ as i,r as o,o as l,c,a as n,d as a,w as t,b as s,e as r}from"./app-COoiSelr.js";const u={},d=n("h1",{id:"function-description",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-description"},[n("span",null,"Function: Description()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"Description"),s("<"),n("code",null,"T"),s(">("),n("code",null,"props"),s("): "),n("code",null,"Element")])],-1),k=n("p",null,"Description component",-1),h={href:"https://ant.design/components/descriptions/",target:"_blank",rel:"noopener noreferrer"},_=n("h2",{id:"type-parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-parameters"},[n("span",null,"Type parameters")])],-1),v=n("p",null,[s("• "),n("strong",null,"T"),s(" = "),n("code",null,"any")],-1),g=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),f=n("strong",null,"props",-1),b=n("code",null,"DescriptionProps",-1),x=n("code",null,"T",-1),D=n("code",null,"any",-1),y=r(`

    Returns

    Element

    Example

    import { Description } from '@faasjs/ant-design'
     
     <Description
       title="Title"
    diff --git a/assets/DescriptionItemContentProps.html-CfdvBnbL.js b/assets/DescriptionItemContentProps.html-C6tPsnGy.js
    similarity index 97%
    rename from assets/DescriptionItemContentProps.html-CfdvBnbL.js
    rename to assets/DescriptionItemContentProps.html-C6tPsnGy.js
    index c6b6c3f72c..dbd6e11fa9 100644
    --- a/assets/DescriptionItemContentProps.html-CfdvBnbL.js
    +++ b/assets/DescriptionItemContentProps.html-C6tPsnGy.js
    @@ -1 +1 @@
    -import{_ as r,r as i,o as l,c,a as e,d as s,w as o,b as t,e as a}from"./app-QyD7034V.js";const d={},p=a('

    Interface: DescriptionItemContentProps<T>

    Type parameters

    T = any

    Properties

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',7),h=e("code",null,"key",-1),u=e("code",null,"string",-1),m=e("code",null,"ExtendDescriptionTypeProps",-1),_=e("h3",{id:"item",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#item"},[e("span",null,"item")])],-1),g=e("strong",null,"item",-1),f=e("code",null,"DescriptionItemProps",-1),x=e("code",null,"any",-1),v=a('

    value

    value: T

    values?

    optional values: any

    ',4);function y(k,b){const n=i("RouteLink");return l(),c("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / DescriptionItemContentProps")]),p,e("p",null,[t("["),h,t(": "),u,t("]: "),s(n,{to:"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html"},{default:o(()=>[m]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(": "),s(n,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:o(()=>[f]),_:1}),t("<"),x,t(">")])]),v])}const T=r(d,[["render",y],["__file","DescriptionItemContentProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/DescriptionItemContentProps.html","title":"Interface: DescriptionItemContentProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"item","slug":"item","link":"#item","children":[]},{"level":3,"title":"value","slug":"value","link":"#value","children":[]},{"level":3,"title":"values?","slug":"values","link":"#values","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DescriptionItemContentProps.md"}');export{T as comp,D as data}; +import{_ as r,r as i,o as l,c,a as e,d as s,w as o,b as t,e as a}from"./app-COoiSelr.js";const d={},p=a('

    Interface: DescriptionItemContentProps<T>

    Type parameters

    T = any

    Properties

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',7),h=e("code",null,"key",-1),u=e("code",null,"string",-1),m=e("code",null,"ExtendDescriptionTypeProps",-1),_=e("h3",{id:"item",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#item"},[e("span",null,"item")])],-1),g=e("strong",null,"item",-1),f=e("code",null,"DescriptionItemProps",-1),x=e("code",null,"any",-1),v=a('

    value

    value: T

    values?

    optional values: any

    ',4);function y(k,b){const n=i("RouteLink");return l(),c("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / DescriptionItemContentProps")]),p,e("p",null,[t("["),h,t(": "),u,t("]: "),s(n,{to:"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html"},{default:o(()=>[m]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(": "),s(n,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:o(()=>[f]),_:1}),t("<"),x,t(">")])]),v])}const T=r(d,[["render",y],["__file","DescriptionItemContentProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/DescriptionItemContentProps.html","title":"Interface: DescriptionItemContentProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"item","slug":"item","link":"#item","children":[]},{"level":3,"title":"value","slug":"value","link":"#value","children":[]},{"level":3,"title":"values?","slug":"values","link":"#values","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DescriptionItemContentProps.md"}');export{T as comp,D as data}; diff --git a/assets/DescriptionItemProps.html-MiuL3Nec.js b/assets/DescriptionItemProps.html-wz4fNSB0.js similarity index 99% rename from assets/DescriptionItemProps.html-MiuL3Nec.js rename to assets/DescriptionItemProps.html-wz4fNSB0.js index c47496470b..e2b623041e 100644 --- a/assets/DescriptionItemProps.html-MiuL3Nec.js +++ b/assets/DescriptionItemProps.html-wz4fNSB0.js @@ -1,2 +1,2 @@ -import{_ as i,r as a,o as d,c as r,a as e,d as o,w as s,b as t,e as l}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"interface-descriptionitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-descriptionitemprops-t"},[e("span",null,"Interface: DescriptionItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=l('

    Type parameters

    T = any

    Properties

    children?

    ',4),m=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"children",-1),g=e("code",null,"UnionFaasItemElement",-1),b=e("code",null,"T",-1),I=e("h3",{id:"descriptionchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionchildren"},[e("span",null,"descriptionChildren?")])],-1),x=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"descriptionChildren",-1),y=e("code",null,"UnionFaasItemElement",-1),P=e("code",null,"T",-1),v=e("h3",{id:"descriptionrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionrender"},[e("span",null,"descriptionRender?")])],-1),F=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"descriptionRender",-1),R=e("code",null,"UnionFaasItemRender",-1),q=e("code",null,"T",-1),D=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),j=e("blockquote",null,[e("p",null,[e("strong",null,"id"),t(": "),e("code",null,"string")])],-1),U=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),E=e("code",null,"FaasItemProps",-1),B=e("code",null,"id",-1),C=l('

    if()?

    optional if: (values) => boolean

    Parameters

    values: Record<string, any>

    Returns

    boolean

    object?

    ',7),N=e("strong",null,[e("code",null,"optional")],-1),V=e("strong",null,"object",-1),O=e("code",null,"DescriptionItemProps",-1),S=e("code",null,"T",-1),w=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),L=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"options",-1),z=e("code",null,"BaseOption",-1),A=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),G=e("code",null,"FaasItemProps",-1),H=e("code",null,"options",-1),K=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),M=e("strong",null,[e("code",null,"optional")],-1),Q=e("strong",null,"render",-1),W=e("code",null,"UnionFaasItemRender",-1),X=e("code",null,"T",-1),Y=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),Z=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),$=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),ee=e("code",null,"FaasItemProps",-1),te=e("code",null,"title",-1),ne=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),oe=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"type",-1),le=e("code",null,"FaasItemType",-1),ie=l(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
    +import{_ as i,r as a,o as d,c as r,a as e,d as o,w as s,b as t,e as l}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"interface-descriptionitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-descriptionitemprops-t"},[e("span",null,"Interface: DescriptionItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=l('

    Type parameters

    T = any

    Properties

    children?

    ',4),m=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"children",-1),g=e("code",null,"UnionFaasItemElement",-1),b=e("code",null,"T",-1),I=e("h3",{id:"descriptionchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionchildren"},[e("span",null,"descriptionChildren?")])],-1),x=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"descriptionChildren",-1),y=e("code",null,"UnionFaasItemElement",-1),P=e("code",null,"T",-1),v=e("h3",{id:"descriptionrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionrender"},[e("span",null,"descriptionRender?")])],-1),F=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"descriptionRender",-1),R=e("code",null,"UnionFaasItemRender",-1),q=e("code",null,"T",-1),D=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),j=e("blockquote",null,[e("p",null,[e("strong",null,"id"),t(": "),e("code",null,"string")])],-1),U=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),E=e("code",null,"FaasItemProps",-1),B=e("code",null,"id",-1),C=l('

    if()?

    optional if: (values) => boolean

    Parameters

    values: Record<string, any>

    Returns

    boolean

    object?

    ',7),N=e("strong",null,[e("code",null,"optional")],-1),V=e("strong",null,"object",-1),O=e("code",null,"DescriptionItemProps",-1),S=e("code",null,"T",-1),w=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),L=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"options",-1),z=e("code",null,"BaseOption",-1),A=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),G=e("code",null,"FaasItemProps",-1),H=e("code",null,"options",-1),K=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),M=e("strong",null,[e("code",null,"optional")],-1),Q=e("strong",null,"render",-1),W=e("code",null,"UnionFaasItemRender",-1),X=e("code",null,"T",-1),Y=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),Z=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),$=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),ee=e("code",null,"FaasItemProps",-1),te=e("code",null,"title",-1),ne=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),oe=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"type",-1),le=e("code",null,"FaasItemType",-1),ie=l(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    `,4),ae=e("code",null,"FaasItemProps",-1),de=e("code",null,"type",-1);function re(ce,he){const n=a("RouteLink");return d(),r("div",null,[e("p",null,[o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("@faasjs/ant-design")]),_:1}),t(" / DescriptionItemProps")]),h,p,e("ul",null,[e("li",null,[o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[u]),_:1})])]),_,e("blockquote",null,[e("p",null,[m,t(),f,t(": "),o(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:s(()=>[g]),_:1}),t("<"),b,t(">")])]),I,e("blockquote",null,[e("p",null,[x,t(),k,t(": "),o(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:s(()=>[y]),_:1}),t("<"),P,t(">")])]),v,e("blockquote",null,[e("p",null,[F,t(),T,t(": "),o(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:s(()=>[R]),_:1}),t("<"),q,t(">")])]),D,j,U,e("p",null,[o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[E]),_:1}),t("."),o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#id"},{default:s(()=>[B]),_:1})]),C,e("blockquote",null,[e("p",null,[N,t(),V,t(": "),o(n,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:s(()=>[O]),_:1}),t("<"),S,t(">[]")])]),w,e("blockquote",null,[e("p",null,[L,t(),J,t(": "),o(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:s(()=>[z]),_:1}),t("[]")])]),A,e("p",null,[o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[G]),_:1}),t("."),o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#options"},{default:s(()=>[H]),_:1})]),K,e("blockquote",null,[e("p",null,[M,t(),Q,t(": "),o(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:s(()=>[W]),_:1}),t("<"),X,t(">")])]),Y,Z,$,e("p",null,[o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[ee]),_:1}),t("."),o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#title"},{default:s(()=>[te]),_:1})]),ne,e("blockquote",null,[e("p",null,[oe,t(),se,t(": "),o(n,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:s(()=>[le]),_:1})])]),ie,e("p",null,[o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[ae]),_:1}),t("."),o(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#type"},{default:s(()=>[de]),_:1})])])}const ue=i(c,[["render",re],["__file","DescriptionItemProps.html.vue"]]),_e=JSON.parse('{"path":"/doc/ant-design/interfaces/DescriptionItemProps.html","title":"Interface: DescriptionItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"descriptionChildren?","slug":"descriptionchildren","link":"#descriptionchildren","children":[]},{"level":3,"title":"descriptionRender?","slug":"descriptionrender","link":"#descriptionrender","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"if()?","slug":"if","link":"#if","children":[]},{"level":3,"title":"object?","slug":"object","link":"#object","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DescriptionItemProps.md"}');export{ue as comp,_e as data}; diff --git a/assets/DescriptionProps.html-BHtjt6Xy.js b/assets/DescriptionProps.html-K9vNE8Wu.js similarity index 98% rename from assets/DescriptionProps.html-BHtjt6Xy.js rename to assets/DescriptionProps.html-K9vNE8Wu.js index d49942d070..907c5d37be 100644 --- a/assets/DescriptionProps.html-BHtjt6Xy.js +++ b/assets/DescriptionProps.html-K9vNE8Wu.js @@ -1 +1 @@ -import{_ as r,r as d,o as i,c,a as e,d as a,w as n,b as t,e as o}from"./app-QyD7034V.js";const l={},p=o('

    Interface: DescriptionProps<T, ExtendItemProps>

    Extends

    • Omit<DescriptionsProps, "items">

    Type parameters

    T = any

    ExtendItemProps = any

    Properties

    dataSource?

    optional dataSource: T

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',12),h=e("code",null,"key",-1),u=e("code",null,"string",-1),_=e("code",null,"ExtendDescriptionTypeProps",-1),m=e("h3",{id:"faasdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasdata"},[e("span",null,"faasData?")])],-1),g=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"faasData",-1),x=e("code",null,"FaasDataWrapperProps",-1),b=e("code",null,"T",-1),k=e("h3",{id:"items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#items"},[e("span",null,"items")])],-1),P=e("strong",null,"items",-1),y=e("code",null,"ExtendItemProps",-1),D=e("code",null,"DescriptionItemProps",-1),T=e("code",null,"any",-1),v=o('

    Methods

    renderTitle()?

    optional renderTitle(values): ReactNode

    Parameters

    values: T

    Returns

    ReactNode

    ',7);function q(E,I){const s=d("RouteLink");return i(),c("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / DescriptionProps")]),p,e("p",null,[t("["),h,t(": "),u,t("]: "),a(s,{to:"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html"},{default:n(()=>[_]),_:1})]),m,e("blockquote",null,[e("p",null,[g,t(),f,t(": "),a(s,{to:"/doc/ant-design/interfaces/FaasDataWrapperProps.html"},{default:n(()=>[x]),_:1}),t("<"),b,t(">")])]),k,e("blockquote",null,[e("p",null,[P,t(": ("),y,t(" | "),a(s,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:n(()=>[D]),_:1}),t("<"),T,t(">)[]")])]),v])}const R=r(l,[["render",q],["__file","DescriptionProps.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/interfaces/DescriptionProps.html","title":"Interface: DescriptionProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"dataSource?","slug":"datasource","link":"#datasource","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"faasData?","slug":"faasdata","link":"#faasdata","children":[]},{"level":3,"title":"items","slug":"items","link":"#items","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"renderTitle()?","slug":"rendertitle","link":"#rendertitle","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DescriptionProps.md"}');export{R as comp,S as data}; +import{_ as r,r as d,o as i,c,a as e,d as a,w as n,b as t,e as o}from"./app-COoiSelr.js";const l={},p=o('

    Interface: DescriptionProps<T, ExtendItemProps>

    Extends

    • Omit<DescriptionsProps, "items">

    Type parameters

    T = any

    ExtendItemProps = any

    Properties

    dataSource?

    optional dataSource: T

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',12),h=e("code",null,"key",-1),u=e("code",null,"string",-1),_=e("code",null,"ExtendDescriptionTypeProps",-1),m=e("h3",{id:"faasdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasdata"},[e("span",null,"faasData?")])],-1),g=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"faasData",-1),x=e("code",null,"FaasDataWrapperProps",-1),b=e("code",null,"T",-1),k=e("h3",{id:"items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#items"},[e("span",null,"items")])],-1),P=e("strong",null,"items",-1),y=e("code",null,"ExtendItemProps",-1),D=e("code",null,"DescriptionItemProps",-1),T=e("code",null,"any",-1),v=o('

    Methods

    renderTitle()?

    optional renderTitle(values): ReactNode

    Parameters

    values: T

    Returns

    ReactNode

    ',7);function q(E,I){const s=d("RouteLink");return i(),c("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / DescriptionProps")]),p,e("p",null,[t("["),h,t(": "),u,t("]: "),a(s,{to:"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html"},{default:n(()=>[_]),_:1})]),m,e("blockquote",null,[e("p",null,[g,t(),f,t(": "),a(s,{to:"/doc/ant-design/interfaces/FaasDataWrapperProps.html"},{default:n(()=>[x]),_:1}),t("<"),b,t(">")])]),k,e("blockquote",null,[e("p",null,[P,t(": ("),y,t(" | "),a(s,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:n(()=>[D]),_:1}),t("<"),T,t(">)[]")])]),v])}const R=r(l,[["render",q],["__file","DescriptionProps.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/interfaces/DescriptionProps.html","title":"Interface: DescriptionProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"dataSource?","slug":"datasource","link":"#datasource","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"faasData?","slug":"faasdata","link":"#faasdata","children":[]},{"level":3,"title":"items","slug":"items","link":"#items","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"renderTitle()?","slug":"rendertitle","link":"#rendertitle","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DescriptionProps.md"}');export{R as comp,S as data}; diff --git a/assets/Drawer.html-uJ3VTUwc.js b/assets/Drawer.html-k78BLgZk.js similarity index 96% rename from assets/Drawer.html-uJ3VTUwc.js rename to assets/Drawer.html-k78BLgZk.js index 054a9e28af..9fa32dcc3b 100644 --- a/assets/Drawer.html-uJ3VTUwc.js +++ b/assets/Drawer.html-k78BLgZk.js @@ -1 +1 @@ -import{_ as o,r as s,o as c,c as d,a as e,d as a,w as r,b as t,e as l}from"./app-QyD7034V.js";const i={},u=l('

    Function: Drawer()

    Drawer(props, context?): ReactNode

    Parameters

    ',3),h=e("strong",null,"props",-1),p=e("code",null,"DrawerProps",-1),_=e("p",null,[t("• "),e("strong",null,"context?"),t(": "),e("code",null,"any")],-1),m=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("p",null,[e("code",null,"ReactNode")],-1);function g(w,D){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[a(n,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / Drawer")]),u,e("p",null,[t("• "),h,t(": "),a(n,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[p]),_:1})]),_,m,f])}const k=o(i,[["render",g],["__file","Drawer.html.vue"]]),N=JSON.parse('{"path":"/doc/ant-design/functions/Drawer.html","title":"Function: Drawer()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Drawer.md"}');export{k as comp,N as data}; +import{_ as o,r as s,o as c,c as d,a as e,d as a,w as r,b as t,e as l}from"./app-COoiSelr.js";const i={},u=l('

    Function: Drawer()

    Drawer(props, context?): ReactNode

    Parameters

    ',3),h=e("strong",null,"props",-1),p=e("code",null,"DrawerProps",-1),_=e("p",null,[t("• "),e("strong",null,"context?"),t(": "),e("code",null,"any")],-1),m=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("p",null,[e("code",null,"ReactNode")],-1);function g(w,D){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[a(n,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / Drawer")]),u,e("p",null,[t("• "),h,t(": "),a(n,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[p]),_:1})]),_,m,f])}const k=o(i,[["render",g],["__file","Drawer.html.vue"]]),N=JSON.parse('{"path":"/doc/ant-design/functions/Drawer.html","title":"Function: Drawer()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Drawer.md"}');export{k as comp,N as data}; diff --git a/assets/DrawerProps.html-B0xV8OIY.js b/assets/DrawerProps.html-BJR89XjY.js similarity index 96% rename from assets/DrawerProps.html-B0xV8OIY.js rename to assets/DrawerProps.html-BJR89XjY.js index 777f586b95..1ee15eee9b 100644 --- a/assets/DrawerProps.html-B0xV8OIY.js +++ b/assets/DrawerProps.html-BJR89XjY.js @@ -1 +1 @@ -import{_ as t,r as s,o,c as d,a as c,d as a,w as n,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Interface: DrawerProps

    Extends

    • DrawerProps

    Properties

    children?

    optional children: Element | Element[]

    Overrides

    AntdDrawerProps.children

    ',8);function h(f,u){const r=s("RouteLink");return o(),d("div",null,[c("p",null,[a(r,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(r,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / DrawerProps")]),p])}const m=t(l,[["render",h],["__file","DrawerProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/DrawerProps.html","title":"Interface: DrawerProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DrawerProps.md"}');export{m as comp,x as data}; +import{_ as t,r as s,o,c as d,a as c,d as a,w as n,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Interface: DrawerProps

    Extends

    • DrawerProps

    Properties

    children?

    optional children: Element | Element[]

    Overrides

    AntdDrawerProps.children

    ',8);function h(f,u){const r=s("RouteLink");return o(),d("div",null,[c("p",null,[a(r,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(r,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / DrawerProps")]),p])}const m=t(l,[["render",h],["__file","DrawerProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/DrawerProps.html","title":"Interface: DrawerProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/DrawerProps.md"}');export{m as comp,x as data}; diff --git a/assets/ErrorBoundary.html-yc4B2ohm.js b/assets/ErrorBoundary.html-BDbIK-Jx.js similarity index 98% rename from assets/ErrorBoundary.html-yc4B2ohm.js rename to assets/ErrorBoundary.html-BDbIK-Jx.js index 5ad0913d3f..1de5a64335 100644 --- a/assets/ErrorBoundary.html-yc4B2ohm.js +++ b/assets/ErrorBoundary.html-BDbIK-Jx.js @@ -1 +1 @@ -import{_ as a,r as d,o as c,c as l,a as e,d as r,w as n,b as t,e as s}from"./app-QyD7034V.js";const h={},i=e("h1",{id:"class-errorboundary",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-errorboundary"},[e("span",null,"Class: ErrorBoundary")])],-1),u=e("h2",{id:"hierarchy",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#hierarchy"},[e("span",null,"Hierarchy")])],-1),p=e("code",null,"Component",-1),_=e("code",null,"ErrorBoundaryProps",-1),m=e("code",null,"error?",-1),f=e("code",null,"Error",-1),g=e("code",null,"null",-1),y=e("code",null,"info?",-1),b=e("code",null,"componentStack?",-1),x=e("code",null,"string",-1),v=e("p",null,[t("↳ "),e("strong",null,[e("code",null,"ErrorBoundary")])],-1),E=e("h2",{id:"table-of-contents",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-of-contents"},[e("span",null,"Table of contents")])],-1),B=e("h3",{id:"constructors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#constructors"},[e("span",null,"Constructors")])],-1),C=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),k=s('

    Constructors

    constructor

    new ErrorBoundary(props)

    Parameters

    ',4),N=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Name"),e("th",{style:{"text-align":"left"}},"Type")])],-1),P=e("td",{style:{"text-align":"left"}},[e("code",null,"props")],-1),R={style:{"text-align":"left"}},D=e("code",null,"ErrorBoundaryProps",-1),T=s('

    Overrides

    Component<ErrorBoundaryProps, { error?: Error | null info?: { componentStack?: string } }&gt;.constructor

    Methods

    componentDidCatch

    componentDidCatch(error, info): void

    Parameters

    NameType
    errorError
    infoany

    Returns

    void

    Overrides

    Component.componentDidCatch


    render

    render(): string | number | boolean | Iterable<ReactNode> | Element

    Returns

    string | number | boolean | Iterable<ReactNode> | Element

    Overrides

    Component.render

    ',18);function M(O,S){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[r(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / Class: ErrorBoundary")]),i,u,e("ul",null,[e("li",null,[e("p",null,[p,t("<"),r(o,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[_]),_:1}),t(", { "),m,t(": "),f,t(" | "),g,t(" ; "),y,t(": { "),b,t(": "),x,t(" } }>")]),v])]),E,B,e("ul",null,[e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#constructor"},{default:n(()=>[t("constructor")]),_:1})])]),C,e("ul",null,[e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#componentdidcatch"},{default:n(()=>[t("componentDidCatch")]),_:1})]),e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#render"},{default:n(()=>[t("render")]),_:1})])]),k,e("table",null,[N,e("tbody",null,[e("tr",null,[P,e("td",R,[r(o,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[D]),_:1})])])])]),T])}const w=a(h,[["render",M],["__file","ErrorBoundary.html.vue"]]),H=JSON.parse('{"path":"/doc/ant-design/classes/ErrorBoundary.html","title":"Class: ErrorBoundary","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy","link":"#hierarchy","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Constructors","slug":"constructors","link":"#constructors","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Constructors","slug":"constructors-1","link":"#constructors-1","children":[{"level":3,"title":"constructor","slug":"constructor","link":"#constructor","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"componentDidCatch","slug":"componentdidcatch","link":"#componentdidcatch","children":[]},{"level":3,"title":"render","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/classes/ErrorBoundary.md"}');export{w as comp,H as data}; +import{_ as a,r as d,o as c,c as l,a as e,d as r,w as n,b as t,e as s}from"./app-COoiSelr.js";const h={},i=e("h1",{id:"class-errorboundary",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-errorboundary"},[e("span",null,"Class: ErrorBoundary")])],-1),u=e("h2",{id:"hierarchy",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#hierarchy"},[e("span",null,"Hierarchy")])],-1),p=e("code",null,"Component",-1),_=e("code",null,"ErrorBoundaryProps",-1),m=e("code",null,"error?",-1),f=e("code",null,"Error",-1),g=e("code",null,"null",-1),y=e("code",null,"info?",-1),b=e("code",null,"componentStack?",-1),x=e("code",null,"string",-1),v=e("p",null,[t("↳ "),e("strong",null,[e("code",null,"ErrorBoundary")])],-1),E=e("h2",{id:"table-of-contents",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-of-contents"},[e("span",null,"Table of contents")])],-1),B=e("h3",{id:"constructors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#constructors"},[e("span",null,"Constructors")])],-1),C=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),k=s('

    Constructors

    constructor

    new ErrorBoundary(props)

    Parameters

    ',4),N=e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Name"),e("th",{style:{"text-align":"left"}},"Type")])],-1),P=e("td",{style:{"text-align":"left"}},[e("code",null,"props")],-1),R={style:{"text-align":"left"}},D=e("code",null,"ErrorBoundaryProps",-1),T=s('

    Overrides

    Component<ErrorBoundaryProps, { error?: Error | null info?: { componentStack?: string } }&gt;.constructor

    Methods

    componentDidCatch

    componentDidCatch(error, info): void

    Parameters

    NameType
    errorError
    infoany

    Returns

    void

    Overrides

    Component.componentDidCatch


    render

    render(): string | number | boolean | Iterable<ReactNode> | Element

    Returns

    string | number | boolean | Iterable<ReactNode> | Element

    Overrides

    Component.render

    ',18);function M(O,S){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[r(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / Class: ErrorBoundary")]),i,u,e("ul",null,[e("li",null,[e("p",null,[p,t("<"),r(o,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[_]),_:1}),t(", { "),m,t(": "),f,t(" | "),g,t(" ; "),y,t(": { "),b,t(": "),x,t(" } }>")]),v])]),E,B,e("ul",null,[e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#constructor"},{default:n(()=>[t("constructor")]),_:1})])]),C,e("ul",null,[e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#componentdidcatch"},{default:n(()=>[t("componentDidCatch")]),_:1})]),e("li",null,[r(o,{to:"/doc/ant-design/classes/ErrorBoundary.html#render"},{default:n(()=>[t("render")]),_:1})])]),k,e("table",null,[N,e("tbody",null,[e("tr",null,[P,e("td",R,[r(o,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:n(()=>[D]),_:1})])])])]),T])}const w=a(h,[["render",M],["__file","ErrorBoundary.html.vue"]]),H=JSON.parse('{"path":"/doc/ant-design/classes/ErrorBoundary.html","title":"Class: ErrorBoundary","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy","link":"#hierarchy","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Constructors","slug":"constructors","link":"#constructors","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Constructors","slug":"constructors-1","link":"#constructors-1","children":[{"level":3,"title":"constructor","slug":"constructor","link":"#constructor","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"componentDidCatch","slug":"componentdidcatch","link":"#componentdidcatch","children":[]},{"level":3,"title":"render","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/classes/ErrorBoundary.md"}');export{w as comp,H as data}; diff --git a/assets/ErrorBoundary.html-DXGLhBnh.js b/assets/ErrorBoundary.html-VjDXPo7f.js similarity index 98% rename from assets/ErrorBoundary.html-DXGLhBnh.js rename to assets/ErrorBoundary.html-VjDXPo7f.js index 71e5717824..274137868b 100644 --- a/assets/ErrorBoundary.html-DXGLhBnh.js +++ b/assets/ErrorBoundary.html-VjDXPo7f.js @@ -1 +1 @@ -import{_ as t,r as a,o as s,c,a as e,d as n,w as d,b as r,e as l}from"./app-QyD7034V.js";const h={},i=e("h1",{id:"class-errorboundary",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-errorboundary"},[e("span",null,"Class: ErrorBoundary")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"Component",-1),_=e("code",null,"ErrorBoundaryProps",-1),m=e("code",null,"Object",-1),b=e("h2",{id:"constructors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#constructors"},[e("span",null,"Constructors")])],-1),f=e("h3",{id:"new-errorboundary-props",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#new-errorboundary-props"},[e("span",null,"new ErrorBoundary(props)")])],-1),y=e("strong",null,"new ErrorBoundary",-1),g=e("code",null,"props",-1),x=e("code",null,"ErrorBoundary",-1),E=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),v=e("strong",null,"props",-1),k=e("code",null,"ErrorBoundaryProps",-1),B=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"ErrorBoundary",-1),C=l('

    Overrides

    `Component< ErrorBoundaryProps, { error?: Error info?: { componentStack?: string } }

    .constructor`

    Properties

    whyDidYouRender

    static whyDidYouRender: boolean = true

    Methods

    componentDidCatch()

    componentDidCatch(error, info): void

    Parameters

    error: Error

    info: any

    Returns

    void

    Overrides

    Component.componentDidCatch

    render()

    render(): string | number | boolean | Iterable<ReactNode> | Element

    Returns

    string | number | boolean | Iterable<ReactNode> | Element

    Overrides

    Component.render

    ',22);function R(P,q){const o=a("RouteLink");return s(),c("div",null,[e("p",null,[n(o,{to:"/doc/react/"},{default:d(()=>[r("Documents")]),_:1}),r(" / "),n(o,{to:"/doc/react/"},{default:d(()=>[r("@faasjs/react")]),_:1}),r(" / ErrorBoundary")]),i,p,e("ul",null,[e("li",null,[u,r("<"),n(o,{to:"/doc/react/interfaces/ErrorBoundaryProps.html"},{default:d(()=>[_]),_:1}),r(", "),m,r(">")])]),b,f,e("blockquote",null,[e("p",null,[y,r("("),g,r("): "),n(o,{to:"/doc/react/classes/ErrorBoundary.html"},{default:d(()=>[x]),_:1})])]),E,e("p",null,[r("• "),v,r(": "),n(o,{to:"/doc/react/interfaces/ErrorBoundaryProps.html"},{default:d(()=>[k]),_:1})]),B,e("p",null,[n(o,{to:"/doc/react/classes/ErrorBoundary.html"},{default:d(()=>[w]),_:1})]),C])}const N=t(h,[["render",R],["__file","ErrorBoundary.html.vue"]]),O=JSON.parse('{"path":"/doc/react/classes/ErrorBoundary.html","title":"Class: ErrorBoundary","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new ErrorBoundary(props)","slug":"new-errorboundary-props","link":"#new-errorboundary-props","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"whyDidYouRender","slug":"whydidyourender","link":"#whydidyourender","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"componentDidCatch()","slug":"componentdidcatch","link":"#componentdidcatch","children":[]},{"level":3,"title":"render()","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/classes/ErrorBoundary.md"}');export{N as comp,O as data}; +import{_ as t,r as a,o as s,c,a as e,d as n,w as d,b as r,e as l}from"./app-COoiSelr.js";const h={},i=e("h1",{id:"class-errorboundary",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#class-errorboundary"},[e("span",null,"Class: ErrorBoundary")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"Component",-1),_=e("code",null,"ErrorBoundaryProps",-1),m=e("code",null,"Object",-1),b=e("h2",{id:"constructors",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#constructors"},[e("span",null,"Constructors")])],-1),f=e("h3",{id:"new-errorboundary-props",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#new-errorboundary-props"},[e("span",null,"new ErrorBoundary(props)")])],-1),y=e("strong",null,"new ErrorBoundary",-1),g=e("code",null,"props",-1),x=e("code",null,"ErrorBoundary",-1),E=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),v=e("strong",null,"props",-1),k=e("code",null,"ErrorBoundaryProps",-1),B=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"ErrorBoundary",-1),C=l('

    Overrides

    `Component< ErrorBoundaryProps, { error?: Error info?: { componentStack?: string } }

    .constructor`

    Properties

    whyDidYouRender

    static whyDidYouRender: boolean = true

    Methods

    componentDidCatch()

    componentDidCatch(error, info): void

    Parameters

    error: Error

    info: any

    Returns

    void

    Overrides

    Component.componentDidCatch

    render()

    render(): string | number | boolean | Iterable<ReactNode> | Element

    Returns

    string | number | boolean | Iterable<ReactNode> | Element

    Overrides

    Component.render

    ',22);function R(P,q){const o=a("RouteLink");return s(),c("div",null,[e("p",null,[n(o,{to:"/doc/react/"},{default:d(()=>[r("Documents")]),_:1}),r(" / "),n(o,{to:"/doc/react/"},{default:d(()=>[r("@faasjs/react")]),_:1}),r(" / ErrorBoundary")]),i,p,e("ul",null,[e("li",null,[u,r("<"),n(o,{to:"/doc/react/interfaces/ErrorBoundaryProps.html"},{default:d(()=>[_]),_:1}),r(", "),m,r(">")])]),b,f,e("blockquote",null,[e("p",null,[y,r("("),g,r("): "),n(o,{to:"/doc/react/classes/ErrorBoundary.html"},{default:d(()=>[x]),_:1})])]),E,e("p",null,[r("• "),v,r(": "),n(o,{to:"/doc/react/interfaces/ErrorBoundaryProps.html"},{default:d(()=>[k]),_:1})]),B,e("p",null,[n(o,{to:"/doc/react/classes/ErrorBoundary.html"},{default:d(()=>[w]),_:1})]),C])}const N=t(h,[["render",R],["__file","ErrorBoundary.html.vue"]]),O=JSON.parse('{"path":"/doc/react/classes/ErrorBoundary.html","title":"Class: ErrorBoundary","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new ErrorBoundary(props)","slug":"new-errorboundary-props","link":"#new-errorboundary-props","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"whyDidYouRender","slug":"whydidyourender","link":"#whydidyourender","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"componentDidCatch()","slug":"componentdidcatch","link":"#componentdidcatch","children":[]},{"level":3,"title":"render()","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/classes/ErrorBoundary.md"}');export{N as comp,O as data}; diff --git a/assets/ErrorBoundary.html-Ch9jkhCR.js b/assets/ErrorBoundary.html-YdzlByXl.js similarity index 96% rename from assets/ErrorBoundary.html-Ch9jkhCR.js rename to assets/ErrorBoundary.html-YdzlByXl.js index 8fd87f1d5b..a86cdba3ab 100644 --- a/assets/ErrorBoundary.html-Ch9jkhCR.js +++ b/assets/ErrorBoundary.html-YdzlByXl.js @@ -1 +1 @@ -import{_ as a,r as s,o as d,c,a as e,d as o,w as t,b as r,e as l}from"./app-QyD7034V.js";const u={},i=l('

    Function: ErrorBoundary()

    ErrorBoundary(props): Element

    Styled error boundary.

    Parameters

    ',4),p=e("strong",null,"props",-1),h=e("code",null,"ErrorBoundaryProps",-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"Element")],-1);function f(y,g){const n=s("RouteLink");return d(),c("div",null,[e("p",null,[o(n,{to:"/doc/ant-design/"},{default:t(()=>[r("Documents")]),_:1}),r(" / "),o(n,{to:"/doc/ant-design/"},{default:t(()=>[r("@faasjs/ant-design")]),_:1}),r(" / ErrorBoundary")]),i,e("p",null,[r("• "),p,r(": "),o(n,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:t(()=>[h]),_:1})]),_,m])}const E=a(u,[["render",f],["__file","ErrorBoundary.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/functions/ErrorBoundary.html","title":"Function: ErrorBoundary()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/ErrorBoundary.md"}');export{E as comp,b as data}; +import{_ as a,r as s,o as d,c,a as e,d as o,w as t,b as r,e as l}from"./app-COoiSelr.js";const u={},i=l('

    Function: ErrorBoundary()

    ErrorBoundary(props): Element

    Styled error boundary.

    Parameters

    ',4),p=e("strong",null,"props",-1),h=e("code",null,"ErrorBoundaryProps",-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"Element")],-1);function f(y,g){const n=s("RouteLink");return d(),c("div",null,[e("p",null,[o(n,{to:"/doc/ant-design/"},{default:t(()=>[r("Documents")]),_:1}),r(" / "),o(n,{to:"/doc/ant-design/"},{default:t(()=>[r("@faasjs/ant-design")]),_:1}),r(" / ErrorBoundary")]),i,e("p",null,[r("• "),p,r(": "),o(n,{to:"/doc/ant-design/interfaces/ErrorBoundaryProps.html"},{default:t(()=>[h]),_:1})]),_,m])}const E=a(u,[["render",f],["__file","ErrorBoundary.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/functions/ErrorBoundary.html","title":"Function: ErrorBoundary()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/ErrorBoundary.md"}');export{E as comp,b as data}; diff --git a/assets/ErrorBoundaryProps.html-DPOJpgvH.js b/assets/ErrorBoundaryProps.html-DV-6da9B.js similarity index 97% rename from assets/ErrorBoundaryProps.html-DPOJpgvH.js rename to assets/ErrorBoundaryProps.html-DV-6da9B.js index 86e89a7897..b561ae921f 100644 --- a/assets/ErrorBoundaryProps.html-DPOJpgvH.js +++ b/assets/ErrorBoundaryProps.html-DV-6da9B.js @@ -1 +1 @@ -import{_ as a,r as t,o as d,c as s,a as c,d as o,w as n,b as r,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Interface: ErrorBoundaryProps

    Properties

    children?

    optional children: ReactNode

    errorChildren?

    optional errorChildren: ReactElement<ErrorChildrenProps, string | JSXElementConstructor<any>>

    onError()?

    optional onError: (error, info) => void

    Parameters

    error: Error

    info: any

    Returns

    void

    ',13);function h(u,g){const e=t("RouteLink");return d(),s("div",null,[c("p",null,[o(e,{to:"/doc/ant-design/"},{default:n(()=>[r("Documents")]),_:1}),r(" / "),o(e,{to:"/doc/ant-design/"},{default:n(()=>[r("@faasjs/ant-design")]),_:1}),r(" / ErrorBoundaryProps")]),p])}const m=a(l,[["render",h],["__file","ErrorBoundaryProps.html.vue"]]),_=JSON.parse('{"path":"/doc/ant-design/interfaces/ErrorBoundaryProps.html","title":"Interface: ErrorBoundaryProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"errorChildren?","slug":"errorchildren","link":"#errorchildren","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ErrorBoundaryProps.md"}');export{m as comp,_ as data}; +import{_ as a,r as t,o as d,c as s,a as c,d as o,w as n,b as r,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Interface: ErrorBoundaryProps

    Properties

    children?

    optional children: ReactNode

    errorChildren?

    optional errorChildren: ReactElement<ErrorChildrenProps, string | JSXElementConstructor<any>>

    onError()?

    optional onError: (error, info) => void

    Parameters

    error: Error

    info: any

    Returns

    void

    ',13);function h(u,g){const e=t("RouteLink");return d(),s("div",null,[c("p",null,[o(e,{to:"/doc/ant-design/"},{default:n(()=>[r("Documents")]),_:1}),r(" / "),o(e,{to:"/doc/ant-design/"},{default:n(()=>[r("@faasjs/ant-design")]),_:1}),r(" / ErrorBoundaryProps")]),p])}const m=a(l,[["render",h],["__file","ErrorBoundaryProps.html.vue"]]),_=JSON.parse('{"path":"/doc/ant-design/interfaces/ErrorBoundaryProps.html","title":"Interface: ErrorBoundaryProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"errorChildren?","slug":"errorchildren","link":"#errorchildren","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ErrorBoundaryProps.md"}');export{m as comp,_ as data}; diff --git a/assets/ErrorBoundaryProps.html-vI8ClGZi.js b/assets/ErrorBoundaryProps.html-T0DGXnEi.js similarity index 97% rename from assets/ErrorBoundaryProps.html-vI8ClGZi.js rename to assets/ErrorBoundaryProps.html-T0DGXnEi.js index 9282153d69..a358da6691 100644 --- a/assets/ErrorBoundaryProps.html-vI8ClGZi.js +++ b/assets/ErrorBoundaryProps.html-T0DGXnEi.js @@ -1 +1 @@ -import{_ as s,r as c,o as d,c as l,a as e,d as n,w as t,b as r,e as a}from"./app-QyD7034V.js";const i={},h=a('

    Interface: ErrorBoundaryProps

    Properties

    children?

    optional children: ReactNode

    errorChildren?

    ',5),p=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"errorChildren",-1),_=e("code",null,"ReactElement",-1),f=e("code",null,"ErrorChildrenProps",-1),g=e("code",null,"string",-1),m=e("code",null,"JSXElementConstructor",-1),E=e("code",null,"any",-1),b=a('

    onError()?

    optional onError: (error, info) => void

    Parameters

    error: Error

    info: any

    Returns

    void

    ',7);function k(P,x){const o=c("RouteLink");return d(),l("div",null,[e("p",null,[n(o,{to:"/doc/react/"},{default:t(()=>[r("Documents")]),_:1}),r(" / "),n(o,{to:"/doc/react/"},{default:t(()=>[r("@faasjs/react")]),_:1}),r(" / ErrorBoundaryProps")]),h,e("blockquote",null,[e("p",null,[p,r(),u,r(": "),_,r("<"),n(o,{to:"/doc/react/type-aliases/ErrorChildrenProps.html"},{default:t(()=>[f]),_:1}),r(", "),g,r(" | "),m,r("<"),E,r(">>")])]),b])}const v=s(i,[["render",k],["__file","ErrorBoundaryProps.html.vue"]]),B=JSON.parse('{"path":"/doc/react/interfaces/ErrorBoundaryProps.html","title":"Interface: ErrorBoundaryProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"errorChildren?","slug":"errorchildren","link":"#errorchildren","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/ErrorBoundaryProps.md"}');export{v as comp,B as data}; +import{_ as s,r as c,o as d,c as l,a as e,d as n,w as t,b as r,e as a}from"./app-COoiSelr.js";const i={},h=a('

    Interface: ErrorBoundaryProps

    Properties

    children?

    optional children: ReactNode

    errorChildren?

    ',5),p=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"errorChildren",-1),_=e("code",null,"ReactElement",-1),f=e("code",null,"ErrorChildrenProps",-1),g=e("code",null,"string",-1),m=e("code",null,"JSXElementConstructor",-1),E=e("code",null,"any",-1),b=a('

    onError()?

    optional onError: (error, info) => void

    Parameters

    error: Error

    info: any

    Returns

    void

    ',7);function k(P,x){const o=c("RouteLink");return d(),l("div",null,[e("p",null,[n(o,{to:"/doc/react/"},{default:t(()=>[r("Documents")]),_:1}),r(" / "),n(o,{to:"/doc/react/"},{default:t(()=>[r("@faasjs/react")]),_:1}),r(" / ErrorBoundaryProps")]),h,e("blockquote",null,[e("p",null,[p,r(),u,r(": "),_,r("<"),n(o,{to:"/doc/react/type-aliases/ErrorChildrenProps.html"},{default:t(()=>[f]),_:1}),r(", "),g,r(" | "),m,r("<"),E,r(">>")])]),b])}const v=s(i,[["render",k],["__file","ErrorBoundaryProps.html.vue"]]),B=JSON.parse('{"path":"/doc/react/interfaces/ErrorBoundaryProps.html","title":"Interface: ErrorBoundaryProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"errorChildren?","slug":"errorchildren","link":"#errorchildren","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/ErrorBoundaryProps.md"}');export{v as comp,B as data}; diff --git a/assets/ErrorChildrenProps.html-DCA6TMHX.js b/assets/ErrorChildrenProps.html-CdxaIRZR.js similarity index 97% rename from assets/ErrorChildrenProps.html-DCA6TMHX.js rename to assets/ErrorChildrenProps.html-CdxaIRZR.js index a47a6b9dfe..ccd0101d3f 100644 --- a/assets/ErrorChildrenProps.html-DCA6TMHX.js +++ b/assets/ErrorChildrenProps.html-CdxaIRZR.js @@ -1 +1 @@ -import{_ as t,r as n,o as s,c,a as l,d as o,w as a,b as e,e as i}from"./app-QyD7034V.js";const d={},p=i('

    Type alias: ErrorChildrenProps

    ErrorChildrenProps: Object

    Type declaration

    error?

    optional error: Error

    errorDescription?

    optional errorDescription: string

    errorMessage?

    optional errorMessage: string

    info?

    optional info: any

    ',11);function h(g,u){const r=n("RouteLink");return s(),c("div",null,[l("p",null,[o(r,{to:"/doc/react/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(r,{to:"/doc/react/"},{default:a(()=>[e("@faasjs/react")]),_:1}),e(" / ErrorChildrenProps")]),p])}const k=t(d,[["render",h],["__file","ErrorChildrenProps.html.vue"]]),b=JSON.parse('{"path":"/doc/react/type-aliases/ErrorChildrenProps.html","title":"Type alias: ErrorChildrenProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"error?","slug":"error","link":"#error","children":[]},{"level":3,"title":"errorDescription?","slug":"errordescription","link":"#errordescription","children":[]},{"level":3,"title":"errorMessage?","slug":"errormessage","link":"#errormessage","children":[]},{"level":3,"title":"info?","slug":"info","link":"#info","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/ErrorChildrenProps.md"}');export{k as comp,b as data}; +import{_ as t,r as n,o as s,c,a as l,d as o,w as a,b as e,e as i}from"./app-COoiSelr.js";const d={},p=i('

    Type alias: ErrorChildrenProps

    ErrorChildrenProps: Object

    Type declaration

    error?

    optional error: Error

    errorDescription?

    optional errorDescription: string

    errorMessage?

    optional errorMessage: string

    info?

    optional info: any

    ',11);function h(g,u){const r=n("RouteLink");return s(),c("div",null,[l("p",null,[o(r,{to:"/doc/react/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(r,{to:"/doc/react/"},{default:a(()=>[e("@faasjs/react")]),_:1}),e(" / ErrorChildrenProps")]),p])}const k=t(d,[["render",h],["__file","ErrorChildrenProps.html.vue"]]),b=JSON.parse('{"path":"/doc/react/type-aliases/ErrorChildrenProps.html","title":"Type alias: ErrorChildrenProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"error?","slug":"error","link":"#error","children":[]},{"level":3,"title":"errorDescription?","slug":"errordescription","link":"#errordescription","children":[]},{"level":3,"title":"errorMessage?","slug":"errormessage","link":"#errormessage","children":[]},{"level":3,"title":"info?","slug":"info","link":"#info","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/ErrorChildrenProps.md"}');export{k as comp,b as data}; diff --git a/assets/ExportedHandler.html-nn0mJ3cR.js b/assets/ExportedHandler.html-7QHGR2bO.js similarity index 97% rename from assets/ExportedHandler.html-nn0mJ3cR.js rename to assets/ExportedHandler.html-7QHGR2bO.js index 740cb479bc..684aaf815b 100644 --- a/assets/ExportedHandler.html-nn0mJ3cR.js +++ b/assets/ExportedHandler.html-7QHGR2bO.js @@ -1 +1 @@ -import{_ as r,r as s,o as n,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-QyD7034V.js";const p={},i=l('

    Type alias: ExportedHandler()<TEvent, TContext, TResult>

    ExportedHandler<TEvent, TContext, TResult>: (event, context?, callback?) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    event: TEvent

    context?: TContext

    callback?

    Returns

    Promise<TResult>

    ',12);function h(u,m){const t=s("RouteLink");return n(),d("div",null,[c("p",null,[a(t,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / ExportedHandler")]),i])}const g=r(p,[["render",h],["__file","ExportedHandler.html.vue"]]),T=JSON.parse('{"path":"/doc/test/type-aliases/ExportedHandler.html","title":"Type alias: ExportedHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/ExportedHandler.md"}');export{g as comp,T as data}; +import{_ as r,r as s,o as n,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-COoiSelr.js";const p={},i=l('

    Type alias: ExportedHandler()<TEvent, TContext, TResult>

    ExportedHandler<TEvent, TContext, TResult>: (event, context?, callback?) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    event: TEvent

    context?: TContext

    callback?

    Returns

    Promise<TResult>

    ',12);function h(u,m){const t=s("RouteLink");return n(),d("div",null,[c("p",null,[a(t,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / ExportedHandler")]),i])}const g=r(p,[["render",h],["__file","ExportedHandler.html.vue"]]),T=JSON.parse('{"path":"/doc/test/type-aliases/ExportedHandler.html","title":"Type alias: ExportedHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/ExportedHandler.md"}');export{g as comp,T as data}; diff --git a/assets/ExportedHandler.html-B5By51HF.js b/assets/ExportedHandler.html-gLLuhM2m.js similarity index 97% rename from assets/ExportedHandler.html-B5By51HF.js rename to assets/ExportedHandler.html-gLLuhM2m.js index d80014e791..d485a4e310 100644 --- a/assets/ExportedHandler.html-B5By51HF.js +++ b/assets/ExportedHandler.html-gLLuhM2m.js @@ -1 +1 @@ -import{_ as r,r as n,o as s,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-QyD7034V.js";const p={},i=l('

    Type alias: ExportedHandler()<TEvent, TContext, TResult>

    ExportedHandler<TEvent, TContext, TResult>: (event, context?, callback?) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    event: TEvent

    context?: TContext

    callback?

    Returns

    Promise<TResult>

    ',12);function u(h,m){const t=n("RouteLink");return s(),d("div",null,[c("p",null,[a(t,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / ExportedHandler")]),i])}const g=r(p,[["render",u],["__file","ExportedHandler.html.vue"]]),T=JSON.parse('{"path":"/doc/func/type-aliases/ExportedHandler.html","title":"Type alias: ExportedHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/ExportedHandler.md"}');export{g as comp,T as data}; +import{_ as r,r as n,o as s,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-COoiSelr.js";const p={},i=l('

    Type alias: ExportedHandler()<TEvent, TContext, TResult>

    ExportedHandler<TEvent, TContext, TResult>: (event, context?, callback?) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    event: TEvent

    context?: TContext

    callback?

    Returns

    Promise<TResult>

    ',12);function u(h,m){const t=n("RouteLink");return s(),d("div",null,[c("p",null,[a(t,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / ExportedHandler")]),i])}const g=r(p,[["render",u],["__file","ExportedHandler.html.vue"]]),T=JSON.parse('{"path":"/doc/func/type-aliases/ExportedHandler.html","title":"Type alias: ExportedHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/ExportedHandler.md"}');export{g as comp,T as data}; diff --git a/assets/ExtendDescriptionItemProps.html-DRVx4FHF.js b/assets/ExtendDescriptionItemProps.html-CEX28nSy.js similarity index 94% rename from assets/ExtendDescriptionItemProps.html-DRVx4FHF.js rename to assets/ExtendDescriptionItemProps.html-CEX28nSy.js index 035f65b783..43fa806edc 100644 --- a/assets/ExtendDescriptionItemProps.html-DRVx4FHF.js +++ b/assets/ExtendDescriptionItemProps.html-CEX28nSy.js @@ -1 +1 @@ -import{_ as a,r as i,o as r,c as d,a as e,d as n,w as o,b as t}from"./app-QyD7034V.js";const c={},p=e("h1",{id:"type-alias-extenddescriptionitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extenddescriptionitemprops"},[e("span",null,"Type alias: ExtendDescriptionItemProps")])],-1),l=e("strong",null,"ExtendDescriptionItemProps",-1),m=e("code",null,"BaseItemProps",-1);function _(u,h){const s=i("RouteLink");return r(),d("div",null,[e("p",null,[n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendDescriptionItemProps")]),p,e("blockquote",null,[e("p",null,[l,t(": "),n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[m]),_:1})])])])}const f=a(c,[["render",_],["__file","ExtendDescriptionItemProps.html.vue"]]),P=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html","title":"Type alias: ExtendDescriptionItemProps","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendDescriptionItemProps.md"}');export{f as comp,P as data}; +import{_ as a,r as i,o as r,c as d,a as e,d as n,w as o,b as t}from"./app-COoiSelr.js";const c={},p=e("h1",{id:"type-alias-extenddescriptionitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extenddescriptionitemprops"},[e("span",null,"Type alias: ExtendDescriptionItemProps")])],-1),l=e("strong",null,"ExtendDescriptionItemProps",-1),m=e("code",null,"BaseItemProps",-1);function _(u,h){const s=i("RouteLink");return r(),d("div",null,[e("p",null,[n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendDescriptionItemProps")]),p,e("blockquote",null,[e("p",null,[l,t(": "),n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[m]),_:1})])])])}const f=a(c,[["render",_],["__file","ExtendDescriptionItemProps.html.vue"]]),P=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html","title":"Type alias: ExtendDescriptionItemProps","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendDescriptionItemProps.md"}');export{f as comp,P as data}; diff --git a/assets/ExtendDescriptionTypeProps.html-BsvSDegU.js b/assets/ExtendDescriptionTypeProps.html-CVmM0LEy.js similarity index 97% rename from assets/ExtendDescriptionTypeProps.html-BsvSDegU.js rename to assets/ExtendDescriptionTypeProps.html-CVmM0LEy.js index 5829e059c1..859849d264 100644 --- a/assets/ExtendDescriptionTypeProps.html-BsvSDegU.js +++ b/assets/ExtendDescriptionTypeProps.html-CVmM0LEy.js @@ -1 +1 @@ -import{_ as a,r as o,o as l,c as i,a as e,d as s,w as r,b as t,e as d}from"./app-QyD7034V.js";const c={},p=d('

    Interface: ExtendDescriptionTypeProps<T>

    Type parameters

    T = any

    Properties

    children?

    ',5),h=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"children",-1),u=e("code",null,"UnionFaasItemElement",-1),m=e("code",null,"T",-1),f=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),g=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"render",-1),y=e("code",null,"UnionFaasItemRender",-1),T=e("code",null,"T",-1);function k(E,P){const n=o("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendDescriptionTypeProps")]),p,e("blockquote",null,[e("p",null,[h,t(),_,t(": "),s(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:r(()=>[u]),_:1}),t("<"),m,t(">")])]),f,e("blockquote",null,[e("p",null,[g,t(),x,t(": "),s(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:r(()=>[y]),_:1}),t("<"),T,t(">")])])])}const v=a(c,[["render",k],["__file","ExtendDescriptionTypeProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html","title":"Interface: ExtendDescriptionTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ExtendDescriptionTypeProps.md"}');export{v as comp,D as data}; +import{_ as a,r as o,o as l,c as i,a as e,d as s,w as r,b as t,e as d}from"./app-COoiSelr.js";const c={},p=d('

    Interface: ExtendDescriptionTypeProps<T>

    Type parameters

    T = any

    Properties

    children?

    ',5),h=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"children",-1),u=e("code",null,"UnionFaasItemElement",-1),m=e("code",null,"T",-1),f=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),g=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"render",-1),y=e("code",null,"UnionFaasItemRender",-1),T=e("code",null,"T",-1);function k(E,P){const n=o("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendDescriptionTypeProps")]),p,e("blockquote",null,[e("p",null,[h,t(),_,t(": "),s(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:r(()=>[u]),_:1}),t("<"),m,t(">")])]),f,e("blockquote",null,[e("p",null,[g,t(),x,t(": "),s(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:r(()=>[y]),_:1}),t("<"),T,t(">")])])])}const v=a(c,[["render",k],["__file","ExtendDescriptionTypeProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html","title":"Interface: ExtendDescriptionTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ExtendDescriptionTypeProps.md"}');export{v as comp,D as data}; diff --git a/assets/ExtendFormItemProps.html-yl2bIvts.js b/assets/ExtendFormItemProps.html-CkDCvqjs.js similarity index 94% rename from assets/ExtendFormItemProps.html-yl2bIvts.js rename to assets/ExtendFormItemProps.html-CkDCvqjs.js index d14d3eade0..a91e7502cf 100644 --- a/assets/ExtendFormItemProps.html-yl2bIvts.js +++ b/assets/ExtendFormItemProps.html-CkDCvqjs.js @@ -1 +1 @@ -import{_ as a,r,o as d,c as l,a as e,d as s,w as n,b as t}from"./app-QyD7034V.js";const m={},c=e("h1",{id:"type-alias-extendformitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendformitemprops"},[e("span",null,"Type alias: ExtendFormItemProps")])],-1),i=e("strong",null,"ExtendFormItemProps",-1),p=e("code",null,"BaseItemProps",-1),_=e("code",null,"AntdFormItemProps",-1);function u(h,f){const o=r("RouteLink");return d(),l("div",null,[e("p",null,[s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendFormItemProps")]),c,e("blockquote",null,[e("p",null,[i,t(": "),s(o,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:n(()=>[p]),_:1}),t(" & "),_])])])}const P=a(m,[["render",u],["__file","ExtendFormItemProps.html.vue"]]),I=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendFormItemProps.html","title":"Type alias: ExtendFormItemProps","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendFormItemProps.md"}');export{P as comp,I as data}; +import{_ as a,r,o as d,c as l,a as e,d as s,w as n,b as t}from"./app-COoiSelr.js";const m={},c=e("h1",{id:"type-alias-extendformitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendformitemprops"},[e("span",null,"Type alias: ExtendFormItemProps")])],-1),i=e("strong",null,"ExtendFormItemProps",-1),p=e("code",null,"BaseItemProps",-1),_=e("code",null,"AntdFormItemProps",-1);function u(h,f){const o=r("RouteLink");return d(),l("div",null,[e("p",null,[s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendFormItemProps")]),c,e("blockquote",null,[e("p",null,[i,t(": "),s(o,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:n(()=>[p]),_:1}),t(" & "),_])])])}const P=a(m,[["render",u],["__file","ExtendFormItemProps.html.vue"]]),I=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendFormItemProps.html","title":"Type alias: ExtendFormItemProps","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendFormItemProps.md"}');export{P as comp,I as data}; diff --git a/assets/ExtendFormTypeProps.html-Qm_yBtG3.js b/assets/ExtendFormTypeProps.html-B0S70-Jz.js similarity index 96% rename from assets/ExtendFormTypeProps.html-Qm_yBtG3.js rename to assets/ExtendFormTypeProps.html-B0S70-Jz.js index 1865a084a8..8bb80bb997 100644 --- a/assets/ExtendFormTypeProps.html-Qm_yBtG3.js +++ b/assets/ExtendFormTypeProps.html-B0S70-Jz.js @@ -1 +1 @@ -import{_ as s,r,o as l,c as d,a as t,d as n,w as o,b as e,e as p}from"./app-QyD7034V.js";const c={},i=p('

    Type alias: ExtendFormTypeProps<T>

    ExtendFormTypeProps<T>: Object

    Type parameters

    T = any

    Type declaration

    children?

    ',6),h=t("strong",null,[t("code",null,"optional")],-1),m=t("strong",null,"children",-1),y=t("code",null,"UnionFaasItemElement",-1),_=t("code",null,"T",-1);function u(T,g){const a=r("RouteLink");return l(),d("div",null,[t("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ExtendFormTypeProps")]),i,t("blockquote",null,[t("p",null,[h,e(),m,e(": "),n(a,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:o(()=>[y]),_:1}),e("<"),_,e(">")])])])}const f=s(c,[["render",u],["__file","ExtendFormTypeProps.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendFormTypeProps.html","title":"Type alias: ExtendFormTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendFormTypeProps.md"}');export{f as comp,E as data}; +import{_ as s,r,o as l,c as d,a as t,d as n,w as o,b as e,e as p}from"./app-COoiSelr.js";const c={},i=p('

    Type alias: ExtendFormTypeProps<T>

    ExtendFormTypeProps<T>: Object

    Type parameters

    T = any

    Type declaration

    children?

    ',6),h=t("strong",null,[t("code",null,"optional")],-1),m=t("strong",null,"children",-1),y=t("code",null,"UnionFaasItemElement",-1),_=t("code",null,"T",-1);function u(T,g){const a=r("RouteLink");return l(),d("div",null,[t("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ExtendFormTypeProps")]),i,t("blockquote",null,[t("p",null,[h,e(),m,e(": "),n(a,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:o(()=>[y]),_:1}),e("<"),_,e(">")])])])}const f=s(c,[["render",u],["__file","ExtendFormTypeProps.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendFormTypeProps.html","title":"Type alias: ExtendFormTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendFormTypeProps.md"}');export{f as comp,E as data}; diff --git a/assets/ExtendTableItemProps.html-CIIMYJZr.js b/assets/ExtendTableItemProps.html-BUa88oWW.js similarity index 96% rename from assets/ExtendTableItemProps.html-CIIMYJZr.js rename to assets/ExtendTableItemProps.html-BUa88oWW.js index 062da9dd8f..8e78d09967 100644 --- a/assets/ExtendTableItemProps.html-CIIMYJZr.js +++ b/assets/ExtendTableItemProps.html-BUa88oWW.js @@ -1 +1 @@ -import{_ as o,r as l,o as d,c as r,a as e,d as s,w as n,b as t}from"./app-QyD7034V.js";const c={},p=e("h1",{id:"type-alias-extendtableitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendtableitemprops-t"},[e("span",null,"Type alias: ExtendTableItemProps")])],-1),i=e("strong",null,"ExtendTableItemProps",-1),_=e("code",null,"T",-1),m=e("code",null,"BaseItemProps",-1),u=e("code",null,"Omit",-1),h=e("code",null,"AntdTableColumnProps",-1),T=e("code",null,"T",-1),x=e("code",null,'"children"',-1),b=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),f=e("p",null,[t("• "),e("strong",null,"T"),t(" = "),e("code",null,"any")],-1);function y(P,g){const a=l("RouteLink");return d(),r("div",null,[e("p",null,[s(a,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendTableItemProps")]),p,e("blockquote",null,[e("p",null,[i,t("<"),_,t(">: "),s(a,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:n(()=>[m]),_:1}),t(" & "),u,t("<"),h,t("<"),T,t(">, "),x,t(">")])]),b,f])}const E=o(c,[["render",y],["__file","ExtendTableItemProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTableItemProps.html","title":"Type alias: ExtendTableItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTableItemProps.md"}');export{E as comp,k as data}; +import{_ as o,r as l,o as d,c as r,a as e,d as s,w as n,b as t}from"./app-COoiSelr.js";const c={},p=e("h1",{id:"type-alias-extendtableitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendtableitemprops-t"},[e("span",null,"Type alias: ExtendTableItemProps")])],-1),i=e("strong",null,"ExtendTableItemProps",-1),_=e("code",null,"T",-1),m=e("code",null,"BaseItemProps",-1),u=e("code",null,"Omit",-1),h=e("code",null,"AntdTableColumnProps",-1),T=e("code",null,"T",-1),x=e("code",null,'"children"',-1),b=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),f=e("p",null,[t("• "),e("strong",null,"T"),t(" = "),e("code",null,"any")],-1);function y(P,g){const a=l("RouteLink");return d(),r("div",null,[e("p",null,[s(a,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendTableItemProps")]),p,e("blockquote",null,[e("p",null,[i,t("<"),_,t(">: "),s(a,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:n(()=>[m]),_:1}),t(" & "),u,t("<"),h,t("<"),T,t(">, "),x,t(">")])]),b,f])}const E=o(c,[["render",y],["__file","ExtendTableItemProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTableItemProps.html","title":"Type alias: ExtendTableItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTableItemProps.md"}');export{E as comp,k as data}; diff --git a/assets/ExtendTableTypeProps.html-DeFBQ2Mn.js b/assets/ExtendTableTypeProps.html-BNpg7u1W.js similarity index 97% rename from assets/ExtendTableTypeProps.html-DeFBQ2Mn.js rename to assets/ExtendTableTypeProps.html-BNpg7u1W.js index 5266fdbc84..f885d42761 100644 --- a/assets/ExtendTableTypeProps.html-DeFBQ2Mn.js +++ b/assets/ExtendTableTypeProps.html-BNpg7u1W.js @@ -1 +1 @@ -import{_ as o,r as s,o as r,c as d,a as t,d as n,w as l,b as e,e as c}from"./app-QyD7034V.js";const p={},i=c('

    Type alias: ExtendTableTypeProps<T>

    ExtendTableTypeProps<T>: Object

    Type parameters

    T = any

    Type declaration

    children?

    optional children: JSX.Element

    render?

    ',8),h=t("strong",null,[t("code",null,"optional")],-1),y=t("strong",null,"render",-1),u=t("code",null,"UnionFaasItemRender",-1),T=t("code",null,"T",-1);function _(g,m){const a=s("RouteLink");return r(),d("div",null,[t("p",null,[n(a,{to:"/doc/ant-design/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/ant-design/"},{default:l(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ExtendTableTypeProps")]),i,t("blockquote",null,[t("p",null,[h,e(),y,e(": "),n(a,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[u]),_:1}),e("<"),T,e(">")])])])}const x=o(p,[["render",_],["__file","ExtendTableTypeProps.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTableTypeProps.html","title":"Type alias: ExtendTableTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTableTypeProps.md"}');export{x as comp,f as data}; +import{_ as o,r as s,o as r,c as d,a as t,d as n,w as l,b as e,e as c}from"./app-COoiSelr.js";const p={},i=c('

    Type alias: ExtendTableTypeProps<T>

    ExtendTableTypeProps<T>: Object

    Type parameters

    T = any

    Type declaration

    children?

    optional children: JSX.Element

    render?

    ',8),h=t("strong",null,[t("code",null,"optional")],-1),y=t("strong",null,"render",-1),u=t("code",null,"UnionFaasItemRender",-1),T=t("code",null,"T",-1);function _(g,m){const a=s("RouteLink");return r(),d("div",null,[t("p",null,[n(a,{to:"/doc/ant-design/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/ant-design/"},{default:l(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ExtendTableTypeProps")]),i,t("blockquote",null,[t("p",null,[h,e(),y,e(": "),n(a,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[u]),_:1}),e("<"),T,e(">")])])])}const x=o(p,[["render",_],["__file","ExtendTableTypeProps.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTableTypeProps.html","title":"Type alias: ExtendTableTypeProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTableTypeProps.md"}');export{x as comp,f as data}; diff --git a/assets/ExtendTypes.html-DcNdLdCN.js b/assets/ExtendTypes.html-fupJr8jz.js similarity index 95% rename from assets/ExtendTypes.html-DcNdLdCN.js rename to assets/ExtendTypes.html-fupJr8jz.js index e7bb3009f9..a02c3fd130 100644 --- a/assets/ExtendTypes.html-DcNdLdCN.js +++ b/assets/ExtendTypes.html-fupJr8jz.js @@ -1 +1 @@ -import{_ as d,r as o,o as l,c as i,a as e,d as s,w as a,b as t}from"./app-QyD7034V.js";const c={},r=e("h1",{id:"type-alias-extendtypes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendtypes"},[e("span",null,"Type alias: ExtendTypes")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"ExtendTypes"),t(": "),e("code",null,"Object")])],-1),u=e("h2",{id:"index-signature",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#index-signature"},[e("span",null,"Index signature")])],-1),_=e("code",null,"type",-1),x=e("code",null,"string",-1),h=e("code",null,"ExtendFormTypeProps",-1);function y(g,m){const n=o("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendTypes")]),r,p,u,e("p",null,[t("["),_,t(": "),x,t("]: "),s(n,{to:"/doc/ant-design/type-aliases/ExtendFormTypeProps.html"},{default:a(()=>[h]),_:1})])])}const T=d(c,[["render",y],["__file","ExtendTypes.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTypes.html","title":"Type alias: ExtendTypes","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTypes.md"}');export{T as comp,E as data}; +import{_ as d,r as o,o as l,c as i,a as e,d as s,w as a,b as t}from"./app-COoiSelr.js";const c={},r=e("h1",{id:"type-alias-extendtypes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-extendtypes"},[e("span",null,"Type alias: ExtendTypes")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"ExtendTypes"),t(": "),e("code",null,"Object")])],-1),u=e("h2",{id:"index-signature",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#index-signature"},[e("span",null,"Index signature")])],-1),_=e("code",null,"type",-1),x=e("code",null,"string",-1),h=e("code",null,"ExtendFormTypeProps",-1);function y(g,m){const n=o("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("@faasjs/ant-design")]),_:1}),t(" / ExtendTypes")]),r,p,u,e("p",null,[t("["),_,t(": "),x,t("]: "),s(n,{to:"/doc/ant-design/type-aliases/ExtendFormTypeProps.html"},{default:a(()=>[h]),_:1})])])}const T=d(c,[["render",y],["__file","ExtendTypes.html.vue"]]),E=JSON.parse('{"path":"/doc/ant-design/type-aliases/ExtendTypes.html","title":"Type alias: ExtendTypes","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/ExtendTypes.md"}');export{T as comp,E as data}; diff --git a/assets/FaasAction.html-C-0J57Iz.js b/assets/FaasAction.html-BC-yiK29.js similarity index 94% rename from assets/FaasAction.html-C-0J57Iz.js rename to assets/FaasAction.html-BC-yiK29.js index aa6e78bdfc..050030e61a 100644 --- a/assets/FaasAction.html-C-0J57Iz.js +++ b/assets/FaasAction.html-BC-yiK29.js @@ -1 +1 @@ -import{_ as n,r as c,o as l,c as i,a as t,d as s,w as o,b as a}from"./app-QyD7034V.js";const d={},_=t("h1",{id:"type-alias-faasaction",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-alias-faasaction"},[t("span",null,"Type alias: FaasAction")])],-1),p=t("strong",null,"FaasAction",-1),r=t("code",null,"FaasActionPaths",-1),u=t("code",null,"Record",-1),h=t("code",null,"string",-1),f=t("code",null,"any",-1);function m(y,A){const e=c("RouteLink");return l(),i("div",null,[t("p",null,[s(e,{to:"/doc/types/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),s(e,{to:"/doc/types/"},{default:o(()=>[a("@faasjs/types")]),_:1}),a(" / FaasAction")]),_,t("blockquote",null,[t("p",null,[p,a(": "),s(e,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[r]),_:1}),a(" | "),u,a("<"),h,a(", "),f,a(">")])])])}const x=n(d,[["render",m],["__file","FaasAction.html.vue"]]),k=JSON.parse('{"path":"/doc/types/type-aliases/FaasAction.html","title":"Type alias: FaasAction","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasAction.md"}');export{x as comp,k as data}; +import{_ as n,r as c,o as l,c as i,a as t,d as s,w as o,b as a}from"./app-COoiSelr.js";const d={},_=t("h1",{id:"type-alias-faasaction",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-alias-faasaction"},[t("span",null,"Type alias: FaasAction")])],-1),p=t("strong",null,"FaasAction",-1),r=t("code",null,"FaasActionPaths",-1),u=t("code",null,"Record",-1),h=t("code",null,"string",-1),f=t("code",null,"any",-1);function m(y,A){const e=c("RouteLink");return l(),i("div",null,[t("p",null,[s(e,{to:"/doc/types/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),s(e,{to:"/doc/types/"},{default:o(()=>[a("@faasjs/types")]),_:1}),a(" / FaasAction")]),_,t("blockquote",null,[t("p",null,[p,a(": "),s(e,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[r]),_:1}),a(" | "),u,a("<"),h,a(", "),f,a(">")])])])}const x=n(d,[["render",m],["__file","FaasAction.html.vue"]]),k=JSON.parse('{"path":"/doc/types/type-aliases/FaasAction.html","title":"Type alias: FaasAction","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasAction.md"}');export{x as comp,k as data}; diff --git a/assets/FaasAction.html-DCD7DK_O.js b/assets/FaasAction.html-BenW7jSd.js similarity index 93% rename from assets/FaasAction.html-DCD7DK_O.js rename to assets/FaasAction.html-BenW7jSd.js index 673210ec3f..6165673bc2 100644 --- a/assets/FaasAction.html-DCD7DK_O.js +++ b/assets/FaasAction.html-BenW7jSd.js @@ -1 +1 @@ -import{_ as c,r as s,o as n,c as i,a as r,d as t,w as o,b as a,e as d}from"./app-QyD7034V.js";const l={},p=d('

    Type alias: FaasAction

    FaasAction: FaasActionPaths | Record<string, any>

    ',2);function _(h,f){const e=s("RouteLink");return n(),i("div",null,[r("p",null,[t(e,{to:"/doc/react/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:o(()=>[a("@faasjs/react")]),_:1}),a(" / FaasAction")]),p])}const u=c(l,[["render",_],["__file","FaasAction.html.vue"]]),A=JSON.parse('{"path":"/doc/react/type-aliases/FaasAction.html","title":"Type alias: FaasAction","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasAction.md"}');export{u as comp,A as data}; +import{_ as c,r as s,o as n,c as i,a as r,d as t,w as o,b as a,e as d}from"./app-COoiSelr.js";const l={},p=d('

    Type alias: FaasAction

    FaasAction: FaasActionPaths | Record<string, any>

    ',2);function _(h,f){const e=s("RouteLink");return n(),i("div",null,[r("p",null,[t(e,{to:"/doc/react/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:o(()=>[a("@faasjs/react")]),_:1}),a(" / FaasAction")]),p])}const u=c(l,[["render",_],["__file","FaasAction.html.vue"]]),A=JSON.parse('{"path":"/doc/react/type-aliases/FaasAction.html","title":"Type alias: FaasAction","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasAction.md"}');export{u as comp,A as data}; diff --git a/assets/FaasActionPaths.html-BR9Rdtog.js b/assets/FaasActionPaths.html-glxYBLTE.js similarity index 93% rename from assets/FaasActionPaths.html-BR9Rdtog.js rename to assets/FaasActionPaths.html-glxYBLTE.js index 34ee85f026..c63da01f08 100644 --- a/assets/FaasActionPaths.html-BR9Rdtog.js +++ b/assets/FaasActionPaths.html-glxYBLTE.js @@ -1 +1 @@ -import{_ as n,r as c,o as l,c as i,a,d as s,w as o,b as t}from"./app-QyD7034V.js";const p={},d=a("h1",{id:"type-alias-faasactionpaths",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasactionpaths"},[a("span",null,"Type alias: FaasActionPaths")])],-1),h=a("blockquote",null,[a("p",null,[a("strong",null,"FaasActionPaths"),t(": keyof "),a("code",null,"FaasActions")])],-1);function r(_,u){const e=c("RouteLink");return l(),i("div",null,[a("p",null,[s(e,{to:"/doc/types/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(e,{to:"/doc/types/"},{default:o(()=>[t("@faasjs/types")]),_:1}),t(" / FaasActionPaths")]),d,h])}const m=n(p,[["render",r],["__file","FaasActionPaths.html.vue"]]),y=JSON.parse('{"path":"/doc/types/type-aliases/FaasActionPaths.html","title":"Type alias: FaasActionPaths","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasActionPaths.md"}');export{m as comp,y as data}; +import{_ as n,r as c,o as l,c as i,a,d as s,w as o,b as t}from"./app-COoiSelr.js";const p={},d=a("h1",{id:"type-alias-faasactionpaths",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasactionpaths"},[a("span",null,"Type alias: FaasActionPaths")])],-1),h=a("blockquote",null,[a("p",null,[a("strong",null,"FaasActionPaths"),t(": keyof "),a("code",null,"FaasActions")])],-1);function r(_,u){const e=c("RouteLink");return l(),i("div",null,[a("p",null,[s(e,{to:"/doc/types/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),s(e,{to:"/doc/types/"},{default:o(()=>[t("@faasjs/types")]),_:1}),t(" / FaasActionPaths")]),d,h])}const m=n(p,[["render",r],["__file","FaasActionPaths.html.vue"]]),y=JSON.parse('{"path":"/doc/types/type-aliases/FaasActionPaths.html","title":"Type alias: FaasActionPaths","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasActionPaths.md"}');export{m as comp,y as data}; diff --git a/assets/FaasBrowserClient.html-BMT-D33J.js b/assets/FaasBrowserClient.html-B35xxf1C.js similarity index 99% rename from assets/FaasBrowserClient.html-BMT-D33J.js rename to assets/FaasBrowserClient.html-B35xxf1C.js index 6a10aacb0b..9ce3eeb531 100644 --- a/assets/FaasBrowserClient.html-BMT-D33J.js +++ b/assets/FaasBrowserClient.html-B35xxf1C.js @@ -1,4 +1,4 @@ -import{_ as l,r as c,o as r,c as i,a as t,d as a,w as n,b as e,e as o}from"./app-QyD7034V.js";const d={},h=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
    +import{_ as l,r as c,o as r,c as i,a as t,d as a,w as n,b as e,e as o}from"./app-COoiSelr.js";const d={},h=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
     
     await client.action('func', { key: 'value' })
     

    Table of contents

    Constructors

    `,5),p=t("h3",{id:"properties",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#properties"},[t("span",null,"Properties")])],-1),u=t("h3",{id:"methods",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#methods"},[t("span",null,"Methods")])],-1),_=o('

    Constructors

    constructor

    new FaasBrowserClient(baseUrl, options?)

    Parameters

    ',4),f=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),m=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"baseUrl")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string")])],-1),g=t("td",{style:{"text-align":"left"}},[t("code",null,"options?")],-1),x={style:{"text-align":"left"}},b=t("code",null,"Options",-1),y=t("h2",{id:"properties-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#properties-1"},[t("span",null,"Properties")])],-1),k=t("h3",{id:"defaultoptions",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#defaultoptions"},[t("span",null,"defaultOptions")])],-1),v=t("strong",null,"defaultOptions",-1),w=t("code",null,"Options",-1),C=o('

    host

    host: string

    Methods

    action

    ',5),F=t("strong",null,"action",-1),B=t("code",null,"PathOrData",-1),P=t("code",null,"action",-1),O=t("code",null,"params?",-1),D=t("code",null,"options?",-1),R=t("code",null,"Promise",-1),N=t("code",null,"Response",-1),T=t("code",null,"FaasData",-1),M=t("code",null,"PathOrData",-1),S=o('

    Request a FaasJS function

    Type parameters

    NameType
    PathOrDataextends Record<string, any>

    Parameters

    ',4),V=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type"),t("th",{style:{"text-align":"left"}},"Description")])],-1),J=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"action")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string"),e(" | "),t("code",null,"PathOrData")]),t("td",{style:{"text-align":"left"}},"function path")],-1),q=t("td",{style:{"text-align":"left"}},[t("code",null,"params?")],-1),L={style:{"text-align":"left"}},U=t("code",null,"FaasParams",-1),E=t("code",null,"PathOrData",-1),j=t("td",{style:{"text-align":"left"}},"function params",-1),z=t("td",{style:{"text-align":"left"}},[t("code",null,"options?")],-1),A={style:{"text-align":"left"}},G=t("code",null,"Options",-1),H=t("td",{style:{"text-align":"left"}},[e("request options "),t("code",null,"ts await client.action('func', { key: 'value' }) ")],-1),I=t("h4",{id:"returns",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns"},[t("span",null,"Returns")])],-1),K=t("code",null,"Promise",-1),Q=t("code",null,"Response",-1),W=t("code",null,"FaasData",-1),X=t("code",null,"PathOrData",-1);function Y(Z,$){const s=c("RouteLink");return r(),i("div",null,[t("p",null,[a(s,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / Class: FaasBrowserClient")]),h,t("ul",null,[t("li",null,[a(s,{to:"/doc/react/classes/FaasBrowserClient.html#constructor"},{default:n(()=>[e("constructor")]),_:1})])]),p,t("ul",null,[t("li",null,[a(s,{to:"/doc/react/classes/FaasBrowserClient.html#defaultoptions"},{default:n(()=>[e("defaultOptions")]),_:1})]),t("li",null,[a(s,{to:"/doc/react/classes/FaasBrowserClient.html#host"},{default:n(()=>[e("host")]),_:1})])]),u,t("ul",null,[t("li",null,[a(s,{to:"/doc/react/classes/FaasBrowserClient.html#action"},{default:n(()=>[e("action")]),_:1})])]),_,t("table",null,[f,t("tbody",null,[m,t("tr",null,[g,t("td",x,[a(s,{to:"/doc/react/#options"},{default:n(()=>[b]),_:1})])])])]),y,k,t("p",null,[e("• "),v,e(": "),a(s,{to:"/doc/react/#options"},{default:n(()=>[w]),_:1})]),C,t("p",null,[e("▸ "),F,e("<"),B,e(">("),P,e(", "),O,e(", "),D,e("): "),R,e("<"),a(s,{to:"/doc/react/classes/Response.html"},{default:n(()=>[N]),_:1}),e("<"),a(s,{to:"/doc/react/#faasdata"},{default:n(()=>[T]),_:1}),e("<"),M,e(">>>")]),S,t("table",null,[V,t("tbody",null,[J,t("tr",null,[q,t("td",L,[a(s,{to:"/doc/react/#faasparams"},{default:n(()=>[U]),_:1}),e("<"),E,e(">")]),j]),t("tr",null,[z,t("td",A,[a(s,{to:"/doc/react/#options"},{default:n(()=>[G]),_:1})]),H])])]),I,t("p",null,[K,e("<"),a(s,{to:"/doc/react/classes/Response.html"},{default:n(()=>[Q]),_:1}),e("<"),a(s,{to:"/doc/react/#faasdata"},{default:n(()=>[W]),_:1}),e("<"),X,e(">>>")])])}const et=l(d,[["render",Y],["__file","FaasBrowserClient.html.vue"]]),st=JSON.parse('{"path":"/doc/react/classes/FaasBrowserClient.html","title":"Class: FaasBrowserClient","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Constructors","slug":"constructors","link":"#constructors","children":[]},{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Constructors","slug":"constructors-1","link":"#constructors-1","children":[{"level":3,"title":"constructor","slug":"constructor","link":"#constructor","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"defaultOptions","slug":"defaultoptions","link":"#defaultoptions","children":[]},{"level":3,"title":"host","slug":"host","link":"#host","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/classes/FaasBrowserClient.md"}');export{et as comp,st as data}; diff --git a/assets/FaasBrowserClient.html-DS6HQ5_V.js b/assets/FaasBrowserClient.html-B9_ulpRX.js similarity index 99% rename from assets/FaasBrowserClient.html-DS6HQ5_V.js rename to assets/FaasBrowserClient.html-B9_ulpRX.js index a02bf784ee..c7e09f32b8 100644 --- a/assets/FaasBrowserClient.html-DS6HQ5_V.js +++ b/assets/FaasBrowserClient.html-B9_ulpRX.js @@ -1,4 +1,4 @@ -import{_ as l,r as c,o as i,c as r,a as s,d as a,w as t,b as e,e as o}from"./app-QyD7034V.js";const p={},d=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
    +import{_ as l,r as c,o as i,c as r,a as s,d as a,w as t,b as e,e as o}from"./app-COoiSelr.js";const p={},d=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
     
     await client.action('func', { key: 'value' })
     

    Constructors

    new FaasBrowserClient(baseUrl, options)

    `,5),u=s("strong",null,"new FaasBrowserClient",-1),h=s("code",null,"baseUrl",-1),_=s("code",null,"options",-1),g=s("code",null,"FaasBrowserClient",-1),k=s("h4",{id:"parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#parameters"},[s("span",null,"Parameters")])],-1),f=s("p",null,[e("• "),s("strong",null,"baseUrl"),e(": "),s("code",null,"string")],-1),m=s("strong",null,"options?",-1),b=s("code",null,"Options",-1),v=s("h4",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},[s("span",null,"Returns")])],-1),w=s("code",null,"FaasBrowserClient",-1),x=s("h2",{id:"properties",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#properties"},[s("span",null,"Properties")])],-1),C=s("h3",{id:"defaultoptions",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#defaultoptions"},[s("span",null,"defaultOptions")])],-1),F=s("strong",null,"defaultOptions",-1),y=s("code",null,"Options",-1),B=o('

    host

    host: string

    id

    readonly id: string

    Methods

    action()

    ',6),O=s("strong",null,"action",-1),P=s("code",null,"PathOrData",-1),R=s("code",null,"action",-1),q=s("code",null,"params",-1),D=s("code",null,"options",-1),N=s("code",null,"Promise",-1),S=s("code",null,"Response",-1),U=s("code",null,"FaasData",-1),V=s("code",null,"PathOrData",-1),J=o('

    Request a FaasJS function

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    function path

    params?: FaasParams<PathOrData>

    function params

    ',8),T=s("strong",null,"options?",-1),L=s("code",null,"Options",-1),M=o(`

    request options

    await client.action('func', { key: 'value' })
    diff --git a/assets/FaasBrowserClient.html-DbydN21Y.js b/assets/FaasBrowserClient.html-Bhzlrm99.js
    similarity index 99%
    rename from assets/FaasBrowserClient.html-DbydN21Y.js
    rename to assets/FaasBrowserClient.html-Bhzlrm99.js
    index e3f88cc401..1f18fa862d 100644
    --- a/assets/FaasBrowserClient.html-DbydN21Y.js
    +++ b/assets/FaasBrowserClient.html-Bhzlrm99.js
    @@ -1,4 +1,4 @@
    -import{_ as l,r,o as c,c as i,a as s,d as a,w as t,b as e,e as o}from"./app-QyD7034V.js";const d={},p=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
    +import{_ as l,r,o as c,c as i,a as s,d as a,w as t,b as e,e as o}from"./app-COoiSelr.js";const d={},p=o(`

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
     
     await client.action('func', { key: 'value' })
     

    Constructors

    new FaasBrowserClient(baseUrl, options)

    `,5),u=s("strong",null,"new FaasBrowserClient",-1),h=s("code",null,"baseUrl",-1),_=s("code",null,"options",-1),b=s("code",null,"FaasBrowserClient",-1),k=s("h4",{id:"parameters",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#parameters"},[s("span",null,"Parameters")])],-1),f=s("p",null,[e("• "),s("strong",null,"baseUrl"),e(": "),s("code",null,"string")],-1),m=s("strong",null,"options?",-1),w=s("code",null,"Options",-1),g=s("h4",{id:"returns",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#returns"},[s("span",null,"Returns")])],-1),v=s("code",null,"FaasBrowserClient",-1),x=s("h2",{id:"properties",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#properties"},[s("span",null,"Properties")])],-1),C=s("h3",{id:"defaultoptions",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#defaultoptions"},[s("span",null,"defaultOptions")])],-1),F=s("strong",null,"defaultOptions",-1),B=s("code",null,"Options",-1),y=o('

    host

    host: string

    id

    readonly id: string

    Methods

    action()

    ',6),O=s("strong",null,"action",-1),P=s("code",null,"PathOrData",-1),R=s("code",null,"action",-1),q=s("code",null,"params",-1),D=s("code",null,"options",-1),N=s("code",null,"Promise",-1),S=s("code",null,"Response",-1),U=s("code",null,"FaasData",-1),V=s("code",null,"PathOrData",-1),J=o('

    Request a FaasJS function

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    function path

    params?: FaasParams<PathOrData>

    function params

    ',8),T=s("strong",null,"options?",-1),L=s("code",null,"Options",-1),M=o(`

    request options

    await client.action('func', { key: 'value' })
    diff --git a/assets/FaasBrowserClientAction.html-Bl4SWfCA.js b/assets/FaasBrowserClientAction.html-CvIbu4Lt.js
    similarity index 97%
    rename from assets/FaasBrowserClientAction.html-Bl4SWfCA.js
    rename to assets/FaasBrowserClientAction.html-CvIbu4Lt.js
    index 0ad3a732f8..930302d7c6 100644
    --- a/assets/FaasBrowserClientAction.html-Bl4SWfCA.js
    +++ b/assets/FaasBrowserClientAction.html-CvIbu4Lt.js
    @@ -1 +1 @@
    -import{_ as n,r,o as l,c,a as e,d as a,w as o,b as t,e as i}from"./app-QyD7034V.js";const d={},p=e("h1",{id:"type-alias-faasbrowserclientaction",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-faasbrowserclientaction"},[e("span",null,"Type alias: FaasBrowserClientAction()")])],-1),h=e("strong",null,"FaasBrowserClientAction",-1),_=e("code",null,"PathOrData",-1),u=e("code",null,"action",-1),m=e("code",null,"params",-1),f=e("code",null,"options",-1),w=e("code",null,"Promise",-1),b=e("code",null,"Response",-1),g=e("code",null,"FaasData",-1),y=e("code",null,"PathOrData",-1),F=i('

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: PathOrData | string

    params?: FaasParams<PathOrData>

    ',5),P=e("strong",null,"options?",-1),B=e("code",null,"Options",-1),x=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),C=e("code",null,"Promise",-1),A=e("code",null,"Response",-1),D=e("code",null,"FaasData",-1),O=e("code",null,"PathOrData",-1);function R(k,v){const s=r("RouteLink");return l(),c("div",null,[e("p",null,[a(s,{to:"/doc/browser/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/browser/"},{default:o(()=>[t("@faasjs/browser")]),_:1}),t(" / FaasBrowserClientAction")]),p,e("blockquote",null,[e("p",null,[h,t(": <"),_,t(">("),u,t(", "),m,t("?, "),f,t("?) => "),w,t("<"),a(s,{to:"/doc/browser/classes/Response.html"},{default:o(()=>[b]),_:1}),t("<"),g,t("<"),y,t(">>>")])]),F,e("p",null,[t("• "),P,t(": "),a(s,{to:"/doc/browser/type-aliases/Options.html"},{default:o(()=>[B]),_:1})]),x,e("p",null,[C,t("<"),a(s,{to:"/doc/browser/classes/Response.html"},{default:o(()=>[A]),_:1}),t("<"),D,t("<"),O,t(">>>")])])}const N=n(d,[["render",R],["__file","FaasBrowserClientAction.html.vue"]]),V=JSON.parse('{"path":"/doc/browser/type-aliases/FaasBrowserClientAction.html","title":"Type alias: FaasBrowserClientAction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/FaasBrowserClientAction.md"}');export{N as comp,V as data}; +import{_ as n,r,o as l,c,a as e,d as a,w as o,b as t,e as i}from"./app-COoiSelr.js";const d={},p=e("h1",{id:"type-alias-faasbrowserclientaction",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-faasbrowserclientaction"},[e("span",null,"Type alias: FaasBrowserClientAction()")])],-1),h=e("strong",null,"FaasBrowserClientAction",-1),_=e("code",null,"PathOrData",-1),u=e("code",null,"action",-1),m=e("code",null,"params",-1),f=e("code",null,"options",-1),w=e("code",null,"Promise",-1),b=e("code",null,"Response",-1),g=e("code",null,"FaasData",-1),y=e("code",null,"PathOrData",-1),F=i('

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: PathOrData | string

    params?: FaasParams<PathOrData>

    ',5),P=e("strong",null,"options?",-1),B=e("code",null,"Options",-1),x=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),C=e("code",null,"Promise",-1),A=e("code",null,"Response",-1),D=e("code",null,"FaasData",-1),O=e("code",null,"PathOrData",-1);function R(k,v){const s=r("RouteLink");return l(),c("div",null,[e("p",null,[a(s,{to:"/doc/browser/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/browser/"},{default:o(()=>[t("@faasjs/browser")]),_:1}),t(" / FaasBrowserClientAction")]),p,e("blockquote",null,[e("p",null,[h,t(": <"),_,t(">("),u,t(", "),m,t("?, "),f,t("?) => "),w,t("<"),a(s,{to:"/doc/browser/classes/Response.html"},{default:o(()=>[b]),_:1}),t("<"),g,t("<"),y,t(">>>")])]),F,e("p",null,[t("• "),P,t(": "),a(s,{to:"/doc/browser/type-aliases/Options.html"},{default:o(()=>[B]),_:1})]),x,e("p",null,[C,t("<"),a(s,{to:"/doc/browser/classes/Response.html"},{default:o(()=>[A]),_:1}),t("<"),D,t("<"),O,t(">>>")])])}const N=n(d,[["render",R],["__file","FaasBrowserClientAction.html.vue"]]),V=JSON.parse('{"path":"/doc/browser/type-aliases/FaasBrowserClientAction.html","title":"Type alias: FaasBrowserClientAction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/FaasBrowserClientAction.md"}');export{N as comp,V as data}; diff --git a/assets/FaasData.html-CoHfPnc9.js b/assets/FaasData.html-B7wvYv40.js similarity index 95% rename from assets/FaasData.html-CoHfPnc9.js rename to assets/FaasData.html-B7wvYv40.js index b5c63a8c93..94601168a9 100644 --- a/assets/FaasData.html-CoHfPnc9.js +++ b/assets/FaasData.html-B7wvYv40.js @@ -1 +1 @@ -import{_ as o,r as c,o as r,c as d,a as n,d as t,w as s,b as a,e as l}from"./app-QyD7034V.js";const p={},i=l('

    Type alias: FaasData<T>

    FaasData<T>: T extends FaasActionPaths ? FaasActions[T]["Data"] : T

    Type parameters

    T = any

    ',4);function h(m,_){const e=c("RouteLink");return r(),d("div",null,[n("p",null,[t(e,{to:"/doc/react/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:s(()=>[a("@faasjs/react")]),_:1}),a(" / FaasData")]),i])}const f=o(p,[["render",h],["__file","FaasData.html.vue"]]),y=JSON.parse('{"path":"/doc/react/type-aliases/FaasData.html","title":"Type alias: FaasData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasData.md"}');export{f as comp,y as data}; +import{_ as o,r as c,o as r,c as d,a as n,d as t,w as s,b as a,e as l}from"./app-COoiSelr.js";const p={},i=l('

    Type alias: FaasData<T>

    FaasData<T>: T extends FaasActionPaths ? FaasActions[T]["Data"] : T

    Type parameters

    T = any

    ',4);function h(m,_){const e=c("RouteLink");return r(),d("div",null,[n("p",null,[t(e,{to:"/doc/react/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:s(()=>[a("@faasjs/react")]),_:1}),a(" / FaasData")]),i])}const f=o(p,[["render",h],["__file","FaasData.html.vue"]]),y=JSON.parse('{"path":"/doc/react/type-aliases/FaasData.html","title":"Type alias: FaasData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasData.md"}');export{f as comp,y as data}; diff --git a/assets/FaasData.html-D9BrMCE8.js b/assets/FaasData.html-BoquvAFS.js similarity index 95% rename from assets/FaasData.html-D9BrMCE8.js rename to assets/FaasData.html-BoquvAFS.js index 5c00f2ccab..9083964682 100644 --- a/assets/FaasData.html-D9BrMCE8.js +++ b/assets/FaasData.html-BoquvAFS.js @@ -1 +1 @@ -import{_ as l,r as n,o as c,c as d,a,d as s,w as o,b as e}from"./app-QyD7034V.js";const i={},r=a("h1",{id:"type-alias-faasdata-t",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasdata-t"},[a("span",null,"Type alias: FaasData")])],-1),p=a("strong",null,"FaasData",-1),_=a("code",null,"T",-1),h=a("code",null,"T",-1),u=a("code",null,"FaasActionPaths",-1),m=a("code",null,"FaasActions",-1),y=a("code",null,"T",-1),f=a("code",null,'"Data"',-1),T=a("code",null,"T",-1),F=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),D=a("p",null,[e("• "),a("strong",null,"T"),e(" = "),a("code",null,"any")],-1);function x(k,g){const t=n("RouteLink");return c(),d("div",null,[a("p",null,[s(t,{to:"/doc/types/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/types/"},{default:o(()=>[e("@faasjs/types")]),_:1}),e(" / FaasData")]),r,a("blockquote",null,[a("p",null,[p,e("<"),_,e(">: "),h,e(" extends "),s(t,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[u]),_:1}),e(" ? "),m,e("["),y,e("]["),f,e("] : "),T])]),F,D])}const b=l(i,[["render",x],["__file","FaasData.html.vue"]]),N=JSON.parse('{"path":"/doc/types/type-aliases/FaasData.html","title":"Type alias: FaasData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasData.md"}');export{b as comp,N as data}; +import{_ as l,r as n,o as c,c as d,a,d as s,w as o,b as e}from"./app-COoiSelr.js";const i={},r=a("h1",{id:"type-alias-faasdata-t",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasdata-t"},[a("span",null,"Type alias: FaasData")])],-1),p=a("strong",null,"FaasData",-1),_=a("code",null,"T",-1),h=a("code",null,"T",-1),u=a("code",null,"FaasActionPaths",-1),m=a("code",null,"FaasActions",-1),y=a("code",null,"T",-1),f=a("code",null,'"Data"',-1),T=a("code",null,"T",-1),F=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),D=a("p",null,[e("• "),a("strong",null,"T"),e(" = "),a("code",null,"any")],-1);function x(k,g){const t=n("RouteLink");return c(),d("div",null,[a("p",null,[s(t,{to:"/doc/types/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/types/"},{default:o(()=>[e("@faasjs/types")]),_:1}),e(" / FaasData")]),r,a("blockquote",null,[a("p",null,[p,e("<"),_,e(">: "),h,e(" extends "),s(t,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[u]),_:1}),e(" ? "),m,e("["),y,e("]["),f,e("] : "),T])]),F,D])}const b=l(i,[["render",x],["__file","FaasData.html.vue"]]),N=JSON.parse('{"path":"/doc/types/type-aliases/FaasData.html","title":"Type alias: FaasData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasData.md"}');export{b as comp,N as data}; diff --git a/assets/FaasDataInjection.html-BGwenudF.js b/assets/FaasDataInjection.html-Ca1QSpuS.js similarity index 95% rename from assets/FaasDataInjection.html-BGwenudF.js rename to assets/FaasDataInjection.html-Ca1QSpuS.js index c0c1f48936..cf07b5ee7a 100644 --- a/assets/FaasDataInjection.html-BGwenudF.js +++ b/assets/FaasDataInjection.html-Ca1QSpuS.js @@ -1 +1 @@ -import{_ as s,r as o,o as c,c as i,a as r,d as t,w as n,b as a,e as d}from"./app-QyD7034V.js";const l={},p=d('

    Type alias: FaasDataInjection<T>

    FaasDataInjection<T>: Partial<OriginFaasDataInjection<T>>

    Type parameters

    T = any

    ',4);function h(m,_){const e=o("RouteLink");return c(),i("div",null,[r("p",null,[t(e,{to:"/doc/ant-design/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1}),a(" / FaasDataInjection")]),p])}const f=s(l,[["render",h],["__file","FaasDataInjection.html.vue"]]),u=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasDataInjection.html","title":"Type alias: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasDataInjection.md"}');export{f as comp,u as data}; +import{_ as s,r as o,o as c,c as i,a as r,d as t,w as n,b as a,e as d}from"./app-COoiSelr.js";const l={},p=d('

    Type alias: FaasDataInjection<T>

    FaasDataInjection<T>: Partial<OriginFaasDataInjection<T>>

    Type parameters

    T = any

    ',4);function h(m,_){const e=o("RouteLink");return c(),i("div",null,[r("p",null,[t(e,{to:"/doc/ant-design/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1}),a(" / FaasDataInjection")]),p])}const f=s(l,[["render",h],["__file","FaasDataInjection.html.vue"]]),u=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasDataInjection.html","title":"Type alias: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasDataInjection.md"}');export{f as comp,u as data}; diff --git a/assets/FaasDataInjection.html-DRzHWFcs.js b/assets/FaasDataInjection.html-DE-xk9s-.js similarity index 99% rename from assets/FaasDataInjection.html-DRzHWFcs.js rename to assets/FaasDataInjection.html-DE-xk9s-.js index 6aed1e6d31..c653da1a03 100644 --- a/assets/FaasDataInjection.html-DRzHWFcs.js +++ b/assets/FaasDataInjection.html-DE-xk9s-.js @@ -1 +1 @@ -import{_ as l,r,o as d,c,a as e,d as s,w as o,b as t,e as n}from"./app-QyD7034V.js";const i={},h=n('

    Interface: FaasDataInjection<Data>

    Injects FaasData props.

    Type parameters

    NameType
    Dataany

    Table of contents

    Properties

    ',6),p=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),u=n('

    Properties

    action

    action: any


    data

    data: Data


    error

    error: any


    loading

    loading: boolean


    params

    params: Record<string, any>


    promise

    ',17),m=e("strong",null,"promise",-1),_=e("code",null,"Promise",-1),f=e("code",null,"Response",-1),g=e("code",null,"Data",-1),D=n('

    setData

    setData: Dispatch<SetStateAction<Data>>


    setError

    setError: Dispatch<any>


    setLoading

    setLoading: Dispatch<SetStateAction<boolean>>


    setPromise

    ',11),b=e("strong",null,"setPromise",-1),x=e("code",null,"Dispatch",-1),y=e("code",null,"SetStateAction",-1),I=e("code",null,"Promise",-1),j=e("code",null,"Response",-1),k=e("code",null,"Data",-1),v=e("h2",{id:"methods-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods-1"},[e("span",null,"Methods")])],-1),F=e("h3",{id:"reload",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reload"},[e("span",null,"reload")])],-1),P=e("strong",null,"reload",-1),R=e("code",null,"params?",-1),S=e("code",null,"Promise",-1),T=e("code",null,"Response",-1),N=e("code",null,"Data",-1),L=n('

    Parameters

    NameType
    params?Record<string, any>

    Returns

    ',3),E=e("code",null,"Promise",-1),M=e("code",null,"Response",-1),V=e("code",null,"Data",-1);function A(B,w){const a=r("RouteLink");return d(),c("div",null,[e("p",null,[s(a,{to:"/doc/react/"},{default:o(()=>[t("Documents")]),_:1}),t(" / Interface: FaasDataInjection")]),h,e("ul",null,[e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#action"},{default:o(()=>[t("action")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#data"},{default:o(()=>[t("data")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#error"},{default:o(()=>[t("error")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#loading"},{default:o(()=>[t("loading")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#params"},{default:o(()=>[t("params")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#promise"},{default:o(()=>[t("promise")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setdata"},{default:o(()=>[t("setData")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#seterror"},{default:o(()=>[t("setError")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setloading"},{default:o(()=>[t("setLoading")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setpromise"},{default:o(()=>[t("setPromise")]),_:1})])]),p,e("ul",null,[e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#reload"},{default:o(()=>[t("reload")]),_:1})])]),u,e("p",null,[t("• "),m,t(": "),_,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[f]),_:1}),t("<"),g,t(">>")]),D,e("p",null,[t("• "),b,t(": "),x,t("<"),y,t("<"),I,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[j]),_:1}),t("<"),k,t(">>>>")]),v,F,e("p",null,[t("▸ "),P,t("("),R,t("): "),S,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[T]),_:1}),t("<"),N,t(">>")]),L,e("p",null,[E,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[M]),_:1}),t("<"),V,t(">>")])])}const J=l(i,[["render",A],["__file","FaasDataInjection.html.vue"]]),O=JSON.parse('{"path":"/doc/react/interfaces/FaasDataInjection.html","title":"Interface: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"reload","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasDataInjection.md"}');export{J as comp,O as data}; +import{_ as l,r,o as d,c,a as e,d as s,w as o,b as t,e as n}from"./app-COoiSelr.js";const i={},h=n('

    Interface: FaasDataInjection<Data>

    Injects FaasData props.

    Type parameters

    NameType
    Dataany

    Table of contents

    Properties

    ',6),p=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),u=n('

    Properties

    action

    action: any


    data

    data: Data


    error

    error: any


    loading

    loading: boolean


    params

    params: Record<string, any>


    promise

    ',17),m=e("strong",null,"promise",-1),_=e("code",null,"Promise",-1),f=e("code",null,"Response",-1),g=e("code",null,"Data",-1),D=n('

    setData

    setData: Dispatch<SetStateAction<Data>>


    setError

    setError: Dispatch<any>


    setLoading

    setLoading: Dispatch<SetStateAction<boolean>>


    setPromise

    ',11),b=e("strong",null,"setPromise",-1),x=e("code",null,"Dispatch",-1),y=e("code",null,"SetStateAction",-1),I=e("code",null,"Promise",-1),j=e("code",null,"Response",-1),k=e("code",null,"Data",-1),v=e("h2",{id:"methods-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods-1"},[e("span",null,"Methods")])],-1),F=e("h3",{id:"reload",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#reload"},[e("span",null,"reload")])],-1),P=e("strong",null,"reload",-1),R=e("code",null,"params?",-1),S=e("code",null,"Promise",-1),T=e("code",null,"Response",-1),N=e("code",null,"Data",-1),L=n('

    Parameters

    NameType
    params?Record<string, any>

    Returns

    ',3),E=e("code",null,"Promise",-1),M=e("code",null,"Response",-1),V=e("code",null,"Data",-1);function A(B,w){const a=r("RouteLink");return d(),c("div",null,[e("p",null,[s(a,{to:"/doc/react/"},{default:o(()=>[t("Documents")]),_:1}),t(" / Interface: FaasDataInjection")]),h,e("ul",null,[e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#action"},{default:o(()=>[t("action")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#data"},{default:o(()=>[t("data")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#error"},{default:o(()=>[t("error")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#loading"},{default:o(()=>[t("loading")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#params"},{default:o(()=>[t("params")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#promise"},{default:o(()=>[t("promise")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setdata"},{default:o(()=>[t("setData")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#seterror"},{default:o(()=>[t("setError")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setloading"},{default:o(()=>[t("setLoading")]),_:1})]),e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#setpromise"},{default:o(()=>[t("setPromise")]),_:1})])]),p,e("ul",null,[e("li",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html#reload"},{default:o(()=>[t("reload")]),_:1})])]),u,e("p",null,[t("• "),m,t(": "),_,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[f]),_:1}),t("<"),g,t(">>")]),D,e("p",null,[t("• "),b,t(": "),x,t("<"),y,t("<"),I,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[j]),_:1}),t("<"),k,t(">>>>")]),v,F,e("p",null,[t("▸ "),P,t("("),R,t("): "),S,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[T]),_:1}),t("<"),N,t(">>")]),L,e("p",null,[E,t("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:o(()=>[M]),_:1}),t("<"),V,t(">>")])])}const J=l(i,[["render",A],["__file","FaasDataInjection.html.vue"]]),O=JSON.parse('{"path":"/doc/react/interfaces/FaasDataInjection.html","title":"Interface: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"reload","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasDataInjection.md"}');export{J as comp,O as data}; diff --git a/assets/FaasDataInjection.html-B84OrKk1.js b/assets/FaasDataInjection.html-Dadz_LXs.js similarity index 99% rename from assets/FaasDataInjection.html-B84OrKk1.js rename to assets/FaasDataInjection.html-Dadz_LXs.js index 3db8e593d0..0b43e8ad51 100644 --- a/assets/FaasDataInjection.html-B84OrKk1.js +++ b/assets/FaasDataInjection.html-Dadz_LXs.js @@ -1 +1 @@ -import{_ as r,r as l,o as d,c as i,a as e,d as n,w as s,b as a,e as o}from"./app-QyD7034V.js";const c={},h=o('

    Interface: FaasDataInjection<Data>

    Injects FaasData props.

    Type parameters

    NameType
    Dataany

    Table of contents

    Properties

    ',6),p=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),g=o('

    Properties

    action

    action: any


    data

    data: Data


    error

    error: any


    loading

    loading: boolean


    params

    params: Record<string, any>


    promise

    promise: Promise<Response<Data>>


    setData

    setData: Dispatch<SetStateAction<Data>>


    setError

    setError: Dispatch<any>


    setLoading

    setLoading: Dispatch<SetStateAction<boolean>>


    setPromise

    setPromise: Dispatch<SetStateAction<Promise<Response<Data>>>>

    Methods

    reload

    reload(params?): Promise<Response<Data>>

    Parameters

    NameType
    params?Record<string, any>

    Returns

    Promise<Response<Data>>

    ',37);function m(f,u){const t=l("RouteLink");return d(),i("div",null,[e("p",null,[n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("Documents")]),_:1}),a(" / Interface: FaasDataInjection")]),h,e("ul",null,[e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#action"},{default:s(()=>[a("action")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#data"},{default:s(()=>[a("data")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#error"},{default:s(()=>[a("error")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#loading"},{default:s(()=>[a("loading")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#params"},{default:s(()=>[a("params")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#promise"},{default:s(()=>[a("promise")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setdata"},{default:s(()=>[a("setData")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#seterror"},{default:s(()=>[a("setError")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setloading"},{default:s(()=>[a("setLoading")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setpromise"},{default:s(()=>[a("setPromise")]),_:1})])]),p,e("ul",null,[e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#reload"},{default:s(()=>[a("reload")]),_:1})])]),g])}const b=r(c,[["render",m],["__file","FaasDataInjection.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/FaasDataInjection.html","title":"Interface: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"reload","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FaasDataInjection.md"}');export{b as comp,x as data}; +import{_ as r,r as l,o as d,c as i,a as e,d as n,w as s,b as a,e as o}from"./app-COoiSelr.js";const c={},h=o('

    Interface: FaasDataInjection<Data>

    Injects FaasData props.

    Type parameters

    NameType
    Dataany

    Table of contents

    Properties

    ',6),p=e("h3",{id:"methods",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#methods"},[e("span",null,"Methods")])],-1),g=o('

    Properties

    action

    action: any


    data

    data: Data


    error

    error: any


    loading

    loading: boolean


    params

    params: Record<string, any>


    promise

    promise: Promise<Response<Data>>


    setData

    setData: Dispatch<SetStateAction<Data>>


    setError

    setError: Dispatch<any>


    setLoading

    setLoading: Dispatch<SetStateAction<boolean>>


    setPromise

    setPromise: Dispatch<SetStateAction<Promise<Response<Data>>>>

    Methods

    reload

    reload(params?): Promise<Response<Data>>

    Parameters

    NameType
    params?Record<string, any>

    Returns

    Promise<Response<Data>>

    ',37);function m(f,u){const t=l("RouteLink");return d(),i("div",null,[e("p",null,[n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("Documents")]),_:1}),a(" / Interface: FaasDataInjection")]),h,e("ul",null,[e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#action"},{default:s(()=>[a("action")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#data"},{default:s(()=>[a("data")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#error"},{default:s(()=>[a("error")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#loading"},{default:s(()=>[a("loading")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#params"},{default:s(()=>[a("params")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#promise"},{default:s(()=>[a("promise")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setdata"},{default:s(()=>[a("setData")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#seterror"},{default:s(()=>[a("setError")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setloading"},{default:s(()=>[a("setLoading")]),_:1})]),e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#setpromise"},{default:s(()=>[a("setPromise")]),_:1})])]),p,e("ul",null,[e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasDataInjection.html#reload"},{default:s(()=>[a("reload")]),_:1})])]),g])}const b=r(c,[["render",m],["__file","FaasDataInjection.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/FaasDataInjection.html","title":"Interface: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"reload","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FaasDataInjection.md"}');export{b as comp,x as data}; diff --git a/assets/FaasDataInjection.html-B1gwesri.js b/assets/FaasDataInjection.html-DdfDbFpS.js similarity index 98% rename from assets/FaasDataInjection.html-B1gwesri.js rename to assets/FaasDataInjection.html-DdfDbFpS.js index cc2aaa57c2..737d8ebe7b 100644 --- a/assets/FaasDataInjection.html-B1gwesri.js +++ b/assets/FaasDataInjection.html-DdfDbFpS.js @@ -1 +1 @@ -import{_ as s,r,o as n,c,a as d,d as t,w as o,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Type alias: FaasDataInjection<Data>

    FaasDataInjection<Data>: Object

    Injects FaasData props.

    Type parameters

    Data = any

    Type declaration

    action

    action: string | any

    data

    data: Data

    error

    error: any

    loading

    loading: boolean

    params

    params: Record<string, any>

    promise

    promise: Promise<Response<Data>>

    reloadTimes

    reloadTimes: number

    setData

    setData: React.Dispatch<React.SetStateAction<Data>>

    setError

    setError: React.Dispatch<React.SetStateAction<any>>

    setLoading

    setLoading: React.Dispatch<React.SetStateAction<boolean>>

    setPromise

    setPromise: React.Dispatch<React.SetStateAction<Promise<Response<Data>>>>

    reload()

    Parameters

    params?: Record<string, any>

    Returns

    Promise<any>

    ',33);function h(g,m){const a=r("RouteLink");return n(),c("div",null,[d("p",null,[t(a,{to:"/doc/react/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/react/"},{default:o(()=>[e("@faasjs/react")]),_:1}),e(" / FaasDataInjection")]),p])}const b=s(i,[["render",h],["__file","FaasDataInjection.html.vue"]]),k=JSON.parse('{"path":"/doc/react/type-aliases/FaasDataInjection.html","title":"Type alias: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"reloadTimes","slug":"reloadtimes","link":"#reloadtimes","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]},{"level":3,"title":"reload()","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasDataInjection.md"}');export{b as comp,k as data}; +import{_ as s,r,o as n,c,a as d,d as t,w as o,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Type alias: FaasDataInjection<Data>

    FaasDataInjection<Data>: Object

    Injects FaasData props.

    Type parameters

    Data = any

    Type declaration

    action

    action: string | any

    data

    data: Data

    error

    error: any

    loading

    loading: boolean

    params

    params: Record<string, any>

    promise

    promise: Promise<Response<Data>>

    reloadTimes

    reloadTimes: number

    setData

    setData: React.Dispatch<React.SetStateAction<Data>>

    setError

    setError: React.Dispatch<React.SetStateAction<any>>

    setLoading

    setLoading: React.Dispatch<React.SetStateAction<boolean>>

    setPromise

    setPromise: React.Dispatch<React.SetStateAction<Promise<Response<Data>>>>

    reload()

    Parameters

    params?: Record<string, any>

    Returns

    Promise<any>

    ',33);function h(g,m){const a=r("RouteLink");return n(),c("div",null,[d("p",null,[t(a,{to:"/doc/react/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/react/"},{default:o(()=>[e("@faasjs/react")]),_:1}),e(" / FaasDataInjection")]),p])}const b=s(i,[["render",h],["__file","FaasDataInjection.html.vue"]]),k=JSON.parse('{"path":"/doc/react/type-aliases/FaasDataInjection.html","title":"Type alias: FaasDataInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"error","slug":"error","link":"#error","children":[]},{"level":3,"title":"loading","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"promise","slug":"promise","link":"#promise","children":[]},{"level":3,"title":"reloadTimes","slug":"reloadtimes","link":"#reloadtimes","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"setError","slug":"seterror","link":"#seterror","children":[]},{"level":3,"title":"setLoading","slug":"setloading","link":"#setloading","children":[]},{"level":3,"title":"setPromise","slug":"setpromise","link":"#setpromise","children":[]},{"level":3,"title":"reload()","slug":"reload","link":"#reload","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasDataInjection.md"}');export{b as comp,k as data}; diff --git a/assets/FaasDataWrapper.html-C3Lp5Hve.js b/assets/FaasDataWrapper.html-ibmH5CU0.js similarity index 98% rename from assets/FaasDataWrapper.html-C3Lp5Hve.js rename to assets/FaasDataWrapper.html-ibmH5CU0.js index 7a1a0d4782..7107fe3ccb 100644 --- a/assets/FaasDataWrapper.html-C3Lp5Hve.js +++ b/assets/FaasDataWrapper.html-ibmH5CU0.js @@ -1,4 +1,4 @@ -import{_ as o,r,o as c,c as l,a as s,d as e,w as t,b as a,e as p}from"./app-QyD7034V.js";const i={},d=p('

    Function: FaasDataWrapper()

    FaasDataWrapper<PathOrData>(props): JSX.Element

    A data wrapper for react components

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    ',6),u=s("strong",null,"props",-1),h=s("code",null,"FaasDataWrapperProps",-1),k=s("code",null,"PathOrData",-1),m=p(`

    Returns

    JSX.Element

    Example

    <FaasDataWrapper<{
    +import{_ as o,r,o as c,c as l,a as s,d as e,w as t,b as a,e as p}from"./app-COoiSelr.js";const i={},d=p('

    Function: FaasDataWrapper()

    FaasDataWrapper<PathOrData>(props): JSX.Element

    A data wrapper for react components

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    ',6),u=s("strong",null,"props",-1),h=s("code",null,"FaasDataWrapperProps",-1),k=s("code",null,"PathOrData",-1),m=p(`

    Returns

    JSX.Element

    Example

    <FaasDataWrapper<{
       id: string
       title: string
     }>
    diff --git a/assets/FaasDataWrapper.html-BB7vDBnh.js b/assets/FaasDataWrapper.html-iq9vXKPE.js
    similarity index 98%
    rename from assets/FaasDataWrapper.html-BB7vDBnh.js
    rename to assets/FaasDataWrapper.html-iq9vXKPE.js
    index fbf84808bb..9a48f193ce 100644
    --- a/assets/FaasDataWrapper.html-BB7vDBnh.js
    +++ b/assets/FaasDataWrapper.html-iq9vXKPE.js
    @@ -1,4 +1,4 @@
    -import{_ as o,r as c,o as l,c as r,a as n,d as t,w as e,b as a,e as p}from"./app-QyD7034V.js";const i={},u=p('

    Function: FaasDataWrapper()

    FaasDataWrapper<T>(props): JSX.Element

    FaasDataWrapper component with Loading

    Type parameters

    T = any

    Parameters

    ',6),d=n("strong",null,"props",-1),k=n("code",null,"FaasDataWrapperProps",-1),m=n("code",null,"T",-1),h=p(`

    Returns

    JSX.Element

    Example

    function MyComponent (props: FaasDataInjection) {
    +import{_ as o,r as c,o as l,c as r,a as n,d as t,w as e,b as a,e as p}from"./app-COoiSelr.js";const i={},u=p('

    Function: FaasDataWrapper()

    FaasDataWrapper<T>(props): JSX.Element

    FaasDataWrapper component with Loading

    Type parameters

    T = any

    Parameters

    ',6),d=n("strong",null,"props",-1),k=n("code",null,"FaasDataWrapperProps",-1),m=n("code",null,"T",-1),h=p(`

    Returns

    JSX.Element

    Example

    function MyComponent (props: FaasDataInjection) {
       return <div>{ props.data }</div>
     }
     
    diff --git a/assets/FaasDataWrapperProps.html-hiFYNycP.js b/assets/FaasDataWrapperProps.html-DI78LHHR.js
    similarity index 99%
    rename from assets/FaasDataWrapperProps.html-hiFYNycP.js
    rename to assets/FaasDataWrapperProps.html-DI78LHHR.js
    index f545f9734e..cbb387175b 100644
    --- a/assets/FaasDataWrapperProps.html-hiFYNycP.js
    +++ b/assets/FaasDataWrapperProps.html-DI78LHHR.js
    @@ -1 +1 @@
    -import{_ as s,r as d,o as c,c as i,a as e,d as t,w as n,b as a,e as r}from"./app-QyD7034V.js";const l={},h=r('

    Interface: FaasDataWrapperProps<T>

    Extends

    • FaasDataWrapperProps<T>

    Type parameters

    T = any

    Properties

    action

    action: string

    Inherited from

    OriginProps.action

    children?

    optional children: ReactElement<Partial<FaasDataInjection<any>>, string | JSXElementConstructor<any>>

    Inherited from

    OriginProps.children

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    Inherited from

    OriginProps.data

    fallback?

    optional fallback: false | Element

    Inherited from

    OriginProps.fallback

    loading?

    optional loading: Element

    loadingProps?

    ',26),p=e("strong",null,[e("code",null,"optional")],-1),g=e("strong",null,"loadingProps",-1),f=e("code",null,"LoadingProps",-1),m=r('

    params?

    optional params: FaasParams<PathOrData>

    Inherited from

    OriginProps.params

    setData?

    optional setData: Dispatch<any>

    use custom setData, should work with data

    Inherited from

    OriginProps.setData

    Methods

    onDataChange()?

    optional onDataChange(args): void

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    void

    Inherited from

    OriginProps.onDataChange

    render()?

    optional render(args): Element | Element[]

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    Element | Element[]

    Inherited from

    OriginProps.render

    ',26);function u(b,k){const o=d("RouteLink");return c(),i("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),t(o,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1}),a(" / FaasDataWrapperProps")]),h,e("blockquote",null,[e("p",null,[p,a(),g,a(": "),t(o,{to:"/doc/ant-design/type-aliases/LoadingProps.html"},{default:n(()=>[f]),_:1})])]),m])}const P=s(l,[["render",u],["__file","FaasDataWrapperProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/FaasDataWrapperProps.html","title":"Interface: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"loading?","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"loadingProps?","slug":"loadingprops","link":"#loadingprops","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDataChange()?","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render()?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FaasDataWrapperProps.md"}');export{P as comp,D as data}; +import{_ as s,r as d,o as c,c as i,a as e,d as t,w as n,b as a,e as r}from"./app-COoiSelr.js";const l={},h=r('

    Interface: FaasDataWrapperProps<T>

    Extends

    • FaasDataWrapperProps<T>

    Type parameters

    T = any

    Properties

    action

    action: string

    Inherited from

    OriginProps.action

    children?

    optional children: ReactElement<Partial<FaasDataInjection<any>>, string | JSXElementConstructor<any>>

    Inherited from

    OriginProps.children

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    Inherited from

    OriginProps.data

    fallback?

    optional fallback: false | Element

    Inherited from

    OriginProps.fallback

    loading?

    optional loading: Element

    loadingProps?

    ',26),p=e("strong",null,[e("code",null,"optional")],-1),g=e("strong",null,"loadingProps",-1),f=e("code",null,"LoadingProps",-1),m=r('

    params?

    optional params: FaasParams<PathOrData>

    Inherited from

    OriginProps.params

    setData?

    optional setData: Dispatch<any>

    use custom setData, should work with data

    Inherited from

    OriginProps.setData

    Methods

    onDataChange()?

    optional onDataChange(args): void

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    void

    Inherited from

    OriginProps.onDataChange

    render()?

    optional render(args): Element | Element[]

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    Element | Element[]

    Inherited from

    OriginProps.render

    ',26);function u(b,k){const o=d("RouteLink");return c(),i("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),t(o,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1}),a(" / FaasDataWrapperProps")]),h,e("blockquote",null,[e("p",null,[p,a(),g,a(": "),t(o,{to:"/doc/ant-design/type-aliases/LoadingProps.html"},{default:n(()=>[f]),_:1})])]),m])}const P=s(l,[["render",u],["__file","FaasDataWrapperProps.html.vue"]]),D=JSON.parse('{"path":"/doc/ant-design/interfaces/FaasDataWrapperProps.html","title":"Interface: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"loading?","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"loadingProps?","slug":"loadingprops","link":"#loadingprops","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDataChange()?","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render()?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FaasDataWrapperProps.md"}');export{P as comp,D as data}; diff --git a/assets/FaasDataWrapperProps.html-DfXlbJUe.js b/assets/FaasDataWrapperProps.html-DchAE8-t.js similarity index 98% rename from assets/FaasDataWrapperProps.html-DfXlbJUe.js rename to assets/FaasDataWrapperProps.html-DchAE8-t.js index 03b589d8fc..8aa6ea1eb4 100644 --- a/assets/FaasDataWrapperProps.html-DfXlbJUe.js +++ b/assets/FaasDataWrapperProps.html-DchAE8-t.js @@ -1 +1 @@ -import{_ as r,r as l,o as c,c as d,a,d as o,w as s,b as e,e as n}from"./app-QyD7034V.js";const h={},p=n('

    Type alias: FaasDataWrapperProps<PathOrData>

    FaasDataWrapperProps<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    action

    action: string

    children?

    ',8),i=a("strong",null,[a("code",null,"optional")],-1),u=a("strong",null,"children",-1),_=a("code",null,"React.ReactElement",-1),g=a("code",null,"Partial",-1),m=a("code",null,"FaasDataInjection",-1),f=n('

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    fallback?

    optional fallback: JSX.Element | false

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    use custom setData, should work with data

    onDataChange()?

    Parameters

    ',12),b=a("strong",null,"args",-1),k=a("code",null,"FaasDataInjection",-1),D=a("code",null,"FaasData",-1),P=a("code",null,"PathOrData",-1),x=n('

    Returns

    void

    render()?

    Parameters

    ',4),y=a("strong",null,"args",-1),F=a("code",null,"FaasDataInjection",-1),v=a("code",null,"FaasData",-1),q=a("code",null,"PathOrData",-1),O=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),R=a("p",null,[a("code",null,"Element"),e(" | "),a("code",null,"Element"),e("[]")],-1);function j(w,T){const t=l("RouteLink");return c(),d("div",null,[a("p",null,[o(t,{to:"/doc/react/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/react/"},{default:s(()=>[e("@faasjs/react")]),_:1}),e(" / FaasDataWrapperProps")]),p,a("blockquote",null,[a("p",null,[i,e(),u,e(": "),_,e("<"),g,e("<"),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[m]),_:1}),e(">>")])]),f,a("p",null,[e("• "),b,e(": "),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[k]),_:1}),e("<"),D,e("<"),P,e(">>")]),x,a("p",null,[e("• "),y,e(": "),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[F]),_:1}),e("<"),v,e("<"),q,e(">>")]),O,R])}const I=r(h,[["render",j],["__file","FaasDataWrapperProps.html.vue"]]),E=JSON.parse('{"path":"/doc/react/type-aliases/FaasDataWrapperProps.html","title":"Type alias: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"onDataChange()?","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render()?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasDataWrapperProps.md"}');export{I as comp,E as data}; +import{_ as r,r as l,o as c,c as d,a,d as o,w as s,b as e,e as n}from"./app-COoiSelr.js";const h={},p=n('

    Type alias: FaasDataWrapperProps<PathOrData>

    FaasDataWrapperProps<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    action

    action: string

    children?

    ',8),i=a("strong",null,[a("code",null,"optional")],-1),u=a("strong",null,"children",-1),_=a("code",null,"React.ReactElement",-1),g=a("code",null,"Partial",-1),m=a("code",null,"FaasDataInjection",-1),f=n('

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    fallback?

    optional fallback: JSX.Element | false

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    use custom setData, should work with data

    onDataChange()?

    Parameters

    ',12),b=a("strong",null,"args",-1),k=a("code",null,"FaasDataInjection",-1),D=a("code",null,"FaasData",-1),P=a("code",null,"PathOrData",-1),x=n('

    Returns

    void

    render()?

    Parameters

    ',4),y=a("strong",null,"args",-1),F=a("code",null,"FaasDataInjection",-1),v=a("code",null,"FaasData",-1),q=a("code",null,"PathOrData",-1),O=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),R=a("p",null,[a("code",null,"Element"),e(" | "),a("code",null,"Element"),e("[]")],-1);function j(w,T){const t=l("RouteLink");return c(),d("div",null,[a("p",null,[o(t,{to:"/doc/react/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/react/"},{default:s(()=>[e("@faasjs/react")]),_:1}),e(" / FaasDataWrapperProps")]),p,a("blockquote",null,[a("p",null,[i,e(),u,e(": "),_,e("<"),g,e("<"),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[m]),_:1}),e(">>")])]),f,a("p",null,[e("• "),b,e(": "),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[k]),_:1}),e("<"),D,e("<"),P,e(">>")]),x,a("p",null,[e("• "),y,e(": "),o(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:s(()=>[F]),_:1}),e("<"),v,e("<"),q,e(">>")]),O,R])}const I=r(h,[["render",j],["__file","FaasDataWrapperProps.html.vue"]]),E=JSON.parse('{"path":"/doc/react/type-aliases/FaasDataWrapperProps.html","title":"Type alias: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"onDataChange()?","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render()?","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasDataWrapperProps.md"}');export{I as comp,E as data}; diff --git a/assets/FaasDataWrapperProps.html-D9Lt4oPM.js b/assets/FaasDataWrapperProps.html-ctFibFd9.js similarity index 99% rename from assets/FaasDataWrapperProps.html-D9Lt4oPM.js rename to assets/FaasDataWrapperProps.html-ctFibFd9.js index 973a74711d..a47f772986 100644 --- a/assets/FaasDataWrapperProps.html-D9Lt4oPM.js +++ b/assets/FaasDataWrapperProps.html-ctFibFd9.js @@ -1 +1 @@ -import{_ as o,r,o as d,c,a,d as l,w as s,b as e,e as n}from"./app-QyD7034V.js";const h={},i=a("h1",{id:"interface-faasdatawrapperprops-pathordata",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#interface-faasdatawrapperprops-pathordata"},[a("span",null,"Interface: FaasDataWrapperProps")])],-1),p=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),u=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),_=a("td",{style:{"text-align":"left"}},[a("code",null,"PathOrData")],-1),f={style:{"text-align":"left"}},m=a("code",null,"FaasAction",-1),g=a("h2",{id:"table-of-contents",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#table-of-contents"},[a("span",null,"Table of contents")])],-1),D=a("h3",{id:"properties",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#properties"},[a("span",null,"Properties")])],-1),b=a("h3",{id:"methods",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#methods"},[a("span",null,"Methods")])],-1),x=n('

    Properties

    action

    action: string


    children

    ',5),P=a("code",null,"Optional",-1),k=a("strong",null,"children",-1),F=a("code",null,"ReactElement",-1),y=a("code",null,"Partial",-1),v=a("code",null,"FaasDataInjection",-1),O=a("code",null,"any",-1),W=a("code",null,"string",-1),I=a("code",null,"JSXElementConstructor",-1),T=a("code",null,"any",-1),w=a("hr",null,null,-1),E=a("h3",{id:"data",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#data"},[a("span",null,"data")])],-1),N=a("code",null,"Optional",-1),C=a("strong",null,"data",-1),j=a("code",null,"FaasData",-1),R=a("code",null,"PathOrData",-1),S=n('

    use custom data, should work with setData


    fallback

    Optional fallback: false | Element


    params

    ',6),M=a("code",null,"Optional",-1),V=a("strong",null,"params",-1),B=a("code",null,"FaasParams",-1),A=a("code",null,"PathOrData",-1),J=a("hr",null,null,-1),L=a("h3",{id:"setdata",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#setdata"},[a("span",null,"setData")])],-1),X=a("code",null,"Optional",-1),q=a("strong",null,"setData",-1),z=a("code",null,"Dispatch",-1),G=a("code",null,"SetStateAction",-1),H=a("code",null,"FaasData",-1),K=a("code",null,"PathOrData",-1),Q=n('

    use custom setData, should work with data

    Methods

    onDataChange

    Optional onDataChange(args): void

    Parameters

    ',5),U=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),Y=a("td",{style:{"text-align":"left"}},[a("code",null,"args")],-1),Z={style:{"text-align":"left"}},$=a("code",null,"FaasDataInjection",-1),aa=a("code",null,"FaasData",-1),ea=a("code",null,"PathOrData",-1),ta=n('

    Returns

    void


    render

    Optional render(args): Element | Element[]

    Parameters

    ',6),la=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),sa=a("td",{style:{"text-align":"left"}},[a("code",null,"args")],-1),na={style:{"text-align":"left"}},oa=a("code",null,"FaasDataInjection",-1),ra=a("code",null,"FaasData",-1),da=a("code",null,"PathOrData",-1),ca=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),ha=a("p",null,[a("code",null,"Element"),e(" | "),a("code",null,"Element"),e("[]")],-1);function ia(pa,ua){const t=r("RouteLink");return d(),c("div",null,[a("p",null,[l(t,{to:"/doc/react/"},{default:s(()=>[e("Documents")]),_:1}),e(" / Interface: FaasDataWrapperProps")]),i,p,a("table",null,[u,a("tbody",null,[a("tr",null,[_,a("td",f,[e("extends "),l(t,{to:"/doc/react/modules.html#faasaction"},{default:s(()=>[m]),_:1})])])])]),g,D,a("ul",null,[a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#action"},{default:s(()=>[e("action")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#children"},{default:s(()=>[e("children")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#data"},{default:s(()=>[e("data")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#fallback"},{default:s(()=>[e("fallback")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#params"},{default:s(()=>[e("params")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#setdata"},{default:s(()=>[e("setData")]),_:1})])]),b,a("ul",null,[a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#ondatachange"},{default:s(()=>[e("onDataChange")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#render"},{default:s(()=>[e("render")]),_:1})])]),x,a("p",null,[e("• "),P,e(),k,e(": "),F,e("<"),y,e("<"),l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[v]),_:1}),e("<"),O,e(">>, "),W,e(" | "),I,e("<"),T,e(">>")]),w,E,a("p",null,[e("• "),N,e(),C,e(": "),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[j]),_:1}),e("<"),R,e(">")]),S,a("p",null,[e("• "),M,e(),V,e(": "),l(t,{to:"/doc/react/modules.html#faasparams"},{default:s(()=>[B]),_:1}),e("<"),A,e(">")]),J,L,a("p",null,[e("• "),X,e(),q,e(": "),z,e("<"),G,e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[H]),_:1}),e("<"),K,e(">>>")]),Q,a("table",null,[U,a("tbody",null,[a("tr",null,[Y,a("td",Z,[l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[$]),_:1}),e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[aa]),_:1}),e("<"),ea,e(">>")])])])]),ta,a("table",null,[la,a("tbody",null,[a("tr",null,[sa,a("td",na,[l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[oa]),_:1}),e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[ra]),_:1}),e("<"),da,e(">>")])])])]),ca,ha])}const fa=o(h,[["render",ia],["__file","FaasDataWrapperProps.html.vue"]]),ma=JSON.parse('{"path":"/doc/react/interfaces/FaasDataWrapperProps.html","title":"Interface: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"onDataChange","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasDataWrapperProps.md"}');export{fa as comp,ma as data}; +import{_ as o,r,o as d,c,a,d as l,w as s,b as e,e as n}from"./app-COoiSelr.js";const h={},i=a("h1",{id:"interface-faasdatawrapperprops-pathordata",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#interface-faasdatawrapperprops-pathordata"},[a("span",null,"Interface: FaasDataWrapperProps")])],-1),p=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),u=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),_=a("td",{style:{"text-align":"left"}},[a("code",null,"PathOrData")],-1),f={style:{"text-align":"left"}},m=a("code",null,"FaasAction",-1),g=a("h2",{id:"table-of-contents",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#table-of-contents"},[a("span",null,"Table of contents")])],-1),D=a("h3",{id:"properties",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#properties"},[a("span",null,"Properties")])],-1),b=a("h3",{id:"methods",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#methods"},[a("span",null,"Methods")])],-1),x=n('

    Properties

    action

    action: string


    children

    ',5),P=a("code",null,"Optional",-1),k=a("strong",null,"children",-1),F=a("code",null,"ReactElement",-1),y=a("code",null,"Partial",-1),v=a("code",null,"FaasDataInjection",-1),O=a("code",null,"any",-1),W=a("code",null,"string",-1),I=a("code",null,"JSXElementConstructor",-1),T=a("code",null,"any",-1),w=a("hr",null,null,-1),E=a("h3",{id:"data",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#data"},[a("span",null,"data")])],-1),N=a("code",null,"Optional",-1),C=a("strong",null,"data",-1),j=a("code",null,"FaasData",-1),R=a("code",null,"PathOrData",-1),S=n('

    use custom data, should work with setData


    fallback

    Optional fallback: false | Element


    params

    ',6),M=a("code",null,"Optional",-1),V=a("strong",null,"params",-1),B=a("code",null,"FaasParams",-1),A=a("code",null,"PathOrData",-1),J=a("hr",null,null,-1),L=a("h3",{id:"setdata",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#setdata"},[a("span",null,"setData")])],-1),X=a("code",null,"Optional",-1),q=a("strong",null,"setData",-1),z=a("code",null,"Dispatch",-1),G=a("code",null,"SetStateAction",-1),H=a("code",null,"FaasData",-1),K=a("code",null,"PathOrData",-1),Q=n('

    use custom setData, should work with data

    Methods

    onDataChange

    Optional onDataChange(args): void

    Parameters

    ',5),U=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),Y=a("td",{style:{"text-align":"left"}},[a("code",null,"args")],-1),Z={style:{"text-align":"left"}},$=a("code",null,"FaasDataInjection",-1),aa=a("code",null,"FaasData",-1),ea=a("code",null,"PathOrData",-1),ta=n('

    Returns

    void


    render

    Optional render(args): Element | Element[]

    Parameters

    ',6),la=a("thead",null,[a("tr",null,[a("th",{style:{"text-align":"left"}},"Name"),a("th",{style:{"text-align":"left"}},"Type")])],-1),sa=a("td",{style:{"text-align":"left"}},[a("code",null,"args")],-1),na={style:{"text-align":"left"}},oa=a("code",null,"FaasDataInjection",-1),ra=a("code",null,"FaasData",-1),da=a("code",null,"PathOrData",-1),ca=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),ha=a("p",null,[a("code",null,"Element"),e(" | "),a("code",null,"Element"),e("[]")],-1);function ia(pa,ua){const t=r("RouteLink");return d(),c("div",null,[a("p",null,[l(t,{to:"/doc/react/"},{default:s(()=>[e("Documents")]),_:1}),e(" / Interface: FaasDataWrapperProps")]),i,p,a("table",null,[u,a("tbody",null,[a("tr",null,[_,a("td",f,[e("extends "),l(t,{to:"/doc/react/modules.html#faasaction"},{default:s(()=>[m]),_:1})])])])]),g,D,a("ul",null,[a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#action"},{default:s(()=>[e("action")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#children"},{default:s(()=>[e("children")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#data"},{default:s(()=>[e("data")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#fallback"},{default:s(()=>[e("fallback")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#params"},{default:s(()=>[e("params")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#setdata"},{default:s(()=>[e("setData")]),_:1})])]),b,a("ul",null,[a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#ondatachange"},{default:s(()=>[e("onDataChange")]),_:1})]),a("li",null,[l(t,{to:"/doc/react/interfaces/FaasDataWrapperProps.html#render"},{default:s(()=>[e("render")]),_:1})])]),x,a("p",null,[e("• "),P,e(),k,e(": "),F,e("<"),y,e("<"),l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[v]),_:1}),e("<"),O,e(">>, "),W,e(" | "),I,e("<"),T,e(">>")]),w,E,a("p",null,[e("• "),N,e(),C,e(": "),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[j]),_:1}),e("<"),R,e(">")]),S,a("p",null,[e("• "),M,e(),V,e(": "),l(t,{to:"/doc/react/modules.html#faasparams"},{default:s(()=>[B]),_:1}),e("<"),A,e(">")]),J,L,a("p",null,[e("• "),X,e(),q,e(": "),z,e("<"),G,e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[H]),_:1}),e("<"),K,e(">>>")]),Q,a("table",null,[U,a("tbody",null,[a("tr",null,[Y,a("td",Z,[l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[$]),_:1}),e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[aa]),_:1}),e("<"),ea,e(">>")])])])]),ta,a("table",null,[la,a("tbody",null,[a("tr",null,[sa,a("td",na,[l(t,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:s(()=>[oa]),_:1}),e("<"),l(t,{to:"/doc/react/modules.html#faasdata"},{default:s(()=>[ra]),_:1}),e("<"),da,e(">>")])])])]),ca,ha])}const fa=o(h,[["render",ia],["__file","FaasDataWrapperProps.html.vue"]]),ma=JSON.parse('{"path":"/doc/react/interfaces/FaasDataWrapperProps.html","title":"Interface: FaasDataWrapperProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"action","slug":"action","link":"#action","children":[]},{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"data","slug":"data","link":"#data","children":[]},{"level":3,"title":"fallback","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData","slug":"setdata","link":"#setdata","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"onDataChange","slug":"ondatachange","link":"#ondatachange","children":[]},{"level":3,"title":"render","slug":"render","link":"#render","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasDataWrapperProps.md"}');export{fa as comp,ma as data}; diff --git a/assets/FaasItemProps.html-CwaJ895S.js b/assets/FaasItemProps.html-CEOUG2tr.js similarity index 98% rename from assets/FaasItemProps.html-CwaJ895S.js rename to assets/FaasItemProps.html-CEOUG2tr.js index 4f8dd00e31..86b7696b52 100644 --- a/assets/FaasItemProps.html-CwaJ895S.js +++ b/assets/FaasItemProps.html-CEOUG2tr.js @@ -1,2 +1,2 @@ -import{_ as l,r as i,o as d,c as r,a as e,d as n,w as o,b as t,e as a}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"interface-faasitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-faasitemprops"},[e("span",null,"Interface: FaasItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"BaseItemProps",-1),_=a('

    Properties

    id

    id: string

    Inherited from

    ',4),m=e("code",null,"BaseItemProps",-1),f=e("code",null,"id",-1),g=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),b=e("strong",null,[e("code",null,"optional")],-1),I=e("strong",null,"options",-1),x=e("code",null,"BaseOption",-1),P=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),k=e("code",null,"BaseItemProps",-1),v=e("code",null,"options",-1),B=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),y=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),F=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),q=e("code",null,"BaseItemProps",-1),N=e("code",null,"title",-1),T=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),j=e("strong",null,"type",-1),E=e("code",null,"FaasItemType",-1),O=a(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
    +import{_ as l,r as i,o as d,c as r,a as e,d as n,w as o,b as t,e as a}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"interface-faasitemprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-faasitemprops"},[e("span",null,"Interface: FaasItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"BaseItemProps",-1),_=a('

    Properties

    id

    id: string

    Inherited from

    ',4),m=e("code",null,"BaseItemProps",-1),f=e("code",null,"id",-1),g=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),b=e("strong",null,[e("code",null,"optional")],-1),I=e("strong",null,"options",-1),x=e("code",null,"BaseOption",-1),P=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),k=e("code",null,"BaseItemProps",-1),v=e("code",null,"options",-1),B=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),y=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),F=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),q=e("code",null,"BaseItemProps",-1),N=e("code",null,"title",-1),T=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),j=e("strong",null,"type",-1),E=e("code",null,"FaasItemType",-1),O=a(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     
    `,3);function R(S,w){const s=i("RouteLink");return d(),r("div",null,[e("p",null,[n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / FaasItemProps")]),h,p,e("ul",null,[e("li",null,[n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[u]),_:1})])]),_,e("p",null,[n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[m]),_:1}),t("."),n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html#id"},{default:o(()=>[f]),_:1})]),g,e("blockquote",null,[e("p",null,[b,t(),I,t(": "),n(s,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:o(()=>[x]),_:1}),t("[]")])]),P,e("p",null,[n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[k]),_:1}),t("."),n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html#options"},{default:o(()=>[v]),_:1})]),B,y,F,e("p",null,[n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html"},{default:o(()=>[q]),_:1}),t("."),n(s,{to:"/doc/ant-design/interfaces/BaseItemProps.html#title"},{default:o(()=>[N]),_:1})]),T,e("blockquote",null,[e("p",null,[V,t(),j,t(": "),n(s,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:o(()=>[E]),_:1})])]),O])}const D=l(c,[["render",R],["__file","FaasItemProps.html.vue"]]),L=JSON.parse('{"path":"/doc/ant-design/interfaces/FaasItemProps.html","title":"Interface: FaasItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FaasItemProps.md"}');export{D as comp,L as data}; diff --git a/assets/FaasItemType.html-CZkiMYOz.js b/assets/FaasItemType.html-NOPFWh8M.js similarity index 94% rename from assets/FaasItemType.html-CZkiMYOz.js rename to assets/FaasItemType.html-NOPFWh8M.js index 0a684b368b..b366232a87 100644 --- a/assets/FaasItemType.html-CZkiMYOz.js +++ b/assets/FaasItemType.html-NOPFWh8M.js @@ -1 +1 @@ -import{_ as s,r as c,o as d,c as n,a as u,d as o,w as a,b as e,e as i}from"./app-QyD7034V.js";const p={},l=i('

    Type alias: FaasItemType

    FaasItemType: "string" | "string[]" | "number" | "number[]" | "boolean" | "date" | "time" | "object" | "object[]"

    ',2);function r(m,q){const t=c("RouteLink");return d(),n("div",null,[u("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / FaasItemType")]),l])}const y=s(p,[["render",r],["__file","FaasItemType.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasItemType.html","title":"Type alias: FaasItemType","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasItemType.md"}');export{y as comp,f as data}; +import{_ as s,r as c,o as d,c as n,a as u,d as o,w as a,b as e,e as i}from"./app-COoiSelr.js";const p={},l=i('

    Type alias: FaasItemType

    FaasItemType: "string" | "string[]" | "number" | "number[]" | "boolean" | "date" | "time" | "object" | "object[]"

    ',2);function r(m,q){const t=c("RouteLink");return d(),n("div",null,[u("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / FaasItemType")]),l])}const y=s(p,[["render",r],["__file","FaasItemType.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasItemType.html","title":"Type alias: FaasItemType","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasItemType.md"}');export{y as comp,f as data}; diff --git a/assets/FaasItemTypeValue.html-eyPCtMzW.js b/assets/FaasItemTypeValue.html-D3956z5H.js similarity index 98% rename from assets/FaasItemTypeValue.html-eyPCtMzW.js rename to assets/FaasItemTypeValue.html-D3956z5H.js index ab2818cef9..1eb5ad1e4e 100644 --- a/assets/FaasItemTypeValue.html-eyPCtMzW.js +++ b/assets/FaasItemTypeValue.html-D3956z5H.js @@ -1 +1 @@ -import{_ as o,r as s,o as l,c as r,a as c,d as t,w as n,b as e,e as i}from"./app-QyD7034V.js";const d={},p=i('

    Type alias: FaasItemTypeValue

    FaasItemTypeValue: Object

    FaasItemType's value type

    Type declaration

    boolean

    boolean: boolean

    date

    date: Dayjs

    number

    number: number

    number[]

    number[]: number[]

    object

    object: any

    object[]

    object[]: any[]

    string

    string: string

    string[]

    string[]: string[]

    time

    time: Dayjs

    ',22);function h(b,u){const a=s("RouteLink");return l(),r("div",null,[c("p",null,[t(a,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / FaasItemTypeValue")]),p])}const m=o(d,[["render",h],["__file","FaasItemTypeValue.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasItemTypeValue.html","title":"Type alias: FaasItemTypeValue","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"boolean","slug":"boolean","link":"#boolean","children":[]},{"level":3,"title":"date","slug":"date","link":"#date","children":[]},{"level":3,"title":"number","slug":"number","link":"#number","children":[]},{"level":3,"title":"number[]","slug":"number-1","link":"#number-1","children":[]},{"level":3,"title":"object","slug":"object","link":"#object","children":[]},{"level":3,"title":"object[]","slug":"object-1","link":"#object-1","children":[]},{"level":3,"title":"string","slug":"string","link":"#string","children":[]},{"level":3,"title":"string[]","slug":"string-1","link":"#string-1","children":[]},{"level":3,"title":"time","slug":"time","link":"#time","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasItemTypeValue.md"}');export{m as comp,k as data}; +import{_ as o,r as s,o as l,c as r,a as c,d as t,w as n,b as e,e as i}from"./app-COoiSelr.js";const d={},p=i('

    Type alias: FaasItemTypeValue

    FaasItemTypeValue: Object

    FaasItemType's value type

    Type declaration

    boolean

    boolean: boolean

    date

    date: Dayjs

    number

    number: number

    number[]

    number[]: number[]

    object

    object: any

    object[]

    object[]: any[]

    string

    string: string

    string[]

    string[]: string[]

    time

    time: Dayjs

    ',22);function h(b,u){const a=s("RouteLink");return l(),r("div",null,[c("p",null,[t(a,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / FaasItemTypeValue")]),p])}const m=o(d,[["render",h],["__file","FaasItemTypeValue.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/FaasItemTypeValue.html","title":"Type alias: FaasItemTypeValue","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"boolean","slug":"boolean","link":"#boolean","children":[]},{"level":3,"title":"date","slug":"date","link":"#date","children":[]},{"level":3,"title":"number","slug":"number","link":"#number","children":[]},{"level":3,"title":"number[]","slug":"number-1","link":"#number-1","children":[]},{"level":3,"title":"object","slug":"object","link":"#object","children":[]},{"level":3,"title":"object[]","slug":"object-1","link":"#object-1","children":[]},{"level":3,"title":"string","slug":"string","link":"#string","children":[]},{"level":3,"title":"string[]","slug":"string-1","link":"#string-1","children":[]},{"level":3,"title":"time","slug":"time","link":"#time","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/FaasItemTypeValue.md"}');export{m as comp,k as data}; diff --git a/assets/FaasParams.html-BxiZi3u8.js b/assets/FaasParams.html-Dlc8GQP4.js similarity index 95% rename from assets/FaasParams.html-BxiZi3u8.js rename to assets/FaasParams.html-Dlc8GQP4.js index 1b66f957cb..a3c3e2d140 100644 --- a/assets/FaasParams.html-BxiZi3u8.js +++ b/assets/FaasParams.html-Dlc8GQP4.js @@ -1 +1 @@ -import{_ as o,r,o as c,c as n,a as d,d as t,w as s,b as a,e as p}from"./app-QyD7034V.js";const l={},m=p('

    Type alias: FaasParams<T>

    FaasParams<T>: T extends FaasActionPaths ? FaasActions[T]["Params"] : any

    Type parameters

    T = any

    ',4);function i(h,_){const e=r("RouteLink");return c(),n("div",null,[d("p",null,[t(e,{to:"/doc/react/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:s(()=>[a("@faasjs/react")]),_:1}),a(" / FaasParams")]),m])}const f=o(l,[["render",i],["__file","FaasParams.html.vue"]]),y=JSON.parse('{"path":"/doc/react/type-aliases/FaasParams.html","title":"Type alias: FaasParams","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasParams.md"}');export{f as comp,y as data}; +import{_ as o,r,o as c,c as n,a as d,d as t,w as s,b as a,e as p}from"./app-COoiSelr.js";const l={},m=p('

    Type alias: FaasParams<T>

    FaasParams<T>: T extends FaasActionPaths ? FaasActions[T]["Params"] : any

    Type parameters

    T = any

    ',4);function i(h,_){const e=r("RouteLink");return c(),n("div",null,[d("p",null,[t(e,{to:"/doc/react/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:s(()=>[a("@faasjs/react")]),_:1}),a(" / FaasParams")]),m])}const f=o(l,[["render",i],["__file","FaasParams.html.vue"]]),y=JSON.parse('{"path":"/doc/react/type-aliases/FaasParams.html","title":"Type alias: FaasParams","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasParams.md"}');export{f as comp,y as data}; diff --git a/assets/FaasParams.html-D8n3C3AT.js b/assets/FaasParams.html-w-dFLGpb.js similarity index 95% rename from assets/FaasParams.html-D8n3C3AT.js rename to assets/FaasParams.html-w-dFLGpb.js index da80032cc2..4961f0a439 100644 --- a/assets/FaasParams.html-D8n3C3AT.js +++ b/assets/FaasParams.html-w-dFLGpb.js @@ -1 +1 @@ -import{_ as l,r as n,o as c,c as r,a,d as t,w as o,b as e}from"./app-QyD7034V.js";const d={},p=a("h1",{id:"type-alias-faasparams-t",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasparams-t"},[a("span",null,"Type alias: FaasParams")])],-1),i=a("strong",null,"FaasParams",-1),_=a("code",null,"T",-1),m=a("code",null,"T",-1),h=a("code",null,"FaasActionPaths",-1),u=a("code",null,"FaasActions",-1),y=a("code",null,"T",-1),f=a("code",null,'"Params"',-1),P=a("code",null,"any",-1),T=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),F=a("p",null,[e("• "),a("strong",null,"T"),e(" = "),a("code",null,"any")],-1);function x(k,g){const s=n("RouteLink");return c(),r("div",null,[a("p",null,[t(s,{to:"/doc/types/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),t(s,{to:"/doc/types/"},{default:o(()=>[e("@faasjs/types")]),_:1}),e(" / FaasParams")]),p,a("blockquote",null,[a("p",null,[i,e("<"),_,e(">: "),m,e(" extends "),t(s,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[h]),_:1}),e(" ? "),u,e("["),y,e("]["),f,e("] : "),P])]),T,F])}const b=l(d,[["render",x],["__file","FaasParams.html.vue"]]),N=JSON.parse('{"path":"/doc/types/type-aliases/FaasParams.html","title":"Type alias: FaasParams","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasParams.md"}');export{b as comp,N as data}; +import{_ as l,r as n,o as c,c as r,a,d as t,w as o,b as e}from"./app-COoiSelr.js";const d={},p=a("h1",{id:"type-alias-faasparams-t",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-alias-faasparams-t"},[a("span",null,"Type alias: FaasParams")])],-1),i=a("strong",null,"FaasParams",-1),_=a("code",null,"T",-1),m=a("code",null,"T",-1),h=a("code",null,"FaasActionPaths",-1),u=a("code",null,"FaasActions",-1),y=a("code",null,"T",-1),f=a("code",null,'"Params"',-1),P=a("code",null,"any",-1),T=a("h2",{id:"type-parameters",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#type-parameters"},[a("span",null,"Type parameters")])],-1),F=a("p",null,[e("• "),a("strong",null,"T"),e(" = "),a("code",null,"any")],-1);function x(k,g){const s=n("RouteLink");return c(),r("div",null,[a("p",null,[t(s,{to:"/doc/types/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),t(s,{to:"/doc/types/"},{default:o(()=>[e("@faasjs/types")]),_:1}),e(" / FaasParams")]),p,a("blockquote",null,[a("p",null,[i,e("<"),_,e(">: "),m,e(" extends "),t(s,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:o(()=>[h]),_:1}),e(" ? "),u,e("["),y,e("]["),f,e("] : "),P])]),T,F])}const b=l(d,[["render",x],["__file","FaasParams.html.vue"]]),N=JSON.parse('{"path":"/doc/types/type-aliases/FaasParams.html","title":"Type alias: FaasParams","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/types/type-aliases/FaasParams.md"}');export{b as comp,N as data}; diff --git a/assets/FaasReactClient.html-CRAdthIA.js b/assets/FaasReactClient.html-BkDAwhfw.js similarity index 97% rename from assets/FaasReactClient.html-CRAdthIA.js rename to assets/FaasReactClient.html-BkDAwhfw.js index 0a69bddce7..e242d27fd8 100644 --- a/assets/FaasReactClient.html-CRAdthIA.js +++ b/assets/FaasReactClient.html-BkDAwhfw.js @@ -1,4 +1,4 @@ -import{_ as l,r as c,o,c as i,a as e,d as n,w as s,b as a,e as r}from"./app-QyD7034V.js";const d={},p=e("h1",{id:"function-faasreactclient",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-faasreactclient"},[e("span",null,"Function: FaasReactClient()")])],-1),u=e("strong",null,"FaasReactClient",-1),h=e("code",null,"__namedParameters",-1),_=e("code",null,"FaasReactClientInstance",-1),m=e("p",null,"Before use faas, you should initialize a FaasReactClient.",-1),f=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),R=e("strong",null,"__namedParameters",-1),k=e("code",null,"FaasReactClientOptions",-1),C=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),F=e("code",null,"FaasReactClientInstance",-1),v=r(`

    Example

    const client = FaasReactClient({
    +import{_ as l,r as c,o,c as i,a as e,d as n,w as s,b as a,e as r}from"./app-COoiSelr.js";const d={},p=e("h1",{id:"function-faasreactclient",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-faasreactclient"},[e("span",null,"Function: FaasReactClient()")])],-1),u=e("strong",null,"FaasReactClient",-1),h=e("code",null,"__namedParameters",-1),_=e("code",null,"FaasReactClientInstance",-1),m=e("p",null,"Before use faas, you should initialize a FaasReactClient.",-1),f=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),R=e("strong",null,"__namedParameters",-1),k=e("code",null,"FaasReactClientOptions",-1),C=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),F=e("code",null,"FaasReactClientInstance",-1),v=r(`

    Example

    const client = FaasReactClient({
       domain: 'localhost:8080/api'
     })
     
    `,2);function x(g,b){const t=c("RouteLink");return o(),i("div",null,[e("p",null,[n(t,{to:"/doc/react/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),n(t,{to:"/doc/react/"},{default:s(()=>[a("@faasjs/react")]),_:1}),a(" / FaasReactClient")]),p,e("blockquote",null,[e("p",null,[u,a("("),h,a("): "),n(t,{to:"/doc/react/type-aliases/FaasReactClientInstance.html"},{default:s(()=>[_]),_:1})])]),m,f,e("p",null,[a("• "),R,a(": "),n(t,{to:"/doc/react/type-aliases/FaasReactClientOptions.html"},{default:s(()=>[k]),_:1})]),C,e("p",null,[n(t,{to:"/doc/react/type-aliases/FaasReactClientInstance.html"},{default:s(()=>[F]),_:1})]),v])}const N=l(d,[["render",x],["__file","FaasReactClient.html.vue"]]),P=JSON.parse('{"path":"/doc/react/functions/FaasReactClient.html","title":"Function: FaasReactClient()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/functions/FaasReactClient.md"}');export{N as comp,P as data}; diff --git a/assets/FaasReactClientInstance.html-WFbRbShP.js b/assets/FaasReactClientInstance.html-Cua0Zmso.js similarity index 99% rename from assets/FaasReactClientInstance.html-WFbRbShP.js rename to assets/FaasReactClientInstance.html-Cua0Zmso.js index 79961d3a90..a74ef51c88 100644 --- a/assets/FaasReactClientInstance.html-WFbRbShP.js +++ b/assets/FaasReactClientInstance.html-Cua0Zmso.js @@ -1 +1 @@ -import{_ as n,r as d,o as c,c as r,a as t,d as s,w as l,b as e,e as o}from"./app-QyD7034V.js";const h={},i=o('

    Interface: FaasReactClientInstance

    Table of contents

    Properties

    ',3),_=t("h3",{id:"methods",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#methods"},[t("span",null,"Methods")])],-1),u=t("h2",{id:"properties-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#properties-1"},[t("span",null,"Properties")])],-1),p=t("h3",{id:"faas",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#faas"},[t("span",null,"faas")])],-1),f=t("strong",null,"faas",-1),m=t("code",null,"action",-1),y=t("code",null,"string",-1),x=t("code",null,"PathOrData",-1),g=t("code",null,"params",-1),D=t("code",null,"FaasParams",-1),b=t("code",null,"PathOrData",-1),P=t("code",null,"Promise",-1),F=t("code",null,"Response",-1),O=t("code",null,"FaasData",-1),R=t("code",null,"PathOrData",-1),I=t("h4",{id:"type-declaration",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-declaration"},[t("span",null,"Type declaration")])],-1),T=t("code",null,"PathOrData",-1),k=t("code",null,"action",-1),v=t("code",null,"params",-1),C=t("code",null,"Promise",-1),N=t("code",null,"Response",-1),j=t("code",null,"FaasData",-1),w=t("code",null,"PathOrData",-1),S=o('
    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    ',3),W=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),M=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"action")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string"),e(" | "),t("code",null,"PathOrData")])],-1),V=t("td",{style:{"text-align":"left"}},[t("code",null,"params")],-1),B={style:{"text-align":"left"}},E=t("code",null,"FaasParams",-1),A=t("code",null,"PathOrData",-1),L=t("h5",{id:"returns",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns"},[t("span",null,"Returns")])],-1),J=t("code",null,"Promise",-1),q=t("code",null,"Response",-1),z=t("code",null,"FaasData",-1),G=t("code",null,"PathOrData",-1),H=t("hr",null,null,-1),K=t("h3",{id:"usefaas",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#usefaas"},[t("span",null,"useFaas")])],-1),Q=t("strong",null,"useFaas",-1),U=t("code",null,"action",-1),X=t("code",null,"string",-1),Y=t("code",null,"PathOrData",-1),Z=t("code",null,"defaultParams",-1),$=t("code",null,"FaasParams",-1),tt=t("code",null,"PathOrData",-1),et=t("code",null,"options?",-1),at=t("code",null,"data?",-1),st=t("code",null,"FaasData",-1),lt=t("code",null,"PathOrData",-1),ot=t("code",null,"setData?",-1),nt=t("code",null,"Dispatch",-1),dt=t("code",null,"SetStateAction",-1),ct=t("code",null,"FaasData",-1),rt=t("code",null,"PathOrData",-1),ht=t("code",null,"skip?",-1),it=t("code",null,"boolean",-1),_t=t("code",null,"FaasDataInjection",-1),ut=t("code",null,"FaasData",-1),pt=t("code",null,"PathOrData",-1),ft=t("h4",{id:"type-declaration-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-declaration-1"},[t("span",null,"Type declaration")])],-1),mt=t("code",null,"PathOrData",-1),yt=t("code",null,"action",-1),xt=t("code",null,"defaultParams",-1),gt=t("code",null,"options?",-1),Dt=t("code",null,"FaasDataInjection",-1),bt=t("code",null,"FaasData",-1),Pt=t("code",null,"PathOrData",-1),Ft=o('
    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    ',3),Ot=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),Rt=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"action")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string"),e(" | "),t("code",null,"PathOrData")])],-1),It=t("td",{style:{"text-align":"left"}},[t("code",null,"defaultParams")],-1),Tt={style:{"text-align":"left"}},kt=t("code",null,"FaasParams",-1),vt=t("code",null,"PathOrData",-1),Ct=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"options?")]),t("td",{style:{"text-align":"left"}},[t("code",null,"Object")])],-1),Nt=t("td",{style:{"text-align":"left"}},[t("code",null,"options.data?")],-1),jt={style:{"text-align":"left"}},wt=t("code",null,"FaasData",-1),St=t("code",null,"PathOrData",-1),Wt=t("td",{style:{"text-align":"left"}},[t("code",null,"options.setData?")],-1),Mt={style:{"text-align":"left"}},Vt=t("code",null,"Dispatch",-1),Bt=t("code",null,"SetStateAction",-1),Et=t("code",null,"FaasData",-1),At=t("code",null,"PathOrData",-1),Lt=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"options.skip?")]),t("td",{style:{"text-align":"left"}},[t("code",null,"boolean")])],-1),Jt=t("h5",{id:"returns-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns-1"},[t("span",null,"Returns")])],-1),qt=t("code",null,"FaasDataInjection",-1),zt=t("code",null,"FaasData",-1),Gt=t("code",null,"PathOrData",-1),Ht=o('

    Methods

    FaasDataWrapper

    FaasDataWrapper<PathOrData>(props): Element

    Type parameters

    NameType
    PathOrDataextends Record<string, any>

    Parameters

    ',6),Kt=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),Qt=t("td",{style:{"text-align":"left"}},[t("code",null,"props")],-1),Ut={style:{"text-align":"left"}},Xt=t("code",null,"FaasDataWrapperProps",-1),Yt=t("code",null,"PathOrData",-1),Zt=t("h4",{id:"returns-2",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns-2"},[t("span",null,"Returns")])],-1),$t=t("p",null,[t("code",null,"Element")],-1);function te(ee,ae){const a=d("RouteLink");return c(),r("div",null,[t("p",null,[s(a,{to:"/doc/react/"},{default:l(()=>[e("Documents")]),_:1}),e(" / Interface: FaasReactClientInstance")]),i,t("ul",null,[t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#faas"},{default:l(()=>[e("faas")]),_:1})]),t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#usefaas"},{default:l(()=>[e("useFaas")]),_:1})])]),_,t("ul",null,[t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#faasdatawrapper"},{default:l(()=>[e("FaasDataWrapper")]),_:1})])]),u,p,t("p",null,[e("• "),f,e(": ("),m,e(": "),y,e(" | "),x,e(", "),g,e(": "),s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[D]),_:1}),e("<"),b,e(">) => "),P,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[F]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[O]),_:1}),e("<"),R,e(">>>")]),I,t("p",null,[e("▸ <"),T,e(">("),k,e(", "),v,e("): "),C,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[N]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[j]),_:1}),e("<"),w,e(">>>")]),S,t("table",null,[W,t("tbody",null,[M,t("tr",null,[V,t("td",B,[s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[E]),_:1}),e("<"),A,e(">")])])])]),L,t("p",null,[J,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[q]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[z]),_:1}),e("<"),G,e(">>>")]),H,K,t("p",null,[e("• "),Q,e(": ("),U,e(": "),X,e(" | "),Y,e(", "),Z,e(": "),s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[$]),_:1}),e("<"),tt,e(">, "),et,e(": { "),at,e(": "),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[st]),_:1}),e("<"),lt,e("> ; "),ot,e(": "),nt,e("<"),dt,e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[ct]),_:1}),e("<"),rt,e(">>> ; "),ht,e(": "),it,e(" }) => "),s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[_t]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[ut]),_:1}),e("<"),pt,e(">>")]),ft,t("p",null,[e("▸ <"),mt,e(">("),yt,e(", "),xt,e(", "),gt,e("): "),s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[Dt]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[bt]),_:1}),e("<"),Pt,e(">>")]),Ft,t("table",null,[Ot,t("tbody",null,[Rt,t("tr",null,[It,t("td",Tt,[s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[kt]),_:1}),e("<"),vt,e(">")])]),Ct,t("tr",null,[Nt,t("td",jt,[s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[wt]),_:1}),e("<"),St,e(">")])]),t("tr",null,[Wt,t("td",Mt,[Vt,e("<"),Bt,e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[Et]),_:1}),e("<"),At,e(">>>")])]),Lt])]),Jt,t("p",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[qt]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[zt]),_:1}),e("<"),Gt,e(">>")]),Ht,t("table",null,[Kt,t("tbody",null,[t("tr",null,[Qt,t("td",Ut,[s(a,{to:"/doc/react/interfaces/FaasDataWrapperProps.html"},{default:l(()=>[Xt]),_:1}),e("<"),Yt,e(">")])])])]),Zt,$t])}const le=n(h,[["render",te],["__file","FaasReactClientInstance.html.vue"]]),oe=JSON.parse('{"path":"/doc/react/interfaces/FaasReactClientInstance.html","title":"Interface: FaasReactClientInstance","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"faas","slug":"faas","link":"#faas","children":[]},{"level":3,"title":"useFaas","slug":"usefaas","link":"#usefaas","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"FaasDataWrapper","slug":"faasdatawrapper","link":"#faasdatawrapper","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasReactClientInstance.md"}');export{le as comp,oe as data}; +import{_ as n,r as d,o as c,c as r,a as t,d as s,w as l,b as e,e as o}from"./app-COoiSelr.js";const h={},i=o('

    Interface: FaasReactClientInstance

    Table of contents

    Properties

    ',3),_=t("h3",{id:"methods",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#methods"},[t("span",null,"Methods")])],-1),u=t("h2",{id:"properties-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#properties-1"},[t("span",null,"Properties")])],-1),p=t("h3",{id:"faas",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#faas"},[t("span",null,"faas")])],-1),f=t("strong",null,"faas",-1),m=t("code",null,"action",-1),y=t("code",null,"string",-1),x=t("code",null,"PathOrData",-1),g=t("code",null,"params",-1),D=t("code",null,"FaasParams",-1),b=t("code",null,"PathOrData",-1),P=t("code",null,"Promise",-1),F=t("code",null,"Response",-1),O=t("code",null,"FaasData",-1),R=t("code",null,"PathOrData",-1),I=t("h4",{id:"type-declaration",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-declaration"},[t("span",null,"Type declaration")])],-1),T=t("code",null,"PathOrData",-1),k=t("code",null,"action",-1),v=t("code",null,"params",-1),C=t("code",null,"Promise",-1),N=t("code",null,"Response",-1),j=t("code",null,"FaasData",-1),w=t("code",null,"PathOrData",-1),S=o('
    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    ',3),W=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),M=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"action")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string"),e(" | "),t("code",null,"PathOrData")])],-1),V=t("td",{style:{"text-align":"left"}},[t("code",null,"params")],-1),B={style:{"text-align":"left"}},E=t("code",null,"FaasParams",-1),A=t("code",null,"PathOrData",-1),L=t("h5",{id:"returns",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns"},[t("span",null,"Returns")])],-1),J=t("code",null,"Promise",-1),q=t("code",null,"Response",-1),z=t("code",null,"FaasData",-1),G=t("code",null,"PathOrData",-1),H=t("hr",null,null,-1),K=t("h3",{id:"usefaas",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#usefaas"},[t("span",null,"useFaas")])],-1),Q=t("strong",null,"useFaas",-1),U=t("code",null,"action",-1),X=t("code",null,"string",-1),Y=t("code",null,"PathOrData",-1),Z=t("code",null,"defaultParams",-1),$=t("code",null,"FaasParams",-1),tt=t("code",null,"PathOrData",-1),et=t("code",null,"options?",-1),at=t("code",null,"data?",-1),st=t("code",null,"FaasData",-1),lt=t("code",null,"PathOrData",-1),ot=t("code",null,"setData?",-1),nt=t("code",null,"Dispatch",-1),dt=t("code",null,"SetStateAction",-1),ct=t("code",null,"FaasData",-1),rt=t("code",null,"PathOrData",-1),ht=t("code",null,"skip?",-1),it=t("code",null,"boolean",-1),_t=t("code",null,"FaasDataInjection",-1),ut=t("code",null,"FaasData",-1),pt=t("code",null,"PathOrData",-1),ft=t("h4",{id:"type-declaration-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-declaration-1"},[t("span",null,"Type declaration")])],-1),mt=t("code",null,"PathOrData",-1),yt=t("code",null,"action",-1),xt=t("code",null,"defaultParams",-1),gt=t("code",null,"options?",-1),Dt=t("code",null,"FaasDataInjection",-1),bt=t("code",null,"FaasData",-1),Pt=t("code",null,"PathOrData",-1),Ft=o('
    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    ',3),Ot=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),Rt=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"action")]),t("td",{style:{"text-align":"left"}},[t("code",null,"string"),e(" | "),t("code",null,"PathOrData")])],-1),It=t("td",{style:{"text-align":"left"}},[t("code",null,"defaultParams")],-1),Tt={style:{"text-align":"left"}},kt=t("code",null,"FaasParams",-1),vt=t("code",null,"PathOrData",-1),Ct=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"options?")]),t("td",{style:{"text-align":"left"}},[t("code",null,"Object")])],-1),Nt=t("td",{style:{"text-align":"left"}},[t("code",null,"options.data?")],-1),jt={style:{"text-align":"left"}},wt=t("code",null,"FaasData",-1),St=t("code",null,"PathOrData",-1),Wt=t("td",{style:{"text-align":"left"}},[t("code",null,"options.setData?")],-1),Mt={style:{"text-align":"left"}},Vt=t("code",null,"Dispatch",-1),Bt=t("code",null,"SetStateAction",-1),Et=t("code",null,"FaasData",-1),At=t("code",null,"PathOrData",-1),Lt=t("tr",null,[t("td",{style:{"text-align":"left"}},[t("code",null,"options.skip?")]),t("td",{style:{"text-align":"left"}},[t("code",null,"boolean")])],-1),Jt=t("h5",{id:"returns-1",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns-1"},[t("span",null,"Returns")])],-1),qt=t("code",null,"FaasDataInjection",-1),zt=t("code",null,"FaasData",-1),Gt=t("code",null,"PathOrData",-1),Ht=o('

    Methods

    FaasDataWrapper

    FaasDataWrapper<PathOrData>(props): Element

    Type parameters

    NameType
    PathOrDataextends Record<string, any>

    Parameters

    ',6),Kt=t("thead",null,[t("tr",null,[t("th",{style:{"text-align":"left"}},"Name"),t("th",{style:{"text-align":"left"}},"Type")])],-1),Qt=t("td",{style:{"text-align":"left"}},[t("code",null,"props")],-1),Ut={style:{"text-align":"left"}},Xt=t("code",null,"FaasDataWrapperProps",-1),Yt=t("code",null,"PathOrData",-1),Zt=t("h4",{id:"returns-2",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#returns-2"},[t("span",null,"Returns")])],-1),$t=t("p",null,[t("code",null,"Element")],-1);function te(ee,ae){const a=d("RouteLink");return c(),r("div",null,[t("p",null,[s(a,{to:"/doc/react/"},{default:l(()=>[e("Documents")]),_:1}),e(" / Interface: FaasReactClientInstance")]),i,t("ul",null,[t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#faas"},{default:l(()=>[e("faas")]),_:1})]),t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#usefaas"},{default:l(()=>[e("useFaas")]),_:1})])]),_,t("ul",null,[t("li",null,[s(a,{to:"/doc/react/interfaces/FaasReactClientInstance.html#faasdatawrapper"},{default:l(()=>[e("FaasDataWrapper")]),_:1})])]),u,p,t("p",null,[e("• "),f,e(": ("),m,e(": "),y,e(" | "),x,e(", "),g,e(": "),s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[D]),_:1}),e("<"),b,e(">) => "),P,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[F]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[O]),_:1}),e("<"),R,e(">>>")]),I,t("p",null,[e("▸ <"),T,e(">("),k,e(", "),v,e("): "),C,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[N]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[j]),_:1}),e("<"),w,e(">>>")]),S,t("table",null,[W,t("tbody",null,[M,t("tr",null,[V,t("td",B,[s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[E]),_:1}),e("<"),A,e(">")])])])]),L,t("p",null,[J,e("<"),s(a,{to:"/doc/react/classes/Response.html"},{default:l(()=>[q]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[z]),_:1}),e("<"),G,e(">>>")]),H,K,t("p",null,[e("• "),Q,e(": ("),U,e(": "),X,e(" | "),Y,e(", "),Z,e(": "),s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[$]),_:1}),e("<"),tt,e(">, "),et,e(": { "),at,e(": "),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[st]),_:1}),e("<"),lt,e("> ; "),ot,e(": "),nt,e("<"),dt,e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[ct]),_:1}),e("<"),rt,e(">>> ; "),ht,e(": "),it,e(" }) => "),s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[_t]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[ut]),_:1}),e("<"),pt,e(">>")]),ft,t("p",null,[e("▸ <"),mt,e(">("),yt,e(", "),xt,e(", "),gt,e("): "),s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[Dt]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[bt]),_:1}),e("<"),Pt,e(">>")]),Ft,t("table",null,[Ot,t("tbody",null,[Rt,t("tr",null,[It,t("td",Tt,[s(a,{to:"/doc/react/modules.html#faasparams"},{default:l(()=>[kt]),_:1}),e("<"),vt,e(">")])]),Ct,t("tr",null,[Nt,t("td",jt,[s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[wt]),_:1}),e("<"),St,e(">")])]),t("tr",null,[Wt,t("td",Mt,[Vt,e("<"),Bt,e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[Et]),_:1}),e("<"),At,e(">>>")])]),Lt])]),Jt,t("p",null,[s(a,{to:"/doc/react/interfaces/FaasDataInjection.html"},{default:l(()=>[qt]),_:1}),e("<"),s(a,{to:"/doc/react/modules.html#faasdata"},{default:l(()=>[zt]),_:1}),e("<"),Gt,e(">>")]),Ht,t("table",null,[Kt,t("tbody",null,[t("tr",null,[Qt,t("td",Ut,[s(a,{to:"/doc/react/interfaces/FaasDataWrapperProps.html"},{default:l(()=>[Xt]),_:1}),e("<"),Yt,e(">")])])])]),Zt,$t])}const le=n(h,[["render",te],["__file","FaasReactClientInstance.html.vue"]]),oe=JSON.parse('{"path":"/doc/react/interfaces/FaasReactClientInstance.html","title":"Interface: FaasReactClientInstance","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]},{"level":3,"title":"Methods","slug":"methods","link":"#methods","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"faas","slug":"faas","link":"#faas","children":[]},{"level":3,"title":"useFaas","slug":"usefaas","link":"#usefaas","children":[]}]},{"level":2,"title":"Methods","slug":"methods-1","link":"#methods-1","children":[{"level":3,"title":"FaasDataWrapper","slug":"faasdatawrapper","link":"#faasdatawrapper","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/interfaces/FaasReactClientInstance.md"}');export{le as comp,oe as data}; diff --git a/assets/FaasReactClientInstance.html-DLsgViEd.js b/assets/FaasReactClientInstance.html-FsWcjM25.js similarity index 98% rename from assets/FaasReactClientInstance.html-DLsgViEd.js rename to assets/FaasReactClientInstance.html-FsWcjM25.js index 4783a74b67..69e3e81569 100644 --- a/assets/FaasReactClientInstance.html-DLsgViEd.js +++ b/assets/FaasReactClientInstance.html-FsWcjM25.js @@ -1 +1 @@ -import{_ as c,r,o as d,c as l,a,d as s,w as n,b as e,e as o}from"./app-QyD7034V.js";const i={},p=o('

    Type alias: FaasReactClientInstance

    FaasReactClientInstance: Object

    Type declaration

    faas()

    faas: <PathOrData>(action, params) => Promise<Response<FaasData<PathOrData>>>

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    params: FaasParams<PathOrData>

    Returns

    Promise<Response<FaasData<PathOrData>>>

    id

    id: string

    useFaas()

    ',15),h=a("strong",null,"useFaas",-1),u=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),f=a("code",null,"defaultParams",-1),m=a("code",null,"options",-1),g=a("code",null,"FaasDataInjection",-1),F=a("code",null,"FaasData",-1),D=a("code",null,"PathOrData",-1),P=o('

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    defaultParams: FaasParams<PathOrData>

    ',5),y=a("strong",null,"options?",-1),b=a("code",null,"useFaasOptions",-1),x=a("code",null,"PathOrData",-1),O=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),k=a("code",null,"FaasDataInjection",-1),R=a("code",null,"FaasData",-1),I=a("code",null,"PathOrData",-1),C=o('

    FaasDataWrapper()

    Type parameters

    PathOrData extends FaasAction

    Parameters

    ',4),v=a("strong",null,"props",-1),T=a("code",null,"FaasDataWrapperProps",-1),q=a("code",null,"PathOrData",-1),j=a("h4",{id:"returns-2",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-2"},[a("span",null,"Returns")])],-1),w=a("p",null,[a("code",null,"Element")],-1);function N(V,W){const t=r("RouteLink");return d(),l("div",null,[a("p",null,[s(t,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / FaasReactClientInstance")]),p,a("blockquote",null,[a("p",null,[h,e(": <"),u,e(">("),_,e(", "),f,e(", "),m,e("?) => "),s(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:n(()=>[g]),_:1}),e("<"),F,e("<"),D,e(">>")])]),P,a("p",null,[e("• "),y,e(": "),s(t,{to:"/doc/react/type-aliases/useFaasOptions.html"},{default:n(()=>[b]),_:1}),e("<"),x,e(">")]),O,a("p",null,[s(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:n(()=>[k]),_:1}),e("<"),R,e("<"),I,e(">>")]),C,a("p",null,[e("• "),v,e(": "),s(t,{to:"/doc/react/type-aliases/FaasDataWrapperProps.html"},{default:n(()=>[T]),_:1}),e("<"),q,e(">")]),j,w])}const B=c(i,[["render",N],["__file","FaasReactClientInstance.html.vue"]]),E=JSON.parse('{"path":"/doc/react/type-aliases/FaasReactClientInstance.html","title":"Type alias: FaasReactClientInstance","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"faas()","slug":"faas","link":"#faas","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"useFaas()","slug":"usefaas","link":"#usefaas","children":[]},{"level":3,"title":"FaasDataWrapper()","slug":"faasdatawrapper","link":"#faasdatawrapper","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasReactClientInstance.md"}');export{B as comp,E as data}; +import{_ as c,r,o as d,c as l,a,d as s,w as n,b as e,e as o}from"./app-COoiSelr.js";const i={},p=o('

    Type alias: FaasReactClientInstance

    FaasReactClientInstance: Object

    Type declaration

    faas()

    faas: <PathOrData>(action, params) => Promise<Response<FaasData<PathOrData>>>

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    params: FaasParams<PathOrData>

    Returns

    Promise<Response<FaasData<PathOrData>>>

    id

    id: string

    useFaas()

    ',15),h=a("strong",null,"useFaas",-1),u=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),f=a("code",null,"defaultParams",-1),m=a("code",null,"options",-1),g=a("code",null,"FaasDataInjection",-1),F=a("code",null,"FaasData",-1),D=a("code",null,"PathOrData",-1),P=o('

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    defaultParams: FaasParams<PathOrData>

    ',5),y=a("strong",null,"options?",-1),b=a("code",null,"useFaasOptions",-1),x=a("code",null,"PathOrData",-1),O=a("h4",{id:"returns-1",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-1"},[a("span",null,"Returns")])],-1),k=a("code",null,"FaasDataInjection",-1),R=a("code",null,"FaasData",-1),I=a("code",null,"PathOrData",-1),C=o('

    FaasDataWrapper()

    Type parameters

    PathOrData extends FaasAction

    Parameters

    ',4),v=a("strong",null,"props",-1),T=a("code",null,"FaasDataWrapperProps",-1),q=a("code",null,"PathOrData",-1),j=a("h4",{id:"returns-2",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns-2"},[a("span",null,"Returns")])],-1),w=a("p",null,[a("code",null,"Element")],-1);function N(V,W){const t=r("RouteLink");return d(),l("div",null,[a("p",null,[s(t,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / FaasReactClientInstance")]),p,a("blockquote",null,[a("p",null,[h,e(": <"),u,e(">("),_,e(", "),f,e(", "),m,e("?) => "),s(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:n(()=>[g]),_:1}),e("<"),F,e("<"),D,e(">>")])]),P,a("p",null,[e("• "),y,e(": "),s(t,{to:"/doc/react/type-aliases/useFaasOptions.html"},{default:n(()=>[b]),_:1}),e("<"),x,e(">")]),O,a("p",null,[s(t,{to:"/doc/react/type-aliases/FaasDataInjection.html"},{default:n(()=>[k]),_:1}),e("<"),R,e("<"),I,e(">>")]),C,a("p",null,[e("• "),v,e(": "),s(t,{to:"/doc/react/type-aliases/FaasDataWrapperProps.html"},{default:n(()=>[T]),_:1}),e("<"),q,e(">")]),j,w])}const B=c(i,[["render",N],["__file","FaasReactClientInstance.html.vue"]]),E=JSON.parse('{"path":"/doc/react/type-aliases/FaasReactClientInstance.html","title":"Type alias: FaasReactClientInstance","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"faas()","slug":"faas","link":"#faas","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"useFaas()","slug":"usefaas","link":"#usefaas","children":[]},{"level":3,"title":"FaasDataWrapper()","slug":"faasdatawrapper","link":"#faasdatawrapper","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasReactClientInstance.md"}');export{B as comp,E as data}; diff --git a/assets/FaasReactClientOptions.html-DESWmvWd.js b/assets/FaasReactClientOptions.html-BcDXLmtG.js similarity index 98% rename from assets/FaasReactClientOptions.html-DESWmvWd.js rename to assets/FaasReactClientOptions.html-BcDXLmtG.js index 7cc609bf09..3eaa61b8be 100644 --- a/assets/FaasReactClientOptions.html-DESWmvWd.js +++ b/assets/FaasReactClientOptions.html-BcDXLmtG.js @@ -1 +1 @@ -import{_ as s,r,o as c,c as l,a as e,d as a,w as n,b as o,e as i}from"./app-QyD7034V.js";const d={},p=i('

    Type alias: FaasReactClientOptions

    FaasReactClientOptions: Object

    Type declaration

    domain

    domain: string

    onError()?

    optional onError: (action, params) => (res) => Promise<void>

    Parameters

    action: string

    params: Record<string, any>

    Returns

    Function

    ',12),h=e("h5",{id:"parameters-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-1"},[e("span",null,"Parameters")])],-1),u=e("strong",null,"res",-1),_=e("code",null,"ResponseError",-1),m=e("h5",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),o("<"),e("code",null,"void"),o(">")],-1),f=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),b=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"options",-1),R=e("code",null,"Options",-1);function x(y,O){const t=r("RouteLink");return c(),l("div",null,[e("p",null,[a(t,{to:"/doc/react/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),a(t,{to:"/doc/react/"},{default:n(()=>[o("@faasjs/react")]),_:1}),o(" / FaasReactClientOptions")]),p,e("blockquote",null,[h,e("p",null,[o("• "),u,o(": "),a(t,{to:"/doc/react/classes/ResponseError.html"},{default:n(()=>[_]),_:1})]),m,g]),f,e("blockquote",null,[e("p",null,[b,o(),k,o(": "),a(t,{to:"/doc/react/type-aliases/Options.html"},{default:n(()=>[R]),_:1})])])])}const C=s(d,[["render",x],["__file","FaasReactClientOptions.html.vue"]]),F=JSON.parse('{"path":"/doc/react/type-aliases/FaasReactClientOptions.html","title":"Type alias: FaasReactClientOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasReactClientOptions.md"}');export{C as comp,F as data}; +import{_ as s,r,o as c,c as l,a as e,d as a,w as n,b as o,e as i}from"./app-COoiSelr.js";const d={},p=i('

    Type alias: FaasReactClientOptions

    FaasReactClientOptions: Object

    Type declaration

    domain

    domain: string

    onError()?

    optional onError: (action, params) => (res) => Promise<void>

    Parameters

    action: string

    params: Record<string, any>

    Returns

    Function

    ',12),h=e("h5",{id:"parameters-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-1"},[e("span",null,"Parameters")])],-1),u=e("strong",null,"res",-1),_=e("code",null,"ResponseError",-1),m=e("h5",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),o("<"),e("code",null,"void"),o(">")],-1),f=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),b=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"options",-1),R=e("code",null,"Options",-1);function x(y,O){const t=r("RouteLink");return c(),l("div",null,[e("p",null,[a(t,{to:"/doc/react/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),a(t,{to:"/doc/react/"},{default:n(()=>[o("@faasjs/react")]),_:1}),o(" / FaasReactClientOptions")]),p,e("blockquote",null,[h,e("p",null,[o("• "),u,o(": "),a(t,{to:"/doc/react/classes/ResponseError.html"},{default:n(()=>[_]),_:1})]),m,g]),f,e("blockquote",null,[e("p",null,[b,o(),k,o(": "),a(t,{to:"/doc/react/type-aliases/Options.html"},{default:n(()=>[R]),_:1})])])])}const C=s(d,[["render",x],["__file","FaasReactClientOptions.html.vue"]]),F=JSON.parse('{"path":"/doc/react/type-aliases/FaasReactClientOptions.html","title":"Type alias: FaasReactClientOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/FaasReactClientOptions.md"}');export{C as comp,F as data}; diff --git a/assets/FaasVuePlugin.html-mzJywF3h.js b/assets/FaasVuePlugin.html-BqfxuRi9.js similarity index 96% rename from assets/FaasVuePlugin.html-mzJywF3h.js rename to assets/FaasVuePlugin.html-BqfxuRi9.js index 292ca753c8..3e4eb1a4b1 100644 --- a/assets/FaasVuePlugin.html-mzJywF3h.js +++ b/assets/FaasVuePlugin.html-BqfxuRi9.js @@ -1 +1 @@ -import{_ as s,r as o,o as i,c as r,a as e,d as t,w as l,b as a,e as c}from"./app-QyD7034V.js";const u={},d=c('

    Variable: FaasVuePlugin

    const FaasVuePlugin: Object

    Type declaration

    install()

    Parameters

    app: any

    ',6),p=e("strong",null,"options",-1),h=e("code",null,"FaasVuePluginOptions",-1),g=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"void")],-1);function f(v,m){const n=o("RouteLink");return i(),r("div",null,[e("p",null,[t(n,{to:"/doc/vue-plugin/"},{default:l(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/vue-plugin/"},{default:l(()=>[a("@faasjs/vue-plugin")]),_:1}),a(" / FaasVuePlugin")]),d,e("p",null,[a("• "),p,a(": "),t(n,{to:"/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html"},{default:l(()=>[h]),_:1})]),g,_])}const b=s(u,[["render",f],["__file","FaasVuePlugin.html.vue"]]),P=JSON.parse('{"path":"/doc/vue-plugin/variables/FaasVuePlugin.html","title":"Variable: FaasVuePlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"install()","slug":"install","link":"#install","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/variables/FaasVuePlugin.md"}');export{b as comp,P as data}; +import{_ as s,r as o,o as i,c as r,a as e,d as t,w as l,b as a,e as c}from"./app-COoiSelr.js";const u={},d=c('

    Variable: FaasVuePlugin

    const FaasVuePlugin: Object

    Type declaration

    install()

    Parameters

    app: any

    ',6),p=e("strong",null,"options",-1),h=e("code",null,"FaasVuePluginOptions",-1),g=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"void")],-1);function f(v,m){const n=o("RouteLink");return i(),r("div",null,[e("p",null,[t(n,{to:"/doc/vue-plugin/"},{default:l(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/vue-plugin/"},{default:l(()=>[a("@faasjs/vue-plugin")]),_:1}),a(" / FaasVuePlugin")]),d,e("p",null,[a("• "),p,a(": "),t(n,{to:"/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html"},{default:l(()=>[h]),_:1})]),g,_])}const b=s(u,[["render",f],["__file","FaasVuePlugin.html.vue"]]),P=JSON.parse('{"path":"/doc/vue-plugin/variables/FaasVuePlugin.html","title":"Variable: FaasVuePlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"install()","slug":"install","link":"#install","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/variables/FaasVuePlugin.md"}');export{b as comp,P as data}; diff --git a/assets/FaasVuePluginOptions.html-DoMVsHiY.js b/assets/FaasVuePluginOptions.html-BFVueRa5.js similarity index 96% rename from assets/FaasVuePluginOptions.html-DoMVsHiY.js rename to assets/FaasVuePluginOptions.html-BFVueRa5.js index 7d2add7f73..60f1fe43ab 100644 --- a/assets/FaasVuePluginOptions.html-DoMVsHiY.js +++ b/assets/FaasVuePluginOptions.html-BFVueRa5.js @@ -1 +1 @@ -import{_ as s,r as i,o as l,c as p,a as e,d as t,w as o,b as a,e as c}from"./app-QyD7034V.js";const d={},u=c('

    Type alias: FaasVuePluginOptions

    FaasVuePluginOptions: Object

    Type declaration

    domain

    domain: string

    options?

    ',6),r=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"options",-1),g=e("code",null,"Options",-1);function _(m,f){const n=i("RouteLink");return l(),p("div",null,[e("p",null,[t(n,{to:"/doc/vue-plugin/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/vue-plugin/"},{default:o(()=>[a("@faasjs/vue-plugin")]),_:1}),a(" / FaasVuePluginOptions")]),u,e("blockquote",null,[e("p",null,[r,a(),h,a(": "),t(n,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:o(()=>[g]),_:1})])])])}const y=s(d,[["render",_],["__file","FaasVuePluginOptions.html.vue"]]),k=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html","title":"Type alias: FaasVuePluginOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/FaasVuePluginOptions.md"}');export{y as comp,k as data}; +import{_ as s,r as i,o as l,c as p,a as e,d as t,w as o,b as a,e as c}from"./app-COoiSelr.js";const d={},u=c('

    Type alias: FaasVuePluginOptions

    FaasVuePluginOptions: Object

    Type declaration

    domain

    domain: string

    options?

    ',6),r=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"options",-1),g=e("code",null,"Options",-1);function _(m,f){const n=i("RouteLink");return l(),p("div",null,[e("p",null,[t(n,{to:"/doc/vue-plugin/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/vue-plugin/"},{default:o(()=>[a("@faasjs/vue-plugin")]),_:1}),a(" / FaasVuePluginOptions")]),u,e("blockquote",null,[e("p",null,[r,a(),h,a(": "),t(n,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:o(()=>[g]),_:1})])])])}const y=s(d,[["render",_],["__file","FaasVuePluginOptions.html.vue"]]),k=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html","title":"Type alias: FaasVuePluginOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/FaasVuePluginOptions.md"}');export{y as comp,k as data}; diff --git a/assets/FaasVuePluginOptions.html-HHHzXvly.js b/assets/FaasVuePluginOptions.html-BPSQf3bK.js similarity index 97% rename from assets/FaasVuePluginOptions.html-HHHzXvly.js rename to assets/FaasVuePluginOptions.html-BPSQf3bK.js index 4acaccbb52..74a29a1983 100644 --- a/assets/FaasVuePluginOptions.html-HHHzXvly.js +++ b/assets/FaasVuePluginOptions.html-BPSQf3bK.js @@ -1 +1 @@ -import{_ as i,r as l,o as r,c as p,a as e,d as a,w as o,b as n,e as s}from"./app-QyD7034V.js";const c={},d=s('

    Interface: FaasVuePluginOptions

    Table of contents

    Properties

    ',3),u=s('

    Properties

    domain

    domain: string


    options

    ',5),h=e("code",null,"Optional",-1),f=e("strong",null,"options",-1),g=e("code",null,"Options",-1);function _(m,v){const t=l("RouteLink");return r(),p("div",null,[e("p",null,[a(t,{to:"/doc/vue-plugin/"},{default:o(()=>[n("Documents")]),_:1}),n(" / Interface: FaasVuePluginOptions")]),d,e("ul",null,[e("li",null,[a(t,{to:"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html#domain"},{default:o(()=>[n("domain")]),_:1})]),e("li",null,[a(t,{to:"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html#options"},{default:o(()=>[n("options")]),_:1})])]),u,e("p",null,[n("• "),h,n(),f,n(": "),a(t,{to:"/doc/vue-plugin/modules.html#options"},{default:o(()=>[g]),_:1})])])}const b=i(c,[["render",_],["__file","FaasVuePluginOptions.html.vue"]]),V=JSON.parse('{"path":"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html","title":"Interface: FaasVuePluginOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"options","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/interfaces/FaasVuePluginOptions.md"}');export{b as comp,V as data}; +import{_ as i,r as l,o as r,c as p,a as e,d as a,w as o,b as n,e as s}from"./app-COoiSelr.js";const c={},d=s('

    Interface: FaasVuePluginOptions

    Table of contents

    Properties

    ',3),u=s('

    Properties

    domain

    domain: string


    options

    ',5),h=e("code",null,"Optional",-1),f=e("strong",null,"options",-1),g=e("code",null,"Options",-1);function _(m,v){const t=l("RouteLink");return r(),p("div",null,[e("p",null,[a(t,{to:"/doc/vue-plugin/"},{default:o(()=>[n("Documents")]),_:1}),n(" / Interface: FaasVuePluginOptions")]),d,e("ul",null,[e("li",null,[a(t,{to:"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html#domain"},{default:o(()=>[n("domain")]),_:1})]),e("li",null,[a(t,{to:"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html#options"},{default:o(()=>[n("options")]),_:1})])]),u,e("p",null,[n("• "),h,n(),f,n(": "),a(t,{to:"/doc/vue-plugin/modules.html#options"},{default:o(()=>[g]),_:1})])])}const b=i(c,[["render",_],["__file","FaasVuePluginOptions.html.vue"]]),V=JSON.parse('{"path":"/doc/vue-plugin/interfaces/FaasVuePluginOptions.html","title":"Interface: FaasVuePluginOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Properties","slug":"properties","link":"#properties","children":[]}]},{"level":2,"title":"Properties","slug":"properties-1","link":"#properties-1","children":[{"level":3,"title":"domain","slug":"domain","link":"#domain","children":[]},{"level":3,"title":"options","slug":"options","link":"#options","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/interfaces/FaasVuePluginOptions.md"}');export{b as comp,V as data}; diff --git a/assets/Form.ErrorList.html-BbIy5REL.js b/assets/Form.ErrorList.html-kFrdg8BL.js similarity index 92% rename from assets/Form.ErrorList.html-BbIy5REL.js rename to assets/Form.ErrorList.html-kFrdg8BL.js index 09005c96ef..a1bff1bcc4 100644 --- a/assets/Form.ErrorList.html-BbIy5REL.js +++ b/assets/Form.ErrorList.html-kFrdg8BL.js @@ -1 +1 @@ -import{_ as s,r as n,o as c,c as l,a as e,d as o,w as a,b as r}from"./app-QyD7034V.js";const i={},d=e("h1",{id:"namespace-errorlist",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-errorlist"},[e("span",null,"Namespace: ErrorList")])],-1);function m(_,p){const t=n("RouteLink");return c(),l("div",null,[e("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[r("Documents")]),_:1}),r(" / Namespace: ErrorList")]),d,e("p",null,[o(t,{to:"/doc/ant-design/modules/Form.html"},{default:a(()=>[r("Form")]),_:1}),r(".ErrorList")])])}const h=s(i,[["render",m],["__file","Form.ErrorList.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/modules/Form.ErrorList.html","title":"Namespace: ErrorList","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.ErrorList.md"}');export{h as comp,f as data}; +import{_ as s,r as n,o as c,c as l,a as e,d as o,w as a,b as r}from"./app-COoiSelr.js";const i={},d=e("h1",{id:"namespace-errorlist",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-errorlist"},[e("span",null,"Namespace: ErrorList")])],-1);function m(_,p){const t=n("RouteLink");return c(),l("div",null,[e("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[r("Documents")]),_:1}),r(" / Namespace: ErrorList")]),d,e("p",null,[o(t,{to:"/doc/ant-design/modules/Form.html"},{default:a(()=>[r("Form")]),_:1}),r(".ErrorList")])])}const h=s(i,[["render",m],["__file","Form.ErrorList.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/modules/Form.ErrorList.html","title":"Namespace: ErrorList","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.ErrorList.md"}');export{h as comp,f as data}; diff --git a/assets/Form.Item.html-DAkw75LN.js b/assets/Form.Item.html-CkxVKxOl.js similarity index 96% rename from assets/Form.Item.html-DAkw75LN.js rename to assets/Form.Item.html-CkxVKxOl.js index defd1537c6..0798620c6b 100644 --- a/assets/Form.Item.html-DAkw75LN.js +++ b/assets/Form.Item.html-CkxVKxOl.js @@ -1 +1 @@ -import{_ as o,r as c,o as l,c as i,a as e,d as s,w as a,b as t,e as u}from"./app-QyD7034V.js";const d={},r=e("h1",{id:"namespace-item",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-item"},[e("span",null,"Namespace: Item")])],-1),h=e("h2",{id:"table-of-contents",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-of-contents"},[e("span",null,"Table of contents")])],-1),m=e("h3",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1),f=u('

    Functions

    useStatus

    useStatus(): Object

    Returns

    Object

    ',5);function p(_,b){const n=c("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / Namespace: Item")]),r,e("p",null,[s(n,{to:"/doc/ant-design/modules/Form.html"},{default:a(()=>[t("Form")]),_:1}),t(".Item")]),h,m,e("ul",null,[e("li",null,[s(n,{to:"/doc/ant-design/modules/Form.Item.html#usestatus"},{default:a(()=>[t("useStatus")]),_:1})])]),f])}const x=o(d,[["render",p],["__file","Form.Item.html.vue"]]),F=JSON.parse('{"path":"/doc/ant-design/modules/Form.Item.html","title":"Namespace: Item","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Functions","slug":"functions","link":"#functions","children":[]}]},{"level":2,"title":"Functions","slug":"functions-1","link":"#functions-1","children":[{"level":3,"title":"useStatus","slug":"usestatus","link":"#usestatus","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.Item.md"}');export{x as comp,F as data}; +import{_ as o,r as c,o as l,c as i,a as e,d as s,w as a,b as t,e as u}from"./app-COoiSelr.js";const d={},r=e("h1",{id:"namespace-item",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-item"},[e("span",null,"Namespace: Item")])],-1),h=e("h2",{id:"table-of-contents",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#table-of-contents"},[e("span",null,"Table of contents")])],-1),m=e("h3",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1),f=u('

    Functions

    useStatus

    useStatus(): Object

    Returns

    Object

    ',5);function p(_,b){const n=c("RouteLink");return l(),i("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / Namespace: Item")]),r,e("p",null,[s(n,{to:"/doc/ant-design/modules/Form.html"},{default:a(()=>[t("Form")]),_:1}),t(".Item")]),h,m,e("ul",null,[e("li",null,[s(n,{to:"/doc/ant-design/modules/Form.Item.html#usestatus"},{default:a(()=>[t("useStatus")]),_:1})])]),f])}const x=o(d,[["render",p],["__file","Form.Item.html.vue"]]),F=JSON.parse('{"path":"/doc/ant-design/modules/Form.Item.html","title":"Namespace: Item","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"Functions","slug":"functions","link":"#functions","children":[]}]},{"level":2,"title":"Functions","slug":"functions-1","link":"#functions-1","children":[{"level":3,"title":"useStatus","slug":"usestatus","link":"#usestatus","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.Item.md"}');export{x as comp,F as data}; diff --git a/assets/Form.List.html-DFPYnQ6i.js b/assets/Form.List.html-D_iVIE0U.js similarity index 92% rename from assets/Form.List.html-DFPYnQ6i.js rename to assets/Form.List.html-D_iVIE0U.js index 5d5cda3e19..7d7f806588 100644 --- a/assets/Form.List.html-DFPYnQ6i.js +++ b/assets/Form.List.html-D_iVIE0U.js @@ -1 +1 @@ -import{_ as n,r as c,o as l,c as i,a as e,d as s,w as o,b as t}from"./app-QyD7034V.js";const d={},m=e("h1",{id:"namespace-list",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-list"},[e("span",null,"Namespace: List")])],-1);function r(_,p){const a=c("RouteLink");return l(),i("div",null,[e("p",null,[s(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / Namespace: List")]),m,e("p",null,[s(a,{to:"/doc/ant-design/modules/Form.html"},{default:o(()=>[t("Form")]),_:1}),t(".List")])])}const h=n(d,[["render",r],["__file","Form.List.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/modules/Form.List.html","title":"Namespace: List","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.List.md"}');export{h as comp,f as data}; +import{_ as n,r as c,o as l,c as i,a as e,d as s,w as o,b as t}from"./app-COoiSelr.js";const d={},m=e("h1",{id:"namespace-list",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-list"},[e("span",null,"Namespace: List")])],-1);function r(_,p){const a=c("RouteLink");return l(),i("div",null,[e("p",null,[s(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / Namespace: List")]),m,e("p",null,[s(a,{to:"/doc/ant-design/modules/Form.html"},{default:o(()=>[t("Form")]),_:1}),t(".List")])])}const h=n(d,[["render",r],["__file","Form.List.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/modules/Form.List.html","title":"Namespace: List","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.List.md"}');export{h as comp,f as data}; diff --git a/assets/Form.Provider.html-DwLjRsFx.js b/assets/Form.Provider.html-Bl7Ef7gB.js similarity index 92% rename from assets/Form.Provider.html-DwLjRsFx.js rename to assets/Form.Provider.html-Bl7Ef7gB.js index 08322ee3e1..560bb5eb97 100644 --- a/assets/Form.Provider.html-DwLjRsFx.js +++ b/assets/Form.Provider.html-Bl7Ef7gB.js @@ -1 +1 @@ -import{_ as n,r as d,o as s,c,a as e,d as r,w as t,b as o}from"./app-QyD7034V.js";const i={},l=e("h1",{id:"namespace-provider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-provider"},[e("span",null,"Namespace: Provider")])],-1);function m(p,_){const a=d("RouteLink");return s(),c("div",null,[e("p",null,[r(a,{to:"/doc/ant-design/"},{default:t(()=>[o("Documents")]),_:1}),o(" / Namespace: Provider")]),l,e("p",null,[r(a,{to:"/doc/ant-design/modules/Form.html"},{default:t(()=>[o("Form")]),_:1}),o(".Provider")])])}const h=n(i,[["render",m],["__file","Form.Provider.html.vue"]]),v=JSON.parse('{"path":"/doc/ant-design/modules/Form.Provider.html","title":"Namespace: Provider","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.Provider.md"}');export{h as comp,v as data}; +import{_ as n,r as d,o as s,c,a as e,d as r,w as t,b as o}from"./app-COoiSelr.js";const i={},l=e("h1",{id:"namespace-provider",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-provider"},[e("span",null,"Namespace: Provider")])],-1);function m(p,_){const a=d("RouteLink");return s(),c("div",null,[e("p",null,[r(a,{to:"/doc/ant-design/"},{default:t(()=>[o("Documents")]),_:1}),o(" / Namespace: Provider")]),l,e("p",null,[r(a,{to:"/doc/ant-design/modules/Form.html"},{default:t(()=>[o("Form")]),_:1}),o(".Provider")])])}const h=n(i,[["render",m],["__file","Form.Provider.html.vue"]]),v=JSON.parse('{"path":"/doc/ant-design/modules/Form.Provider.html","title":"Namespace: Provider","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/Form.Provider.md"}');export{h as comp,v as data}; diff --git a/assets/Form.html-DS6Zm1oI.js b/assets/Form.html-BINuzAOT.js similarity index 97% rename from assets/Form.html-DS6Zm1oI.js rename to assets/Form.html-BINuzAOT.js index db0d74cf1d..54ae1d2c8b 100644 --- a/assets/Form.html-DS6Zm1oI.js +++ b/assets/Form.html-BINuzAOT.js @@ -1 +1 @@ -import{_ as a,r as l,o as c,c as d,a as e,d as t,w as s,b as n}from"./app-QyD7034V.js";const i={},u=e("h1",{id:"function-form",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-form"},[e("span",null,"Function: Form()")])],-1),m=e("blockquote",null,[e("p",null,[e("strong",null,"Form"),n("<"),e("code",null,"Values"),n(">("),e("code",null,"props"),n("): "),e("code",null,"Element")])],-1),p=e("p",null,"Form component with Ant Design & FaasJS",-1),_={href:"https://ant.design/components/form/",target:"_blank",rel:"noopener noreferrer"},h=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),f=e("p",null,[n("• "),e("strong",null,"Values"),n(" = "),e("code",null,"any")],-1),g=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),F=e("strong",null,"props",-1),k=e("code",null,"FormProps",-1),x=e("code",null,"Values",-1),y=e("code",null,"any",-1),b=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),v=e("p",null,[e("code",null,"Element")],-1);function V(E,P){const o=l("RouteLink"),r=l("ExternalLinkIcon");return c(),d("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:s(()=>[n("Documents")]),_:1}),n(" / "),t(o,{to:"/doc/ant-design/"},{default:s(()=>[n("@faasjs/ant-design")]),_:1}),n(" / Form")]),u,m,p,e("ul",null,[e("li",null,[n("Based on "),e("a",_,[n("Ant Design Form"),t(r)]),n(".")])]),h,f,g,e("p",null,[n("• "),F,n(": "),t(o,{to:"/doc/ant-design/interfaces/FormProps.html"},{default:s(()=>[k]),_:1}),n("<"),x,n(", "),y,n(">")]),b,v])}const B=a(i,[["render",V],["__file","Form.html.vue"]]),L=JSON.parse('{"path":"/doc/ant-design/functions/Form.html","title":"Function: Form()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Form.md"}');export{B as comp,L as data}; +import{_ as a,r as l,o as c,c as d,a as e,d as t,w as s,b as n}from"./app-COoiSelr.js";const i={},u=e("h1",{id:"function-form",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-form"},[e("span",null,"Function: Form()")])],-1),m=e("blockquote",null,[e("p",null,[e("strong",null,"Form"),n("<"),e("code",null,"Values"),n(">("),e("code",null,"props"),n("): "),e("code",null,"Element")])],-1),p=e("p",null,"Form component with Ant Design & FaasJS",-1),_={href:"https://ant.design/components/form/",target:"_blank",rel:"noopener noreferrer"},h=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),f=e("p",null,[n("• "),e("strong",null,"Values"),n(" = "),e("code",null,"any")],-1),g=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),F=e("strong",null,"props",-1),k=e("code",null,"FormProps",-1),x=e("code",null,"Values",-1),y=e("code",null,"any",-1),b=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),v=e("p",null,[e("code",null,"Element")],-1);function V(E,P){const o=l("RouteLink"),r=l("ExternalLinkIcon");return c(),d("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:s(()=>[n("Documents")]),_:1}),n(" / "),t(o,{to:"/doc/ant-design/"},{default:s(()=>[n("@faasjs/ant-design")]),_:1}),n(" / Form")]),u,m,p,e("ul",null,[e("li",null,[n("Based on "),e("a",_,[n("Ant Design Form"),t(r)]),n(".")])]),h,f,g,e("p",null,[n("• "),F,n(": "),t(o,{to:"/doc/ant-design/interfaces/FormProps.html"},{default:s(()=>[k]),_:1}),n("<"),x,n(", "),y,n(">")]),b,v])}const B=a(i,[["render",V],["__file","Form.html.vue"]]),L=JSON.parse('{"path":"/doc/ant-design/functions/Form.html","title":"Function: Form()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Form.md"}');export{B as comp,L as data}; diff --git a/assets/Form.html-D7TpIH8H.js b/assets/Form.html-sQLZ3R03.js similarity index 99% rename from assets/Form.html-D7TpIH8H.js rename to assets/Form.html-sQLZ3R03.js index 9d11e5deb2..ac008ddd78 100644 --- a/assets/Form.html-D7TpIH8H.js +++ b/assets/Form.html-sQLZ3R03.js @@ -1,4 +1,4 @@ -import{_ as n,r as c,o as l,c as r,a as e,d as a,w as o,b as t,e as s}from"./app-QyD7034V.js";const i={},h=s('

    Namespace: Form

    Table of contents

    Namespaces

    ',3),p=e("h3",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1),m=s(`

    Functions

    ErrorList

    ErrorList(props, context?): ReactNode

    Parameters

    NameType
    propsErrorListProps
    context?any

    Returns

    ReactNode


    Item

    Item<T>(props): Element

    FormItem, can be used without Form.

    // use inline type
    +import{_ as n,r as c,o as l,c as r,a as e,d as a,w as o,b as t,e as s}from"./app-COoiSelr.js";const i={},h=s('

    Namespace: Form

    Table of contents

    Namespaces

    ',3),p=e("h3",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1),m=s(`

    Functions

    ErrorList

    ErrorList(props, context?): ReactNode

    Parameters

    NameType
    propsErrorListProps
    context?any

    Returns

    ReactNode


    Item

    Item<T>(props): Element

    FormItem, can be used without Form.

    // use inline type
     <FormItem type='string' id='name' />
     
     // use custom type
    diff --git a/assets/FormItem.html-CFr7Neo7.js b/assets/FormItem.html-BCzaeBU2.js
    similarity index 98%
    rename from assets/FormItem.html-CFr7Neo7.js
    rename to assets/FormItem.html-BCzaeBU2.js
    index a2a7c22489..be5377ab81 100644
    --- a/assets/FormItem.html-CFr7Neo7.js
    +++ b/assets/FormItem.html-BCzaeBU2.js
    @@ -1,4 +1,4 @@
    -import{_ as p,r as l,o as c,c as r,a as n,d as s,w as t,b as a,e as i}from"./app-QyD7034V.js";const u={},d=n("h1",{id:"function-formitem",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-formitem"},[n("span",null,"Function: FormItem()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"FormItem"),a("<"),n("code",null,"T"),a(">("),n("code",null,"props"),a("): "),n("code",null,"Element")])],-1),h=n("p",null,"FormItem",-1),k={href:"https://ant.design/components/form#formitem",target:"_blank",rel:"noopener noreferrer"},_={href:"https://faasjs.com/doc/ant-design/#form",target:"_blank",rel:"noopener noreferrer"},g=n("h2",{id:"type-parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-parameters"},[n("span",null,"Type parameters")])],-1),f=n("p",null,[a("• "),n("strong",null,"T"),a(" = "),n("code",null,"any")],-1),v=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),x=n("strong",null,"props",-1),b=n("code",null,"FormItemProps",-1),F=n("code",null,"T",-1),I=i(`

    Returns

    Element

    Example

    // use inline type
    +import{_ as p,r as l,o as c,c as r,a as n,d as s,w as t,b as a,e as i}from"./app-COoiSelr.js";const u={},d=n("h1",{id:"function-formitem",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-formitem"},[n("span",null,"Function: FormItem()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"FormItem"),a("<"),n("code",null,"T"),a(">("),n("code",null,"props"),a("): "),n("code",null,"Element")])],-1),h=n("p",null,"FormItem",-1),k={href:"https://ant.design/components/form#formitem",target:"_blank",rel:"noopener noreferrer"},_={href:"https://faasjs.com/doc/ant-design/#form",target:"_blank",rel:"noopener noreferrer"},g=n("h2",{id:"type-parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-parameters"},[n("span",null,"Type parameters")])],-1),f=n("p",null,[a("• "),n("strong",null,"T"),a(" = "),n("code",null,"any")],-1),v=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),x=n("strong",null,"props",-1),b=n("code",null,"FormItemProps",-1),F=n("code",null,"T",-1),I=i(`

    Returns

    Element

    Example

    // use inline type
     <FormItem type='string' id='name' />
     
     // use custom type
    diff --git a/assets/FormItem.html-CH_gTJv8.js b/assets/FormItem.html-C9hB80hO.js
    similarity index 96%
    rename from assets/FormItem.html-CH_gTJv8.js
    rename to assets/FormItem.html-C9hB80hO.js
    index e84edd7da1..2bf7b6fcc5 100644
    --- a/assets/FormItem.html-CH_gTJv8.js
    +++ b/assets/FormItem.html-C9hB80hO.js
    @@ -1 +1 @@
    -import{_ as l,r as o,o as r,c,a as e,d as a,w as n,b as t,e as d}from"./app-QyD7034V.js";const i={},m=d('

    Namespace: FormItem

    Table of contents

    References

    ',3),u=e("h2",{id:"references-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#references-1"},[e("span",null,"References")])],-1),h=e("h3",{id:"usestatus",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#usestatus"},[e("span",null,"useStatus")])],-1);function f(p,_){const s=o("RouteLink");return r(),c("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / Namespace: FormItem")]),m,e("ul",null,[e("li",null,[a(s,{to:"/doc/ant-design/modules/FormItem.html#usestatus"},{default:n(()=>[t("useStatus")]),_:1})])]),u,h,e("p",null,[t("Re-exports "),a(s,{to:"/doc/ant-design/modules/Form.Item.html#usestatus"},{default:n(()=>[t("useStatus")]),_:1})])])}const g=l(i,[["render",f],["__file","FormItem.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/modules/FormItem.html","title":"Namespace: FormItem","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"References","slug":"references","link":"#references","children":[]}]},{"level":2,"title":"References","slug":"references-1","link":"#references-1","children":[{"level":3,"title":"useStatus","slug":"usestatus","link":"#usestatus","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/FormItem.md"}');export{g as comp,x as data}; +import{_ as l,r as o,o as r,c,a as e,d as a,w as n,b as t,e as d}from"./app-COoiSelr.js";const i={},m=d('

    Namespace: FormItem

    Table of contents

    References

    ',3),u=e("h2",{id:"references-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#references-1"},[e("span",null,"References")])],-1),h=e("h3",{id:"usestatus",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#usestatus"},[e("span",null,"useStatus")])],-1);function f(p,_){const s=o("RouteLink");return r(),c("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / Namespace: FormItem")]),m,e("ul",null,[e("li",null,[a(s,{to:"/doc/ant-design/modules/FormItem.html#usestatus"},{default:n(()=>[t("useStatus")]),_:1})])]),u,h,e("p",null,[t("Re-exports "),a(s,{to:"/doc/ant-design/modules/Form.Item.html#usestatus"},{default:n(()=>[t("useStatus")]),_:1})])])}const g=l(i,[["render",f],["__file","FormItem.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/modules/FormItem.html","title":"Namespace: FormItem","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Table of contents","slug":"table-of-contents","link":"#table-of-contents","children":[{"level":3,"title":"References","slug":"references","link":"#references","children":[]}]},{"level":2,"title":"References","slug":"references-1","link":"#references-1","children":[{"level":3,"title":"useStatus","slug":"usestatus","link":"#usestatus","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/modules/FormItem.md"}');export{g as comp,x as data}; diff --git a/assets/FormItemProps.html-C2B2pUri.js b/assets/FormItemProps.html-DRrQzENR.js similarity index 99% rename from assets/FormItemProps.html-C2B2pUri.js rename to assets/FormItemProps.html-DRrQzENR.js index 00f2d32a81..3754aef874 100644 --- a/assets/FormItemProps.html-C2B2pUri.js +++ b/assets/FormItemProps.html-DRrQzENR.js @@ -1,2 +1,2 @@ -import{_ as a,r as d,o as r,c as i,a as e,d as n,w as s,b as o,e as l}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"interface-formitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-formitemprops-t"},[e("span",null,"Interface: FormItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=e("code",null,"Omit",-1),m=e("code",null,"AntdFormItemProps",-1),g=e("code",null,"T",-1),f=e("code",null,'"id"',-1),b=e("code",null,'"children"',-1),x=e("code",null,'"render"',-1),k=l('

    Type parameters

    T = any

    Properties

    children?

    ',4),v=e("strong",null,[e("code",null,"optional")],-1),y=e("strong",null,"children",-1),I=e("code",null,"UnionFaasItemElement",-1),q=e("code",null,"T",-1),F=l('

    col?

    optional col: number

    disabled?

    optional disabled: boolean

    extendTypes?

    ',5),P=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"extendTypes",-1),R=e("code",null,"ExtendTypes",-1),O=e("h3",{id:"formchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formchildren"},[e("span",null,"formChildren?")])],-1),j=e("strong",null,[e("code",null,"optional")],-1),C=e("strong",null,"formChildren",-1),E=e("code",null,"UnionFaasItemElement",-1),U=e("code",null,"T",-1),V=e("h3",{id:"formrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formrender"},[e("span",null,"formRender?")])],-1),N=e("strong",null,[e("code",null,"optional")],-1),w=e("strong",null,"formRender",-1),B=e("code",null,"UnionFaasItemRender",-1),S=e("code",null,"T",-1),D=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),L=e("blockquote",null,[e("p",null,[e("strong",null,"id"),o(": "),e("code",null,"string")])],-1),A=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),J=e("code",null,"FaasItemProps",-1),z=e("code",null,"id",-1),G=l('

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    input?

    optional input: InputProps | InputNumberProps<ValueType> | SwitchProps | SelectProps<T, DefaultOptionType> | DatePickerProps

    label?

    optional label: string | false

    Overrides

    Omit.label

    maxCount?

    optional maxCount: number

    object?

    ',16),H=e("strong",null,[e("code",null,"optional")],-1),K=e("strong",null,"object",-1),M=e("code",null,"FormItemProps",-1),Q=e("code",null,"any",-1),W=l('

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: T

    values: any

    form: FormInstance<any>

    Returns

    void

    options?

    ',10),X=e("strong",null,[e("code",null,"optional")],-1),Y=e("strong",null,"options",-1),Z=e("code",null,"BaseOption",-1),$=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),ee=e("code",null,"FaasItemProps",-1),oe=e("code",null,"options",-1),te=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),ne=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"render",-1),le=e("code",null,"UnionFaasItemRender",-1),ae=e("code",null,"T",-1),de=l('

    required?

    optional required: boolean

    Overrides

    Omit.required

    rules?

    optional rules: RuleObject[]

    Overrides

    Omit.rules

    title?

    optional title: string

    Inherited from

    ',11),re=e("code",null,"FaasItemProps",-1),ie=e("code",null,"title",-1),ce=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),pe=e("strong",null,"type",-1),ue=e("code",null,"FaasItemType",-1),_e=l(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
    +import{_ as a,r as d,o as r,c as i,a as e,d as n,w as s,b as o,e as l}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"interface-formitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-formitemprops-t"},[e("span",null,"Interface: FormItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=e("code",null,"Omit",-1),m=e("code",null,"AntdFormItemProps",-1),g=e("code",null,"T",-1),f=e("code",null,'"id"',-1),b=e("code",null,'"children"',-1),x=e("code",null,'"render"',-1),k=l('

    Type parameters

    T = any

    Properties

    children?

    ',4),v=e("strong",null,[e("code",null,"optional")],-1),y=e("strong",null,"children",-1),I=e("code",null,"UnionFaasItemElement",-1),q=e("code",null,"T",-1),F=l('

    col?

    optional col: number

    disabled?

    optional disabled: boolean

    extendTypes?

    ',5),P=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"extendTypes",-1),R=e("code",null,"ExtendTypes",-1),O=e("h3",{id:"formchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formchildren"},[e("span",null,"formChildren?")])],-1),j=e("strong",null,[e("code",null,"optional")],-1),C=e("strong",null,"formChildren",-1),E=e("code",null,"UnionFaasItemElement",-1),U=e("code",null,"T",-1),V=e("h3",{id:"formrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formrender"},[e("span",null,"formRender?")])],-1),N=e("strong",null,[e("code",null,"optional")],-1),w=e("strong",null,"formRender",-1),B=e("code",null,"UnionFaasItemRender",-1),S=e("code",null,"T",-1),D=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),L=e("blockquote",null,[e("p",null,[e("strong",null,"id"),o(": "),e("code",null,"string")])],-1),A=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),J=e("code",null,"FaasItemProps",-1),z=e("code",null,"id",-1),G=l('

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    input?

    optional input: InputProps | InputNumberProps<ValueType> | SwitchProps | SelectProps<T, DefaultOptionType> | DatePickerProps

    label?

    optional label: string | false

    Overrides

    Omit.label

    maxCount?

    optional maxCount: number

    object?

    ',16),H=e("strong",null,[e("code",null,"optional")],-1),K=e("strong",null,"object",-1),M=e("code",null,"FormItemProps",-1),Q=e("code",null,"any",-1),W=l('

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: T

    values: any

    form: FormInstance<any>

    Returns

    void

    options?

    ',10),X=e("strong",null,[e("code",null,"optional")],-1),Y=e("strong",null,"options",-1),Z=e("code",null,"BaseOption",-1),$=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),ee=e("code",null,"FaasItemProps",-1),oe=e("code",null,"options",-1),te=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),ne=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"render",-1),le=e("code",null,"UnionFaasItemRender",-1),ae=e("code",null,"T",-1),de=l('

    required?

    optional required: boolean

    Overrides

    Omit.required

    rules?

    optional rules: RuleObject[]

    Overrides

    Omit.rules

    title?

    optional title: string

    Inherited from

    ',11),re=e("code",null,"FaasItemProps",-1),ie=e("code",null,"title",-1),ce=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),pe=e("strong",null,"type",-1),ue=e("code",null,"FaasItemType",-1),_e=l(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    `,4),me=e("code",null,"FaasItemProps",-1),ge=e("code",null,"type",-1);function fe(be,xe){const t=d("RouteLink");return r(),i("div",null,[e("p",null,[n(t,{to:"/doc/ant-design/"},{default:s(()=>[o("Documents")]),_:1}),o(" / "),n(t,{to:"/doc/ant-design/"},{default:s(()=>[o("@faasjs/ant-design")]),_:1}),o(" / FormItemProps")]),h,p,e("ul",null,[e("li",null,[n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[u]),_:1}),o("."),_,o("<"),m,o("<"),g,o(">, "),f,o(" | "),b,o(" | "),x,o(">")])]),k,e("blockquote",null,[e("p",null,[v,o(),y,o(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:s(()=>[I]),_:1}),o("<"),q,o(">")])]),F,e("blockquote",null,[e("p",null,[P,o(),T,o(": "),n(t,{to:"/doc/ant-design/type-aliases/ExtendTypes.html"},{default:s(()=>[R]),_:1})])]),O,e("blockquote",null,[e("p",null,[j,o(),C,o(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:s(()=>[E]),_:1}),o("<"),U,o(">")])]),V,e("blockquote",null,[e("p",null,[N,o(),w,o(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:s(()=>[B]),_:1}),o("<"),S,o(">")])]),D,L,A,e("p",null,[n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[J]),_:1}),o("."),n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html#id"},{default:s(()=>[z]),_:1})]),G,e("blockquote",null,[e("p",null,[H,o(),K,o(": "),n(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:s(()=>[M]),_:1}),o("<"),Q,o(">[]")])]),W,e("blockquote",null,[e("p",null,[X,o(),Y,o(": "),n(t,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:s(()=>[Z]),_:1}),o("[]")])]),$,e("p",null,[n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[ee]),_:1}),o("."),n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html#options"},{default:s(()=>[oe]),_:1})]),te,e("blockquote",null,[e("p",null,[ne,o(),se,o(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:s(()=>[le]),_:1}),o("<"),ae,o(">")])]),de,e("p",null,[n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[re]),_:1}),o("."),n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html#title"},{default:s(()=>[ie]),_:1})]),ce,e("blockquote",null,[e("p",null,[he,o(),pe,o(": "),n(t,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:s(()=>[ue]),_:1})])]),_e,e("p",null,[n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:s(()=>[me]),_:1}),o("."),n(t,{to:"/doc/ant-design/interfaces/FaasItemProps.html#type"},{default:s(()=>[ge]),_:1})])])}const ve=a(c,[["render",fe],["__file","FormItemProps.html.vue"]]),ye=JSON.parse('{"path":"/doc/ant-design/interfaces/FormItemProps.html","title":"Interface: FormItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"col?","slug":"col","link":"#col","children":[]},{"level":3,"title":"disabled?","slug":"disabled","link":"#disabled","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"formChildren?","slug":"formchildren","link":"#formchildren","children":[]},{"level":3,"title":"formRender?","slug":"formrender","link":"#formrender","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"if()?","slug":"if","link":"#if","children":[]},{"level":3,"title":"input?","slug":"input","link":"#input","children":[]},{"level":3,"title":"label?","slug":"label","link":"#label","children":[]},{"level":3,"title":"maxCount?","slug":"maxcount","link":"#maxcount","children":[]},{"level":3,"title":"object?","slug":"object","link":"#object","children":[]},{"level":3,"title":"onValueChange()?","slug":"onvaluechange","link":"#onvaluechange","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]},{"level":3,"title":"required?","slug":"required","link":"#required","children":[]},{"level":3,"title":"rules?","slug":"rules","link":"#rules","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FormItemProps.md"}');export{ve as comp,ye as data}; diff --git a/assets/FormProps.html-Be9lBy13.js b/assets/FormProps.html-BKohsGhm.js similarity index 98% rename from assets/FormProps.html-Be9lBy13.js rename to assets/FormProps.html-BKohsGhm.js index ddc6685af5..76c5e9d1d6 100644 --- a/assets/FormProps.html-Be9lBy13.js +++ b/assets/FormProps.html-BKohsGhm.js @@ -1 +1 @@ -import{_ as l,r,o as d,c as i,a as e,d as s,w as n,b as t,e as a}from"./app-QyD7034V.js";const c={},p=a('

    Interface: FormProps<Values, ExtendItemProps>

    Extends

    • Omit<AntdFormProps<Values>, "onFinish" | "children" | "initialValues">

    Type parameters

    Values extends Record<string, any> = any

    ExtendItemProps = any

    Properties

    beforeItems?

    optional beforeItems: Element | Element[]

    children?

    optional children: ReactNode

    extendTypes?

    ',12),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"extendTypes",-1),m=e("code",null,"ExtendTypes",-1),g=a('

    optional footer: Element | Element[]

    initialValues?

    optional initialValues: Values

    items?

    ',5),f=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"items",-1),b=e("code",null,"Element",-1),x=e("code",null,"FormItemProps",-1),k=e("code",null,"any",-1),v=e("code",null,"ExtendItemProps",-1),y=a('

    onFinish()?

    optional onFinish: (values, submit?) => Promise<any>

    Parameters

    values: Values

    submit?

    Returns

    Promise<any>

    submit?

    ',8),P=e("strong",null,[e("code",null,"optional")],-1),q=e("strong",null,"submit",-1),F=e("code",null,"false",-1),E=e("code",null,"FormSubmitProps",-1),V=e("p",null,"Default: { text: 'Submit' }, set false to disable it",-1);function I(T,N){const o=r("RouteLink");return d(),i("div",null,[e("p",null,[s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / FormProps")]),p,e("blockquote",null,[e("p",null,[h,t(),u,t(": "),s(o,{to:"/doc/ant-design/type-aliases/ExtendTypes.html"},{default:n(()=>[m]),_:1})])]),g,e("blockquote",null,[e("p",null,[f,t(),_,t(": ("),b,t(" | "),s(o,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:n(()=>[x]),_:1}),t("<"),k,t("> | "),v,t(")[]")])]),y,e("blockquote",null,[e("p",null,[P,t(),q,t(": "),F,t(" | "),s(o,{to:"/doc/ant-design/type-aliases/FormSubmitProps.html"},{default:n(()=>[E]),_:1})])]),V])}const S=l(c,[["render",I],["__file","FormProps.html.vue"]]),B=JSON.parse('{"path":"/doc/ant-design/interfaces/FormProps.html","title":"Interface: FormProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"beforeItems?","slug":"beforeitems","link":"#beforeitems","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"footer?","slug":"footer","link":"#footer","children":[]},{"level":3,"title":"initialValues?","slug":"initialvalues","link":"#initialvalues","children":[]},{"level":3,"title":"items?","slug":"items","link":"#items","children":[]},{"level":3,"title":"onFinish()?","slug":"onfinish","link":"#onfinish","children":[]},{"level":3,"title":"submit?","slug":"submit","link":"#submit","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FormProps.md"}');export{S as comp,B as data}; +import{_ as l,r,o as d,c as i,a as e,d as s,w as n,b as t,e as a}from"./app-COoiSelr.js";const c={},p=a('

    Interface: FormProps<Values, ExtendItemProps>

    Extends

    • Omit<AntdFormProps<Values>, "onFinish" | "children" | "initialValues">

    Type parameters

    Values extends Record<string, any> = any

    ExtendItemProps = any

    Properties

    beforeItems?

    optional beforeItems: Element | Element[]

    children?

    optional children: ReactNode

    extendTypes?

    ',12),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"extendTypes",-1),m=e("code",null,"ExtendTypes",-1),g=a('

    optional footer: Element | Element[]

    initialValues?

    optional initialValues: Values

    items?

    ',5),f=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"items",-1),b=e("code",null,"Element",-1),x=e("code",null,"FormItemProps",-1),k=e("code",null,"any",-1),v=e("code",null,"ExtendItemProps",-1),y=a('

    onFinish()?

    optional onFinish: (values, submit?) => Promise<any>

    Parameters

    values: Values

    submit?

    Returns

    Promise<any>

    submit?

    ',8),P=e("strong",null,[e("code",null,"optional")],-1),q=e("strong",null,"submit",-1),F=e("code",null,"false",-1),E=e("code",null,"FormSubmitProps",-1),V=e("p",null,"Default: { text: 'Submit' }, set false to disable it",-1);function I(T,N){const o=r("RouteLink");return d(),i("div",null,[e("p",null,[s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / FormProps")]),p,e("blockquote",null,[e("p",null,[h,t(),u,t(": "),s(o,{to:"/doc/ant-design/type-aliases/ExtendTypes.html"},{default:n(()=>[m]),_:1})])]),g,e("blockquote",null,[e("p",null,[f,t(),_,t(": ("),b,t(" | "),s(o,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:n(()=>[x]),_:1}),t("<"),k,t("> | "),v,t(")[]")])]),y,e("blockquote",null,[e("p",null,[P,t(),q,t(": "),F,t(" | "),s(o,{to:"/doc/ant-design/type-aliases/FormSubmitProps.html"},{default:n(()=>[E]),_:1})])]),V])}const S=l(c,[["render",I],["__file","FormProps.html.vue"]]),B=JSON.parse('{"path":"/doc/ant-design/interfaces/FormProps.html","title":"Interface: FormProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"beforeItems?","slug":"beforeitems","link":"#beforeitems","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"footer?","slug":"footer","link":"#footer","children":[]},{"level":3,"title":"initialValues?","slug":"initialvalues","link":"#initialvalues","children":[]},{"level":3,"title":"items?","slug":"items","link":"#items","children":[]},{"level":3,"title":"onFinish()?","slug":"onfinish","link":"#onfinish","children":[]},{"level":3,"title":"submit?","slug":"submit","link":"#submit","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/FormProps.md"}');export{S as comp,B as data}; diff --git a/assets/FormSubmitProps.html-Cm76URFq.js b/assets/FormSubmitProps.html-DSs5PHzj.js similarity index 99% rename from assets/FormSubmitProps.html-Cm76URFq.js rename to assets/FormSubmitProps.html-DSs5PHzj.js index 14275bca07..d430631d14 100644 --- a/assets/FormSubmitProps.html-Cm76URFq.js +++ b/assets/FormSubmitProps.html-DSs5PHzj.js @@ -1,4 +1,4 @@ -import{_ as t,r as o,o as c,c as i,a as r,d as e,w as s,b as a,e as l}from"./app-QyD7034V.js";const p={},d=l(`

    Type alias: FormSubmitProps

    FormSubmitProps: Object

    Type declaration

    text?

    optional text: string

    Default: Submit

    to?

    optional to: Object

    Submit to FaasJS server.

    If use onFinish, you should call submit manually.

    {
    +import{_ as t,r as o,o as c,c as i,a as r,d as e,w as s,b as a,e as l}from"./app-COoiSelr.js";const p={},d=l(`

    Type alias: FormSubmitProps

    FormSubmitProps: Object

    Type declaration

    text?

    optional text: string

    Default: Submit

    to?

    optional to: Object

    Submit to FaasJS server.

    If use onFinish, you should call submit manually.

    {
       submit: {
         to: {
           action: 'action_name'
    diff --git a/assets/Func.html-B85Ly-JH.js b/assets/Func.html-9U5nl3UZ.js
    similarity index 99%
    rename from assets/Func.html-B85Ly-JH.js
    rename to assets/Func.html-9U5nl3UZ.js
    index fbc171d5e4..f1ae58fa50 100644
    --- a/assets/Func.html-B85Ly-JH.js
    +++ b/assets/Func.html-9U5nl3UZ.js
    @@ -1 +1 @@
    -import{_ as a,r as c,o as d,c as r,a as e,d as o,w as l,b as n,e as s}from"./app-QyD7034V.js";const i={},h=s('

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    ',9),u=e("strong",null,"new Func",-1),p=e("code",null,"TEvent",-1),_=e("code",null,"TContext",-1),f=e("code",null,"TResult",-1),g=e("code",null,"config",-1),m=e("code",null,"Func",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),v=e("code",null,"TResult",-1),k=e("p",null,"Create a cloud function",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),y=e("strong",null,"config",-1),C=e("code",null,"FuncConfig",-1),F=e("code",null,"TEvent",-1),R=e("code",null,"TContext",-1),q=e("code",null,"any",-1),E=e("p",null,"{object} config",-1),P=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"Func",-1),D=e("code",null,"TEvent",-1),j=e("code",null,"TContext",-1),I=e("code",null,"TResult",-1),N=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),H=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),V=e("strong",null,"config",-1),B=e("code",null,"Config",-1),L=e("h3",{id:"filename",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#filename"},[e("span",null,"filename?")])],-1),O=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"filename"),n(": "),e("code",null,"string")])],-1),M=e("h3",{id:"handler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#handler"},[e("span",null,"handler?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"handler",-1),z=e("code",null,"Handler",-1),A=e("code",null,"TEvent",-1),G=e("code",null,"TContext",-1),K=e("code",null,"TResult",-1),Q=e("h3",{id:"mounted",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mounted"},[e("span",null,"mounted")])],-1),U=e("blockquote",null,[e("p",null,[e("strong",null,"mounted"),n(": "),e("code",null,"boolean")])],-1),W=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins")])],-1),X=e("strong",null,"plugins",-1),Y=e("code",null,"Plugin",-1),Z=s('

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    ',5),$=e("strong",null,"data",-1),ee=e("code",null,"DeployData",-1),ne=s('

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler
    ',9),te=e("strong",null,"handler",-1),oe=e("code",null,"ExportedHandler",-1),le=e("code",null,"TEvent",-1),se=e("code",null,"TContext",-1),ae=e("code",null,"TResult",-1),ce=s('

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    ',4),de=e("strong",null,"data",-1),re=e("code",null,"InvokeData",-1),ie=e("code",null,"TEvent",-1),he=e("code",null,"TContext",-1),ue=e("code",null,"TResult",-1),pe=s('

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    ',8),_e=e("strong",null,"data.config?",-1),fe=e("code",null,"Config",-1),ge=s('

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    ',5);function me(xe,be){const t=c("RouteLink");return d(),r("div",null,[e("p",null,[o(t,{to:"/doc/func/"},{default:l(()=>[n("Documents")]),_:1}),n(" / "),o(t,{to:"/doc/func/"},{default:l(()=>[n("@faasjs/func")]),_:1}),n(" / Func")]),h,e("blockquote",null,[e("p",null,[u,n("<"),p,n(", "),_,n(", "),f,n(">("),g,n("): "),o(t,{to:"/doc/func/classes/Func.html"},{default:l(()=>[m]),_:1}),n("<"),x,n(", "),b,n(", "),v,n(">")])]),k,T,e("p",null,[n("• "),y,n(": "),o(t,{to:"/doc/func/type-aliases/FuncConfig.html"},{default:l(()=>[C]),_:1}),n("<"),F,n(", "),R,n(", "),q,n(">")]),E,P,e("p",null,[o(t,{to:"/doc/func/classes/Func.html"},{default:l(()=>[w]),_:1}),n("<"),D,n(", "),j,n(", "),I,n(">")]),N,H,e("blockquote",null,[e("p",null,[V,n(": "),o(t,{to:"/doc/func/type-aliases/Config.html"},{default:l(()=>[B]),_:1})])]),L,O,M,e("blockquote",null,[e("p",null,[S,n(),J,n(": "),o(t,{to:"/doc/func/type-aliases/Handler.html"},{default:l(()=>[z]),_:1}),n("<"),A,n(", "),G,n(", "),K,n(">")])]),Q,U,W,e("blockquote",null,[e("p",null,[X,n(": "),o(t,{to:"/doc/func/type-aliases/Plugin.html"},{default:l(()=>[Y]),_:1}),n("[]")])]),Z,e("p",null,[n("• "),$,n(": "),o(t,{to:"/doc/func/type-aliases/DeployData.html"},{default:l(()=>[ee]),_:1})]),ne,e("blockquote",null,[e("p",null,[te,n(": "),o(t,{to:"/doc/func/type-aliases/ExportedHandler.html"},{default:l(()=>[oe]),_:1}),n("<"),le,n(", "),se,n(", "),ae,n(">")])]),ce,e("p",null,[n("• "),de,n(": "),o(t,{to:"/doc/func/type-aliases/InvokeData.html"},{default:l(()=>[re]),_:1}),n("<"),ie,n(", "),he,n(", "),ue,n(">")]),pe,e("p",null,[n("• "),_e,n(": "),o(t,{to:"/doc/func/type-aliases/Config.html"},{default:l(()=>[fe]),_:1})]),ge])}const ke=a(i,[["render",me],["__file","Func.html.vue"]]),Te=JSON.parse('{"path":"/doc/func/classes/Func.html","title":"Class: Func","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Indexable","slug":"indexable","link":"#indexable","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Func(config)","slug":"new-func-config","link":"#new-func-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"filename?","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"mounted","slug":"mounted","link":"#mounted","children":[]},{"level":3,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"export()","slug":"export","link":"#export","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"mount()","slug":"mount","link":"#mount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/classes/Func.md"}');export{ke as comp,Te as data}; +import{_ as a,r as c,o as d,c as r,a as e,d as o,w as l,b as n,e as s}from"./app-COoiSelr.js";const i={},h=s('

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    ',9),u=e("strong",null,"new Func",-1),p=e("code",null,"TEvent",-1),_=e("code",null,"TContext",-1),f=e("code",null,"TResult",-1),g=e("code",null,"config",-1),m=e("code",null,"Func",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),v=e("code",null,"TResult",-1),k=e("p",null,"Create a cloud function",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),y=e("strong",null,"config",-1),C=e("code",null,"FuncConfig",-1),F=e("code",null,"TEvent",-1),R=e("code",null,"TContext",-1),q=e("code",null,"any",-1),E=e("p",null,"{object} config",-1),P=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"Func",-1),D=e("code",null,"TEvent",-1),j=e("code",null,"TContext",-1),I=e("code",null,"TResult",-1),N=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),H=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),V=e("strong",null,"config",-1),B=e("code",null,"Config",-1),L=e("h3",{id:"filename",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#filename"},[e("span",null,"filename?")])],-1),O=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"filename"),n(": "),e("code",null,"string")])],-1),M=e("h3",{id:"handler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#handler"},[e("span",null,"handler?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"handler",-1),z=e("code",null,"Handler",-1),A=e("code",null,"TEvent",-1),G=e("code",null,"TContext",-1),K=e("code",null,"TResult",-1),Q=e("h3",{id:"mounted",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mounted"},[e("span",null,"mounted")])],-1),U=e("blockquote",null,[e("p",null,[e("strong",null,"mounted"),n(": "),e("code",null,"boolean")])],-1),W=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins")])],-1),X=e("strong",null,"plugins",-1),Y=e("code",null,"Plugin",-1),Z=s('

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    ',5),$=e("strong",null,"data",-1),ee=e("code",null,"DeployData",-1),ne=s('

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler
    ',9),te=e("strong",null,"handler",-1),oe=e("code",null,"ExportedHandler",-1),le=e("code",null,"TEvent",-1),se=e("code",null,"TContext",-1),ae=e("code",null,"TResult",-1),ce=s('

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    ',4),de=e("strong",null,"data",-1),re=e("code",null,"InvokeData",-1),ie=e("code",null,"TEvent",-1),he=e("code",null,"TContext",-1),ue=e("code",null,"TResult",-1),pe=s('

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    ',8),_e=e("strong",null,"data.config?",-1),fe=e("code",null,"Config",-1),ge=s('

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    ',5);function me(xe,be){const t=c("RouteLink");return d(),r("div",null,[e("p",null,[o(t,{to:"/doc/func/"},{default:l(()=>[n("Documents")]),_:1}),n(" / "),o(t,{to:"/doc/func/"},{default:l(()=>[n("@faasjs/func")]),_:1}),n(" / Func")]),h,e("blockquote",null,[e("p",null,[u,n("<"),p,n(", "),_,n(", "),f,n(">("),g,n("): "),o(t,{to:"/doc/func/classes/Func.html"},{default:l(()=>[m]),_:1}),n("<"),x,n(", "),b,n(", "),v,n(">")])]),k,T,e("p",null,[n("• "),y,n(": "),o(t,{to:"/doc/func/type-aliases/FuncConfig.html"},{default:l(()=>[C]),_:1}),n("<"),F,n(", "),R,n(", "),q,n(">")]),E,P,e("p",null,[o(t,{to:"/doc/func/classes/Func.html"},{default:l(()=>[w]),_:1}),n("<"),D,n(", "),j,n(", "),I,n(">")]),N,H,e("blockquote",null,[e("p",null,[V,n(": "),o(t,{to:"/doc/func/type-aliases/Config.html"},{default:l(()=>[B]),_:1})])]),L,O,M,e("blockquote",null,[e("p",null,[S,n(),J,n(": "),o(t,{to:"/doc/func/type-aliases/Handler.html"},{default:l(()=>[z]),_:1}),n("<"),A,n(", "),G,n(", "),K,n(">")])]),Q,U,W,e("blockquote",null,[e("p",null,[X,n(": "),o(t,{to:"/doc/func/type-aliases/Plugin.html"},{default:l(()=>[Y]),_:1}),n("[]")])]),Z,e("p",null,[n("• "),$,n(": "),o(t,{to:"/doc/func/type-aliases/DeployData.html"},{default:l(()=>[ee]),_:1})]),ne,e("blockquote",null,[e("p",null,[te,n(": "),o(t,{to:"/doc/func/type-aliases/ExportedHandler.html"},{default:l(()=>[oe]),_:1}),n("<"),le,n(", "),se,n(", "),ae,n(">")])]),ce,e("p",null,[n("• "),de,n(": "),o(t,{to:"/doc/func/type-aliases/InvokeData.html"},{default:l(()=>[re]),_:1}),n("<"),ie,n(", "),he,n(", "),ue,n(">")]),pe,e("p",null,[n("• "),_e,n(": "),o(t,{to:"/doc/func/type-aliases/Config.html"},{default:l(()=>[fe]),_:1})]),ge])}const ke=a(i,[["render",me],["__file","Func.html.vue"]]),Te=JSON.parse('{"path":"/doc/func/classes/Func.html","title":"Class: Func","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Indexable","slug":"indexable","link":"#indexable","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Func(config)","slug":"new-func-config","link":"#new-func-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"filename?","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"mounted","slug":"mounted","link":"#mounted","children":[]},{"level":3,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"export()","slug":"export","link":"#export","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"mount()","slug":"mount","link":"#mount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/classes/Func.md"}');export{ke as comp,Te as data}; diff --git a/assets/Func.html-CIPxnBXQ.js b/assets/Func.html-DHB1ClUd.js similarity index 99% rename from assets/Func.html-CIPxnBXQ.js rename to assets/Func.html-DHB1ClUd.js index b19a871bc9..73baa43116 100644 --- a/assets/Func.html-CIPxnBXQ.js +++ b/assets/Func.html-DHB1ClUd.js @@ -1 +1 @@ -import{_ as a,r as d,o as c,c as r,a as e,d as o,w as s,b as t,e as l}from"./app-QyD7034V.js";const i={},h=l('

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    ',9),u=e("strong",null,"new Func",-1),p=e("code",null,"TEvent",-1),_=e("code",null,"TContext",-1),g=e("code",null,"TResult",-1),f=e("code",null,"config",-1),m=e("code",null,"Func",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),v=e("code",null,"TResult",-1),k=e("p",null,"Create a cloud function",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),y=e("strong",null,"config",-1),C=e("code",null,"FuncConfig",-1),F=e("code",null,"TEvent",-1),R=e("code",null,"TContext",-1),q=e("code",null,"any",-1),E=e("p",null,"{object} config",-1),P=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"Func",-1),D=e("code",null,"TEvent",-1),j=e("code",null,"TContext",-1),I=e("code",null,"TResult",-1),N=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),H=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),V=e("strong",null,"config",-1),B=e("code",null,"Config",-1),L=e("h3",{id:"filename",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#filename"},[e("span",null,"filename?")])],-1),O=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"filename"),t(": "),e("code",null,"string")])],-1),M=e("h3",{id:"handler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#handler"},[e("span",null,"handler?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"handler",-1),z=e("code",null,"Handler",-1),A=e("code",null,"TEvent",-1),G=e("code",null,"TContext",-1),K=e("code",null,"TResult",-1),Q=e("h3",{id:"mounted",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mounted"},[e("span",null,"mounted")])],-1),U=e("blockquote",null,[e("p",null,[e("strong",null,"mounted"),t(": "),e("code",null,"boolean")])],-1),W=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins")])],-1),X=e("strong",null,"plugins",-1),Y=e("code",null,"Plugin",-1),Z=l('

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    ',5),$=e("strong",null,"data",-1),ee=e("code",null,"DeployData",-1),te=l('

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler
    ',9),ne=e("strong",null,"handler",-1),oe=e("code",null,"ExportedHandler",-1),se=e("code",null,"TEvent",-1),le=e("code",null,"TContext",-1),ae=e("code",null,"TResult",-1),de=l('

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    ',4),ce=e("strong",null,"data",-1),re=e("code",null,"InvokeData",-1),ie=e("code",null,"TEvent",-1),he=e("code",null,"TContext",-1),ue=e("code",null,"TResult",-1),pe=l('

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    ',8),_e=e("strong",null,"data.config?",-1),ge=e("code",null,"Config",-1),fe=l('

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    ',5);function me(xe,be){const n=d("RouteLink");return c(),r("div",null,[e("p",null,[o(n,{to:"/doc/test/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),o(n,{to:"/doc/test/"},{default:s(()=>[t("@faasjs/test")]),_:1}),t(" / Func")]),h,e("blockquote",null,[e("p",null,[u,t("<"),p,t(", "),_,t(", "),g,t(">("),f,t("): "),o(n,{to:"/doc/test/classes/Func.html"},{default:s(()=>[m]),_:1}),t("<"),x,t(", "),b,t(", "),v,t(">")])]),k,T,e("p",null,[t("• "),y,t(": "),o(n,{to:"/doc/test/type-aliases/FuncConfig.html"},{default:s(()=>[C]),_:1}),t("<"),F,t(", "),R,t(", "),q,t(">")]),E,P,e("p",null,[o(n,{to:"/doc/test/classes/Func.html"},{default:s(()=>[w]),_:1}),t("<"),D,t(", "),j,t(", "),I,t(">")]),N,H,e("blockquote",null,[e("p",null,[V,t(": "),o(n,{to:"/doc/test/type-aliases/Config.html"},{default:s(()=>[B]),_:1})])]),L,O,M,e("blockquote",null,[e("p",null,[S,t(),J,t(": "),o(n,{to:"/doc/test/type-aliases/Handler.html"},{default:s(()=>[z]),_:1}),t("<"),A,t(", "),G,t(", "),K,t(">")])]),Q,U,W,e("blockquote",null,[e("p",null,[X,t(": "),o(n,{to:"/doc/test/type-aliases/Plugin.html"},{default:s(()=>[Y]),_:1}),t("[]")])]),Z,e("p",null,[t("• "),$,t(": "),o(n,{to:"/doc/test/type-aliases/DeployData.html"},{default:s(()=>[ee]),_:1})]),te,e("blockquote",null,[e("p",null,[ne,t(": "),o(n,{to:"/doc/test/type-aliases/ExportedHandler.html"},{default:s(()=>[oe]),_:1}),t("<"),se,t(", "),le,t(", "),ae,t(">")])]),de,e("p",null,[t("• "),ce,t(": "),o(n,{to:"/doc/test/type-aliases/InvokeData.html"},{default:s(()=>[re]),_:1}),t("<"),ie,t(", "),he,t(", "),ue,t(">")]),pe,e("p",null,[t("• "),_e,t(": "),o(n,{to:"/doc/test/type-aliases/Config.html"},{default:s(()=>[ge]),_:1})]),fe])}const ke=a(i,[["render",me],["__file","Func.html.vue"]]),Te=JSON.parse('{"path":"/doc/test/classes/Func.html","title":"Class: Func","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Indexable","slug":"indexable","link":"#indexable","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Func(config)","slug":"new-func-config","link":"#new-func-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"filename?","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"mounted","slug":"mounted","link":"#mounted","children":[]},{"level":3,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"export()","slug":"export","link":"#export","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"mount()","slug":"mount","link":"#mount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/classes/Func.md"}');export{ke as comp,Te as data}; +import{_ as a,r as d,o as c,c as r,a as e,d as o,w as s,b as t,e as l}from"./app-COoiSelr.js";const i={},h=l('

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    ',9),u=e("strong",null,"new Func",-1),p=e("code",null,"TEvent",-1),_=e("code",null,"TContext",-1),g=e("code",null,"TResult",-1),f=e("code",null,"config",-1),m=e("code",null,"Func",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),v=e("code",null,"TResult",-1),k=e("p",null,"Create a cloud function",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),y=e("strong",null,"config",-1),C=e("code",null,"FuncConfig",-1),F=e("code",null,"TEvent",-1),R=e("code",null,"TContext",-1),q=e("code",null,"any",-1),E=e("p",null,"{object} config",-1),P=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),w=e("code",null,"Func",-1),D=e("code",null,"TEvent",-1),j=e("code",null,"TContext",-1),I=e("code",null,"TResult",-1),N=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),H=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),V=e("strong",null,"config",-1),B=e("code",null,"Config",-1),L=e("h3",{id:"filename",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#filename"},[e("span",null,"filename?")])],-1),O=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"filename"),t(": "),e("code",null,"string")])],-1),M=e("h3",{id:"handler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#handler"},[e("span",null,"handler?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),J=e("strong",null,"handler",-1),z=e("code",null,"Handler",-1),A=e("code",null,"TEvent",-1),G=e("code",null,"TContext",-1),K=e("code",null,"TResult",-1),Q=e("h3",{id:"mounted",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#mounted"},[e("span",null,"mounted")])],-1),U=e("blockquote",null,[e("p",null,[e("strong",null,"mounted"),t(": "),e("code",null,"boolean")])],-1),W=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins")])],-1),X=e("strong",null,"plugins",-1),Y=e("code",null,"Plugin",-1),Z=l('

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    ',5),$=e("strong",null,"data",-1),ee=e("code",null,"DeployData",-1),te=l('

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler
    ',9),ne=e("strong",null,"handler",-1),oe=e("code",null,"ExportedHandler",-1),se=e("code",null,"TEvent",-1),le=e("code",null,"TContext",-1),ae=e("code",null,"TResult",-1),de=l('

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    ',4),ce=e("strong",null,"data",-1),re=e("code",null,"InvokeData",-1),ie=e("code",null,"TEvent",-1),he=e("code",null,"TContext",-1),ue=e("code",null,"TResult",-1),pe=l('

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    ',8),_e=e("strong",null,"data.config?",-1),ge=e("code",null,"Config",-1),fe=l('

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    ',5);function me(xe,be){const n=d("RouteLink");return c(),r("div",null,[e("p",null,[o(n,{to:"/doc/test/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),o(n,{to:"/doc/test/"},{default:s(()=>[t("@faasjs/test")]),_:1}),t(" / Func")]),h,e("blockquote",null,[e("p",null,[u,t("<"),p,t(", "),_,t(", "),g,t(">("),f,t("): "),o(n,{to:"/doc/test/classes/Func.html"},{default:s(()=>[m]),_:1}),t("<"),x,t(", "),b,t(", "),v,t(">")])]),k,T,e("p",null,[t("• "),y,t(": "),o(n,{to:"/doc/test/type-aliases/FuncConfig.html"},{default:s(()=>[C]),_:1}),t("<"),F,t(", "),R,t(", "),q,t(">")]),E,P,e("p",null,[o(n,{to:"/doc/test/classes/Func.html"},{default:s(()=>[w]),_:1}),t("<"),D,t(", "),j,t(", "),I,t(">")]),N,H,e("blockquote",null,[e("p",null,[V,t(": "),o(n,{to:"/doc/test/type-aliases/Config.html"},{default:s(()=>[B]),_:1})])]),L,O,M,e("blockquote",null,[e("p",null,[S,t(),J,t(": "),o(n,{to:"/doc/test/type-aliases/Handler.html"},{default:s(()=>[z]),_:1}),t("<"),A,t(", "),G,t(", "),K,t(">")])]),Q,U,W,e("blockquote",null,[e("p",null,[X,t(": "),o(n,{to:"/doc/test/type-aliases/Plugin.html"},{default:s(()=>[Y]),_:1}),t("[]")])]),Z,e("p",null,[t("• "),$,t(": "),o(n,{to:"/doc/test/type-aliases/DeployData.html"},{default:s(()=>[ee]),_:1})]),te,e("blockquote",null,[e("p",null,[ne,t(": "),o(n,{to:"/doc/test/type-aliases/ExportedHandler.html"},{default:s(()=>[oe]),_:1}),t("<"),se,t(", "),le,t(", "),ae,t(">")])]),de,e("p",null,[t("• "),ce,t(": "),o(n,{to:"/doc/test/type-aliases/InvokeData.html"},{default:s(()=>[re]),_:1}),t("<"),ie,t(", "),he,t(", "),ue,t(">")]),pe,e("p",null,[t("• "),_e,t(": "),o(n,{to:"/doc/test/type-aliases/Config.html"},{default:s(()=>[ge]),_:1})]),fe])}const ke=a(i,[["render",me],["__file","Func.html.vue"]]),Te=JSON.parse('{"path":"/doc/test/classes/Func.html","title":"Class: Func","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Indexable","slug":"indexable","link":"#indexable","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Func(config)","slug":"new-func-config","link":"#new-func-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"filename?","slug":"filename","link":"#filename","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"mounted","slug":"mounted","link":"#mounted","children":[]},{"level":3,"title":"plugins","slug":"plugins","link":"#plugins","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"export()","slug":"export","link":"#export","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"mount()","slug":"mount","link":"#mount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/classes/Func.md"}');export{ke as comp,Te as data}; diff --git a/assets/FuncConfig.html-330pW_i0.js b/assets/FuncConfig.html-BYdHWpdK.js similarity index 97% rename from assets/FuncConfig.html-330pW_i0.js rename to assets/FuncConfig.html-BYdHWpdK.js index 6ff281a38a..0ccc8ed40c 100644 --- a/assets/FuncConfig.html-330pW_i0.js +++ b/assets/FuncConfig.html-BYdHWpdK.js @@ -1 +1 @@ -import{_ as a,r as s,o as c,c as d,a as e,d as l,w as o,b as t,e as i}from"./app-QyD7034V.js";const r={},u=i('

    Type alias: FuncConfig<TEvent, TContext, TResult>

    FuncConfig<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Type declaration

    handler?

    ',8),p=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),g=e("code",null,"TEvent",-1),f=e("code",null,"TContext",-1),y=e("code",null,"TResult",-1),T=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"plugins",-1),v=e("code",null,"Plugin",-1);function C(k,b){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[l(n,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / FuncConfig")]),u,e("blockquote",null,[e("p",null,[p,t(),h,t(": "),l(n,{to:"/doc/func/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),g,t(", "),f,t(", "),y,t(">")])]),T,e("blockquote",null,[e("p",null,[m,t(),x,t(": "),l(n,{to:"/doc/func/type-aliases/Plugin.html"},{default:o(()=>[v]),_:1}),t("[]")])])])}const R=a(r,[["render",C],["__file","FuncConfig.html.vue"]]),E=JSON.parse('{"path":"/doc/func/type-aliases/FuncConfig.html","title":"Type alias: FuncConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/FuncConfig.md"}');export{R as comp,E as data}; +import{_ as a,r as s,o as c,c as d,a as e,d as l,w as o,b as t,e as i}from"./app-COoiSelr.js";const r={},u=i('

    Type alias: FuncConfig<TEvent, TContext, TResult>

    FuncConfig<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Type declaration

    handler?

    ',8),p=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),g=e("code",null,"TEvent",-1),f=e("code",null,"TContext",-1),y=e("code",null,"TResult",-1),T=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"plugins",-1),v=e("code",null,"Plugin",-1);function C(k,b){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[l(n,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / FuncConfig")]),u,e("blockquote",null,[e("p",null,[p,t(),h,t(": "),l(n,{to:"/doc/func/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),g,t(", "),f,t(", "),y,t(">")])]),T,e("blockquote",null,[e("p",null,[m,t(),x,t(": "),l(n,{to:"/doc/func/type-aliases/Plugin.html"},{default:o(()=>[v]),_:1}),t("[]")])])])}const R=a(r,[["render",C],["__file","FuncConfig.html.vue"]]),E=JSON.parse('{"path":"/doc/func/type-aliases/FuncConfig.html","title":"Type alias: FuncConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/FuncConfig.md"}');export{R as comp,E as data}; diff --git a/assets/FuncConfig.html-C8WRtzcR.js b/assets/FuncConfig.html-j6Cwbcv9.js similarity index 97% rename from assets/FuncConfig.html-C8WRtzcR.js rename to assets/FuncConfig.html-j6Cwbcv9.js index 3a61f7ef47..ff5c1f55df 100644 --- a/assets/FuncConfig.html-C8WRtzcR.js +++ b/assets/FuncConfig.html-j6Cwbcv9.js @@ -1 +1 @@ -import{_ as a,r as s,o as c,c as d,a as e,d as l,w as o,b as t,e as i}from"./app-QyD7034V.js";const r={},p=i('

    Type alias: FuncConfig<TEvent, TContext, TResult>

    FuncConfig<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Type declaration

    handler?

    ',8),u=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),g=e("code",null,"TEvent",-1),f=e("code",null,"TContext",-1),y=e("code",null,"TResult",-1),T=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"plugins",-1),v=e("code",null,"Plugin",-1);function C(k,b){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[l(n,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / FuncConfig")]),p,e("blockquote",null,[e("p",null,[u,t(),h,t(": "),l(n,{to:"/doc/test/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),g,t(", "),f,t(", "),y,t(">")])]),T,e("blockquote",null,[e("p",null,[m,t(),x,t(": "),l(n,{to:"/doc/test/type-aliases/Plugin.html"},{default:o(()=>[v]),_:1}),t("[]")])])])}const R=a(r,[["render",C],["__file","FuncConfig.html.vue"]]),E=JSON.parse('{"path":"/doc/test/type-aliases/FuncConfig.html","title":"Type alias: FuncConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/FuncConfig.md"}');export{R as comp,E as data}; +import{_ as a,r as s,o as c,c as d,a as e,d as l,w as o,b as t,e as i}from"./app-COoiSelr.js";const r={},p=i('

    Type alias: FuncConfig<TEvent, TContext, TResult>

    FuncConfig<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Type declaration

    handler?

    ',8),u=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),g=e("code",null,"TEvent",-1),f=e("code",null,"TContext",-1),y=e("code",null,"TResult",-1),T=e("h3",{id:"plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#plugins"},[e("span",null,"plugins?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"plugins",-1),v=e("code",null,"Plugin",-1);function C(k,b){const n=s("RouteLink");return c(),d("div",null,[e("p",null,[l(n,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / FuncConfig")]),p,e("blockquote",null,[e("p",null,[u,t(),h,t(": "),l(n,{to:"/doc/test/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),g,t(", "),f,t(", "),y,t(">")])]),T,e("blockquote",null,[e("p",null,[m,t(),x,t(": "),l(n,{to:"/doc/test/type-aliases/Plugin.html"},{default:o(()=>[v]),_:1}),t("[]")])])])}const R=a(r,[["render",C],["__file","FuncConfig.html.vue"]]),E=JSON.parse('{"path":"/doc/test/type-aliases/FuncConfig.html","title":"Type alias: FuncConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"plugins?","slug":"plugins","link":"#plugins","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/FuncConfig.md"}');export{R as comp,E as data}; diff --git a/assets/FuncEventType.html-OsbHOkIu.js b/assets/FuncEventType.html-DUveMzAd.js similarity index 98% rename from assets/FuncEventType.html-OsbHOkIu.js rename to assets/FuncEventType.html-DUveMzAd.js index 960ef298e1..c8aed8d498 100644 --- a/assets/FuncEventType.html-OsbHOkIu.js +++ b/assets/FuncEventType.html-DUveMzAd.js @@ -1,4 +1,4 @@ -import{_ as o,r as c,o as p,c as l,a as n,d as a,w as t,b as e,e as u}from"./app-QyD7034V.js";const i={},r=n("h1",{id:"type-alias-funceventtype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funceventtype-t"},[n("span",null,"Type alias: FuncEventType")])],-1),d=n("strong",null,"FuncEventType",-1),_=n("code",null,"T",-1),k=n("code",null,"T",-1),m=n("code",null,"Func",-1),h=n("code",null,"any",-1),y=n("code",null,"any",-1),v=n("code",null,"P",-1),f=n("code",null,"any",-1),T=u(`

    Get the event type of a func

    Example

    import { useFunc, type FuncEventType } from '@faasjs/func'
    +import{_ as o,r as c,o as p,c as l,a as n,d as a,w as t,b as e,e as u}from"./app-COoiSelr.js";const i={},r=n("h1",{id:"type-alias-funceventtype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funceventtype-t"},[n("span",null,"Type alias: FuncEventType")])],-1),d=n("strong",null,"FuncEventType",-1),_=n("code",null,"T",-1),k=n("code",null,"T",-1),m=n("code",null,"Func",-1),h=n("code",null,"any",-1),y=n("code",null,"any",-1),v=n("code",null,"P",-1),f=n("code",null,"any",-1),T=u(`

    Get the event type of a func

    Example

    import { useFunc, type FuncEventType } from '@faasjs/func'
     
     const func = useFunc<{ counter: number }>(() => async () => {})
     
    diff --git a/assets/FuncEventType.html-CsP0Kayb.js b/assets/FuncEventType.html-lrsSYTIt.js
    similarity index 98%
    rename from assets/FuncEventType.html-CsP0Kayb.js
    rename to assets/FuncEventType.html-lrsSYTIt.js
    index 6b26da1622..c186df8117 100644
    --- a/assets/FuncEventType.html-CsP0Kayb.js
    +++ b/assets/FuncEventType.html-lrsSYTIt.js
    @@ -1,4 +1,4 @@
    -import{_ as o,r as c,o as p,c as l,a as n,d as a,w as t,b as e,e as u}from"./app-QyD7034V.js";const i={},r=n("h1",{id:"type-alias-funceventtype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funceventtype-t"},[n("span",null,"Type alias: FuncEventType")])],-1),d=n("strong",null,"FuncEventType",-1),_=n("code",null,"T",-1),k=n("code",null,"T",-1),m=n("code",null,"Func",-1),h=n("code",null,"any",-1),y=n("code",null,"any",-1),f=n("code",null,"P",-1),v=n("code",null,"any",-1),T=u(`

    Get the event type of a func

    Example

    import { useFunc, type FuncEventType } from '@faasjs/func'
    +import{_ as o,r as c,o as p,c as l,a as n,d as a,w as t,b as e,e as u}from"./app-COoiSelr.js";const i={},r=n("h1",{id:"type-alias-funceventtype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funceventtype-t"},[n("span",null,"Type alias: FuncEventType")])],-1),d=n("strong",null,"FuncEventType",-1),_=n("code",null,"T",-1),k=n("code",null,"T",-1),m=n("code",null,"Func",-1),h=n("code",null,"any",-1),y=n("code",null,"any",-1),f=n("code",null,"P",-1),v=n("code",null,"any",-1),T=u(`

    Get the event type of a func

    Example

    import { useFunc, type FuncEventType } from '@faasjs/func'
     
     const func = useFunc<{ counter: number }>(() => async () => {})
     
    diff --git a/assets/FuncReturnType.html-ZkEFj68X.js b/assets/FuncReturnType.html-CA85kZr5.js
    similarity index 98%
    rename from assets/FuncReturnType.html-ZkEFj68X.js
    rename to assets/FuncReturnType.html-CA85kZr5.js
    index 2ba5f92d22..7645686c83 100644
    --- a/assets/FuncReturnType.html-ZkEFj68X.js
    +++ b/assets/FuncReturnType.html-CA85kZr5.js
    @@ -1,4 +1,4 @@
    -import{_ as c,r as o,o as l,c as p,a as n,d as a,w as t,b as e,e as u}from"./app-QyD7034V.js";const r={},d=n("h1",{id:"type-alias-funcreturntype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funcreturntype-t"},[n("span",null,"Type alias: FuncReturnType")])],-1),i=n("strong",null,"FuncReturnType",-1),_=n("code",null,"T",-1),h=n("code",null,"T",-1),m=n("code",null,"Func",-1),y=n("code",null,"any",-1),k=n("code",null,"any",-1),f=n("code",null,"R",-1),T=n("code",null,"any",-1),v=u(`

    Get the return type of a func

    Example

    import { useFunc, type FuncReturnType } from '@faasjs/func'
    +import{_ as c,r as o,o as l,c as p,a as n,d as a,w as t,b as e,e as u}from"./app-COoiSelr.js";const r={},d=n("h1",{id:"type-alias-funcreturntype-t",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-alias-funcreturntype-t"},[n("span",null,"Type alias: FuncReturnType")])],-1),i=n("strong",null,"FuncReturnType",-1),_=n("code",null,"T",-1),h=n("code",null,"T",-1),m=n("code",null,"Func",-1),y=n("code",null,"any",-1),k=n("code",null,"any",-1),f=n("code",null,"R",-1),T=n("code",null,"any",-1),v=u(`

    Get the return type of a func

    Example

    import { useFunc, type FuncReturnType } from '@faasjs/func'
     
     const func = useFunc(() => async () => 1)
     
    diff --git a/assets/FuncReturnType.html-DUDOZfNO.js b/assets/FuncReturnType.html-uU6lMYmK.js
    similarity index 98%
    rename from assets/FuncReturnType.html-DUDOZfNO.js
    rename to assets/FuncReturnType.html-uU6lMYmK.js
    index 59b0d89f03..87a7ce378e 100644
    --- a/assets/FuncReturnType.html-DUDOZfNO.js
    +++ b/assets/FuncReturnType.html-uU6lMYmK.js
    @@ -1,4 +1,4 @@
    -import{_ as o,r as c,o as l,c as p,a as e,d as t,w as a,b as n,e as u}from"./app-QyD7034V.js";const r={},d=e("h1",{id:"type-alias-funcreturntype-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-funcreturntype-t"},[e("span",null,"Type alias: FuncReturnType")])],-1),i=e("strong",null,"FuncReturnType",-1),_=e("code",null,"T",-1),h=e("code",null,"T",-1),m=e("code",null,"Func",-1),y=e("code",null,"any",-1),k=e("code",null,"any",-1),f=e("code",null,"R",-1),T=e("code",null,"any",-1),v=u(`

    Get the return type of a func

    Example

    import { useFunc, type FuncReturnType } from '@faasjs/func'
    +import{_ as o,r as c,o as l,c as p,a as e,d as t,w as a,b as n,e as u}from"./app-COoiSelr.js";const r={},d=e("h1",{id:"type-alias-funcreturntype-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-funcreturntype-t"},[e("span",null,"Type alias: FuncReturnType")])],-1),i=e("strong",null,"FuncReturnType",-1),_=e("code",null,"T",-1),h=e("code",null,"T",-1),m=e("code",null,"Func",-1),y=e("code",null,"any",-1),k=e("code",null,"any",-1),f=e("code",null,"R",-1),T=e("code",null,"any",-1),v=u(`

    Get the return type of a func

    Example

    import { useFunc, type FuncReturnType } from '@faasjs/func'
     
     const func = useFunc(() => async () => 1)
     
    diff --git a/assets/FuncWarper.html-DeuyqKKK.js b/assets/FuncWarper.html-cfB9dj_h.js
    similarity index 99%
    rename from assets/FuncWarper.html-DeuyqKKK.js
    rename to assets/FuncWarper.html-cfB9dj_h.js
    index deee9c0f4c..d2ced215a9 100644
    --- a/assets/FuncWarper.html-DeuyqKKK.js
    +++ b/assets/FuncWarper.html-cfB9dj_h.js
    @@ -1,4 +1,4 @@
    -import{_ as r,r as c,o as l,c as d,a as e,d as a,w as o,b as n,e as t}from"./app-QyD7034V.js";const i={},p=t(`

    Class: FuncWarper

    Test Wrapper for a func

    import { FuncWarper } from '@faasjs/test'
    +import{_ as r,r as c,o as l,c as d,a as e,d as a,w as o,b as n,e as t}from"./app-COoiSelr.js";const i={},p=t(`

    Class: FuncWarper

    Test Wrapper for a func

    import { FuncWarper } from '@faasjs/test'
     
     const func = new FuncWarper(__dirname + '/../demo.func.ts')
     
    diff --git a/assets/Handler.html-C3bLfFsA.js b/assets/Handler.html-COGpTgbx.js
    similarity index 97%
    rename from assets/Handler.html-C3bLfFsA.js
    rename to assets/Handler.html-COGpTgbx.js
    index ebd0f56eb0..48dd227c0f 100644
    --- a/assets/Handler.html-C3bLfFsA.js
    +++ b/assets/Handler.html-COGpTgbx.js
    @@ -1 +1 @@
    -import{_ as o,r,o as l,c,a as e,d as n,w as s,b as t,e as d}from"./app-QyD7034V.js";const p={},i=d('

    Type alias: Handler()<TEvent, TContext, TResult>

    Handler<TEvent, TContext, TResult>: (data) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    ',7),u=e("strong",null,"data",-1),h=e("code",null,"InvokeData",-1),_=e("code",null,"TEvent",-1),m=e("code",null,"TContext",-1),f=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),T=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"TResult"),t(">")],-1);function g(v,x){const a=r("RouteLink");return l(),c("div",null,[e("p",null,[n(a,{to:"/doc/func/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/func/"},{default:s(()=>[t("@faasjs/func")]),_:1}),t(" / Handler")]),i,e("p",null,[t("• "),u,t(": "),n(a,{to:"/doc/func/type-aliases/InvokeData.html"},{default:s(()=>[h]),_:1}),t("<"),_,t(", "),m,t(">")]),f,T])}const k=o(p,[["render",g],["__file","Handler.html.vue"]]),R=JSON.parse('{"path":"/doc/func/type-aliases/Handler.html","title":"Type alias: Handler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Handler.md"}');export{k as comp,R as data}; +import{_ as o,r,o as l,c,a as e,d as n,w as s,b as t,e as d}from"./app-COoiSelr.js";const p={},i=d('

    Type alias: Handler()<TEvent, TContext, TResult>

    Handler<TEvent, TContext, TResult>: (data) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    ',7),u=e("strong",null,"data",-1),h=e("code",null,"InvokeData",-1),_=e("code",null,"TEvent",-1),m=e("code",null,"TContext",-1),f=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),T=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"TResult"),t(">")],-1);function g(v,x){const a=r("RouteLink");return l(),c("div",null,[e("p",null,[n(a,{to:"/doc/func/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/func/"},{default:s(()=>[t("@faasjs/func")]),_:1}),t(" / Handler")]),i,e("p",null,[t("• "),u,t(": "),n(a,{to:"/doc/func/type-aliases/InvokeData.html"},{default:s(()=>[h]),_:1}),t("<"),_,t(", "),m,t(">")]),f,T])}const k=o(p,[["render",g],["__file","Handler.html.vue"]]),R=JSON.parse('{"path":"/doc/func/type-aliases/Handler.html","title":"Type alias: Handler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Handler.md"}');export{k as comp,R as data}; diff --git a/assets/Handler.html-BNlYB_MO.js b/assets/Handler.html-b3eUTG91.js similarity index 97% rename from assets/Handler.html-BNlYB_MO.js rename to assets/Handler.html-b3eUTG91.js index e7324389db..834539792c 100644 --- a/assets/Handler.html-BNlYB_MO.js +++ b/assets/Handler.html-b3eUTG91.js @@ -1 +1 @@ -import{_ as o,r,o as l,c as d,a as e,d as s,w as n,b as t,e as c}from"./app-QyD7034V.js";const p={},i=c('

    Type alias: Handler()<TEvent, TContext, TResult>

    Handler<TEvent, TContext, TResult>: (data) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    ',7),u=e("strong",null,"data",-1),h=e("code",null,"InvokeData",-1),_=e("code",null,"TEvent",-1),m=e("code",null,"TContext",-1),T=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"TResult"),t(">")],-1);function f(v,x){const a=r("RouteLink");return l(),d("div",null,[e("p",null,[s(a,{to:"/doc/test/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/test/"},{default:n(()=>[t("@faasjs/test")]),_:1}),t(" / Handler")]),i,e("p",null,[t("• "),u,t(": "),s(a,{to:"/doc/test/type-aliases/InvokeData.html"},{default:n(()=>[h]),_:1}),t("<"),_,t(", "),m,t(">")]),T,g])}const k=o(p,[["render",f],["__file","Handler.html.vue"]]),R=JSON.parse('{"path":"/doc/test/type-aliases/Handler.html","title":"Type alias: Handler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Handler.md"}');export{k as comp,R as data}; +import{_ as o,r,o as l,c as d,a as e,d as s,w as n,b as t,e as c}from"./app-COoiSelr.js";const p={},i=c('

    Type alias: Handler()<TEvent, TContext, TResult>

    Handler<TEvent, TContext, TResult>: (data) => Promise<TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Parameters

    ',7),u=e("strong",null,"data",-1),h=e("code",null,"InvokeData",-1),_=e("code",null,"TEvent",-1),m=e("code",null,"TContext",-1),T=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"TResult"),t(">")],-1);function f(v,x){const a=r("RouteLink");return l(),d("div",null,[e("p",null,[s(a,{to:"/doc/test/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/test/"},{default:n(()=>[t("@faasjs/test")]),_:1}),t(" / Handler")]),i,e("p",null,[t("• "),u,t(": "),s(a,{to:"/doc/test/type-aliases/InvokeData.html"},{default:n(()=>[h]),_:1}),t("<"),_,t(", "),m,t(">")]),T,g])}const k=o(p,[["render",f],["__file","Handler.html.vue"]]),R=JSON.parse('{"path":"/doc/test/type-aliases/Handler.html","title":"Type alias: Handler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Handler.md"}');export{k as comp,R as data}; diff --git a/assets/Http.html-D5c2x80g.js b/assets/Http.html-CIvo01Ic.js similarity index 99% rename from assets/Http.html-D5c2x80g.js rename to assets/Http.html-CIvo01Ic.js index b25e347a86..367e8dacd6 100644 --- a/assets/Http.html-D5c2x80g.js +++ b/assets/Http.html-CIvo01Ic.js @@ -1 +1 @@ -import{_ as d,r as l,o as c,c as r,a as e,d as s,w as n,b as o,e as a}from"./app-QyD7034V.js";const i={},h=a('

    Class: Http<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Implements

    • Plugin

    Constructors

    new Http(config)

    ',9),p=e("strong",null,"new Http",-1),u=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),m=e("code",null,"TSession",-1),g=e("code",null,"config",-1),f=e("code",null,"Http",-1),k=e("code",null,"TParams",-1),b=e("code",null,"TCookie",-1),x=e("code",null,"TSession",-1),y=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),T=e("strong",null,"config?",-1),v=e("code",null,"HttpConfig",-1),P=e("code",null,"TParams",-1),C=e("code",null,"TCookie",-1),H=e("code",null,"TSession",-1),S=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),q=e("code",null,"Http",-1),R=e("code",null,"TParams",-1),I=e("code",null,"TCookie",-1),N=e("code",null,"TSession",-1),w=a('

    Properties

    body

    body: any

    config

    ',4),D=e("strong",null,"config",-1),M=e("code",null,"HttpConfig",-1),B=e("code",null,"TParams",-1),V=e("code",null,"TCookie",-1),j=e("code",null,"TSession",-1),L=e("h3",{id:"cookie",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#cookie"},[e("span",null,"cookie")])],-1),O=e("strong",null,"cookie",-1),E=e("code",null,"Cookie",-1),J=e("code",null,"TCookie",-1),z=e("code",null,"TSession",-1),A=a('

    headers

    headers: Object

    Index signature

    [key: string]: string

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    params

    params: TParams

    session

    ',11),F=e("strong",null,"session",-1),G=e("code",null,"Session",-1),K=e("code",null,"TSession",-1),Q=e("code",null,"TCookie",-1),U=a('

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    setBody()

    ',33),W=e("strong",null,"setBody",-1),X=e("code",null,"body",-1),Y=e("code",null,"Http",-1),Z=e("code",null,"TParams",-1),$=e("code",null,"TCookie",-1),ee=e("code",null,"TSession",-1),oe=e("p",null,"set body",-1),te=e("h4",{id:"parameters-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-4"},[e("span",null,"Parameters")])],-1),se=e("p",null,[o("• "),e("strong",null,"body"),o(": "),e("code",null,"string")],-1),ne=e("p",null,"{*} 内容",-1),ae=e("h4",{id:"returns-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-4"},[e("span",null,"Returns")])],-1),de=e("code",null,"Http",-1),le=e("code",null,"TParams",-1),ce=e("code",null,"TCookie",-1),re=e("code",null,"TSession",-1),ie=e("h3",{id:"setcontenttype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setcontenttype"},[e("span",null,"setContentType()")])],-1),he=e("strong",null,"setContentType",-1),pe=e("code",null,"type",-1),ue=e("code",null,"charset",-1),_e=e("code",null,"Http",-1),me=e("code",null,"TParams",-1),ge=e("code",null,"TCookie",-1),fe=e("code",null,"TSession",-1),ke=a('

    set Content-Type

    Parameters

    type: string

    {string} 类型

    charset: string= 'utf-8'

    {string} 编码

    Returns

    ',7),be=e("code",null,"Http",-1),xe=e("code",null,"TParams",-1),ye=e("code",null,"TCookie",-1),Te=e("code",null,"TSession",-1),ve=e("h3",{id:"setheader",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setheader"},[e("span",null,"setHeader()")])],-1),Pe=e("strong",null,"setHeader",-1),Ce=e("code",null,"key",-1),He=e("code",null,"value",-1),Se=e("code",null,"Http",-1),qe=e("code",null,"TParams",-1),Re=e("code",null,"TCookie",-1),Ie=e("code",null,"TSession",-1),Ne=a('

    set header

    Parameters

    key: string

    {string} key

    value: string

    {string} value

    Returns

    ',7),we=e("code",null,"Http",-1),De=e("code",null,"TParams",-1),Me=e("code",null,"TCookie",-1),Be=e("code",null,"TSession",-1),Ve=e("h3",{id:"setstatuscode",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setstatuscode"},[e("span",null,"setStatusCode()")])],-1),je=e("strong",null,"setStatusCode",-1),Le=e("code",null,"code",-1),Oe=e("code",null,"Http",-1),Ee=e("code",null,"TParams",-1),Je=e("code",null,"TCookie",-1),ze=e("code",null,"TSession",-1),Ae=e("p",null,"set status code",-1),Fe=e("h4",{id:"parameters-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-7"},[e("span",null,"Parameters")])],-1),Ge=e("p",null,[o("• "),e("strong",null,"code"),o(": "),e("code",null,"number")],-1),Ke=e("p",null,"{number} 状态码",-1),Qe=e("h4",{id:"returns-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-7"},[e("span",null,"Returns")])],-1),Ue=e("code",null,"Http",-1),We=e("code",null,"TParams",-1),Xe=e("code",null,"TCookie",-1),Ye=e("code",null,"TSession",-1);function Ze($e,eo){const t=l("RouteLink");return c(),r("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Http")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),_,o(", "),m,o(">("),g,o("?): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[f]),_:1}),o("<"),k,o(", "),b,o(", "),x,o(">")])]),y,e("p",null,[o("• "),T,o(": "),s(t,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[v]),_:1}),o("<"),P,o(", "),C,o(", "),H,o(">")]),S,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[q]),_:1}),o("<"),R,o(", "),I,o(", "),N,o(">")]),w,e("blockquote",null,[e("p",null,[D,o(": "),s(t,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[M]),_:1}),o("<"),B,o(", "),V,o(", "),j,o(">")])]),L,e("blockquote",null,[e("p",null,[O,o(": "),s(t,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[E]),_:1}),o("<"),J,o(", "),z,o(">")])]),A,e("blockquote",null,[e("p",null,[F,o(": "),s(t,{to:"/doc/http/classes/Session.html"},{default:n(()=>[G]),_:1}),o("<"),K,o(", "),Q,o(">")])]),U,e("blockquote",null,[e("p",null,[W,o("("),X,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Y]),_:1}),o("<"),Z,o(", "),$,o(", "),ee,o(">")])]),oe,te,se,ne,ae,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[de]),_:1}),o("<"),le,o(", "),ce,o(", "),re,o(">")]),ie,e("blockquote",null,[e("p",null,[he,o("("),pe,o(", "),ue,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[_e]),_:1}),o("<"),me,o(", "),ge,o(", "),fe,o(">")])]),ke,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[be]),_:1}),o("<"),xe,o(", "),ye,o(", "),Te,o(">")]),ve,e("blockquote",null,[e("p",null,[Pe,o("("),Ce,o(", "),He,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Se]),_:1}),o("<"),qe,o(", "),Re,o(", "),Ie,o(">")])]),Ne,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[we]),_:1}),o("<"),De,o(", "),Me,o(", "),Be,o(">")]),Ve,e("blockquote",null,[e("p",null,[je,o("("),Le,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Oe]),_:1}),o("<"),Ee,o(", "),Je,o(", "),ze,o(">")])]),Ae,Fe,Ge,Ke,Qe,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Ue]),_:1}),o("<"),We,o(", "),Xe,o(", "),Ye,o(">")])])}const to=d(i,[["render",Ze],["__file","Http.html.vue"]]),so=JSON.parse('{"path":"/doc/http/classes/Http.html","title":"Class: Http","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Http(config)","slug":"new-http-config","link":"#new-http-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"cookie","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"session","slug":"session","link":"#session","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"setBody()","slug":"setbody","link":"#setbody","children":[]},{"level":3,"title":"setContentType()","slug":"setcontenttype","link":"#setcontenttype","children":[]},{"level":3,"title":"setHeader()","slug":"setheader","link":"#setheader","children":[]},{"level":3,"title":"setStatusCode()","slug":"setstatuscode","link":"#setstatuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Http.md"}');export{to as comp,so as data}; +import{_ as d,r as l,o as c,c as r,a as e,d as s,w as n,b as o,e as a}from"./app-COoiSelr.js";const i={},h=a('

    Class: Http<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Implements

    • Plugin

    Constructors

    new Http(config)

    ',9),p=e("strong",null,"new Http",-1),u=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),m=e("code",null,"TSession",-1),g=e("code",null,"config",-1),f=e("code",null,"Http",-1),k=e("code",null,"TParams",-1),b=e("code",null,"TCookie",-1),x=e("code",null,"TSession",-1),y=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),T=e("strong",null,"config?",-1),v=e("code",null,"HttpConfig",-1),P=e("code",null,"TParams",-1),C=e("code",null,"TCookie",-1),H=e("code",null,"TSession",-1),S=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),q=e("code",null,"Http",-1),R=e("code",null,"TParams",-1),I=e("code",null,"TCookie",-1),N=e("code",null,"TSession",-1),w=a('

    Properties

    body

    body: any

    config

    ',4),D=e("strong",null,"config",-1),M=e("code",null,"HttpConfig",-1),B=e("code",null,"TParams",-1),V=e("code",null,"TCookie",-1),j=e("code",null,"TSession",-1),L=e("h3",{id:"cookie",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#cookie"},[e("span",null,"cookie")])],-1),O=e("strong",null,"cookie",-1),E=e("code",null,"Cookie",-1),J=e("code",null,"TCookie",-1),z=e("code",null,"TSession",-1),A=a('

    headers

    headers: Object

    Index signature

    [key: string]: string

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    params

    params: TParams

    session

    ',11),F=e("strong",null,"session",-1),G=e("code",null,"Session",-1),K=e("code",null,"TSession",-1),Q=e("code",null,"TCookie",-1),U=a('

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    setBody()

    ',33),W=e("strong",null,"setBody",-1),X=e("code",null,"body",-1),Y=e("code",null,"Http",-1),Z=e("code",null,"TParams",-1),$=e("code",null,"TCookie",-1),ee=e("code",null,"TSession",-1),oe=e("p",null,"set body",-1),te=e("h4",{id:"parameters-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-4"},[e("span",null,"Parameters")])],-1),se=e("p",null,[o("• "),e("strong",null,"body"),o(": "),e("code",null,"string")],-1),ne=e("p",null,"{*} 内容",-1),ae=e("h4",{id:"returns-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-4"},[e("span",null,"Returns")])],-1),de=e("code",null,"Http",-1),le=e("code",null,"TParams",-1),ce=e("code",null,"TCookie",-1),re=e("code",null,"TSession",-1),ie=e("h3",{id:"setcontenttype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setcontenttype"},[e("span",null,"setContentType()")])],-1),he=e("strong",null,"setContentType",-1),pe=e("code",null,"type",-1),ue=e("code",null,"charset",-1),_e=e("code",null,"Http",-1),me=e("code",null,"TParams",-1),ge=e("code",null,"TCookie",-1),fe=e("code",null,"TSession",-1),ke=a('

    set Content-Type

    Parameters

    type: string

    {string} 类型

    charset: string= 'utf-8'

    {string} 编码

    Returns

    ',7),be=e("code",null,"Http",-1),xe=e("code",null,"TParams",-1),ye=e("code",null,"TCookie",-1),Te=e("code",null,"TSession",-1),ve=e("h3",{id:"setheader",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setheader"},[e("span",null,"setHeader()")])],-1),Pe=e("strong",null,"setHeader",-1),Ce=e("code",null,"key",-1),He=e("code",null,"value",-1),Se=e("code",null,"Http",-1),qe=e("code",null,"TParams",-1),Re=e("code",null,"TCookie",-1),Ie=e("code",null,"TSession",-1),Ne=a('

    set header

    Parameters

    key: string

    {string} key

    value: string

    {string} value

    Returns

    ',7),we=e("code",null,"Http",-1),De=e("code",null,"TParams",-1),Me=e("code",null,"TCookie",-1),Be=e("code",null,"TSession",-1),Ve=e("h3",{id:"setstatuscode",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setstatuscode"},[e("span",null,"setStatusCode()")])],-1),je=e("strong",null,"setStatusCode",-1),Le=e("code",null,"code",-1),Oe=e("code",null,"Http",-1),Ee=e("code",null,"TParams",-1),Je=e("code",null,"TCookie",-1),ze=e("code",null,"TSession",-1),Ae=e("p",null,"set status code",-1),Fe=e("h4",{id:"parameters-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-7"},[e("span",null,"Parameters")])],-1),Ge=e("p",null,[o("• "),e("strong",null,"code"),o(": "),e("code",null,"number")],-1),Ke=e("p",null,"{number} 状态码",-1),Qe=e("h4",{id:"returns-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-7"},[e("span",null,"Returns")])],-1),Ue=e("code",null,"Http",-1),We=e("code",null,"TParams",-1),Xe=e("code",null,"TCookie",-1),Ye=e("code",null,"TSession",-1);function Ze($e,eo){const t=l("RouteLink");return c(),r("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Http")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),_,o(", "),m,o(">("),g,o("?): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[f]),_:1}),o("<"),k,o(", "),b,o(", "),x,o(">")])]),y,e("p",null,[o("• "),T,o(": "),s(t,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[v]),_:1}),o("<"),P,o(", "),C,o(", "),H,o(">")]),S,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[q]),_:1}),o("<"),R,o(", "),I,o(", "),N,o(">")]),w,e("blockquote",null,[e("p",null,[D,o(": "),s(t,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[M]),_:1}),o("<"),B,o(", "),V,o(", "),j,o(">")])]),L,e("blockquote",null,[e("p",null,[O,o(": "),s(t,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[E]),_:1}),o("<"),J,o(", "),z,o(">")])]),A,e("blockquote",null,[e("p",null,[F,o(": "),s(t,{to:"/doc/http/classes/Session.html"},{default:n(()=>[G]),_:1}),o("<"),K,o(", "),Q,o(">")])]),U,e("blockquote",null,[e("p",null,[W,o("("),X,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Y]),_:1}),o("<"),Z,o(", "),$,o(", "),ee,o(">")])]),oe,te,se,ne,ae,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[de]),_:1}),o("<"),le,o(", "),ce,o(", "),re,o(">")]),ie,e("blockquote",null,[e("p",null,[he,o("("),pe,o(", "),ue,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[_e]),_:1}),o("<"),me,o(", "),ge,o(", "),fe,o(">")])]),ke,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[be]),_:1}),o("<"),xe,o(", "),ye,o(", "),Te,o(">")]),ve,e("blockquote",null,[e("p",null,[Pe,o("("),Ce,o(", "),He,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Se]),_:1}),o("<"),qe,o(", "),Re,o(", "),Ie,o(">")])]),Ne,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[we]),_:1}),o("<"),De,o(", "),Me,o(", "),Be,o(">")]),Ve,e("blockquote",null,[e("p",null,[je,o("("),Le,o("): "),s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Oe]),_:1}),o("<"),Ee,o(", "),Je,o(", "),ze,o(">")])]),Ae,Fe,Ge,Ke,Qe,e("p",null,[s(t,{to:"/doc/http/classes/Http.html"},{default:n(()=>[Ue]),_:1}),o("<"),We,o(", "),Xe,o(", "),Ye,o(">")])])}const to=d(i,[["render",Ze],["__file","Http.html.vue"]]),so=JSON.parse('{"path":"/doc/http/classes/Http.html","title":"Class: Http","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Http(config)","slug":"new-http-config","link":"#new-http-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"cookie","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"session","slug":"session","link":"#session","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"setBody()","slug":"setbody","link":"#setbody","children":[]},{"level":3,"title":"setContentType()","slug":"setcontenttype","link":"#setcontenttype","children":[]},{"level":3,"title":"setHeader()","slug":"setheader","link":"#setheader","children":[]},{"level":3,"title":"setStatusCode()","slug":"setstatuscode","link":"#setstatuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Http.md"}');export{to as comp,so as data}; diff --git a/assets/HttpConfig.html-CjcxW5AT.js b/assets/HttpConfig.html-DItZjcrr.js similarity index 98% rename from assets/HttpConfig.html-CjcxW5AT.js rename to assets/HttpConfig.html-DItZjcrr.js index be1b07a059..6f31901249 100644 --- a/assets/HttpConfig.html-CjcxW5AT.js +++ b/assets/HttpConfig.html-DItZjcrr.js @@ -1 +1 @@ -import{_ as i,r as d,o as s,c as l,a as e,d as n,w as a,b as o,e as c}from"./app-QyD7034V.js";const r={},p=c('

    Type alias: HttpConfig<TParams, TCookie, TSession>

    HttpConfig<TParams, TCookie, TSession>: Object

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    Index signature

    [key: string]: any

    ',14),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"cookie",-1),u=e("code",null,"CookieOptions",-1),f=c('

    config.functionName?

    optional functionName: string

    config.ignorePathPrefix?

    optional ignorePathPrefix: string

    config.method?

    optional method: "BEGIN" | "GET" | "POST" | "DELETE" | "HEAD" | "PUT" | "OPTIONS" | "TRACE" | "PATCH" | "ANY"

    POST as default

    config.path?

    optional path: string

    file relative path as default

    config.timeout?

    optional timeout: number

    name?

    optional name: string

    validator?

    ',15),m=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"validator",-1),_=e("code",null,"ValidatorConfig",-1),q=e("code",null,"TParams",-1),x=e("code",null,"TCookie",-1),b=e("code",null,"TSession",-1);function T(y,v){const t=d("RouteLink");return s(),l("div",null,[e("p",null,[n(t,{to:"/doc/http/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),n(t,{to:"/doc/http/"},{default:a(()=>[o("@faasjs/http")]),_:1}),o(" / HttpConfig")]),p,e("blockquote",null,[e("p",null,[g,o(),h,o(": "),n(t,{to:"/doc/http/type-aliases/CookieOptions.html"},{default:a(()=>[u]),_:1})])]),f,e("blockquote",null,[e("p",null,[m,o(),k,o(": "),n(t,{to:"/doc/http/type-aliases/ValidatorConfig.html"},{default:a(()=>[_]),_:1}),o("<"),q,o(", "),x,o(", "),b,o(">")])])])}const P=i(r,[["render",T],["__file","HttpConfig.html.vue"]]),N=JSON.parse('{"path":"/doc/http/type-aliases/HttpConfig.html","title":"Type alias: HttpConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"config.cookie?","slug":"config-cookie","link":"#config-cookie","children":[]},{"level":3,"title":"config.functionName?","slug":"config-functionname","link":"#config-functionname","children":[]},{"level":3,"title":"config.ignorePathPrefix?","slug":"config-ignorepathprefix","link":"#config-ignorepathprefix","children":[]},{"level":3,"title":"config.method?","slug":"config-method","link":"#config-method","children":[]},{"level":3,"title":"config.path?","slug":"config-path","link":"#config-path","children":[]},{"level":3,"title":"config.timeout?","slug":"config-timeout","link":"#config-timeout","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"validator?","slug":"validator","link":"#validator","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/HttpConfig.md"}');export{P as comp,N as data}; +import{_ as i,r as d,o as s,c as l,a as e,d as n,w as a,b as o,e as c}from"./app-COoiSelr.js";const r={},p=c('

    Type alias: HttpConfig<TParams, TCookie, TSession>

    HttpConfig<TParams, TCookie, TSession>: Object

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    Index signature

    [key: string]: any

    ',14),g=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"cookie",-1),u=e("code",null,"CookieOptions",-1),f=c('

    config.functionName?

    optional functionName: string

    config.ignorePathPrefix?

    optional ignorePathPrefix: string

    config.method?

    optional method: "BEGIN" | "GET" | "POST" | "DELETE" | "HEAD" | "PUT" | "OPTIONS" | "TRACE" | "PATCH" | "ANY"

    POST as default

    config.path?

    optional path: string

    file relative path as default

    config.timeout?

    optional timeout: number

    name?

    optional name: string

    validator?

    ',15),m=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"validator",-1),_=e("code",null,"ValidatorConfig",-1),q=e("code",null,"TParams",-1),x=e("code",null,"TCookie",-1),b=e("code",null,"TSession",-1);function T(y,v){const t=d("RouteLink");return s(),l("div",null,[e("p",null,[n(t,{to:"/doc/http/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),n(t,{to:"/doc/http/"},{default:a(()=>[o("@faasjs/http")]),_:1}),o(" / HttpConfig")]),p,e("blockquote",null,[e("p",null,[g,o(),h,o(": "),n(t,{to:"/doc/http/type-aliases/CookieOptions.html"},{default:a(()=>[u]),_:1})])]),f,e("blockquote",null,[e("p",null,[m,o(),k,o(": "),n(t,{to:"/doc/http/type-aliases/ValidatorConfig.html"},{default:a(()=>[_]),_:1}),o("<"),q,o(", "),x,o(", "),b,o(">")])])])}const P=i(r,[["render",T],["__file","HttpConfig.html.vue"]]),N=JSON.parse('{"path":"/doc/http/type-aliases/HttpConfig.html","title":"Type alias: HttpConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"config.cookie?","slug":"config-cookie","link":"#config-cookie","children":[]},{"level":3,"title":"config.functionName?","slug":"config-functionname","link":"#config-functionname","children":[]},{"level":3,"title":"config.ignorePathPrefix?","slug":"config-ignorepathprefix","link":"#config-ignorepathprefix","children":[]},{"level":3,"title":"config.method?","slug":"config-method","link":"#config-method","children":[]},{"level":3,"title":"config.path?","slug":"config-path","link":"#config-path","children":[]},{"level":3,"title":"config.timeout?","slug":"config-timeout","link":"#config-timeout","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]},{"level":3,"title":"validator?","slug":"validator","link":"#validator","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/HttpConfig.md"}');export{P as comp,N as data}; diff --git a/assets/HttpError.html-CZvZtIdI.js b/assets/HttpError.html-CtJiUljB.js similarity index 98% rename from assets/HttpError.html-CZvZtIdI.js rename to assets/HttpError.html-CtJiUljB.js index ba5488b0f1..31302c3bfb 100644 --- a/assets/HttpError.html-CZvZtIdI.js +++ b/assets/HttpError.html-CtJiUljB.js @@ -1 +1 @@ -import{_ as n,r as d,o as c,c as l,a as e,d as s,w as a,b as t,e as o}from"./app-QyD7034V.js";const p={},h=o('

    Class: HttpError

    Extends

    • Error

    Constructors

    new HttpError(__namedParameters)

    ',5),i=e("strong",null,"new HttpError",-1),u=e("code",null,"__namedParameters",-1),m=e("code",null,"HttpError",-1),_=o('

    Parameters

    __namedParameters

    __namedParameters.message: string

    __namedParameters.statusCode?: number

    Returns

    ',5),g=e("code",null,"HttpError",-1),f=o('

    Overrides

    Error.constructor

    Properties

    message

    readonly message: string

    Overrides

    Error.message

    statusCode

    readonly statusCode: number

    ',9);function x(E,b){const r=d("RouteLink");return c(),l("div",null,[e("p",null,[s(r,{to:"/doc/http/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(r,{to:"/doc/http/"},{default:a(()=>[t("@faasjs/http")]),_:1}),t(" / HttpError")]),h,e("blockquote",null,[e("p",null,[i,t("("),u,t("): "),s(r,{to:"/doc/http/classes/HttpError.html"},{default:a(()=>[m]),_:1})])]),_,e("p",null,[s(r,{to:"/doc/http/classes/HttpError.html"},{default:a(()=>[g]),_:1})]),f])}const k=n(p,[["render",x],["__file","HttpError.html.vue"]]),H=JSON.parse('{"path":"/doc/http/classes/HttpError.html","title":"Class: HttpError","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new HttpError(__namedParameters)","slug":"new-httperror-namedparameters","link":"#new-httperror-namedparameters","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"statusCode","slug":"statuscode","link":"#statuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/HttpError.md"}');export{k as comp,H as data}; +import{_ as n,r as d,o as c,c as l,a as e,d as s,w as a,b as t,e as o}from"./app-COoiSelr.js";const p={},h=o('

    Class: HttpError

    Extends

    • Error

    Constructors

    new HttpError(__namedParameters)

    ',5),i=e("strong",null,"new HttpError",-1),u=e("code",null,"__namedParameters",-1),m=e("code",null,"HttpError",-1),_=o('

    Parameters

    __namedParameters

    __namedParameters.message: string

    __namedParameters.statusCode?: number

    Returns

    ',5),g=e("code",null,"HttpError",-1),f=o('

    Overrides

    Error.constructor

    Properties

    message

    readonly message: string

    Overrides

    Error.message

    statusCode

    readonly statusCode: number

    ',9);function x(E,b){const r=d("RouteLink");return c(),l("div",null,[e("p",null,[s(r,{to:"/doc/http/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(r,{to:"/doc/http/"},{default:a(()=>[t("@faasjs/http")]),_:1}),t(" / HttpError")]),h,e("blockquote",null,[e("p",null,[i,t("("),u,t("): "),s(r,{to:"/doc/http/classes/HttpError.html"},{default:a(()=>[m]),_:1})])]),_,e("p",null,[s(r,{to:"/doc/http/classes/HttpError.html"},{default:a(()=>[g]),_:1})]),f])}const k=n(p,[["render",x],["__file","HttpError.html.vue"]]),H=JSON.parse('{"path":"/doc/http/classes/HttpError.html","title":"Class: HttpError","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new HttpError(__namedParameters)","slug":"new-httperror-namedparameters","link":"#new-httperror-namedparameters","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"statusCode","slug":"statuscode","link":"#statuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/HttpError.md"}');export{k as comp,H as data}; diff --git a/assets/InvokeData.html-B5OYywVB.js b/assets/InvokeData.html-CVjXR8LK.js similarity index 98% rename from assets/InvokeData.html-B5OYywVB.js rename to assets/InvokeData.html-CVjXR8LK.js index 97f89b2345..624d1be219 100644 --- a/assets/InvokeData.html-B5OYywVB.js +++ b/assets/InvokeData.html-CVjXR8LK.js @@ -1 +1 @@ -import{_ as s,r as c,o as d,c as r,a as e,d as a,w as o,b as t,e as l}from"./app-QyD7034V.js";const i={},h=l('

    Type alias: InvokeData<TEvent, TContext, TResult>

    InvokeData<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Index signature

    [key: string]: any

    Type declaration

    callback

    callback: any

    config

    ',12),p=e("strong",null,"config",-1),u=e("code",null,"Config",-1),g=l('

    context

    context: TContext

    event

    event: TEvent

    handler?

    ',5),k=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),v=e("code",null,"TEvent",-1),x=e("code",null,"TContext",-1),b=e("code",null,"TResult",-1),y=l('

    logger

    logger: Logger

    response

    response: any

    ',4);function T(m,q){const n=c("RouteLink");return d(),r("div",null,[e("p",null,[a(n,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / InvokeData")]),h,e("blockquote",null,[e("p",null,[p,t(": "),a(n,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[u]),_:1})])]),g,e("blockquote",null,[e("p",null,[k,t(),f,t(": "),a(n,{to:"/doc/func/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),v,t(", "),x,t(", "),b,t(">")])]),y])}const I=s(i,[["render",T],["__file","InvokeData.html.vue"]]),D=JSON.parse('{"path":"/doc/func/type-aliases/InvokeData.html","title":"Type alias: InvokeData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"callback","slug":"callback","link":"#callback","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/InvokeData.md"}');export{I as comp,D as data}; +import{_ as s,r as c,o as d,c as r,a as e,d as a,w as o,b as t,e as l}from"./app-COoiSelr.js";const i={},h=l('

    Type alias: InvokeData<TEvent, TContext, TResult>

    InvokeData<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Index signature

    [key: string]: any

    Type declaration

    callback

    callback: any

    config

    ',12),p=e("strong",null,"config",-1),u=e("code",null,"Config",-1),g=l('

    context

    context: TContext

    event

    event: TEvent

    handler?

    ',5),k=e("strong",null,[e("code",null,"optional")],-1),f=e("strong",null,"handler",-1),_=e("code",null,"Handler",-1),v=e("code",null,"TEvent",-1),x=e("code",null,"TContext",-1),b=e("code",null,"TResult",-1),y=l('

    logger

    logger: Logger

    response

    response: any

    ',4);function T(m,q){const n=c("RouteLink");return d(),r("div",null,[e("p",null,[a(n,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / InvokeData")]),h,e("blockquote",null,[e("p",null,[p,t(": "),a(n,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[u]),_:1})])]),g,e("blockquote",null,[e("p",null,[k,t(),f,t(": "),a(n,{to:"/doc/func/type-aliases/Handler.html"},{default:o(()=>[_]),_:1}),t("<"),v,t(", "),x,t(", "),b,t(">")])]),y])}const I=s(i,[["render",T],["__file","InvokeData.html.vue"]]),D=JSON.parse('{"path":"/doc/func/type-aliases/InvokeData.html","title":"Type alias: InvokeData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"callback","slug":"callback","link":"#callback","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/InvokeData.md"}');export{I as comp,D as data}; diff --git a/assets/InvokeData.html-TRJEPLFA.js b/assets/InvokeData.html-g8k1w-1V.js similarity index 98% rename from assets/InvokeData.html-TRJEPLFA.js rename to assets/InvokeData.html-g8k1w-1V.js index 52ecfcae2a..9142f6c219 100644 --- a/assets/InvokeData.html-TRJEPLFA.js +++ b/assets/InvokeData.html-g8k1w-1V.js @@ -1 +1 @@ -import{_ as s,r as c,o as d,c as r,a as e,d as a,w as o,b as t,e as l}from"./app-QyD7034V.js";const i={},h=l('

    Type alias: InvokeData<TEvent, TContext, TResult>

    InvokeData<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Index signature

    [key: string]: any

    Type declaration

    callback

    callback: any

    config

    ',12),p=e("strong",null,"config",-1),g=e("code",null,"Config",-1),u=l('

    context

    context: TContext

    event

    event: TEvent

    handler?

    ',5),k=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"handler",-1),v=e("code",null,"Handler",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),f=e("code",null,"TResult",-1),y=l('

    logger

    logger: Logger

    response

    response: any

    ',4);function T(m,q){const n=c("RouteLink");return d(),r("div",null,[e("p",null,[a(n,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / InvokeData")]),h,e("blockquote",null,[e("p",null,[p,t(": "),a(n,{to:"/doc/test/type-aliases/Config.html"},{default:o(()=>[g]),_:1})])]),u,e("blockquote",null,[e("p",null,[k,t(),_,t(": "),a(n,{to:"/doc/test/type-aliases/Handler.html"},{default:o(()=>[v]),_:1}),t("<"),x,t(", "),b,t(", "),f,t(">")])]),y])}const I=s(i,[["render",T],["__file","InvokeData.html.vue"]]),D=JSON.parse('{"path":"/doc/test/type-aliases/InvokeData.html","title":"Type alias: InvokeData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"callback","slug":"callback","link":"#callback","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/InvokeData.md"}');export{I as comp,D as data}; +import{_ as s,r as c,o as d,c as r,a as e,d as a,w as o,b as t,e as l}from"./app-COoiSelr.js";const i={},h=l('

    Type alias: InvokeData<TEvent, TContext, TResult>

    InvokeData<TEvent, TContext, TResult>: Object

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Index signature

    [key: string]: any

    Type declaration

    callback

    callback: any

    config

    ',12),p=e("strong",null,"config",-1),g=e("code",null,"Config",-1),u=l('

    context

    context: TContext

    event

    event: TEvent

    handler?

    ',5),k=e("strong",null,[e("code",null,"optional")],-1),_=e("strong",null,"handler",-1),v=e("code",null,"Handler",-1),x=e("code",null,"TEvent",-1),b=e("code",null,"TContext",-1),f=e("code",null,"TResult",-1),y=l('

    logger

    logger: Logger

    response

    response: any

    ',4);function T(m,q){const n=c("RouteLink");return d(),r("div",null,[e("p",null,[a(n,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / InvokeData")]),h,e("blockquote",null,[e("p",null,[p,t(": "),a(n,{to:"/doc/test/type-aliases/Config.html"},{default:o(()=>[g]),_:1})])]),u,e("blockquote",null,[e("p",null,[k,t(),_,t(": "),a(n,{to:"/doc/test/type-aliases/Handler.html"},{default:o(()=>[v]),_:1}),t("<"),x,t(", "),b,t(", "),f,t(">")])]),y])}const I=s(i,[["render",T],["__file","InvokeData.html.vue"]]),D=JSON.parse('{"path":"/doc/test/type-aliases/InvokeData.html","title":"Type alias: InvokeData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"callback","slug":"callback","link":"#callback","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"handler?","slug":"handler","link":"#handler","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/InvokeData.md"}');export{I as comp,D as data}; diff --git a/assets/Knex.html-DExNjuIS.js b/assets/Knex.html-DPuNK4DK.js similarity index 99% rename from assets/Knex.html-DExNjuIS.js rename to assets/Knex.html-DPuNK4DK.js index b89837015c..64540e2199 100644 --- a/assets/Knex.html-DExNjuIS.js +++ b/assets/Knex.html-DPuNK4DK.js @@ -1 +1 @@ -import{_ as r,r as c,o as d,c as l,a as e,d as a,w as t,b as o,e as s}from"./app-QyD7034V.js";const i={},p=s('

    Class: Knex

    Implements

    • Plugin

    Constructors

    new Knex(config)

    ',5),h=e("strong",null,"new Knex",-1),g=e("code",null,"config",-1),u=e("code",null,"Knex",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("strong",null,"config?",-1),x=e("code",null,"KnexConfig",-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"Knex",-1),y=s('

    Properties

    adapter

    adapter: Knex<any, any[]>

    config

    config: Config<any>

    logger

    logger: Logger

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    query

    query: Knex<any, any[]>

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    raw()

    raw<TResult>(sql, bindings): Promise<Raw<TResult>>

    Type parameters

    TResult = any

    Parameters

    sql: string

    bindings: ValueDict | RawBinding[]= []

    Returns

    Promise<Raw<TResult>>

    schema()

    schema(): SchemaBuilder

    Returns

    SchemaBuilder

    transaction()

    transaction<TResult>(scope, config?, options?): Promise<TResult>

    Wraps a transaction, returning a promise that resolves to the return value of the callback.

    • Support 'commit' and 'rollback' event.

    Type parameters

    TResult = any

    Parameters

    scope

    config?: TransactionConfig

    options?

    options.trx?: Transaction<any, any[]>

    Returns

    Promise<TResult>

    ',75);function q(v,_){const n=c("RouteLink");return d(),l("div",null,[e("p",null,[a(n,{to:"/doc/knex/"},{default:t(()=>[o("Documents")]),_:1}),o(" / "),a(n,{to:"/doc/knex/"},{default:t(()=>[o("@faasjs/knex")]),_:1}),o(" / Knex")]),p,e("blockquote",null,[e("p",null,[h,o("("),g,o("?): "),a(n,{to:"/doc/knex/classes/Knex.html"},{default:t(()=>[u]),_:1})])]),m,e("p",null,[o("• "),f,o(": "),a(n,{to:"/doc/knex/type-aliases/KnexConfig.html"},{default:t(()=>[x]),_:1})]),k,e("p",null,[a(n,{to:"/doc/knex/classes/Knex.html"},{default:t(()=>[b]),_:1})]),y])}const R=r(i,[["render",q],["__file","Knex.html.vue"]]),w=JSON.parse('{"path":"/doc/knex/classes/Knex.html","title":"Class: Knex","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Knex(config)","slug":"new-knex-config","link":"#new-knex-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"adapter","slug":"adapter","link":"#adapter","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"query","slug":"query","link":"#query","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"quit()","slug":"quit","link":"#quit","children":[]},{"level":3,"title":"raw()","slug":"raw","link":"#raw","children":[]},{"level":3,"title":"schema()","slug":"schema","link":"#schema","children":[]},{"level":3,"title":"transaction()","slug":"transaction","link":"#transaction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/classes/Knex.md"}');export{R as comp,w as data}; +import{_ as r,r as c,o as d,c as l,a as e,d as a,w as t,b as o,e as s}from"./app-COoiSelr.js";const i={},p=s('

    Class: Knex

    Implements

    • Plugin

    Constructors

    new Knex(config)

    ',5),h=e("strong",null,"new Knex",-1),g=e("code",null,"config",-1),u=e("code",null,"Knex",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("strong",null,"config?",-1),x=e("code",null,"KnexConfig",-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"Knex",-1),y=s('

    Properties

    adapter

    adapter: Knex<any, any[]>

    config

    config: Config<any>

    logger

    logger: Logger

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    query

    query: Knex<any, any[]>

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    raw()

    raw<TResult>(sql, bindings): Promise<Raw<TResult>>

    Type parameters

    TResult = any

    Parameters

    sql: string

    bindings: ValueDict | RawBinding[]= []

    Returns

    Promise<Raw<TResult>>

    schema()

    schema(): SchemaBuilder

    Returns

    SchemaBuilder

    transaction()

    transaction<TResult>(scope, config?, options?): Promise<TResult>

    Wraps a transaction, returning a promise that resolves to the return value of the callback.

    • Support 'commit' and 'rollback' event.

    Type parameters

    TResult = any

    Parameters

    scope

    config?: TransactionConfig

    options?

    options.trx?: Transaction<any, any[]>

    Returns

    Promise<TResult>

    ',75);function q(v,_){const n=c("RouteLink");return d(),l("div",null,[e("p",null,[a(n,{to:"/doc/knex/"},{default:t(()=>[o("Documents")]),_:1}),o(" / "),a(n,{to:"/doc/knex/"},{default:t(()=>[o("@faasjs/knex")]),_:1}),o(" / Knex")]),p,e("blockquote",null,[e("p",null,[h,o("("),g,o("?): "),a(n,{to:"/doc/knex/classes/Knex.html"},{default:t(()=>[u]),_:1})])]),m,e("p",null,[o("• "),f,o(": "),a(n,{to:"/doc/knex/type-aliases/KnexConfig.html"},{default:t(()=>[x]),_:1})]),k,e("p",null,[a(n,{to:"/doc/knex/classes/Knex.html"},{default:t(()=>[b]),_:1})]),y])}const R=r(i,[["render",q],["__file","Knex.html.vue"]]),w=JSON.parse('{"path":"/doc/knex/classes/Knex.html","title":"Class: Knex","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Knex(config)","slug":"new-knex-config","link":"#new-knex-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"adapter","slug":"adapter","link":"#adapter","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"query","slug":"query","link":"#query","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"quit()","slug":"quit","link":"#quit","children":[]},{"level":3,"title":"raw()","slug":"raw","link":"#raw","children":[]},{"level":3,"title":"schema()","slug":"schema","link":"#schema","children":[]},{"level":3,"title":"transaction()","slug":"transaction","link":"#transaction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/classes/Knex.md"}');export{R as comp,w as data}; diff --git a/assets/KnexConfig.html-B-I75waY.js b/assets/KnexConfig.html-BIBweGXT.js similarity index 96% rename from assets/KnexConfig.html-B-I75waY.js rename to assets/KnexConfig.html-BIBweGXT.js index 2ee12e9bca..11e2ecdbbb 100644 --- a/assets/KnexConfig.html-B-I75waY.js +++ b/assets/KnexConfig.html-BIBweGXT.js @@ -1 +1 @@ -import{_ as t,r as c,o as i,c as s,a as l,d as a,w as o,b as e,e as r}from"./app-QyD7034V.js";const d={},p=r('

    Type alias: KnexConfig

    KnexConfig: Object

    Type declaration

    config?

    optional config: OriginKnex.Config

    name?

    optional name: string

    ',7);function g(f,h){const n=c("RouteLink");return i(),s("div",null,[l("p",null,[a(n,{to:"/doc/knex/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(n,{to:"/doc/knex/"},{default:o(()=>[e("@faasjs/knex")]),_:1}),e(" / KnexConfig")]),p])}const m=t(d,[["render",g],["__file","KnexConfig.html.vue"]]),u=JSON.parse('{"path":"/doc/knex/type-aliases/KnexConfig.html","title":"Type alias: KnexConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/type-aliases/KnexConfig.md"}');export{m as comp,u as data}; +import{_ as t,r as c,o as i,c as s,a as l,d as a,w as o,b as e,e as r}from"./app-COoiSelr.js";const d={},p=r('

    Type alias: KnexConfig

    KnexConfig: Object

    Type declaration

    config?

    optional config: OriginKnex.Config

    name?

    optional name: string

    ',7);function g(f,h){const n=c("RouteLink");return i(),s("div",null,[l("p",null,[a(n,{to:"/doc/knex/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(n,{to:"/doc/knex/"},{default:o(()=>[e("@faasjs/knex")]),_:1}),e(" / KnexConfig")]),p])}const m=t(d,[["render",g],["__file","KnexConfig.html.vue"]]),u=JSON.parse('{"path":"/doc/knex/type-aliases/KnexConfig.html","title":"Type alias: KnexConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/type-aliases/KnexConfig.md"}');export{m as comp,u as data}; diff --git a/assets/Level.html-DvuD4N2V.js b/assets/Level.html-BytGOcJY.js similarity index 93% rename from assets/Level.html-DvuD4N2V.js rename to assets/Level.html-BytGOcJY.js index fdb47212bb..fd4be31a50 100644 --- a/assets/Level.html-DvuD4N2V.js +++ b/assets/Level.html-BytGOcJY.js @@ -1 +1 @@ -import{_ as l,r as c,o as s,c as r,a as n,d as t,w as a,b as e,e as d}from"./app-QyD7034V.js";const i={},p=d('

    Type alias: Level

    Level: "debug" | "info" | "warn" | "error"

    Logger Level

    ',3);function u(_,g){const o=c("RouteLink");return s(),r("div",null,[n("p",null,[t(o,{to:"/doc/logger/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/logger/"},{default:a(()=>[e("@faasjs/logger")]),_:1}),e(" / Level")]),p])}const h=l(i,[["render",u],["__file","Level.html.vue"]]),m=JSON.parse('{"path":"/doc/logger/type-aliases/Level.html","title":"Type alias: Level","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/logger/type-aliases/Level.md"}');export{h as comp,m as data}; +import{_ as l,r as c,o as s,c as r,a as n,d as t,w as a,b as e,e as d}from"./app-COoiSelr.js";const i={},p=d('

    Type alias: Level

    Level: "debug" | "info" | "warn" | "error"

    Logger Level

    ',3);function u(_,g){const o=c("RouteLink");return s(),r("div",null,[n("p",null,[t(o,{to:"/doc/logger/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/logger/"},{default:a(()=>[e("@faasjs/logger")]),_:1}),e(" / Level")]),p])}const h=l(i,[["render",u],["__file","Level.html.vue"]]),m=JSON.parse('{"path":"/doc/logger/type-aliases/Level.html","title":"Type alias: Level","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/logger/type-aliases/Level.md"}');export{h as comp,m as data}; diff --git a/assets/LifeCycleKey.html-vXfpDkzJ.js b/assets/LifeCycleKey.html-6U19a8GZ.js similarity index 93% rename from assets/LifeCycleKey.html-vXfpDkzJ.js rename to assets/LifeCycleKey.html-6U19a8GZ.js index 780804ef15..e39ee55197 100644 --- a/assets/LifeCycleKey.html-vXfpDkzJ.js +++ b/assets/LifeCycleKey.html-6U19a8GZ.js @@ -1 +1 @@ -import{_ as c,r as s,o as n,c as i,a as e,d as a,w as o,b as t}from"./app-QyD7034V.js";const y={},d=e("h1",{id:"type-alias-lifecyclekey",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-lifecyclekey"},[e("span",null,"Type alias: LifeCycleKey")])],-1),r=e("blockquote",null,[e("p",null,[e("strong",null,"LifeCycleKey"),t(": "),e("code",null,'"onDeploy"'),t(" | "),e("code",null,'"onMount"'),t(" | "),e("code",null,'"onInvoke"')])],-1);function f(u,p){const l=s("RouteLink");return n(),i("div",null,[e("p",null,[a(l,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(l,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / LifeCycleKey")]),d,r])}const h=c(y,[["render",f],["__file","LifeCycleKey.html.vue"]]),m=JSON.parse('{"path":"/doc/test/type-aliases/LifeCycleKey.html","title":"Type alias: LifeCycleKey","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/LifeCycleKey.md"}');export{h as comp,m as data}; +import{_ as c,r as s,o as n,c as i,a as e,d as a,w as o,b as t}from"./app-COoiSelr.js";const y={},d=e("h1",{id:"type-alias-lifecyclekey",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-lifecyclekey"},[e("span",null,"Type alias: LifeCycleKey")])],-1),r=e("blockquote",null,[e("p",null,[e("strong",null,"LifeCycleKey"),t(": "),e("code",null,'"onDeploy"'),t(" | "),e("code",null,'"onMount"'),t(" | "),e("code",null,'"onInvoke"')])],-1);function f(u,p){const l=s("RouteLink");return n(),i("div",null,[e("p",null,[a(l,{to:"/doc/test/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(l,{to:"/doc/test/"},{default:o(()=>[t("@faasjs/test")]),_:1}),t(" / LifeCycleKey")]),d,r])}const h=c(y,[["render",f],["__file","LifeCycleKey.html.vue"]]),m=JSON.parse('{"path":"/doc/test/type-aliases/LifeCycleKey.html","title":"Type alias: LifeCycleKey","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/LifeCycleKey.md"}');export{h as comp,m as data}; diff --git a/assets/LifeCycleKey.html-DO7jZTxY.js b/assets/LifeCycleKey.html-CyHIhRYw.js similarity index 93% rename from assets/LifeCycleKey.html-DO7jZTxY.js rename to assets/LifeCycleKey.html-CyHIhRYw.js index 0aa9ddeb24..22f339c122 100644 --- a/assets/LifeCycleKey.html-DO7jZTxY.js +++ b/assets/LifeCycleKey.html-CyHIhRYw.js @@ -1 +1 @@ -import{_ as o,r as n,o as s,c as i,a as e,d as c,w as a,b as l}from"./app-QyD7034V.js";const f={},y=e("h1",{id:"type-alias-lifecyclekey",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-lifecyclekey"},[e("span",null,"Type alias: LifeCycleKey")])],-1),d=e("blockquote",null,[e("p",null,[e("strong",null,"LifeCycleKey"),l(": "),e("code",null,'"onDeploy"'),l(" | "),e("code",null,'"onMount"'),l(" | "),e("code",null,'"onInvoke"')])],-1);function u(r,p){const t=n("RouteLink");return s(),i("div",null,[e("p",null,[c(t,{to:"/doc/func/"},{default:a(()=>[l("Documents")]),_:1}),l(" / "),c(t,{to:"/doc/func/"},{default:a(()=>[l("@faasjs/func")]),_:1}),l(" / LifeCycleKey")]),y,d])}const h=o(f,[["render",u],["__file","LifeCycleKey.html.vue"]]),m=JSON.parse('{"path":"/doc/func/type-aliases/LifeCycleKey.html","title":"Type alias: LifeCycleKey","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/LifeCycleKey.md"}');export{h as comp,m as data}; +import{_ as o,r as n,o as s,c as i,a as e,d as c,w as a,b as l}from"./app-COoiSelr.js";const f={},y=e("h1",{id:"type-alias-lifecyclekey",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-lifecyclekey"},[e("span",null,"Type alias: LifeCycleKey")])],-1),d=e("blockquote",null,[e("p",null,[e("strong",null,"LifeCycleKey"),l(": "),e("code",null,'"onDeploy"'),l(" | "),e("code",null,'"onMount"'),l(" | "),e("code",null,'"onInvoke"')])],-1);function u(r,p){const t=n("RouteLink");return s(),i("div",null,[e("p",null,[c(t,{to:"/doc/func/"},{default:a(()=>[l("Documents")]),_:1}),l(" / "),c(t,{to:"/doc/func/"},{default:a(()=>[l("@faasjs/func")]),_:1}),l(" / LifeCycleKey")]),y,d])}const h=o(f,[["render",u],["__file","LifeCycleKey.html.vue"]]),m=JSON.parse('{"path":"/doc/func/type-aliases/LifeCycleKey.html","title":"Type alias: LifeCycleKey","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/LifeCycleKey.md"}');export{h as comp,m as data}; diff --git a/assets/Link.html-Cpp65Bgb.js b/assets/Link.html-CpIi9-FV.js similarity index 98% rename from assets/Link.html-Cpp65Bgb.js rename to assets/Link.html-CpIi9-FV.js index f5f560da40..cc2ec04378 100644 --- a/assets/Link.html-Cpp65Bgb.js +++ b/assets/Link.html-CpIi9-FV.js @@ -1,4 +1,4 @@ -import{_ as o,r as c,o as l,c as i,a,d as t,w as e,b as n,e as p}from"./app-QyD7034V.js";const u={},r=p('

    Function: Link()

    Link(props): Element

    Link component with button

    Parameters

    ',4),d=a("strong",null,"props",-1),k=a("code",null,"LinkProps",-1),m=p(`

    Returns

    Element

    Example

    // pure link
    +import{_ as o,r as c,o as l,c as i,a,d as t,w as e,b as n,e as p}from"./app-COoiSelr.js";const u={},r=p('

    Function: Link()

    Link(props): Element

    Link component with button

    Parameters

    ',4),d=a("strong",null,"props",-1),k=a("code",null,"LinkProps",-1),m=p(`

    Returns

    Element

    Example

    // pure link
     <Link href="/">Home</Link>
     
     // link with button
    diff --git a/assets/LinkProps.html-BDkRoPMO.js b/assets/LinkProps.html-CztOkGp5.js
    similarity index 98%
    rename from assets/LinkProps.html-BDkRoPMO.js
    rename to assets/LinkProps.html-CztOkGp5.js
    index aea148b4a0..ddc349feda 100644
    --- a/assets/LinkProps.html-BDkRoPMO.js
    +++ b/assets/LinkProps.html-CztOkGp5.js
    @@ -1 +1 @@
    -import{_ as a,r,o as c,c as s,a as l,d as t,w as n,b as e,e as d}from"./app-QyD7034V.js";const i={},p=d('

    Interface: LinkProps

    Properties

    block?

    optional block: boolean

    button?

    optional button: ButtonProps

    children?

    optional children: ReactNode

    copyable?

    optional copyable: boolean

    only use for text without button

    href

    href: string

    onClick()?

    optional onClick: (event) => void

    Parameters

    event: MouseEvent<HTMLElement, MouseEvent>

    Returns

    void

    style?

    optional style: CSSProperties

    target?

    optional target: "_blank"

    text?

    optional text: string | number

    ',25);function h(g,u){const o=r("RouteLink");return c(),s("div",null,[l("p",null,[t(o,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / LinkProps")]),p])}const k=a(i,[["render",h],["__file","LinkProps.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/interfaces/LinkProps.html","title":"Interface: LinkProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"block?","slug":"block","link":"#block","children":[]},{"level":3,"title":"button?","slug":"button","link":"#button","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"copyable?","slug":"copyable","link":"#copyable","children":[]},{"level":3,"title":"href","slug":"href","link":"#href","children":[]},{"level":3,"title":"onClick()?","slug":"onclick","link":"#onclick","children":[]},{"level":3,"title":"style?","slug":"style","link":"#style","children":[]},{"level":3,"title":"target?","slug":"target","link":"#target","children":[]},{"level":3,"title":"text?","slug":"text","link":"#text","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/LinkProps.md"}');export{k as comp,f as data}; +import{_ as a,r,o as c,c as s,a as l,d as t,w as n,b as e,e as d}from"./app-COoiSelr.js";const i={},p=d('

    Interface: LinkProps

    Properties

    block?

    optional block: boolean

    button?

    optional button: ButtonProps

    children?

    optional children: ReactNode

    copyable?

    optional copyable: boolean

    only use for text without button

    href

    href: string

    onClick()?

    optional onClick: (event) => void

    Parameters

    event: MouseEvent<HTMLElement, MouseEvent>

    Returns

    void

    style?

    optional style: CSSProperties

    target?

    optional target: "_blank"

    text?

    optional text: string | number

    ',25);function h(g,u){const o=r("RouteLink");return c(),s("div",null,[l("p",null,[t(o,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / LinkProps")]),p])}const k=a(i,[["render",h],["__file","LinkProps.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/interfaces/LinkProps.html","title":"Interface: LinkProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"block?","slug":"block","link":"#block","children":[]},{"level":3,"title":"button?","slug":"button","link":"#button","children":[]},{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"copyable?","slug":"copyable","link":"#copyable","children":[]},{"level":3,"title":"href","slug":"href","link":"#href","children":[]},{"level":3,"title":"onClick()?","slug":"onclick","link":"#onclick","children":[]},{"level":3,"title":"style?","slug":"style","link":"#style","children":[]},{"level":3,"title":"target?","slug":"target","link":"#target","children":[]},{"level":3,"title":"text?","slug":"text","link":"#text","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/LinkProps.md"}');export{k as comp,f as data}; diff --git a/assets/Loading.html-DDHtglen.js b/assets/Loading.html-BTqjiJPP.js similarity index 98% rename from assets/Loading.html-DDHtglen.js rename to assets/Loading.html-BTqjiJPP.js index d8cc9e3b3b..c22cda95b9 100644 --- a/assets/Loading.html-DDHtglen.js +++ b/assets/Loading.html-BTqjiJPP.js @@ -1,4 +1,4 @@ -import{_ as p,r as l,o as c,c as i,a as n,d as t,w as e,b as a,e as o}from"./app-QyD7034V.js";const d={},r=o('

    Function: Loading()

    Loading(props): Element

    Loading component based on Spin

    Parameters

    ',4),u=n("strong",null,"props",-1),g=n("code",null,"LoadingProps",-1),m=o(`

    Returns

    Element

    Example

    <Loading /> // display loading
    +import{_ as p,r as l,o as c,c as i,a as n,d as t,w as e,b as a,e as o}from"./app-COoiSelr.js";const d={},r=o('

    Function: Loading()

    Loading(props): Element

    Loading component based on Spin

    Parameters

    ',4),u=n("strong",null,"props",-1),g=n("code",null,"LoadingProps",-1),m=o(`

    Returns

    Element

    Example

    <Loading /> // display loading
     
     <Loading loading={ !remoteData }>
       <div>{remoteData}</div>
    diff --git a/assets/LoadingProps.html-BosrJFAk.js b/assets/LoadingProps.html-DWjeCmW2.js
    similarity index 97%
    rename from assets/LoadingProps.html-BosrJFAk.js
    rename to assets/LoadingProps.html-DWjeCmW2.js
    index d79df53f1e..52bb5c97e2 100644
    --- a/assets/LoadingProps.html-BosrJFAk.js
    +++ b/assets/LoadingProps.html-DWjeCmW2.js
    @@ -1 +1 @@
    -import{_ as n,r as s,o as l,c as d,a as i,d as a,w as t,b as e,e as c}from"./app-QyD7034V.js";const r={},p=c('

    Type alias: LoadingProps

    LoadingProps: Object

    Type declaration

    children?

    optional children: React.ReactNode

    loading?

    optional loading: boolean

    size?

    optional size: "small" | "default" | "large"

    style?

    optional style: React.CSSProperties

    ',11);function h(g,u){const o=s("RouteLink");return l(),d("div",null,[i("p",null,[a(o,{to:"/doc/ant-design/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/ant-design/"},{default:t(()=>[e("@faasjs/ant-design")]),_:1}),e(" / LoadingProps")]),p])}const k=n(r,[["render",h],["__file","LoadingProps.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/type-aliases/LoadingProps.html","title":"Type alias: LoadingProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"loading?","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"size?","slug":"size","link":"#size","children":[]},{"level":3,"title":"style?","slug":"style","link":"#style","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/LoadingProps.md"}');export{k as comp,y as data}; +import{_ as n,r as s,o as l,c as d,a as i,d as a,w as t,b as e,e as c}from"./app-COoiSelr.js";const r={},p=c('

    Type alias: LoadingProps

    LoadingProps: Object

    Type declaration

    children?

    optional children: React.ReactNode

    loading?

    optional loading: boolean

    size?

    optional size: "small" | "default" | "large"

    style?

    optional style: React.CSSProperties

    ',11);function h(g,u){const o=s("RouteLink");return l(),d("div",null,[i("p",null,[a(o,{to:"/doc/ant-design/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/ant-design/"},{default:t(()=>[e("@faasjs/ant-design")]),_:1}),e(" / LoadingProps")]),p])}const k=n(r,[["render",h],["__file","LoadingProps.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/type-aliases/LoadingProps.html","title":"Type alias: LoadingProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"loading?","slug":"loading","link":"#loading","children":[]},{"level":3,"title":"size?","slug":"size","link":"#size","children":[]},{"level":3,"title":"style?","slug":"style","link":"#style","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/LoadingProps.md"}');export{k as comp,y as data}; diff --git a/assets/Logger.html-BFkDqbqb.js b/assets/Logger.html-CrhFKmMZ.js similarity index 99% rename from assets/Logger.html-BFkDqbqb.js rename to assets/Logger.html-CrhFKmMZ.js index 5ed59655da..6fa939931f 100644 --- a/assets/Logger.html-BFkDqbqb.js +++ b/assets/Logger.html-CrhFKmMZ.js @@ -1,4 +1,4 @@ -import{_ as l,r,o as c,c as d,a as e,d as a,w as o,b as s,e as t}from"./app-QyD7034V.js";const i={},p=t(`

    Class: Logger

    Logger Class

    Support env:

    • FaasLog: debug, info, warn, error (default: debug)
    • FaasLogSize: 1000 (default: 1000)
    • FaasLogMode: plain, pretty (default: pretty)

    Example

    const logger = new Logger()
    +import{_ as l,r,o as c,c as d,a as e,d as a,w as o,b as s,e as t}from"./app-COoiSelr.js";const i={},p=t(`

    Class: Logger

    Logger Class

    Support env:

    • FaasLog: debug, info, warn, error (default: debug)
    • FaasLogSize: 1000 (default: 1000)
    • FaasLogMode: plain, pretty (default: pretty)

    Example

    const logger = new Logger()
     
     logger.debug('debug message')
     logger.info('info message')
    diff --git a/assets/MockHandler.html-BKI9yH1m.js b/assets/MockHandler.html-DymjC1Kl.js
    similarity index 97%
    rename from assets/MockHandler.html-BKI9yH1m.js
    rename to assets/MockHandler.html-DymjC1Kl.js
    index 72d15fa311..4b535f4f12 100644
    --- a/assets/MockHandler.html-BKI9yH1m.js
    +++ b/assets/MockHandler.html-DymjC1Kl.js
    @@ -1 +1 @@
    -import{_ as a,r as l,o as r,c,a as e,d as t,w as n,b as o,e as d}from"./app-QyD7034V.js";const i={},_=e("h1",{id:"type-alias-mockhandler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-mockhandler"},[e("span",null,"Type alias: MockHandler()")])],-1),h=e("strong",null,"MockHandler",-1),p=e("code",null,"action",-1),u=e("code",null,"params",-1),m=e("code",null,"options",-1),f=e("code",null,"Promise",-1),k=e("code",null,"Response",-1),b=e("code",null,"any",-1),g=d('

    Parameters

    action: string

    params: Record<string, any>

    ',3),w=e("strong",null,"options",-1),y=e("code",null,"Options",-1),R=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"Promise",-1),H=e("code",null,"Response",-1),M=e("code",null,"any",-1);function v(N,P){const s=l("RouteLink");return r(),c("div",null,[e("p",null,[t(s,{to:"/doc/browser/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/browser/"},{default:n(()=>[o("@faasjs/browser")]),_:1}),o(" / MockHandler")]),_,e("blockquote",null,[e("p",null,[h,o(": ("),p,o(", "),u,o(", "),m,o(") => "),f,o("<"),t(s,{to:"/doc/browser/classes/Response.html"},{default:n(()=>[k]),_:1}),o("<"),b,o(">>")])]),g,e("p",null,[o("• "),w,o(": "),t(s,{to:"/doc/browser/type-aliases/Options.html"},{default:n(()=>[y]),_:1})]),R,e("p",null,[x,o("<"),t(s,{to:"/doc/browser/classes/Response.html"},{default:n(()=>[H]),_:1}),o("<"),M,o(">>")])])}const V=a(i,[["render",v],["__file","MockHandler.html.vue"]]),B=JSON.parse('{"path":"/doc/browser/type-aliases/MockHandler.html","title":"Type alias: MockHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/MockHandler.md"}');export{V as comp,B as data}; +import{_ as a,r as l,o as r,c,a as e,d as t,w as n,b as o,e as d}from"./app-COoiSelr.js";const i={},_=e("h1",{id:"type-alias-mockhandler",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-mockhandler"},[e("span",null,"Type alias: MockHandler()")])],-1),h=e("strong",null,"MockHandler",-1),p=e("code",null,"action",-1),u=e("code",null,"params",-1),m=e("code",null,"options",-1),f=e("code",null,"Promise",-1),k=e("code",null,"Response",-1),b=e("code",null,"any",-1),g=d('

    Parameters

    action: string

    params: Record<string, any>

    ',3),w=e("strong",null,"options",-1),y=e("code",null,"Options",-1),R=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"Promise",-1),H=e("code",null,"Response",-1),M=e("code",null,"any",-1);function v(N,P){const s=l("RouteLink");return r(),c("div",null,[e("p",null,[t(s,{to:"/doc/browser/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/browser/"},{default:n(()=>[o("@faasjs/browser")]),_:1}),o(" / MockHandler")]),_,e("blockquote",null,[e("p",null,[h,o(": ("),p,o(", "),u,o(", "),m,o(") => "),f,o("<"),t(s,{to:"/doc/browser/classes/Response.html"},{default:n(()=>[k]),_:1}),o("<"),b,o(">>")])]),g,e("p",null,[o("• "),w,o(": "),t(s,{to:"/doc/browser/type-aliases/Options.html"},{default:n(()=>[y]),_:1})]),R,e("p",null,[x,o("<"),t(s,{to:"/doc/browser/classes/Response.html"},{default:n(()=>[H]),_:1}),o("<"),M,o(">>")])])}const V=a(i,[["render",v],["__file","MockHandler.html.vue"]]),B=JSON.parse('{"path":"/doc/browser/type-aliases/MockHandler.html","title":"Type alias: MockHandler()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/MockHandler.md"}');export{V as comp,B as data}; diff --git a/assets/Modal.html-DiqAdQ8W.js b/assets/Modal.html-Da7cAOmt.js similarity index 95% rename from assets/Modal.html-DiqAdQ8W.js rename to assets/Modal.html-Da7cAOmt.js index cfd71b206a..9d2a4b3110 100644 --- a/assets/Modal.html-DiqAdQ8W.js +++ b/assets/Modal.html-Da7cAOmt.js @@ -1 +1 @@ -import{_ as n,r as s,o as r,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: Modal()

    Modal(props, context?): ReactNode

    Parameters

    props: ModalProps

    context?: any

    Returns

    ReactNode

    ',7);function u(h,m){const t=s("RouteLink");return r(),d("div",null,[c("p",null,[a(t,{to:"/doc/ant-design/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/ant-design/"},{default:o(()=>[e("@faasjs/ant-design")]),_:1}),e(" / Modal")]),p])}const _=n(i,[["render",u],["__file","Modal.html.vue"]]),g=JSON.parse('{"path":"/doc/ant-design/functions/Modal.html","title":"Function: Modal()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Modal.md"}');export{_ as comp,g as data}; +import{_ as n,r as s,o as r,c as d,a as c,d as a,w as o,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: Modal()

    Modal(props, context?): ReactNode

    Parameters

    props: ModalProps

    context?: any

    Returns

    ReactNode

    ',7);function u(h,m){const t=s("RouteLink");return r(),d("div",null,[c("p",null,[a(t,{to:"/doc/ant-design/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/ant-design/"},{default:o(()=>[e("@faasjs/ant-design")]),_:1}),e(" / Modal")]),p])}const _=n(i,[["render",u],["__file","Modal.html.vue"]]),g=JSON.parse('{"path":"/doc/ant-design/functions/Modal.html","title":"Function: Modal()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Modal.md"}');export{_ as comp,g as data}; diff --git a/assets/ModalProps.html-lcvfvQ-4.js b/assets/ModalProps.html-9dCUU7_C.js similarity index 96% rename from assets/ModalProps.html-lcvfvQ-4.js rename to assets/ModalProps.html-9dCUU7_C.js index ec10429141..e66c9cc272 100644 --- a/assets/ModalProps.html-lcvfvQ-4.js +++ b/assets/ModalProps.html-9dCUU7_C.js @@ -1 +1 @@ -import{_ as t,r,o as s,c as d,a as l,d as o,w as n,b as e,e as c}from"./app-QyD7034V.js";const i={},p=c('

    Interface: ModalProps

    Extends

    • ModalProps

    Properties

    children?

    optional children: string | Element | Element[]

    Overrides

    AntdModalProps.children

    ',8);function h(f,u){const a=r("RouteLink");return s(),d("div",null,[l("p",null,[o(a,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ModalProps")]),p])}const _=t(i,[["render",h],["__file","ModalProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/ModalProps.html","title":"Interface: ModalProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ModalProps.md"}');export{_ as comp,x as data}; +import{_ as t,r,o as s,c as d,a as l,d as o,w as n,b as e,e as c}from"./app-COoiSelr.js";const i={},p=c('

    Interface: ModalProps

    Extends

    • ModalProps

    Properties

    children?

    optional children: string | Element | Element[]

    Overrides

    AntdModalProps.children

    ',8);function h(f,u){const a=r("RouteLink");return s(),d("div",null,[l("p",null,[o(a,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / ModalProps")]),p])}const _=t(i,[["render",h],["__file","ModalProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/ModalProps.html","title":"Interface: ModalProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/ModalProps.md"}');export{_ as comp,x as data}; diff --git a/assets/Mongo.html-CoSBKqXI.js b/assets/Mongo.html-DkSwJRUy.js similarity index 99% rename from assets/Mongo.html-CoSBKqXI.js rename to assets/Mongo.html-DkSwJRUy.js index bbe202b294..8272b810d9 100644 --- a/assets/Mongo.html-CoSBKqXI.js +++ b/assets/Mongo.html-DkSwJRUy.js @@ -1 +1 @@ -import{_ as c,r as l,o as d,c as r,a as e,d as t,w as a,b as o,e as s}from"./app-QyD7034V.js";const i={},h=s('

    Class: Mongo

    Implements

    • Plugin

    Constructors

    new Mongo(config)

    ',5),p=e("strong",null,"new Mongo",-1),g=e("code",null,"config",-1),m=e("code",null,"Mongo",-1),u=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("p",null,[o("• "),e("strong",null,"config?")],-1),b=e("strong",null,"config.config?",-1),_=e("code",null,"MongoConfig",-1),x=e("p",null,[o("• "),e("strong",null,"config.name?"),o(": "),e("code",null,"string")],-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),M=e("code",null,"Mongo",-1),v=s('

    Properties

    client

    client: MongoClient

    collection()

    collection: <TSchema>(name, options?, callback?) => Collection<TSchema>

    Type parameters

    TSchema = any

    Parameters

    name: string

    options?: CollectionOptions

    callback?: Callback<Collection<TSchema>>

    Returns

    Collection<TSchema>

    config

    ',14),y=e("strong",null,"config",-1),q=e("code",null,"MongoConfig",-1),C=s('

    db

    db: Db

    name

    name: string

    Implementation of

    Plugin.name

    type

    type: string = 'mongo'

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    ',29);function P(w,D){const n=l("RouteLink");return d(),r("div",null,[e("p",null,[t(n,{to:"/doc/mongo/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/mongo/"},{default:a(()=>[o("@faasjs/mongo")]),_:1}),o(" / Mongo")]),h,e("blockquote",null,[e("p",null,[p,o("("),g,o("?): "),t(n,{to:"/doc/mongo/classes/Mongo.html"},{default:a(()=>[m]),_:1})])]),u,f,e("p",null,[o("• "),b,o(": "),t(n,{to:"/doc/mongo/interfaces/MongoConfig.html"},{default:a(()=>[_]),_:1})]),x,k,e("p",null,[t(n,{to:"/doc/mongo/classes/Mongo.html"},{default:a(()=>[M]),_:1})]),v,e("blockquote",null,[e("p",null,[y,o(": "),t(n,{to:"/doc/mongo/interfaces/MongoConfig.html"},{default:a(()=>[q]),_:1})])]),C])}const N=c(i,[["render",P],["__file","Mongo.html.vue"]]),R=JSON.parse('{"path":"/doc/mongo/classes/Mongo.html","title":"Class: Mongo","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Mongo(config)","slug":"new-mongo-config","link":"#new-mongo-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"client","slug":"client","link":"#client","children":[]},{"level":3,"title":"collection()","slug":"collection","link":"#collection","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"db","slug":"db","link":"#db","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/mongo/classes/Mongo.md"}');export{N as comp,R as data}; +import{_ as c,r as l,o as d,c as r,a as e,d as t,w as a,b as o,e as s}from"./app-COoiSelr.js";const i={},h=s('

    Class: Mongo

    Implements

    • Plugin

    Constructors

    new Mongo(config)

    ',5),p=e("strong",null,"new Mongo",-1),g=e("code",null,"config",-1),m=e("code",null,"Mongo",-1),u=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("p",null,[o("• "),e("strong",null,"config?")],-1),b=e("strong",null,"config.config?",-1),_=e("code",null,"MongoConfig",-1),x=e("p",null,[o("• "),e("strong",null,"config.name?"),o(": "),e("code",null,"string")],-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),M=e("code",null,"Mongo",-1),v=s('

    Properties

    client

    client: MongoClient

    collection()

    collection: <TSchema>(name, options?, callback?) => Collection<TSchema>

    Type parameters

    TSchema = any

    Parameters

    name: string

    options?: CollectionOptions

    callback?: Callback<Collection<TSchema>>

    Returns

    Collection<TSchema>

    config

    ',14),y=e("strong",null,"config",-1),q=e("code",null,"MongoConfig",-1),C=s('

    db

    db: Db

    name

    name: string

    Implementation of

    Plugin.name

    type

    type: string = 'mongo'

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    ',29);function P(w,D){const n=l("RouteLink");return d(),r("div",null,[e("p",null,[t(n,{to:"/doc/mongo/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/mongo/"},{default:a(()=>[o("@faasjs/mongo")]),_:1}),o(" / Mongo")]),h,e("blockquote",null,[e("p",null,[p,o("("),g,o("?): "),t(n,{to:"/doc/mongo/classes/Mongo.html"},{default:a(()=>[m]),_:1})])]),u,f,e("p",null,[o("• "),b,o(": "),t(n,{to:"/doc/mongo/interfaces/MongoConfig.html"},{default:a(()=>[_]),_:1})]),x,k,e("p",null,[t(n,{to:"/doc/mongo/classes/Mongo.html"},{default:a(()=>[M]),_:1})]),v,e("blockquote",null,[e("p",null,[y,o(": "),t(n,{to:"/doc/mongo/interfaces/MongoConfig.html"},{default:a(()=>[q]),_:1})])]),C])}const N=c(i,[["render",P],["__file","Mongo.html.vue"]]),R=JSON.parse('{"path":"/doc/mongo/classes/Mongo.html","title":"Class: Mongo","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Mongo(config)","slug":"new-mongo-config","link":"#new-mongo-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"client","slug":"client","link":"#client","children":[]},{"level":3,"title":"collection()","slug":"collection","link":"#collection","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"db","slug":"db","link":"#db","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/mongo/classes/Mongo.md"}');export{N as comp,R as data}; diff --git a/assets/MongoConfig.html-R-S5bWh4.js b/assets/MongoConfig.html-CfoOa8oq.js similarity index 96% rename from assets/MongoConfig.html-R-S5bWh4.js rename to assets/MongoConfig.html-CfoOa8oq.js index 51c8c73256..6d4bb68354 100644 --- a/assets/MongoConfig.html-R-S5bWh4.js +++ b/assets/MongoConfig.html-CfoOa8oq.js @@ -1 +1 @@ -import{_ as t,r as s,o as r,c as l,a as c,d as n,w as a,b as e,e as i}from"./app-QyD7034V.js";const d={},g=i('

    Interface: MongoConfig

    Extends

    • MongoClientOptions

    Properties

    database?

    optional database: string

    url?

    optional url: string

    ',8);function h(p,f){const o=s("RouteLink");return r(),l("div",null,[c("p",null,[n(o,{to:"/doc/mongo/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/mongo/"},{default:a(()=>[e("@faasjs/mongo")]),_:1}),e(" / MongoConfig")]),g])}const m=t(d,[["render",h],["__file","MongoConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/mongo/interfaces/MongoConfig.html","title":"Interface: MongoConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"database?","slug":"database","link":"#database","children":[]},{"level":3,"title":"url?","slug":"url","link":"#url","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/mongo/interfaces/MongoConfig.md"}');export{m as comp,_ as data}; +import{_ as t,r as s,o as r,c as l,a as c,d as n,w as a,b as e,e as i}from"./app-COoiSelr.js";const d={},g=i('

    Interface: MongoConfig

    Extends

    • MongoClientOptions

    Properties

    database?

    optional database: string

    url?

    optional url: string

    ',8);function h(p,f){const o=s("RouteLink");return r(),l("div",null,[c("p",null,[n(o,{to:"/doc/mongo/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),n(o,{to:"/doc/mongo/"},{default:a(()=>[e("@faasjs/mongo")]),_:1}),e(" / MongoConfig")]),g])}const m=t(d,[["render",h],["__file","MongoConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/mongo/interfaces/MongoConfig.html","title":"Interface: MongoConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"database?","slug":"database","link":"#database","children":[]},{"level":3,"title":"url?","slug":"url","link":"#url","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/mongo/interfaces/MongoConfig.md"}');export{m as comp,_ as data}; diff --git a/assets/MountData.html-Cpfeyqmw.js b/assets/MountData.html-BQ9q4O20.js similarity index 97% rename from assets/MountData.html-Cpfeyqmw.js rename to assets/MountData.html-BQ9q4O20.js index 4dc82ed5d2..f0f093a5a5 100644 --- a/assets/MountData.html-Cpfeyqmw.js +++ b/assets/MountData.html-BQ9q4O20.js @@ -1 +1 @@ -import{_ as l,r as s,o as i,c as d,a as t,d as n,w as o,b as e,e as c}from"./app-QyD7034V.js";const r={},u=c('

    Type alias: MountData

    MountData: Object

    Index signature

    [key: string]: any

    Type declaration

    config

    ',6),h=t("strong",null,"config",-1),p=t("code",null,"Config",-1),f=c('

    context

    context: any

    event

    event: any

    ',4);function g(_,x){const a=s("RouteLink");return i(),d("div",null,[t("p",null,[n(a,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / MountData")]),u,t("blockquote",null,[t("p",null,[h,e(": "),n(a,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[p]),_:1})])]),f])}const m=l(r,[["render",g],["__file","MountData.html.vue"]]),y=JSON.parse('{"path":"/doc/func/type-aliases/MountData.html","title":"Type alias: MountData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/MountData.md"}');export{m as comp,y as data}; +import{_ as l,r as s,o as i,c as d,a as t,d as n,w as o,b as e,e as c}from"./app-COoiSelr.js";const r={},u=c('

    Type alias: MountData

    MountData: Object

    Index signature

    [key: string]: any

    Type declaration

    config

    ',6),h=t("strong",null,"config",-1),p=t("code",null,"Config",-1),f=c('

    context

    context: any

    event

    event: any

    ',4);function g(_,x){const a=s("RouteLink");return i(),d("div",null,[t("p",null,[n(a,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / MountData")]),u,t("blockquote",null,[t("p",null,[h,e(": "),n(a,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[p]),_:1})])]),f])}const m=l(r,[["render",g],["__file","MountData.html.vue"]]),y=JSON.parse('{"path":"/doc/func/type-aliases/MountData.html","title":"Type alias: MountData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/MountData.md"}');export{m as comp,y as data}; diff --git a/assets/MountData.html-DFy8XhA-.js b/assets/MountData.html-Ln4sI6ch.js similarity index 97% rename from assets/MountData.html-DFy8XhA-.js rename to assets/MountData.html-Ln4sI6ch.js index e847c3fd8e..1d1959a297 100644 --- a/assets/MountData.html-DFy8XhA-.js +++ b/assets/MountData.html-Ln4sI6ch.js @@ -1 +1 @@ -import{_ as c,r as l,o as i,c as d,a as t,d as n,w as o,b as e,e as s}from"./app-QyD7034V.js";const r={},h=s('

    Type alias: MountData

    MountData: Object

    Index signature

    [key: string]: any

    Type declaration

    config

    ',6),p=t("strong",null,"config",-1),u=t("code",null,"Config",-1),g=s('

    context

    context: any

    event

    event: any

    ',4);function f(_,x){const a=l("RouteLink");return i(),d("div",null,[t("p",null,[n(a,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / MountData")]),h,t("blockquote",null,[t("p",null,[p,e(": "),n(a,{to:"/doc/test/type-aliases/Config.html"},{default:o(()=>[u]),_:1})])]),g])}const m=c(r,[["render",f],["__file","MountData.html.vue"]]),y=JSON.parse('{"path":"/doc/test/type-aliases/MountData.html","title":"Type alias: MountData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/MountData.md"}');export{m as comp,y as data}; +import{_ as c,r as l,o as i,c as d,a as t,d as n,w as o,b as e,e as s}from"./app-COoiSelr.js";const r={},h=s('

    Type alias: MountData

    MountData: Object

    Index signature

    [key: string]: any

    Type declaration

    config

    ',6),p=t("strong",null,"config",-1),u=t("code",null,"Config",-1),g=s('

    context

    context: any

    event

    event: any

    ',4);function f(_,x){const a=l("RouteLink");return i(),d("div",null,[t("p",null,[n(a,{to:"/doc/test/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(a,{to:"/doc/test/"},{default:o(()=>[e("@faasjs/test")]),_:1}),e(" / MountData")]),h,t("blockquote",null,[t("p",null,[p,e(": "),n(a,{to:"/doc/test/type-aliases/Config.html"},{default:o(()=>[u]),_:1})])]),g])}const m=c(r,[["render",f],["__file","MountData.html.vue"]]),y=JSON.parse('{"path":"/doc/test/type-aliases/MountData.html","title":"Type alias: MountData","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]},{"level":3,"title":"event","slug":"event","link":"#event","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/MountData.md"}');export{m as comp,y as data}; diff --git a/assets/Next.html-Bj6G484H.js b/assets/Next.html-Bbq7zXIl.js similarity index 94% rename from assets/Next.html-Bj6G484H.js rename to assets/Next.html-Bbq7zXIl.js index 5ae1bcfb9e..210090de42 100644 --- a/assets/Next.html-Bj6G484H.js +++ b/assets/Next.html-Bbq7zXIl.js @@ -1 +1 @@ -import{_ as o,r as n,o as c,c as r,a as l,d as a,w as s,b as e,e as d}from"./app-QyD7034V.js";const i={},p=d('

    Type alias: Next()

    Next: () => Promise<void>

    Returns

    Promise<void>

    ',4);function u(h,_){const t=n("RouteLink");return c(),r("div",null,[l("p",null,[a(t,{to:"/doc/test/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:s(()=>[e("@faasjs/test")]),_:1}),e(" / Next")]),p])}const m=o(i,[["render",u],["__file","Next.html.vue"]]),f=JSON.parse('{"path":"/doc/test/type-aliases/Next.html","title":"Type alias: Next()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Next.md"}');export{m as comp,f as data}; +import{_ as o,r as n,o as c,c as r,a as l,d as a,w as s,b as e,e as d}from"./app-COoiSelr.js";const i={},p=d('

    Type alias: Next()

    Next: () => Promise<void>

    Returns

    Promise<void>

    ',4);function u(h,_){const t=n("RouteLink");return c(),r("div",null,[l("p",null,[a(t,{to:"/doc/test/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/test/"},{default:s(()=>[e("@faasjs/test")]),_:1}),e(" / Next")]),p])}const m=o(i,[["render",u],["__file","Next.html.vue"]]),f=JSON.parse('{"path":"/doc/test/type-aliases/Next.html","title":"Type alias: Next()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Next.md"}');export{m as comp,f as data}; diff --git a/assets/Next.html-RxugJ239.js b/assets/Next.html-BeD_5cqE.js similarity index 94% rename from assets/Next.html-RxugJ239.js rename to assets/Next.html-BeD_5cqE.js index 8211a5bf94..fe0d56e203 100644 --- a/assets/Next.html-RxugJ239.js +++ b/assets/Next.html-BeD_5cqE.js @@ -1 +1 @@ -import{_ as s,r as n,o as c,c as r,a as l,d as a,w as o,b as e,e as d}from"./app-QyD7034V.js";const i={},u=d('

    Type alias: Next()

    Next: () => Promise<void>

    Returns

    Promise<void>

    ',4);function p(h,f){const t=n("RouteLink");return c(),r("div",null,[l("p",null,[a(t,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / Next")]),u])}const x=s(i,[["render",p],["__file","Next.html.vue"]]),m=JSON.parse('{"path":"/doc/func/type-aliases/Next.html","title":"Type alias: Next()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Next.md"}');export{x as comp,m as data}; +import{_ as s,r as n,o as c,c as r,a as l,d as a,w as o,b as e,e as d}from"./app-COoiSelr.js";const i={},u=d('

    Type alias: Next()

    Next: () => Promise<void>

    Returns

    Promise<void>

    ',4);function p(h,f){const t=n("RouteLink");return c(),r("div",null,[l("p",null,[a(t,{to:"/doc/func/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/func/"},{default:o(()=>[e("@faasjs/func")]),_:1}),e(" / Next")]),u])}const x=s(i,[["render",p],["__file","Next.html.vue"]]),m=JSON.parse('{"path":"/doc/func/type-aliases/Next.html","title":"Type alias: Next()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Next.md"}');export{x as comp,m as data}; diff --git a/assets/NodeBuiltinModules.html-B5T-fRer.js b/assets/NodeBuiltinModules.html-CZYrzlde.js similarity index 94% rename from assets/NodeBuiltinModules.html-B5T-fRer.js rename to assets/NodeBuiltinModules.html-CZYrzlde.js index 600fc843f8..19fbbb0d3d 100644 --- a/assets/NodeBuiltinModules.html-B5T-fRer.js +++ b/assets/NodeBuiltinModules.html-CZYrzlde.js @@ -1 +1 @@ -import{_ as s,r as a,o as d,c as i,a as e,d as l,w as n,b as t}from"./app-QyD7034V.js";const r={},u=e("h1",{id:"variable-nodebuiltinmodules",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#variable-nodebuiltinmodules"},[e("span",null,"Variable: NodeBuiltinModules")])],-1),c=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"const")]),t(),e("strong",null,"NodeBuiltinModules"),t(": "),e("code",null,"string"),t("[]")])],-1);function m(_,f){const o=a("RouteLink");return d(),i("div",null,[e("p",null,[l(o,{to:"/doc/ts-transform/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),l(o,{to:"/doc/ts-transform/"},{default:n(()=>[t("@faasjs/ts-transform")]),_:1}),t(" / NodeBuiltinModules")]),u,c])}const p=s(r,[["render",m],["__file","NodeBuiltinModules.html.vue"]]),N=JSON.parse('{"path":"/doc/ts-transform/variables/NodeBuiltinModules.html","title":"Variable: NodeBuiltinModules","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/variables/NodeBuiltinModules.md"}');export{p as comp,N as data}; +import{_ as s,r as a,o as d,c as i,a as e,d as l,w as n,b as t}from"./app-COoiSelr.js";const r={},u=e("h1",{id:"variable-nodebuiltinmodules",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#variable-nodebuiltinmodules"},[e("span",null,"Variable: NodeBuiltinModules")])],-1),c=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"const")]),t(),e("strong",null,"NodeBuiltinModules"),t(": "),e("code",null,"string"),t("[]")])],-1);function m(_,f){const o=a("RouteLink");return d(),i("div",null,[e("p",null,[l(o,{to:"/doc/ts-transform/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),l(o,{to:"/doc/ts-transform/"},{default:n(()=>[t("@faasjs/ts-transform")]),_:1}),t(" / NodeBuiltinModules")]),u,c])}const p=s(r,[["render",m],["__file","NodeBuiltinModules.html.vue"]]),N=JSON.parse('{"path":"/doc/ts-transform/variables/NodeBuiltinModules.html","title":"Variable: NodeBuiltinModules","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/variables/NodeBuiltinModules.md"}');export{p as comp,N as data}; diff --git a/assets/Options.html-CWTYEt28.js b/assets/Options.html-BIDHEZmf.js similarity index 98% rename from assets/Options.html-CWTYEt28.js rename to assets/Options.html-BIDHEZmf.js index 418121e653..046b11e651 100644 --- a/assets/Options.html-CWTYEt28.js +++ b/assets/Options.html-BIDHEZmf.js @@ -1 +1 @@ -import{_ as r,r as d,o as c,c as l,a as e,d as s,w as a,b as t,e as n}from"./app-QyD7034V.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),f=e("code",null,"PathOrData",-1),b=e("code",null,"url",-1),q=e("code",null,"options",-1),v=e("code",null,"Promise",-1),y=e("code",null,"Response",-1),O=e("code",null,"FaasData",-1),x=e("code",null,"PathOrData",-1),R=n('

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    ',5),k=e("strong",null,"options",-1),P=e("code",null,"Options",-1),D=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),T=e("code",null,"Promise",-1),N=e("code",null,"Response",-1),V=e("code",null,"FaasData",-1),B=e("code",null,"PathOrData",-1);function F(j,w){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[s(o,{to:"/doc/vue-plugin/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/vue-plugin/"},{default:a(()=>[t("@faasjs/vue-plugin")]),_:1}),t(" / Options")]),p,e("p",null,[t("• "),h,t(": "),s(o,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(),m,t(": <"),f,t(">("),b,t(", "),q,t(") => "),v,t("<"),s(o,{to:"/doc/vue-plugin/classes/Response.html"},{default:a(()=>[y]),_:1}),t("<"),O,t("<"),x,t(">>>")])]),R,e("p",null,[t("• "),k,t(": "),s(o,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:a(()=>[P]),_:1})]),D,e("p",null,[T,t("<"),s(o,{to:"/doc/vue-plugin/classes/Response.html"},{default:a(()=>[N]),_:1}),t("<"),V,t("<"),B,t(">>>")])])}const L=r(i,[["render",F],["__file","Options.html.vue"]]),S=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/Options.md"}');export{L as comp,S as data}; +import{_ as r,r as d,o as c,c as l,a as e,d as s,w as a,b as t,e as n}from"./app-COoiSelr.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),f=e("code",null,"PathOrData",-1),b=e("code",null,"url",-1),q=e("code",null,"options",-1),v=e("code",null,"Promise",-1),y=e("code",null,"Response",-1),O=e("code",null,"FaasData",-1),x=e("code",null,"PathOrData",-1),R=n('

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    ',5),k=e("strong",null,"options",-1),P=e("code",null,"Options",-1),D=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),T=e("code",null,"Promise",-1),N=e("code",null,"Response",-1),V=e("code",null,"FaasData",-1),B=e("code",null,"PathOrData",-1);function F(j,w){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[s(o,{to:"/doc/vue-plugin/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/vue-plugin/"},{default:a(()=>[t("@faasjs/vue-plugin")]),_:1}),t(" / Options")]),p,e("p",null,[t("• "),h,t(": "),s(o,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(),m,t(": <"),f,t(">("),b,t(", "),q,t(") => "),v,t("<"),s(o,{to:"/doc/vue-plugin/classes/Response.html"},{default:a(()=>[y]),_:1}),t("<"),O,t("<"),x,t(">>>")])]),R,e("p",null,[t("• "),k,t(": "),s(o,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:a(()=>[P]),_:1})]),D,e("p",null,[T,t("<"),s(o,{to:"/doc/vue-plugin/classes/Response.html"},{default:a(()=>[N]),_:1}),t("<"),V,t("<"),B,t(">>>")])])}const L=r(i,[["render",F],["__file","Options.html.vue"]]),S=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/Options.md"}');export{L as comp,S as data}; diff --git a/assets/Options.html-taIA_p4p.js b/assets/Options.html-DEjIiC0S.js similarity index 98% rename from assets/Options.html-taIA_p4p.js rename to assets/Options.html-DEjIiC0S.js index 4ea02794cc..8d51f3b080 100644 --- a/assets/Options.html-taIA_p4p.js +++ b/assets/Options.html-DEjIiC0S.js @@ -1 +1 @@ -import{_ as r,r as d,o as c,c as l,a as e,d as s,w as a,b as o,e as n}from"./app-QyD7034V.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),b=e("code",null,"PathOrData",-1),f=e("code",null,"url",-1),q=e("code",null,"options",-1),y=e("code",null,"Promise",-1),O=e("code",null,"Response",-1),x=e("code",null,"FaasData",-1),R=e("code",null,"PathOrData",-1),k=n('

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    ',5),w=e("strong",null,"options",-1),P=e("code",null,"Options",-1),v=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),D=e("code",null,"Promise",-1),T=e("code",null,"Response",-1),N=e("code",null,"FaasData",-1),V=e("code",null,"PathOrData",-1);function B(F,j){const t=d("RouteLink");return c(),l("div",null,[e("p",null,[s(t,{to:"/doc/browser/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/browser/"},{default:a(()=>[o("@faasjs/browser")]),_:1}),o(" / Options")]),p,e("p",null,[o("• "),h,o(": "),s(t,{to:"/doc/browser/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,o(),m,o(": <"),b,o(">("),f,o(", "),q,o(") => "),y,o("<"),s(t,{to:"/doc/browser/classes/Response.html"},{default:a(()=>[O]),_:1}),o("<"),x,o("<"),R,o(">>>")])]),k,e("p",null,[o("• "),w,o(": "),s(t,{to:"/doc/browser/type-aliases/Options.html"},{default:a(()=>[P]),_:1})]),v,e("p",null,[D,o("<"),s(t,{to:"/doc/browser/classes/Response.html"},{default:a(()=>[T]),_:1}),o("<"),N,o("<"),V,o(">>>")])])}const L=r(i,[["render",B],["__file","Options.html.vue"]]),S=JSON.parse('{"path":"/doc/browser/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/Options.md"}');export{L as comp,S as data}; +import{_ as r,r as d,o as c,c as l,a as e,d as s,w as a,b as o,e as n}from"./app-COoiSelr.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),b=e("code",null,"PathOrData",-1),f=e("code",null,"url",-1),q=e("code",null,"options",-1),y=e("code",null,"Promise",-1),O=e("code",null,"Response",-1),x=e("code",null,"FaasData",-1),R=e("code",null,"PathOrData",-1),k=n('

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    ',5),w=e("strong",null,"options",-1),P=e("code",null,"Options",-1),v=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),D=e("code",null,"Promise",-1),T=e("code",null,"Response",-1),N=e("code",null,"FaasData",-1),V=e("code",null,"PathOrData",-1);function B(F,j){const t=d("RouteLink");return c(),l("div",null,[e("p",null,[s(t,{to:"/doc/browser/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/browser/"},{default:a(()=>[o("@faasjs/browser")]),_:1}),o(" / Options")]),p,e("p",null,[o("• "),h,o(": "),s(t,{to:"/doc/browser/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,o(),m,o(": <"),b,o(">("),f,o(", "),q,o(") => "),y,o("<"),s(t,{to:"/doc/browser/classes/Response.html"},{default:a(()=>[O]),_:1}),o("<"),x,o("<"),R,o(">>>")])]),k,e("p",null,[o("• "),w,o(": "),s(t,{to:"/doc/browser/type-aliases/Options.html"},{default:a(()=>[P]),_:1})]),v,e("p",null,[D,o("<"),s(t,{to:"/doc/browser/classes/Response.html"},{default:a(()=>[T]),_:1}),o("<"),N,o("<"),V,o(">>>")])])}const L=r(i,[["render",B],["__file","Options.html.vue"]]),S=JSON.parse('{"path":"/doc/browser/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/Options.md"}');export{L as comp,S as data}; diff --git a/assets/Options.html-BkWppU-G.js b/assets/Options.html-DMKYZA-b.js similarity index 98% rename from assets/Options.html-BkWppU-G.js rename to assets/Options.html-DMKYZA-b.js index 02be5d8b40..57c3d04f36 100644 --- a/assets/Options.html-BkWppU-G.js +++ b/assets/Options.html-DMKYZA-b.js @@ -1 +1 @@ -import{_ as r,r as c,o as d,c as l,a as e,d as s,w as a,b as t,e as n}from"./app-QyD7034V.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),f=e("code",null,"PathOrData",-1),b=e("code",null,"url",-1),q=e("code",null,"options",-1),y=e("code",null,"Promise",-1),O=e("code",null,"Response",-1),x=e("code",null,"FaasData",-1),R=e("code",null,"PathOrData",-1),k=e("p",null,"custom request",-1),P=e("h4",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),v=e("strong",null,"PathOrData",-1),D=e("code",null,"FaasAction",-1),T=e("h4",{id:"parameters-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-1"},[e("span",null,"Parameters")])],-1),F=e("p",null,[t("• "),e("strong",null,"url"),t(": "),e("code",null,"string")],-1),N=e("strong",null,"options",-1),V=e("code",null,"Options",-1),B=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),j=e("code",null,"Promise",-1),w=e("code",null,"Response",-1),A=e("code",null,"FaasData",-1),C=e("code",null,"PathOrData",-1);function L(S,E){const o=c("RouteLink");return d(),l("div",null,[e("p",null,[s(o,{to:"/doc/react/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/react/"},{default:a(()=>[t("@faasjs/react")]),_:1}),t(" / Options")]),p,e("p",null,[t("• "),h,t(": "),s(o,{to:"/doc/react/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(),m,t(": <"),f,t(">("),b,t(", "),q,t(") => "),y,t("<"),s(o,{to:"/doc/react/classes/Response.html"},{default:a(()=>[O]),_:1}),t("<"),s(o,{to:"/doc/react/type-aliases/FaasData.html"},{default:a(()=>[x]),_:1}),t("<"),R,t(">>>")])]),k,P,e("p",null,[t("• "),v,t(" extends "),s(o,{to:"/doc/react/type-aliases/FaasAction.html"},{default:a(()=>[D]),_:1})]),T,F,e("p",null,[t("• "),N,t(": "),s(o,{to:"/doc/react/type-aliases/Options.html"},{default:a(()=>[V]),_:1})]),B,e("p",null,[j,t("<"),s(o,{to:"/doc/react/classes/Response.html"},{default:a(()=>[w]),_:1}),t("<"),s(o,{to:"/doc/react/type-aliases/FaasData.html"},{default:a(()=>[A]),_:1}),t("<"),C,t(">>>")])])}const J=r(i,[["render",L],["__file","Options.html.vue"]]),z=JSON.parse('{"path":"/doc/react/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/Options.md"}');export{J as comp,z as data}; +import{_ as r,r as c,o as d,c as l,a as e,d as s,w as a,b as t,e as n}from"./app-COoiSelr.js";const i={},p=n('

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    ',10),h=e("strong",null,"{ action, params, options, headers, }.options",-1),u=e("code",null,"Options",-1),_=n('

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    ',6),g=e("strong",null,[e("code",null,"optional")],-1),m=e("strong",null,"request",-1),f=e("code",null,"PathOrData",-1),b=e("code",null,"url",-1),q=e("code",null,"options",-1),y=e("code",null,"Promise",-1),O=e("code",null,"Response",-1),x=e("code",null,"FaasData",-1),R=e("code",null,"PathOrData",-1),k=e("p",null,"custom request",-1),P=e("h4",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),v=e("strong",null,"PathOrData",-1),D=e("code",null,"FaasAction",-1),T=e("h4",{id:"parameters-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters-1"},[e("span",null,"Parameters")])],-1),F=e("p",null,[t("• "),e("strong",null,"url"),t(": "),e("code",null,"string")],-1),N=e("strong",null,"options",-1),V=e("code",null,"Options",-1),B=e("h4",{id:"returns-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-1"},[e("span",null,"Returns")])],-1),j=e("code",null,"Promise",-1),w=e("code",null,"Response",-1),A=e("code",null,"FaasData",-1),C=e("code",null,"PathOrData",-1);function L(S,E){const o=c("RouteLink");return d(),l("div",null,[e("p",null,[s(o,{to:"/doc/react/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/react/"},{default:a(()=>[t("@faasjs/react")]),_:1}),t(" / Options")]),p,e("p",null,[t("• "),h,t(": "),s(o,{to:"/doc/react/type-aliases/Options.html"},{default:a(()=>[u]),_:1})]),_,e("blockquote",null,[e("p",null,[g,t(),m,t(": <"),f,t(">("),b,t(", "),q,t(") => "),y,t("<"),s(o,{to:"/doc/react/classes/Response.html"},{default:a(()=>[O]),_:1}),t("<"),s(o,{to:"/doc/react/type-aliases/FaasData.html"},{default:a(()=>[x]),_:1}),t("<"),R,t(">>>")])]),k,P,e("p",null,[t("• "),v,t(" extends "),s(o,{to:"/doc/react/type-aliases/FaasAction.html"},{default:a(()=>[D]),_:1})]),T,F,e("p",null,[t("• "),N,t(": "),s(o,{to:"/doc/react/type-aliases/Options.html"},{default:a(()=>[V]),_:1})]),B,e("p",null,[j,t("<"),s(o,{to:"/doc/react/classes/Response.html"},{default:a(()=>[w]),_:1}),t("<"),s(o,{to:"/doc/react/type-aliases/FaasData.html"},{default:a(()=>[A]),_:1}),t("<"),C,t(">>>")])])}const J=r(i,[["render",L],["__file","Options.html.vue"]]),z=JSON.parse('{"path":"/doc/react/type-aliases/Options.html","title":"Type alias: Options","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"beforeRequest()?","slug":"beforerequest","link":"#beforerequest","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request()?","slug":"request","link":"#request","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/Options.md"}');export{J as comp,z as data}; diff --git a/assets/PageNotFound.html-B1rLPNZP.js b/assets/PageNotFound.html-D4PHqORv.js similarity index 94% rename from assets/PageNotFound.html-B1rLPNZP.js rename to assets/PageNotFound.html-D4PHqORv.js index 104c34c15f..f60aeb750e 100644 --- a/assets/PageNotFound.html-B1rLPNZP.js +++ b/assets/PageNotFound.html-D4PHqORv.js @@ -1 +1 @@ -import{_ as s,r as l,o as d,c as u,a as e,d as o,w as a,b as n}from"./app-QyD7034V.js";const c={},r=e("h1",{id:"function-pagenotfound",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-pagenotfound"},[e("span",null,"Function: PageNotFound()")])],-1),i=e("blockquote",null,[e("p",null,[e("strong",null,"PageNotFound"),n("(): "),e("code",null,"Element")])],-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),h=e("p",null,[e("code",null,"Element")],-1);function f(g,p){const t=l("RouteLink");return d(),u("div",null,[e("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[n("Documents")]),_:1}),n(" / "),o(t,{to:"/doc/ant-design/"},{default:a(()=>[n("@faasjs/ant-design")]),_:1}),n(" / PageNotFound")]),r,i,_,h])}const N=s(c,[["render",f],["__file","PageNotFound.html.vue"]]),F=JSON.parse('{"path":"/doc/ant-design/functions/PageNotFound.html","title":"Function: PageNotFound()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/PageNotFound.md"}');export{N as comp,F as data}; +import{_ as s,r as l,o as d,c as u,a as e,d as o,w as a,b as n}from"./app-COoiSelr.js";const c={},r=e("h1",{id:"function-pagenotfound",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-pagenotfound"},[e("span",null,"Function: PageNotFound()")])],-1),i=e("blockquote",null,[e("p",null,[e("strong",null,"PageNotFound"),n("(): "),e("code",null,"Element")])],-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),h=e("p",null,[e("code",null,"Element")],-1);function f(g,p){const t=l("RouteLink");return d(),u("div",null,[e("p",null,[o(t,{to:"/doc/ant-design/"},{default:a(()=>[n("Documents")]),_:1}),n(" / "),o(t,{to:"/doc/ant-design/"},{default:a(()=>[n("@faasjs/ant-design")]),_:1}),n(" / PageNotFound")]),r,i,_,h])}const N=s(c,[["render",f],["__file","PageNotFound.html.vue"]]),F=JSON.parse('{"path":"/doc/ant-design/functions/PageNotFound.html","title":"Function: PageNotFound()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/PageNotFound.md"}');export{N as comp,F as data}; diff --git a/assets/Plugin.html-B-3f2vRQ.js b/assets/Plugin.html-DwQChcpb.js similarity index 98% rename from assets/Plugin.html-B-3f2vRQ.js rename to assets/Plugin.html-DwQChcpb.js index 491ba4bd7b..13dbd7c727 100644 --- a/assets/Plugin.html-B-3f2vRQ.js +++ b/assets/Plugin.html-DwQChcpb.js @@ -1 +1 @@ -import{_ as d,r as l,o as c,c as r,a as e,d as n,w as a,b as t,e as s}from"./app-QyD7034V.js";const i={},p=s('

    Type alias: Plugin

    Plugin: Object

    Index signature

    [key: string]: any

    Type declaration

    name

    readonly name: string

    onDeploy()?

    optional onDeploy: (data, next) => Promise<void>

    Parameters

    ',10),h=e("strong",null,"data",-1),u=e("code",null,"DeployData",-1),g=e("strong",null,"next",-1),_=e("code",null,"Next",-1),m=s('

    Returns

    Promise<void>

    onInvoke()?

    optional onInvoke: (data, next) => Promise<void>

    Parameters

    ',5),y=e("strong",null,"data",-1),x=e("code",null,"InvokeData",-1),k=e("strong",null,"next",-1),f=e("code",null,"Next",-1),b=s('

    Returns

    Promise<void>

    onMount()?

    optional onMount: (data, next) => Promise<void>

    Parameters

    ',5),v=e("strong",null,"data",-1),P=e("code",null,"MountData",-1),q=e("strong",null,"next",-1),D=e("code",null,"Next",-1),N=s('

    Returns

    Promise<void>

    type

    readonly type: string

    ',4);function I(R,T){const o=l("RouteLink");return c(),r("div",null,[e("p",null,[n(o,{to:"/doc/test/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),n(o,{to:"/doc/test/"},{default:a(()=>[t("@faasjs/test")]),_:1}),t(" / Plugin")]),p,e("p",null,[t("• "),h,t(": "),n(o,{to:"/doc/test/type-aliases/DeployData.html"},{default:a(()=>[u]),_:1})]),e("p",null,[t("• "),g,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[_]),_:1})]),m,e("p",null,[t("• "),y,t(": "),n(o,{to:"/doc/test/type-aliases/InvokeData.html"},{default:a(()=>[x]),_:1})]),e("p",null,[t("• "),k,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[f]),_:1})]),b,e("p",null,[t("• "),v,t(": "),n(o,{to:"/doc/test/type-aliases/MountData.html"},{default:a(()=>[P]),_:1})]),e("p",null,[t("• "),q,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[D]),_:1})]),N])}const V=d(i,[["render",I],["__file","Plugin.html.vue"]]),B=JSON.parse('{"path":"/doc/test/type-aliases/Plugin.html","title":"Type alias: Plugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"onDeploy()?","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()?","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()?","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Plugin.md"}');export{V as comp,B as data}; +import{_ as d,r as l,o as c,c as r,a as e,d as n,w as a,b as t,e as s}from"./app-COoiSelr.js";const i={},p=s('

    Type alias: Plugin

    Plugin: Object

    Index signature

    [key: string]: any

    Type declaration

    name

    readonly name: string

    onDeploy()?

    optional onDeploy: (data, next) => Promise<void>

    Parameters

    ',10),h=e("strong",null,"data",-1),u=e("code",null,"DeployData",-1),g=e("strong",null,"next",-1),_=e("code",null,"Next",-1),m=s('

    Returns

    Promise<void>

    onInvoke()?

    optional onInvoke: (data, next) => Promise<void>

    Parameters

    ',5),y=e("strong",null,"data",-1),x=e("code",null,"InvokeData",-1),k=e("strong",null,"next",-1),f=e("code",null,"Next",-1),b=s('

    Returns

    Promise<void>

    onMount()?

    optional onMount: (data, next) => Promise<void>

    Parameters

    ',5),v=e("strong",null,"data",-1),P=e("code",null,"MountData",-1),q=e("strong",null,"next",-1),D=e("code",null,"Next",-1),N=s('

    Returns

    Promise<void>

    type

    readonly type: string

    ',4);function I(R,T){const o=l("RouteLink");return c(),r("div",null,[e("p",null,[n(o,{to:"/doc/test/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),n(o,{to:"/doc/test/"},{default:a(()=>[t("@faasjs/test")]),_:1}),t(" / Plugin")]),p,e("p",null,[t("• "),h,t(": "),n(o,{to:"/doc/test/type-aliases/DeployData.html"},{default:a(()=>[u]),_:1})]),e("p",null,[t("• "),g,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[_]),_:1})]),m,e("p",null,[t("• "),y,t(": "),n(o,{to:"/doc/test/type-aliases/InvokeData.html"},{default:a(()=>[x]),_:1})]),e("p",null,[t("• "),k,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[f]),_:1})]),b,e("p",null,[t("• "),v,t(": "),n(o,{to:"/doc/test/type-aliases/MountData.html"},{default:a(()=>[P]),_:1})]),e("p",null,[t("• "),q,t(": "),n(o,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[D]),_:1})]),N])}const V=d(i,[["render",I],["__file","Plugin.html.vue"]]),B=JSON.parse('{"path":"/doc/test/type-aliases/Plugin.html","title":"Type alias: Plugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"onDeploy()?","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()?","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()?","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/Plugin.md"}');export{V as comp,B as data}; diff --git a/assets/Plugin.html-ZVhUkDQH.js b/assets/Plugin.html-c3qm7ads.js similarity index 98% rename from assets/Plugin.html-ZVhUkDQH.js rename to assets/Plugin.html-c3qm7ads.js index 40c46efb4c..09701e0d51 100644 --- a/assets/Plugin.html-ZVhUkDQH.js +++ b/assets/Plugin.html-c3qm7ads.js @@ -1 +1 @@ -import{_ as d,r as l,o as c,c as r,a as e,d as n,w as a,b as o,e as s}from"./app-QyD7034V.js";const i={},p=s('

    Type alias: Plugin

    Plugin: Object

    Index signature

    [key: string]: any

    Type declaration

    name

    readonly name: string

    onDeploy()?

    optional onDeploy: (data, next) => Promise<void>

    Parameters

    ',10),h=e("strong",null,"data",-1),u=e("code",null,"DeployData",-1),g=e("strong",null,"next",-1),_=e("code",null,"Next",-1),m=s('

    Returns

    Promise<void>

    onInvoke()?

    optional onInvoke: (data, next) => Promise<void>

    Parameters

    ',5),f=e("strong",null,"data",-1),y=e("code",null,"InvokeData",-1),x=e("strong",null,"next",-1),k=e("code",null,"Next",-1),b=s('

    Returns

    Promise<void>

    onMount()?

    optional onMount: (data, next) => Promise<void>

    Parameters

    ',5),v=e("strong",null,"data",-1),P=e("code",null,"MountData",-1),q=e("strong",null,"next",-1),D=e("code",null,"Next",-1),N=s('

    Returns

    Promise<void>

    type

    readonly type: string

    ',4);function I(R,T){const t=l("RouteLink");return c(),r("div",null,[e("p",null,[n(t,{to:"/doc/func/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),n(t,{to:"/doc/func/"},{default:a(()=>[o("@faasjs/func")]),_:1}),o(" / Plugin")]),p,e("p",null,[o("• "),h,o(": "),n(t,{to:"/doc/func/type-aliases/DeployData.html"},{default:a(()=>[u]),_:1})]),e("p",null,[o("• "),g,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[_]),_:1})]),m,e("p",null,[o("• "),f,o(": "),n(t,{to:"/doc/func/type-aliases/InvokeData.html"},{default:a(()=>[y]),_:1})]),e("p",null,[o("• "),x,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[k]),_:1})]),b,e("p",null,[o("• "),v,o(": "),n(t,{to:"/doc/func/type-aliases/MountData.html"},{default:a(()=>[P]),_:1})]),e("p",null,[o("• "),q,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[D]),_:1})]),N])}const V=d(i,[["render",I],["__file","Plugin.html.vue"]]),B=JSON.parse('{"path":"/doc/func/type-aliases/Plugin.html","title":"Type alias: Plugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"onDeploy()?","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()?","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()?","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Plugin.md"}');export{V as comp,B as data}; +import{_ as d,r as l,o as c,c as r,a as e,d as n,w as a,b as o,e as s}from"./app-COoiSelr.js";const i={},p=s('

    Type alias: Plugin

    Plugin: Object

    Index signature

    [key: string]: any

    Type declaration

    name

    readonly name: string

    onDeploy()?

    optional onDeploy: (data, next) => Promise<void>

    Parameters

    ',10),h=e("strong",null,"data",-1),u=e("code",null,"DeployData",-1),g=e("strong",null,"next",-1),_=e("code",null,"Next",-1),m=s('

    Returns

    Promise<void>

    onInvoke()?

    optional onInvoke: (data, next) => Promise<void>

    Parameters

    ',5),f=e("strong",null,"data",-1),y=e("code",null,"InvokeData",-1),x=e("strong",null,"next",-1),k=e("code",null,"Next",-1),b=s('

    Returns

    Promise<void>

    onMount()?

    optional onMount: (data, next) => Promise<void>

    Parameters

    ',5),v=e("strong",null,"data",-1),P=e("code",null,"MountData",-1),q=e("strong",null,"next",-1),D=e("code",null,"Next",-1),N=s('

    Returns

    Promise<void>

    type

    readonly type: string

    ',4);function I(R,T){const t=l("RouteLink");return c(),r("div",null,[e("p",null,[n(t,{to:"/doc/func/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),n(t,{to:"/doc/func/"},{default:a(()=>[o("@faasjs/func")]),_:1}),o(" / Plugin")]),p,e("p",null,[o("• "),h,o(": "),n(t,{to:"/doc/func/type-aliases/DeployData.html"},{default:a(()=>[u]),_:1})]),e("p",null,[o("• "),g,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[_]),_:1})]),m,e("p",null,[o("• "),f,o(": "),n(t,{to:"/doc/func/type-aliases/InvokeData.html"},{default:a(()=>[y]),_:1})]),e("p",null,[o("• "),x,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[k]),_:1})]),b,e("p",null,[o("• "),v,o(": "),n(t,{to:"/doc/func/type-aliases/MountData.html"},{default:a(()=>[P]),_:1})]),e("p",null,[o("• "),q,o(": "),n(t,{to:"/doc/func/type-aliases/Next.html"},{default:a(()=>[D]),_:1})]),N])}const V=d(i,[["render",I],["__file","Plugin.html.vue"]]),B=JSON.parse('{"path":"/doc/func/type-aliases/Plugin.html","title":"Type alias: Plugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"onDeploy()?","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()?","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()?","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/Plugin.md"}');export{V as comp,B as data}; diff --git a/assets/Provider.html-B6xPIE9B.js b/assets/Provider.html-DCP29uvo.js similarity index 99% rename from assets/Provider.html-B6xPIE9B.js rename to assets/Provider.html-DCP29uvo.js index 934f90e4d2..b52043d6b2 100644 --- a/assets/Provider.html-B6xPIE9B.js +++ b/assets/Provider.html-DCP29uvo.js @@ -1 +1 @@ -import{_ as c,r as d,o as r,c as l,a as e,d as t,w as a,b as o,e as s}from"./app-QyD7034V.js";const i={},p=s('

    Class: Provider

    Implements

    • CloudFunctionAdapter

    Constructors

    new Provider(config)

    ',5),h=e("strong",null,"new Provider",-1),u=e("code",null,"config",-1),g=e("code",null,"Provider",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),m=e("strong",null,"config",-1),v=e("code",null,"TencentcloudConfig",-1),_=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),k=e("code",null,"Provider",-1),b=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),x=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),y=e("strong",null,"config",-1),P=e("code",null,"TencentcloudConfig",-1),C=s('

    logger

    logger: Logger

    Methods

    deploy()

    deploy(type, data, config): Promise<void>

    部署

    Parameters

    type: "cloud_function" | "http"

    {string} 发布类型

    data: DeployData

    {object} 部署环境配置

    config

    {Logger} 部署对象配置

    Returns

    Promise<void>

    invokeCloudFunction()

    invokeCloudFunction(name, data, options?): Promise<void>

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<void>

    Implementation of

    CloudFunctionAdapter.invokeCloudFunction

    invokeSyncCloudFunction()

    invokeSyncCloudFunction<TResult>(name, data, options?): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<TResult>

    Implementation of

    CloudFunctionAdapter.invokeSyncCloudFunction

    ',41);function q(F,R){const n=d("RouteLink");return r(),l("div",null,[e("p",null,[t(n,{to:"/doc/tencentcloud/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/tencentcloud/"},{default:a(()=>[o("@faasjs/tencentcloud")]),_:1}),o(" / Provider")]),p,e("blockquote",null,[e("p",null,[h,o("("),u,o("): "),t(n,{to:"/doc/tencentcloud/classes/Provider.html"},{default:a(()=>[g]),_:1})])]),f,e("p",null,[o("• "),m,o(": "),t(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:a(()=>[v]),_:1})]),_,e("p",null,[t(n,{to:"/doc/tencentcloud/classes/Provider.html"},{default:a(()=>[k]),_:1})]),b,x,e("blockquote",null,[e("p",null,[y,o(": "),t(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:a(()=>[P]),_:1})])]),C])}const w=c(i,[["render",q],["__file","Provider.html.vue"]]),S=JSON.parse('{"path":"/doc/tencentcloud/classes/Provider.html","title":"Class: Provider","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Provider(config)","slug":"new-provider-config","link":"#new-provider-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"invokeCloudFunction()","slug":"invokecloudfunction","link":"#invokecloudfunction","children":[]},{"level":3,"title":"invokeSyncCloudFunction()","slug":"invokesynccloudfunction","link":"#invokesynccloudfunction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/classes/Provider.md"}');export{w as comp,S as data}; +import{_ as c,r as d,o as r,c as l,a as e,d as t,w as a,b as o,e as s}from"./app-COoiSelr.js";const i={},p=s('

    Class: Provider

    Implements

    • CloudFunctionAdapter

    Constructors

    new Provider(config)

    ',5),h=e("strong",null,"new Provider",-1),u=e("code",null,"config",-1),g=e("code",null,"Provider",-1),f=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),m=e("strong",null,"config",-1),v=e("code",null,"TencentcloudConfig",-1),_=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),k=e("code",null,"Provider",-1),b=e("h2",{id:"properties",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#properties"},[e("span",null,"Properties")])],-1),x=e("h3",{id:"config",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#config"},[e("span",null,"config")])],-1),y=e("strong",null,"config",-1),P=e("code",null,"TencentcloudConfig",-1),C=s('

    logger

    logger: Logger

    Methods

    deploy()

    deploy(type, data, config): Promise<void>

    部署

    Parameters

    type: "cloud_function" | "http"

    {string} 发布类型

    data: DeployData

    {object} 部署环境配置

    config

    {Logger} 部署对象配置

    Returns

    Promise<void>

    invokeCloudFunction()

    invokeCloudFunction(name, data, options?): Promise<void>

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<void>

    Implementation of

    CloudFunctionAdapter.invokeCloudFunction

    invokeSyncCloudFunction()

    invokeSyncCloudFunction<TResult>(name, data, options?): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<TResult>

    Implementation of

    CloudFunctionAdapter.invokeSyncCloudFunction

    ',41);function q(F,R){const n=d("RouteLink");return r(),l("div",null,[e("p",null,[t(n,{to:"/doc/tencentcloud/"},{default:a(()=>[o("Documents")]),_:1}),o(" / "),t(n,{to:"/doc/tencentcloud/"},{default:a(()=>[o("@faasjs/tencentcloud")]),_:1}),o(" / Provider")]),p,e("blockquote",null,[e("p",null,[h,o("("),u,o("): "),t(n,{to:"/doc/tencentcloud/classes/Provider.html"},{default:a(()=>[g]),_:1})])]),f,e("p",null,[o("• "),m,o(": "),t(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:a(()=>[v]),_:1})]),_,e("p",null,[t(n,{to:"/doc/tencentcloud/classes/Provider.html"},{default:a(()=>[k]),_:1})]),b,x,e("blockquote",null,[e("p",null,[y,o(": "),t(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:a(()=>[P]),_:1})])]),C])}const w=c(i,[["render",q],["__file","Provider.html.vue"]]),S=JSON.parse('{"path":"/doc/tencentcloud/classes/Provider.html","title":"Class: Provider","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Provider(config)","slug":"new-provider-config","link":"#new-provider-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"deploy()","slug":"deploy","link":"#deploy","children":[]},{"level":3,"title":"invokeCloudFunction()","slug":"invokecloudfunction","link":"#invokecloudfunction","children":[]},{"level":3,"title":"invokeSyncCloudFunction()","slug":"invokesynccloudfunction","link":"#invokesynccloudfunction","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/classes/Provider.md"}');export{w as comp,S as data}; diff --git a/assets/ProviderConfig.html-BPdPJkVb.js b/assets/ProviderConfig.html-CZwLWzK7.js similarity index 96% rename from assets/ProviderConfig.html-BPdPJkVb.js rename to assets/ProviderConfig.html-CZwLWzK7.js index 6c38932eda..18d138c3e4 100644 --- a/assets/ProviderConfig.html-BPdPJkVb.js +++ b/assets/ProviderConfig.html-CZwLWzK7.js @@ -1 +1 @@ -import{_ as n,r as c,o as i,c as r,a as d,d as a,w as t,b as e,e as s}from"./app-QyD7034V.js";const l={},p=s('

    Type alias: ProviderConfig

    ProviderConfig: Object

    Type declaration

    config

    config: Object

    Index signature

    [key: string]: any

    type

    type: string

    ',9);function f(h,g){const o=c("RouteLink");return i(),r("div",null,[d("p",null,[a(o,{to:"/doc/func/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/func/"},{default:t(()=>[e("@faasjs/func")]),_:1}),e(" / ProviderConfig")]),p])}const y=n(l,[["render",f],["__file","ProviderConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/func/type-aliases/ProviderConfig.html","title":"Type alias: ProviderConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/ProviderConfig.md"}');export{y as comp,_ as data}; +import{_ as n,r as c,o as i,c as r,a as d,d as a,w as t,b as e,e as s}from"./app-COoiSelr.js";const l={},p=s('

    Type alias: ProviderConfig

    ProviderConfig: Object

    Type declaration

    config

    config: Object

    Index signature

    [key: string]: any

    type

    type: string

    ',9);function f(h,g){const o=c("RouteLink");return i(),r("div",null,[d("p",null,[a(o,{to:"/doc/func/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/func/"},{default:t(()=>[e("@faasjs/func")]),_:1}),e(" / ProviderConfig")]),p])}const y=n(l,[["render",f],["__file","ProviderConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/func/type-aliases/ProviderConfig.html","title":"Type alias: ProviderConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/ProviderConfig.md"}');export{y as comp,_ as data}; diff --git a/assets/ProviderConfig.html-C3OLucE9.js b/assets/ProviderConfig.html-Df9IHCfK.js similarity index 96% rename from assets/ProviderConfig.html-C3OLucE9.js rename to assets/ProviderConfig.html-Df9IHCfK.js index f1a3dbb729..aebdd80154 100644 --- a/assets/ProviderConfig.html-C3OLucE9.js +++ b/assets/ProviderConfig.html-Df9IHCfK.js @@ -1 +1 @@ -import{_ as n,r as i,o as c,c as r,a as s,d as o,w as a,b as e,e as d}from"./app-QyD7034V.js";const l={},p=d('

    Type alias: ProviderConfig

    ProviderConfig: Object

    Type declaration

    config

    config: Object

    Index signature

    [key: string]: any

    type

    type: string

    ',9);function h(f,g){const t=i("RouteLink");return c(),r("div",null,[s("p",null,[o(t,{to:"/doc/test/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/test/"},{default:a(()=>[e("@faasjs/test")]),_:1}),e(" / ProviderConfig")]),p])}const y=n(l,[["render",h],["__file","ProviderConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/test/type-aliases/ProviderConfig.html","title":"Type alias: ProviderConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/ProviderConfig.md"}');export{y as comp,_ as data}; +import{_ as n,r as i,o as c,c as r,a as s,d as o,w as a,b as e,e as d}from"./app-COoiSelr.js";const l={},p=d('

    Type alias: ProviderConfig

    ProviderConfig: Object

    Type declaration

    config

    config: Object

    Index signature

    [key: string]: any

    type

    type: string

    ',9);function h(f,g){const t=i("RouteLink");return c(),r("div",null,[s("p",null,[o(t,{to:"/doc/test/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/test/"},{default:a(()=>[e("@faasjs/test")]),_:1}),e(" / ProviderConfig")]),p])}const y=n(l,[["render",h],["__file","ProviderConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/test/type-aliases/ProviderConfig.html","title":"Type alias: ProviderConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/ProviderConfig.md"}');export{y as comp,_ as data}; diff --git a/assets/Redis.html-CW6zzbJt.js b/assets/Redis.html-B6VIStHz.js similarity index 99% rename from assets/Redis.html-CW6zzbJt.js rename to assets/Redis.html-B6VIStHz.js index bd6d827674..fb685872d9 100644 --- a/assets/Redis.html-CW6zzbJt.js +++ b/assets/Redis.html-B6VIStHz.js @@ -1 +1 @@ -import{_ as r,r as d,o as c,c as l,a as e,d as s,w as n,b as a,e as t}from"./app-QyD7034V.js";const p={},i=t('

    Class: Redis

    Redis Plugin

    Implements

    • Plugin

    Constructors

    new Redis(config)

    ',6),h=e("strong",null,"new Redis",-1),g=e("code",null,"config",-1),u=e("code",null,"Redis",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("strong",null,"config?",-1),f=e("code",null,"RedisConfig",-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"Redis",-1),y=t('

    Properties

    adapter

    adapter: Redis

    config

    config: RedisOptions

    logger

    logger: Logger

    multi()

    multi: (options?) => ChainableCommander

    Parameters

    options?: Object | any[][]

    Returns

    ChainableCommander

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    pipeline()

    pipeline: (commands?) => ChainableCommander

    Parameters

    commands?: any[][]

    Returns

    ChainableCommander

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    get()

    get<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    getJSON()

    getJSON<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    lock()

    lock(key, EX): Promise<void>

    Lock by key

    Parameters

    key: string

    EX: number= 10

    expire in seconds, default 10

    Returns

    Promise<void>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    publish()

    publish(channel, message): Promise<number>

    Publish message

    Parameters

    channel: string

    message: any

    Returns

    Promise<number>

    query()

    query<TResult>(command, args): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    command: string

    args: any[]

    Returns

    Promise<TResult>

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    set()

    set<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    setJSON()

    setJSON<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    unlock()

    unlock(key): Promise<void>

    Unlock by key

    Parameters

    key: string

    Returns

    Promise<void>

    ',128);function v(q,P){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[s(o,{to:"/doc/redis/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),s(o,{to:"/doc/redis/"},{default:n(()=>[a("@faasjs/redis")]),_:1}),a(" / Redis")]),i,e("blockquote",null,[e("p",null,[h,a("("),g,a("?): "),s(o,{to:"/doc/redis/classes/Redis.html"},{default:n(()=>[u]),_:1})])]),m,e("p",null,[a("• "),b,a(": "),s(o,{to:"/doc/redis/type-aliases/RedisConfig.html"},{default:n(()=>[f]),_:1})]),k,e("p",null,[s(o,{to:"/doc/redis/classes/Redis.html"},{default:n(()=>[x]),_:1})]),y])}const _=r(p,[["render",v],["__file","Redis.html.vue"]]),T=JSON.parse('{"path":"/doc/redis/classes/Redis.html","title":"Class: Redis","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Redis(config)","slug":"new-redis-config","link":"#new-redis-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"adapter","slug":"adapter","link":"#adapter","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"multi()","slug":"multi","link":"#multi","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"pipeline()","slug":"pipeline","link":"#pipeline","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"get()","slug":"get","link":"#get","children":[]},{"level":3,"title":"getJSON()","slug":"getjson","link":"#getjson","children":[]},{"level":3,"title":"lock()","slug":"lock","link":"#lock","children":[]},{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"publish()","slug":"publish","link":"#publish","children":[]},{"level":3,"title":"query()","slug":"query","link":"#query","children":[]},{"level":3,"title":"quit()","slug":"quit","link":"#quit","children":[]},{"level":3,"title":"set()","slug":"set","link":"#set","children":[]},{"level":3,"title":"setJSON()","slug":"setjson","link":"#setjson","children":[]},{"level":3,"title":"unlock()","slug":"unlock","link":"#unlock","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/classes/Redis.md"}');export{_ as comp,T as data}; +import{_ as r,r as d,o as c,c as l,a as e,d as s,w as n,b as a,e as t}from"./app-COoiSelr.js";const p={},i=t('

    Class: Redis

    Redis Plugin

    Implements

    • Plugin

    Constructors

    new Redis(config)

    ',6),h=e("strong",null,"new Redis",-1),g=e("code",null,"config",-1),u=e("code",null,"Redis",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("strong",null,"config?",-1),f=e("code",null,"RedisConfig",-1),k=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"Redis",-1),y=t('

    Properties

    adapter

    adapter: Redis

    config

    config: RedisOptions

    logger

    logger: Logger

    multi()

    multi: (options?) => ChainableCommander

    Parameters

    options?: Object | any[][]

    Returns

    ChainableCommander

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    pipeline()

    pipeline: (commands?) => ChainableCommander

    Parameters

    commands?: any[][]

    Returns

    ChainableCommander

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    get()

    get<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    getJSON()

    getJSON<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    lock()

    lock(key, EX): Promise<void>

    Lock by key

    Parameters

    key: string

    EX: number= 10

    expire in seconds, default 10

    Returns

    Promise<void>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    publish()

    publish(channel, message): Promise<number>

    Publish message

    Parameters

    channel: string

    message: any

    Returns

    Promise<number>

    query()

    query<TResult>(command, args): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    command: string

    args: any[]

    Returns

    Promise<TResult>

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    set()

    set<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    setJSON()

    setJSON<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    unlock()

    unlock(key): Promise<void>

    Unlock by key

    Parameters

    key: string

    Returns

    Promise<void>

    ',128);function v(q,P){const o=d("RouteLink");return c(),l("div",null,[e("p",null,[s(o,{to:"/doc/redis/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),s(o,{to:"/doc/redis/"},{default:n(()=>[a("@faasjs/redis")]),_:1}),a(" / Redis")]),i,e("blockquote",null,[e("p",null,[h,a("("),g,a("?): "),s(o,{to:"/doc/redis/classes/Redis.html"},{default:n(()=>[u]),_:1})])]),m,e("p",null,[a("• "),b,a(": "),s(o,{to:"/doc/redis/type-aliases/RedisConfig.html"},{default:n(()=>[f]),_:1})]),k,e("p",null,[s(o,{to:"/doc/redis/classes/Redis.html"},{default:n(()=>[x]),_:1})]),y])}const _=r(p,[["render",v],["__file","Redis.html.vue"]]),T=JSON.parse('{"path":"/doc/redis/classes/Redis.html","title":"Class: Redis","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Implements","slug":"implements","link":"#implements","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Redis(config)","slug":"new-redis-config","link":"#new-redis-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"adapter","slug":"adapter","link":"#adapter","children":[]},{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"logger","slug":"logger","link":"#logger","children":[]},{"level":3,"title":"multi()","slug":"multi","link":"#multi","children":[]},{"level":3,"title":"name","slug":"name","link":"#name","children":[]},{"level":3,"title":"pipeline()","slug":"pipeline","link":"#pipeline","children":[]},{"level":3,"title":"type","slug":"type","link":"#type","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"get()","slug":"get","link":"#get","children":[]},{"level":3,"title":"getJSON()","slug":"getjson","link":"#getjson","children":[]},{"level":3,"title":"lock()","slug":"lock","link":"#lock","children":[]},{"level":3,"title":"onDeploy()","slug":"ondeploy","link":"#ondeploy","children":[]},{"level":3,"title":"onInvoke()","slug":"oninvoke","link":"#oninvoke","children":[]},{"level":3,"title":"onMount()","slug":"onmount","link":"#onmount","children":[]},{"level":3,"title":"publish()","slug":"publish","link":"#publish","children":[]},{"level":3,"title":"query()","slug":"query","link":"#query","children":[]},{"level":3,"title":"quit()","slug":"quit","link":"#quit","children":[]},{"level":3,"title":"set()","slug":"set","link":"#set","children":[]},{"level":3,"title":"setJSON()","slug":"setjson","link":"#setjson","children":[]},{"level":3,"title":"unlock()","slug":"unlock","link":"#unlock","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/classes/Redis.md"}');export{_ as comp,T as data}; diff --git a/assets/RedisConfig.html-CFfYEPp4.js b/assets/RedisConfig.html-DtxkwzWq.js similarity index 96% rename from assets/RedisConfig.html-CFfYEPp4.js rename to assets/RedisConfig.html-DtxkwzWq.js index c259180a27..b943964c65 100644 --- a/assets/RedisConfig.html-CFfYEPp4.js +++ b/assets/RedisConfig.html-DtxkwzWq.js @@ -1 +1 @@ -import{_ as t,r as i,o as s,c,a as d,d as o,w as n,b as e,e as l}from"./app-QyD7034V.js";const r={},p=l('

    Type alias: RedisConfig

    RedisConfig: Object

    Type declaration

    config?

    optional config: RedisOptions

    name?

    optional name: string

    ',7);function g(f,h){const a=i("RouteLink");return s(),c("div",null,[d("p",null,[o(a,{to:"/doc/redis/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/redis/"},{default:n(()=>[e("@faasjs/redis")]),_:1}),e(" / RedisConfig")]),p])}const u=t(r,[["render",g],["__file","RedisConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/type-aliases/RedisConfig.html","title":"Type alias: RedisConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/type-aliases/RedisConfig.md"}');export{u as comp,_ as data}; +import{_ as t,r as i,o as s,c,a as d,d as o,w as n,b as e,e as l}from"./app-COoiSelr.js";const r={},p=l('

    Type alias: RedisConfig

    RedisConfig: Object

    Type declaration

    config?

    optional config: RedisOptions

    name?

    optional name: string

    ',7);function g(f,h){const a=i("RouteLink");return s(),c("div",null,[d("p",null,[o(a,{to:"/doc/redis/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(a,{to:"/doc/redis/"},{default:n(()=>[e("@faasjs/redis")]),_:1}),e(" / RedisConfig")]),p])}const u=t(r,[["render",g],["__file","RedisConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/type-aliases/RedisConfig.html","title":"Type alias: RedisConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"name?","slug":"name","link":"#name","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/type-aliases/RedisConfig.md"}');export{u as comp,_ as data}; diff --git a/assets/Request.html-BcowgAje.js b/assets/Request.html-mNmVHu_r.js similarity index 97% rename from assets/Request.html-BcowgAje.js rename to assets/Request.html-mNmVHu_r.js index 8d44a109aa..6c08c3d559 100644 --- a/assets/Request.html-BcowgAje.js +++ b/assets/Request.html-mNmVHu_r.js @@ -1 +1 @@ -import{_ as s,r as n,o as d,c as r,a as c,d as o,w as a,b as e,e as l}from"./app-QyD7034V.js";const h={},i=l('

    Type alias: Request

    Request: Object

    Type declaration

    body?

    optional body: Object

    Index signature

    [key: string]: any

    headers?

    optional headers: http.OutgoingHttpHeaders

    host?

    optional host: string

    method?

    optional method: string

    path?

    optional path: string

    query?

    optional query: http.OutgoingHttpHeaders

    ',17);function p(u,g){const t=n("RouteLink");return d(),r("div",null,[c("p",null,[o(t,{to:"/doc/request/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/request/"},{default:a(()=>[e("@faasjs/request")]),_:1}),e(" / Request")]),i])}const b=s(h,[["render",p],["__file","Request.html.vue"]]),y=JSON.parse('{"path":"/doc/request/type-aliases/Request.html","title":"Type alias: Request","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body?","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"host?","slug":"host","link":"#host","children":[]},{"level":3,"title":"method?","slug":"method","link":"#method","children":[]},{"level":3,"title":"path?","slug":"path","link":"#path","children":[]},{"level":3,"title":"query?","slug":"query","link":"#query","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/type-aliases/Request.md"}');export{b as comp,y as data}; +import{_ as s,r as n,o as d,c as r,a as c,d as o,w as a,b as e,e as l}from"./app-COoiSelr.js";const h={},i=l('

    Type alias: Request

    Request: Object

    Type declaration

    body?

    optional body: Object

    Index signature

    [key: string]: any

    headers?

    optional headers: http.OutgoingHttpHeaders

    host?

    optional host: string

    method?

    optional method: string

    path?

    optional path: string

    query?

    optional query: http.OutgoingHttpHeaders

    ',17);function p(u,g){const t=n("RouteLink");return d(),r("div",null,[c("p",null,[o(t,{to:"/doc/request/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/request/"},{default:a(()=>[e("@faasjs/request")]),_:1}),e(" / Request")]),i])}const b=s(h,[["render",p],["__file","Request.html.vue"]]),y=JSON.parse('{"path":"/doc/request/type-aliases/Request.html","title":"Type alias: Request","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body?","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"host?","slug":"host","link":"#host","children":[]},{"level":3,"title":"method?","slug":"method","link":"#method","children":[]},{"level":3,"title":"path?","slug":"path","link":"#path","children":[]},{"level":3,"title":"query?","slug":"query","link":"#query","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/type-aliases/Request.md"}');export{b as comp,y as data}; diff --git a/assets/RequestOptions.html-DYndxTZQ.js b/assets/RequestOptions.html-Juq-DlM9.js similarity index 99% rename from assets/RequestOptions.html-DYndxTZQ.js rename to assets/RequestOptions.html-Juq-DlM9.js index 68f0810b07..ab51687b50 100644 --- a/assets/RequestOptions.html-DYndxTZQ.js +++ b/assets/RequestOptions.html-Juq-DlM9.js @@ -1,4 +1,4 @@ -import{_ as t,r as o,o as l,c as r,a as p,d as s,w as n,b as e,e as d}from"./app-QyD7034V.js";const c={},i=d(`

    Type alias: RequestOptions

    RequestOptions: Object

    Type declaration

    agent?

    optional agent: boolean

    auth?

    optional auth: string

    The authentication credentials to use for the request.

    Format: username:password

    body?

    optional body: Object | string

    downloadFile?

    optional downloadFile: string

    Path of downloading a file from the server.

    await request('https://example.com', { downloadFile: 'filepath' })
    +import{_ as t,r as o,o as l,c as r,a as p,d as s,w as n,b as e,e as d}from"./app-COoiSelr.js";const c={},i=d(`

    Type alias: RequestOptions

    RequestOptions: Object

    Type declaration

    agent?

    optional agent: boolean

    auth?

    optional auth: string

    The authentication credentials to use for the request.

    Format: username:password

    body?

    optional body: Object | string

    downloadFile?

    optional downloadFile: string

    Path of downloading a file from the server.

    await request('https://example.com', { downloadFile: 'filepath' })
     

    downloadStream?

    optional downloadStream: NodeJS.WritableStream

    Create a write stream to download a file.

    import { createWriteStream } from 'fs'
     
     const stream = createWriteStream('filepath')
    diff --git a/assets/Response.html-Cf9NKW0K.js b/assets/Response.html-B0skfUYs.js
    similarity index 98%
    rename from assets/Response.html-Cf9NKW0K.js
    rename to assets/Response.html-B0skfUYs.js
    index 0ae46a67e7..afa9ed8efb 100644
    --- a/assets/Response.html-Cf9NKW0K.js
    +++ b/assets/Response.html-B0skfUYs.js
    @@ -1,4 +1,4 @@
    -import{_ as l,r,o as p,c as d,a as e,d as a,w as t,b as s,e as o}from"./app-QyD7034V.js";const c={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
    +import{_ as l,r,o as p,c as d,a as e,d as a,w as t,b as s,e as o}from"./app-COoiSelr.js";const c={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
       status: 200,
       data: {
         name: 'FaasJS'
    diff --git a/assets/Response.html-DpEJHK90.js b/assets/Response.html-CmpOLyH-.js
    similarity index 98%
    rename from assets/Response.html-DpEJHK90.js
    rename to assets/Response.html-CmpOLyH-.js
    index 2354d41b62..a767bfc4d2 100644
    --- a/assets/Response.html-DpEJHK90.js
    +++ b/assets/Response.html-CmpOLyH-.js
    @@ -1,4 +1,4 @@
    -import{_ as l,r,o as c,c as p,a as e,d as a,w as t,b as s,e as o}from"./app-QyD7034V.js";const d={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
    +import{_ as l,r,o as c,c as p,a as e,d as a,w as t,b as s,e as o}from"./app-COoiSelr.js";const d={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
       status: 200,
       data: {
         name: 'FaasJS'
    diff --git a/assets/Response.html-dyQJjx7T.js b/assets/Response.html-DIfFpxkE.js
    similarity index 97%
    rename from assets/Response.html-dyQJjx7T.js
    rename to assets/Response.html-DIfFpxkE.js
    index 4e68e28a92..a7f721a403 100644
    --- a/assets/Response.html-dyQJjx7T.js
    +++ b/assets/Response.html-DIfFpxkE.js
    @@ -1 +1 @@
    -import{_ as t,r as n,o as d,c,a as r,d as a,w as o,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Type alias: Response

    Response: Object

    Type declaration

    body?

    optional body: string

    headers?

    optional headers: Object

    Index signature

    [key: string]: string

    message?

    optional message: string

    statusCode?

    optional statusCode: number

    ',13);function h(g,u){const s=n("RouteLink");return d(),c("div",null,[r("p",null,[a(s,{to:"/doc/http/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/http/"},{default:o(()=>[e("@faasjs/http")]),_:1}),e(" / Response")]),p])}const m=t(i,[["render",h],["__file","Response.html.vue"]]),k=JSON.parse('{"path":"/doc/http/type-aliases/Response.html","title":"Type alias: Response","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body?","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"message?","slug":"message","link":"#message","children":[]},{"level":3,"title":"statusCode?","slug":"statuscode","link":"#statuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/Response.md"}');export{m as comp,k as data}; +import{_ as t,r as n,o as d,c,a as r,d as a,w as o,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Type alias: Response

    Response: Object

    Type declaration

    body?

    optional body: string

    headers?

    optional headers: Object

    Index signature

    [key: string]: string

    message?

    optional message: string

    statusCode?

    optional statusCode: number

    ',13);function h(g,u){const s=n("RouteLink");return d(),c("div",null,[r("p",null,[a(s,{to:"/doc/http/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/http/"},{default:o(()=>[e("@faasjs/http")]),_:1}),e(" / Response")]),p])}const m=t(i,[["render",h],["__file","Response.html.vue"]]),k=JSON.parse('{"path":"/doc/http/type-aliases/Response.html","title":"Type alias: Response","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body?","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers?","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"message?","slug":"message","link":"#message","children":[]},{"level":3,"title":"statusCode?","slug":"statuscode","link":"#statuscode","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/Response.md"}');export{m as comp,k as data}; diff --git a/assets/Response.html-BHqNRJ16.js b/assets/Response.html-Du-FVKmI.js similarity index 98% rename from assets/Response.html-BHqNRJ16.js rename to assets/Response.html-Du-FVKmI.js index 5eb41597af..c74ef8ed8a 100644 --- a/assets/Response.html-BHqNRJ16.js +++ b/assets/Response.html-Du-FVKmI.js @@ -1,4 +1,4 @@ -import{_ as r,r as l,o as p,c as d,a as e,d as a,w as t,b as s,e as o}from"./app-QyD7034V.js";const c={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
    +import{_ as r,r as l,o as p,c as d,a as e,d as a,w as t,b as s,e as o}from"./app-COoiSelr.js";const c={},i=o(`

    Class: Response<T>

    Response class

    Example:

    new Response({
       status: 200,
       data: {
         name: 'FaasJS'
    diff --git a/assets/Response.html-CNK15K06.js b/assets/Response.html-PH0pUEmJ.js
    similarity index 97%
    rename from assets/Response.html-CNK15K06.js
    rename to assets/Response.html-PH0pUEmJ.js
    index 063c7f2c10..42d66707b9 100644
    --- a/assets/Response.html-CNK15K06.js
    +++ b/assets/Response.html-PH0pUEmJ.js
    @@ -1 +1 @@
    -import{_ as l,r,o as d,c,a as e,d as a,w as o,b as s,e as n}from"./app-QyD7034V.js";const p={},i=n('

    Type alias: Response<T>

    Response<T>: Object

    Type parameters

    T = any

    Type declaration

    body

    body: T

    headers

    headers: http.OutgoingHttpHeaders

    request?

    ',10),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"request",-1),g=e("code",null,"Request",-1),b=n('

    statusCode?

    optional statusCode: number

    statusMessage?

    optional statusMessage: string

    ',4);function y(_,m){const t=r("RouteLink");return d(),c("div",null,[e("p",null,[a(t,{to:"/doc/request/"},{default:o(()=>[s("Documents")]),_:1}),s(" / "),a(t,{to:"/doc/request/"},{default:o(()=>[s("@faasjs/request")]),_:1}),s(" / Response")]),i,e("blockquote",null,[e("p",null,[h,s(),u,s(": "),a(t,{to:"/doc/request/type-aliases/Request.html"},{default:o(()=>[g]),_:1})])]),b])}const k=l(p,[["render",y],["__file","Response.html.vue"]]),f=JSON.parse('{"path":"/doc/request/type-aliases/Response.html","title":"Type alias: Response","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request?","slug":"request","link":"#request","children":[]},{"level":3,"title":"statusCode?","slug":"statuscode","link":"#statuscode","children":[]},{"level":3,"title":"statusMessage?","slug":"statusmessage","link":"#statusmessage","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/type-aliases/Response.md"}');export{k as comp,f as data}; +import{_ as l,r,o as d,c,a as e,d as a,w as o,b as s,e as n}from"./app-COoiSelr.js";const p={},i=n('

    Type alias: Response<T>

    Response<T>: Object

    Type parameters

    T = any

    Type declaration

    body

    body: T

    headers

    headers: http.OutgoingHttpHeaders

    request?

    ',10),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"request",-1),g=e("code",null,"Request",-1),b=n('

    statusCode?

    optional statusCode: number

    statusMessage?

    optional statusMessage: string

    ',4);function y(_,m){const t=r("RouteLink");return d(),c("div",null,[e("p",null,[a(t,{to:"/doc/request/"},{default:o(()=>[s("Documents")]),_:1}),s(" / "),a(t,{to:"/doc/request/"},{default:o(()=>[s("@faasjs/request")]),_:1}),s(" / Response")]),i,e("blockquote",null,[e("p",null,[h,s(),u,s(": "),a(t,{to:"/doc/request/type-aliases/Request.html"},{default:o(()=>[g]),_:1})])]),b])}const k=l(p,[["render",y],["__file","Response.html.vue"]]),f=JSON.parse('{"path":"/doc/request/type-aliases/Response.html","title":"Type alias: Response","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request?","slug":"request","link":"#request","children":[]},{"level":3,"title":"statusCode?","slug":"statuscode","link":"#statuscode","children":[]},{"level":3,"title":"statusMessage?","slug":"statusmessage","link":"#statusmessage","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/type-aliases/Response.md"}');export{k as comp,f as data}; diff --git a/assets/ResponseError.html-CvigdY0_.js b/assets/ResponseError.html-Bi3SDIgX.js similarity index 98% rename from assets/ResponseError.html-CvigdY0_.js rename to assets/ResponseError.html-Bi3SDIgX.js index fe7f2ad8dd..f7828245fb 100644 --- a/assets/ResponseError.html-CvigdY0_.js +++ b/assets/ResponseError.html-Bi3SDIgX.js @@ -1,4 +1,4 @@ -import{_ as o,r as l,o as d,c,a as e,d as a,w as r,b as s,e as t}from"./app-QyD7034V.js";const p={},i=t(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
    +import{_ as o,r as l,o as d,c,a as e,d as a,w as r,b as s,e as t}from"./app-COoiSelr.js";const p={},i=t(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
       status: 404,
       message: 'Not Found',
     })
    diff --git a/assets/ResponseError.html-BdLzWQUx.js b/assets/ResponseError.html-DhU3CJOy.js
    similarity index 98%
    rename from assets/ResponseError.html-BdLzWQUx.js
    rename to assets/ResponseError.html-DhU3CJOy.js
    index 89d355229f..c9934f164f 100644
    --- a/assets/ResponseError.html-BdLzWQUx.js
    +++ b/assets/ResponseError.html-DhU3CJOy.js
    @@ -1,4 +1,4 @@
    -import{_ as t,r as l,o as d,c,a as e,d as r,w as a,b as s,e as o}from"./app-QyD7034V.js";const p={},i=o(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
    +import{_ as t,r as l,o as d,c,a as e,d as r,w as a,b as s,e as o}from"./app-COoiSelr.js";const p={},i=o(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
       status: 404,
       message: 'Not Found',
     })
    diff --git a/assets/ResponseError.html-tYnLPuuJ.js b/assets/ResponseError.html-Jw4qjzqd.js
    similarity index 98%
    rename from assets/ResponseError.html-tYnLPuuJ.js
    rename to assets/ResponseError.html-Jw4qjzqd.js
    index 22d1dd87c4..47dfa3faff 100644
    --- a/assets/ResponseError.html-tYnLPuuJ.js
    +++ b/assets/ResponseError.html-Jw4qjzqd.js
    @@ -1 +1 @@
    -import{_ as a,r as l,o as d,c,a as e,d as r,w as t,b as s,e as n}from"./app-QyD7034V.js";const h={},u=n('

    Class: ResponseError

    ResponseError class

    Extends

    • Error

    Constructors

    new ResponseError(message, response)

    ',6),p=e("strong",null,"new ResponseError",-1),i=e("code",null,"message",-1),_=e("code",null,"response",-1),g=e("code",null,"ResponseError",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("p",null,[s("• "),e("strong",null,"message"),s(": "),e("code",null,"string")],-1),f=e("strong",null,"response",-1),q=e("code",null,"Response",-1),k=e("code",null,"any",-1),x=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),R=e("code",null,"ResponseError",-1),E=n('

    Overrides

    Error.constructor

    Properties

    body

    body: any

    headers

    headers: OutgoingHttpHeaders

    request

    ',8),v=e("strong",null,"request",-1),y=e("code",null,"Request",-1),w=e("h3",{id:"response",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#response"},[e("span",null,"response")])],-1),C=e("strong",null,"response",-1),N=e("code",null,"Response",-1),P=e("code",null,"any",-1),V=n('

    statusCode

    statusCode: number

    statusMessage

    statusMessage: string

    ',4);function B(M,O){const o=l("RouteLink");return d(),c("div",null,[e("p",null,[r(o,{to:"/doc/request/"},{default:t(()=>[s("Documents")]),_:1}),s(" / "),r(o,{to:"/doc/request/"},{default:t(()=>[s("@faasjs/request")]),_:1}),s(" / ResponseError")]),u,e("blockquote",null,[e("p",null,[p,s("("),i,s(", "),_,s("): "),r(o,{to:"/doc/request/classes/ResponseError.html"},{default:t(()=>[g]),_:1})])]),m,b,e("p",null,[s("• "),f,s(": "),r(o,{to:"/doc/request/type-aliases/Response.html"},{default:t(()=>[q]),_:1}),s("<"),k,s(">")]),x,e("p",null,[r(o,{to:"/doc/request/classes/ResponseError.html"},{default:t(()=>[R]),_:1})]),E,e("blockquote",null,[e("p",null,[v,s(": "),r(o,{to:"/doc/request/type-aliases/Request.html"},{default:t(()=>[y]),_:1})])]),w,e("blockquote",null,[e("p",null,[C,s(": "),r(o,{to:"/doc/request/type-aliases/Response.html"},{default:t(()=>[N]),_:1}),s("<"),P,s(">")])]),V])}const L=a(h,[["render",B],["__file","ResponseError.html.vue"]]),S=JSON.parse('{"path":"/doc/request/classes/ResponseError.html","title":"Class: ResponseError","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new ResponseError(message, response)","slug":"new-responseerror-message-response","link":"#new-responseerror-message-response","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request","slug":"request","link":"#request","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]},{"level":3,"title":"statusCode","slug":"statuscode","link":"#statuscode","children":[]},{"level":3,"title":"statusMessage","slug":"statusmessage","link":"#statusmessage","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/classes/ResponseError.md"}');export{L as comp,S as data}; +import{_ as a,r as l,o as d,c,a as e,d as r,w as t,b as s,e as n}from"./app-COoiSelr.js";const h={},u=n('

    Class: ResponseError

    ResponseError class

    Extends

    • Error

    Constructors

    new ResponseError(message, response)

    ',6),p=e("strong",null,"new ResponseError",-1),i=e("code",null,"message",-1),_=e("code",null,"response",-1),g=e("code",null,"ResponseError",-1),m=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),b=e("p",null,[s("• "),e("strong",null,"message"),s(": "),e("code",null,"string")],-1),f=e("strong",null,"response",-1),q=e("code",null,"Response",-1),k=e("code",null,"any",-1),x=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),R=e("code",null,"ResponseError",-1),E=n('

    Overrides

    Error.constructor

    Properties

    body

    body: any

    headers

    headers: OutgoingHttpHeaders

    request

    ',8),v=e("strong",null,"request",-1),y=e("code",null,"Request",-1),w=e("h3",{id:"response",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#response"},[e("span",null,"response")])],-1),C=e("strong",null,"response",-1),N=e("code",null,"Response",-1),P=e("code",null,"any",-1),V=n('

    statusCode

    statusCode: number

    statusMessage

    statusMessage: string

    ',4);function B(M,O){const o=l("RouteLink");return d(),c("div",null,[e("p",null,[r(o,{to:"/doc/request/"},{default:t(()=>[s("Documents")]),_:1}),s(" / "),r(o,{to:"/doc/request/"},{default:t(()=>[s("@faasjs/request")]),_:1}),s(" / ResponseError")]),u,e("blockquote",null,[e("p",null,[p,s("("),i,s(", "),_,s("): "),r(o,{to:"/doc/request/classes/ResponseError.html"},{default:t(()=>[g]),_:1})])]),m,b,e("p",null,[s("• "),f,s(": "),r(o,{to:"/doc/request/type-aliases/Response.html"},{default:t(()=>[q]),_:1}),s("<"),k,s(">")]),x,e("p",null,[r(o,{to:"/doc/request/classes/ResponseError.html"},{default:t(()=>[R]),_:1})]),E,e("blockquote",null,[e("p",null,[v,s(": "),r(o,{to:"/doc/request/type-aliases/Request.html"},{default:t(()=>[y]),_:1})])]),w,e("blockquote",null,[e("p",null,[C,s(": "),r(o,{to:"/doc/request/type-aliases/Response.html"},{default:t(()=>[N]),_:1}),s("<"),P,s(">")])]),V])}const L=a(h,[["render",B],["__file","ResponseError.html.vue"]]),S=JSON.parse('{"path":"/doc/request/classes/ResponseError.html","title":"Class: ResponseError","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new ResponseError(message, response)","slug":"new-responseerror-message-response","link":"#new-responseerror-message-response","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"body","slug":"body","link":"#body","children":[]},{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"request","slug":"request","link":"#request","children":[]},{"level":3,"title":"response","slug":"response","link":"#response","children":[]},{"level":3,"title":"statusCode","slug":"statuscode","link":"#statuscode","children":[]},{"level":3,"title":"statusMessage","slug":"statusmessage","link":"#statusmessage","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/classes/ResponseError.md"}');export{L as comp,S as data}; diff --git a/assets/ResponseError.html-XB30EE6_.js b/assets/ResponseError.html-l0Ta4FeH.js similarity index 98% rename from assets/ResponseError.html-XB30EE6_.js rename to assets/ResponseError.html-l0Ta4FeH.js index 1fba1c047c..9995cfd8df 100644 --- a/assets/ResponseError.html-XB30EE6_.js +++ b/assets/ResponseError.html-l0Ta4FeH.js @@ -1,4 +1,4 @@ -import{_ as t,r as l,o as d,c,a as e,d as a,w as r,b as s,e as o}from"./app-QyD7034V.js";const p={},i=o(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
    +import{_ as t,r as l,o as d,c,a as e,d as a,w as r,b as s,e as o}from"./app-COoiSelr.js";const p={},i=o(`

    Class: ResponseError

    ResponseError class

    Example:

    new ResponseError({
       status: 404,
       message: 'Not Found',
     })
    diff --git a/assets/ResponseHeaders.html-aSplgys_.js b/assets/ResponseHeaders.html-B2EzvdJn.js
    similarity index 94%
    rename from assets/ResponseHeaders.html-aSplgys_.js
    rename to assets/ResponseHeaders.html-B2EzvdJn.js
    index 6c90b46732..b18fb79c61 100644
    --- a/assets/ResponseHeaders.html-aSplgys_.js
    +++ b/assets/ResponseHeaders.html-B2EzvdJn.js
    @@ -1 +1 @@
    -import{_ as t,r as o,o as d,c as r,a as i,d as a,w as n,b as e,e as c}from"./app-QyD7034V.js";const l={},p=c('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function u(h,g){const s=o("RouteLink");return d(),r("div",null,[i("p",null,[a(s,{to:"/doc/vue-plugin/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/vue-plugin/"},{default:n(()=>[e("@faasjs/vue-plugin")]),_:1}),e(" / ResponseHeaders")]),p])}const m=t(l,[["render",u],["__file","ResponseHeaders.html.vue"]]),f=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/ResponseHeaders.md"}');export{m as comp,f as data}; +import{_ as t,r as o,o as d,c as r,a as i,d as a,w as n,b as e,e as c}from"./app-COoiSelr.js";const l={},p=c('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function u(h,g){const s=o("RouteLink");return d(),r("div",null,[i("p",null,[a(s,{to:"/doc/vue-plugin/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/vue-plugin/"},{default:n(()=>[e("@faasjs/vue-plugin")]),_:1}),e(" / ResponseHeaders")]),p])}const m=t(l,[["render",u],["__file","ResponseHeaders.html.vue"]]),f=JSON.parse('{"path":"/doc/vue-plugin/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/type-aliases/ResponseHeaders.md"}');export{m as comp,f as data}; diff --git a/assets/ResponseHeaders.html-BFU_HhRZ.js b/assets/ResponseHeaders.html-BzWncAnw.js similarity index 94% rename from assets/ResponseHeaders.html-BFU_HhRZ.js rename to assets/ResponseHeaders.html-BzWncAnw.js index 162ec4d73b..98f4a3e0d1 100644 --- a/assets/ResponseHeaders.html-BFU_HhRZ.js +++ b/assets/ResponseHeaders.html-BzWncAnw.js @@ -1 +1 @@ -import{_ as n,r as o,o as r,c as d,a as c,d as s,w as t,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const a=o("RouteLink");return r(),d("div",null,[c("p",null,[s(a,{to:"/doc/react/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),s(a,{to:"/doc/react/"},{default:t(()=>[e("@faasjs/react")]),_:1}),e(" / ResponseHeaders")]),p])}const f=n(l,[["render",h],["__file","ResponseHeaders.html.vue"]]),g=JSON.parse('{"path":"/doc/react/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/ResponseHeaders.md"}');export{f as comp,g as data}; +import{_ as n,r as o,o as r,c as d,a as c,d as s,w as t,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const a=o("RouteLink");return r(),d("div",null,[c("p",null,[s(a,{to:"/doc/react/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),s(a,{to:"/doc/react/"},{default:t(()=>[e("@faasjs/react")]),_:1}),e(" / ResponseHeaders")]),p])}const f=n(l,[["render",h],["__file","ResponseHeaders.html.vue"]]),g=JSON.parse('{"path":"/doc/react/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/ResponseHeaders.md"}');export{f as comp,g as data}; diff --git a/assets/ResponseHeaders.html--0c7qQvc.js b/assets/ResponseHeaders.html-D8ZxTK3u.js similarity index 94% rename from assets/ResponseHeaders.html--0c7qQvc.js rename to assets/ResponseHeaders.html-D8ZxTK3u.js index dc5df553df..f1f3c69f61 100644 --- a/assets/ResponseHeaders.html--0c7qQvc.js +++ b/assets/ResponseHeaders.html-D8ZxTK3u.js @@ -1 +1 @@ -import{_ as o,r as n,o as r,c as d,a as c,d as a,w as t,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const s=n("RouteLink");return r(),d("div",null,[c("p",null,[a(s,{to:"/doc/browser/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/browser/"},{default:t(()=>[e("@faasjs/browser")]),_:1}),e(" / ResponseHeaders")]),p])}const f=o(l,[["render",h],["__file","ResponseHeaders.html.vue"]]),g=JSON.parse('{"path":"/doc/browser/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/ResponseHeaders.md"}');export{f as comp,g as data}; +import{_ as o,r as n,o as r,c as d,a as c,d as a,w as t,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Type alias: ResponseHeaders

    ResponseHeaders: Object

    Index signature

    [key: string]: string

    ',4);function h(u,_){const s=n("RouteLink");return r(),d("div",null,[c("p",null,[a(s,{to:"/doc/browser/"},{default:t(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/browser/"},{default:t(()=>[e("@faasjs/browser")]),_:1}),e(" / ResponseHeaders")]),p])}const f=o(l,[["render",h],["__file","ResponseHeaders.html.vue"]]),g=JSON.parse('{"path":"/doc/browser/type-aliases/ResponseHeaders.html","title":"Type alias: ResponseHeaders","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Index signature","slug":"index-signature","link":"#index-signature","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/type-aliases/ResponseHeaders.md"}');export{f as comp,g as data}; diff --git a/assets/Routes.html-Dpuh3muV.js b/assets/Routes.html-BPZarK8R.js similarity index 98% rename from assets/Routes.html-Dpuh3muV.js rename to assets/Routes.html-BPZarK8R.js index 95541a6e43..e990947f0d 100644 --- a/assets/Routes.html-Dpuh3muV.js +++ b/assets/Routes.html-BPZarK8R.js @@ -1,4 +1,4 @@ -import{_ as p,r as c,o as l,c as i,a as s,d as t,w as e,b as n,e as o}from"./app-QyD7034V.js";const u={},r=o('

    Function: Routes()

    Routes(props): Element

    Routes with lazy loading and 404 page.

    Parameters

    ',4),d=s("strong",null,"props",-1),k=s("code",null,"RoutesProps",-1),m=o(`

    Returns

    Element

    Example

    import { Routes, lazy } from '@faasjs/ant-design'
    +import{_ as p,r as c,o as l,c as i,a as s,d as t,w as e,b as n,e as o}from"./app-COoiSelr.js";const u={},r=o('

    Function: Routes()

    Routes(props): Element

    Routes with lazy loading and 404 page.

    Parameters

    ',4),d=s("strong",null,"props",-1),k=s("code",null,"RoutesProps",-1),m=o(`

    Returns

    Element

    Example

    import { Routes, lazy } from '@faasjs/ant-design'
     import { BrowserRouter } from 'react-router-dom'
     
     export function App () {
    diff --git a/assets/RoutesProps.html-DBqIbcAK.js b/assets/RoutesProps.html-CdCSGQ8Q.js
    similarity index 96%
    rename from assets/RoutesProps.html-DBqIbcAK.js
    rename to assets/RoutesProps.html-CdCSGQ8Q.js
    index b8e8542588..6af67ae417 100644
    --- a/assets/RoutesProps.html-DBqIbcAK.js
    +++ b/assets/RoutesProps.html-CdCSGQ8Q.js
    @@ -1 +1 @@
    -import{_ as s,r as n,o as r,c,a as l,d as t,w as a,b as e,e as d}from"./app-QyD7034V.js";const i={},p=d('

    Interface: RoutesProps

    Properties

    fallback?

    optional fallback: Element

    notFound?

    optional notFound: Element

    routes

    routes: RouteProps & Object[]

    ',8);function u(h,f){const o=n("RouteLink");return r(),c("div",null,[l("p",null,[t(o,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / RoutesProps")]),p])}const k=s(i,[["render",u],["__file","RoutesProps.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/interfaces/RoutesProps.html","title":"Interface: RoutesProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"notFound?","slug":"notfound","link":"#notfound","children":[]},{"level":3,"title":"routes","slug":"routes","link":"#routes","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/RoutesProps.md"}');export{k as comp,b as data}; +import{_ as s,r as n,o as r,c,a as l,d as t,w as a,b as e,e as d}from"./app-COoiSelr.js";const i={},p=d('

    Interface: RoutesProps

    Properties

    fallback?

    optional fallback: Element

    notFound?

    optional notFound: Element

    routes

    routes: RouteProps & Object[]

    ',8);function u(h,f){const o=n("RouteLink");return r(),c("div",null,[l("p",null,[t(o,{to:"/doc/ant-design/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/ant-design/"},{default:a(()=>[e("@faasjs/ant-design")]),_:1}),e(" / RoutesProps")]),p])}const k=s(i,[["render",u],["__file","RoutesProps.html.vue"]]),b=JSON.parse('{"path":"/doc/ant-design/interfaces/RoutesProps.html","title":"Interface: RoutesProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"fallback?","slug":"fallback","link":"#fallback","children":[]},{"level":3,"title":"notFound?","slug":"notfound","link":"#notfound","children":[]},{"level":3,"title":"routes","slug":"routes","link":"#routes","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/RoutesProps.md"}');export{k as comp,b as data}; diff --git a/assets/SECURITY.html-CjO3oB9q.js b/assets/SECURITY.html-Bj4ri_sV.js similarity index 92% rename from assets/SECURITY.html-CjO3oB9q.js rename to assets/SECURITY.html-Bj4ri_sV.js index f5434b4899..70d9ed3197 100644 --- a/assets/SECURITY.html-CjO3oB9q.js +++ b/assets/SECURITY.html-Bj4ri_sV.js @@ -1 +1 @@ -import{_ as t,r as o,o as r,c,a as e,b as a,d as n}from"./app-QyD7034V.js";const i={},l=e("h1",{id:"faasjs-security-guide",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-security-guide"},[e("span",null,"FaasJS Security Guide")])],-1),d={href:"https://github.com/faasjs/faasjs/issues",target:"_blank",rel:"noopener noreferrer"},u=e("a",{href:"mailto:ben@zfben.com"},"ben@zfben.com",-1),h=e("p",null,"Since FaasJS includes multiple components, each component has its own security guide. For more details, please refer to the documentation of each component.",-1),_=e("h1",{id:"faasjs-安全指南",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-安全指南"},[e("span",null,"FaasJS 安全指南")])],-1),f={href:"https://github.com/faasjs/faasjs/issues",target:"_blank",rel:"noopener noreferrer"},m=e("a",{href:"mailto:ben@zfben.com"},"ben@zfben.com",-1),p=e("p",null,"由于 FaasJS 包含了多个组件,每个组件都有各自的安全指南,因此详情请阅读各个组件的文档。",-1);function b(S,g){const s=o("ExternalLinkIcon");return r(),c("div",null,[l,e("p",null,[a("If you discover any security vulnerabilities while using and developing FaasJS, you can submit an "),e("a",d,[a("Issue"),n(s)]),a(" or send an email to "),u,a(".")]),h,_,e("p",null,[a("若您在使用和开发 FaasJS 时发现安全隐患,可以提交 "),e("a",f,[a("Issue"),n(s)]),a(" 或发送邮件至 "),m,a("。")]),p])}const I=t(i,[["render",b],["__file","SECURITY.html.vue"]]),j=JSON.parse('{"path":"/SECURITY.html","title":"FaasJS Security Guide","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"SECURITY.md"}');export{I as comp,j as data}; +import{_ as t,r as o,o as r,c,a as e,b as a,d as n}from"./app-COoiSelr.js";const i={},l=e("h1",{id:"faasjs-security-guide",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-security-guide"},[e("span",null,"FaasJS Security Guide")])],-1),d={href:"https://github.com/faasjs/faasjs/issues",target:"_blank",rel:"noopener noreferrer"},u=e("a",{href:"mailto:ben@zfben.com"},"ben@zfben.com",-1),h=e("p",null,"Since FaasJS includes multiple components, each component has its own security guide. For more details, please refer to the documentation of each component.",-1),_=e("h1",{id:"faasjs-安全指南",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-安全指南"},[e("span",null,"FaasJS 安全指南")])],-1),f={href:"https://github.com/faasjs/faasjs/issues",target:"_blank",rel:"noopener noreferrer"},m=e("a",{href:"mailto:ben@zfben.com"},"ben@zfben.com",-1),p=e("p",null,"由于 FaasJS 包含了多个组件,每个组件都有各自的安全指南,因此详情请阅读各个组件的文档。",-1);function b(S,g){const s=o("ExternalLinkIcon");return r(),c("div",null,[l,e("p",null,[a("If you discover any security vulnerabilities while using and developing FaasJS, you can submit an "),e("a",d,[a("Issue"),n(s)]),a(" or send an email to "),u,a(".")]),h,_,e("p",null,[a("若您在使用和开发 FaasJS 时发现安全隐患,可以提交 "),e("a",f,[a("Issue"),n(s)]),a(" 或发送邮件至 "),m,a("。")]),p])}const I=t(i,[["render",b],["__file","SECURITY.html.vue"]]),j=JSON.parse('{"path":"/SECURITY.html","title":"FaasJS Security Guide","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"SECURITY.md"}');export{I as comp,j as data}; diff --git a/assets/Server.html-Bz5HUpVn.js b/assets/Server.html-jJ4xyXot.js similarity index 99% rename from assets/Server.html-Bz5HUpVn.js rename to assets/Server.html-jJ4xyXot.js index 85b7ff4e20..e6bf1b9705 100644 --- a/assets/Server.html-Bz5HUpVn.js +++ b/assets/Server.html-jJ4xyXot.js @@ -1,4 +1,4 @@ -import{_ as a,r as c,o as p,c as l,a as e,d as r,w as n,b as s,e as t}from"./app-QyD7034V.js";const d={},i=t(`

    Class: Server

    FaasJS Server.

    const server = new Server(process.cwd(), {
    +import{_ as a,r as c,o as p,c as l,a as e,d as r,w as n,b as s,e as t}from"./app-COoiSelr.js";const d={},i=t(`

    Class: Server

    FaasJS Server.

    const server = new Server(process.cwd(), {
      port: 8080,
      cache: false,
     })
    diff --git a/assets/Session.html-Bm36N4sI.js b/assets/Session.html-BZueaOcG.js
    similarity index 99%
    rename from assets/Session.html-Bm36N4sI.js
    rename to assets/Session.html-BZueaOcG.js
    index ce19fb66da..1c6da3ed38 100644
    --- a/assets/Session.html-Bm36N4sI.js
    +++ b/assets/Session.html-BZueaOcG.js
    @@ -1 +1 @@
    -import{_ as c,r as d,o as r,c as l,a as e,d as t,w as n,b as o,e as a}from"./app-QyD7034V.js";const i={},h=a('

    Class: Session<S, C>

    Type parameters

    S extends Record<string, string> = any

    C extends Record<string, string> = any

    Constructors

    ',6),p=e("strong",null,"new Session",-1),u=e("code",null,"S",-1),g=e("code",null,"C",-1),_=e("code",null,"cookie",-1),k=e("code",null,"config",-1),b=e("code",null,"Session",-1),f=e("code",null,"S",-1),m=e("code",null,"C",-1),x=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),S=e("strong",null,"cookie",-1),q=e("code",null,"Cookie",-1),v=e("code",null,"C",-1),y=e("code",null,"S",-1),C=e("strong",null,"config",-1),w=e("code",null,"SessionOptions",-1),R=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),P=e("code",null,"Session",-1),T=e("code",null,"S",-1),N=e("code",null,"C",-1),D=a('

    Properties

    config

    readonly config: Object

    cipherName

    cipherName: string

    digest

    digest: string

    iterations

    iterations: number

    key

    key: string

    keylen

    keylen: number

    salt

    salt: string

    secret

    secret: string

    signedSalt

    signedSalt: string

    content

    content: Record<string, string | number>

    Methods

    decode()

    decode<TData>(text): SessionContent | TData

    Type parameters

    TData = any

    Parameters

    text: string

    Returns

    SessionContent | TData

    encode()

    encode(text): string

    Parameters

    text: SessionContent

    Returns

    string

    invoke()

    invoke(cookie?, logger?): void

    Parameters

    cookie?: string

    logger?: Logger

    Returns

    void

    read()

    read(key): string | number

    Parameters

    key: string

    Returns

    string | number

    update()

    ',50),O=e("strong",null,"update",-1),V=e("code",null,"Session",-1),B=e("code",null,"S",-1),L=e("code",null,"C",-1),j=e("h4",{id:"returns-5",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-5"},[e("span",null,"Returns")])],-1),M=e("code",null,"Session",-1),E=e("code",null,"S",-1),J=e("code",null,"C",-1),z=e("h3",{id:"write",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#write"},[e("span",null,"write()")])],-1),A=e("strong",null,"write",-1),F=e("code",null,"key",-1),G=e("code",null,"value",-1),H=e("code",null,"Session",-1),I=e("code",null,"S",-1),K=e("code",null,"C",-1),Q=a('

    Parameters

    key: string

    value?: string | number

    Returns

    ',4),U=e("code",null,"Session",-1),W=e("code",null,"S",-1),X=e("code",null,"C",-1);function Y(Z,$){const s=d("RouteLink");return r(),l("div",null,[e("p",null,[t(s,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Session")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),g,o(">("),_,o(", "),k,o("): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[b]),_:1}),o("<"),f,o(", "),m,o(">")])]),x,e("p",null,[o("• "),S,o(": "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[q]),_:1}),o("<"),v,o(", "),y,o(">")]),e("p",null,[o("• "),C,o(": "),t(s,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[w]),_:1})]),R,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[P]),_:1}),o("<"),T,o(", "),N,o(">")]),D,e("blockquote",null,[e("p",null,[O,o("(): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[V]),_:1}),o("<"),B,o(", "),L,o(">")])]),j,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[M]),_:1}),o("<"),E,o(", "),J,o(">")]),z,e("blockquote",null,[e("p",null,[A,o("("),F,o(", "),G,o("?): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(", "),K,o(">")])]),Q,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[U]),_:1}),o("<"),W,o(", "),X,o(">")])])}const oe=c(i,[["render",Y],["__file","Session.html.vue"]]),se=JSON.parse('{"path":"/doc/http/classes/Session.html","title":"Class: Session","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Session(cookie, config)","slug":"new-session-cookie-config","link":"#new-session-cookie-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"content","slug":"content","link":"#content","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"decode()","slug":"decode","link":"#decode","children":[]},{"level":3,"title":"encode()","slug":"encode","link":"#encode","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"read()","slug":"read","link":"#read","children":[]},{"level":3,"title":"update()","slug":"update","link":"#update","children":[]},{"level":3,"title":"write()","slug":"write","link":"#write","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Session.md"}');export{oe as comp,se as data}; +import{_ as c,r as d,o as r,c as l,a as e,d as t,w as n,b as o,e as a}from"./app-COoiSelr.js";const i={},h=a('

    Class: Session<S, C>

    Type parameters

    S extends Record<string, string> = any

    C extends Record<string, string> = any

    Constructors

    ',6),p=e("strong",null,"new Session",-1),u=e("code",null,"S",-1),g=e("code",null,"C",-1),_=e("code",null,"cookie",-1),k=e("code",null,"config",-1),b=e("code",null,"Session",-1),f=e("code",null,"S",-1),m=e("code",null,"C",-1),x=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),S=e("strong",null,"cookie",-1),q=e("code",null,"Cookie",-1),v=e("code",null,"C",-1),y=e("code",null,"S",-1),C=e("strong",null,"config",-1),w=e("code",null,"SessionOptions",-1),R=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),P=e("code",null,"Session",-1),T=e("code",null,"S",-1),N=e("code",null,"C",-1),D=a('

    Properties

    config

    readonly config: Object

    cipherName

    cipherName: string

    digest

    digest: string

    iterations

    iterations: number

    key

    key: string

    keylen

    keylen: number

    salt

    salt: string

    secret

    secret: string

    signedSalt

    signedSalt: string

    content

    content: Record<string, string | number>

    Methods

    decode()

    decode<TData>(text): SessionContent | TData

    Type parameters

    TData = any

    Parameters

    text: string

    Returns

    SessionContent | TData

    encode()

    encode(text): string

    Parameters

    text: SessionContent

    Returns

    string

    invoke()

    invoke(cookie?, logger?): void

    Parameters

    cookie?: string

    logger?: Logger

    Returns

    void

    read()

    read(key): string | number

    Parameters

    key: string

    Returns

    string | number

    update()

    ',50),O=e("strong",null,"update",-1),V=e("code",null,"Session",-1),B=e("code",null,"S",-1),L=e("code",null,"C",-1),j=e("h4",{id:"returns-5",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-5"},[e("span",null,"Returns")])],-1),M=e("code",null,"Session",-1),E=e("code",null,"S",-1),J=e("code",null,"C",-1),z=e("h3",{id:"write",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#write"},[e("span",null,"write()")])],-1),A=e("strong",null,"write",-1),F=e("code",null,"key",-1),G=e("code",null,"value",-1),H=e("code",null,"Session",-1),I=e("code",null,"S",-1),K=e("code",null,"C",-1),Q=a('

    Parameters

    key: string

    value?: string | number

    Returns

    ',4),U=e("code",null,"Session",-1),W=e("code",null,"S",-1),X=e("code",null,"C",-1);function Y(Z,$){const s=d("RouteLink");return r(),l("div",null,[e("p",null,[t(s,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),t(s,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Session")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),g,o(">("),_,o(", "),k,o("): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[b]),_:1}),o("<"),f,o(", "),m,o(">")])]),x,e("p",null,[o("• "),S,o(": "),t(s,{to:"/doc/http/classes/Cookie.html"},{default:n(()=>[q]),_:1}),o("<"),v,o(", "),y,o(">")]),e("p",null,[o("• "),C,o(": "),t(s,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:n(()=>[w]),_:1})]),R,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[P]),_:1}),o("<"),T,o(", "),N,o(">")]),D,e("blockquote",null,[e("p",null,[O,o("(): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[V]),_:1}),o("<"),B,o(", "),L,o(">")])]),j,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[M]),_:1}),o("<"),E,o(", "),J,o(">")]),z,e("blockquote",null,[e("p",null,[A,o("("),F,o(", "),G,o("?): "),t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(", "),K,o(">")])]),Q,e("p",null,[t(s,{to:"/doc/http/classes/Session.html"},{default:n(()=>[U]),_:1}),o("<"),W,o(", "),X,o(">")])])}const oe=c(i,[["render",Y],["__file","Session.html.vue"]]),se=JSON.parse('{"path":"/doc/http/classes/Session.html","title":"Class: Session","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Session(cookie, config)","slug":"new-session-cookie-config","link":"#new-session-cookie-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"config","slug":"config","link":"#config","children":[]},{"level":3,"title":"content","slug":"content","link":"#content","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"decode()","slug":"decode","link":"#decode","children":[]},{"level":3,"title":"encode()","slug":"encode","link":"#encode","children":[]},{"level":3,"title":"invoke()","slug":"invoke","link":"#invoke","children":[]},{"level":3,"title":"read()","slug":"read","link":"#read","children":[]},{"level":3,"title":"update()","slug":"update","link":"#update","children":[]},{"level":3,"title":"write()","slug":"write","link":"#write","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Session.md"}');export{oe as comp,se as data}; diff --git a/assets/SessionOptions.html-Cp5svaYj.js b/assets/SessionOptions.html-B3mvuZTz.js similarity index 98% rename from assets/SessionOptions.html-Cp5svaYj.js rename to assets/SessionOptions.html-B3mvuZTz.js index b4262d5f77..9f80cd80e3 100644 --- a/assets/SessionOptions.html-Cp5svaYj.js +++ b/assets/SessionOptions.html-B3mvuZTz.js @@ -1 +1 @@ -import{_ as n,r as a,o as i,c as l,a as c,d as s,w as o,b as e,e as r}from"./app-QyD7034V.js";const d={},p=r('

    Type alias: SessionOptions

    SessionOptions: Object

    Type declaration

    cipherName?

    optional cipherName: string

    digest?

    optional digest: string

    iterations?

    optional iterations: number

    key

    key: string

    keylen?

    optional keylen: number

    salt?

    optional salt: string

    secret

    secret: string

    signedSalt?

    optional signedSalt: string

    ',19);function h(g,k){const t=a("RouteLink");return i(),l("div",null,[c("p",null,[s(t,{to:"/doc/http/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/http/"},{default:o(()=>[e("@faasjs/http")]),_:1}),e(" / SessionOptions")]),p])}const b=n(d,[["render",h],["__file","SessionOptions.html.vue"]]),y=JSON.parse('{"path":"/doc/http/type-aliases/SessionOptions.html","title":"Type alias: SessionOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"cipherName?","slug":"ciphername","link":"#ciphername","children":[]},{"level":3,"title":"digest?","slug":"digest","link":"#digest","children":[]},{"level":3,"title":"iterations?","slug":"iterations","link":"#iterations","children":[]},{"level":3,"title":"key","slug":"key","link":"#key","children":[]},{"level":3,"title":"keylen?","slug":"keylen","link":"#keylen","children":[]},{"level":3,"title":"salt?","slug":"salt","link":"#salt","children":[]},{"level":3,"title":"secret","slug":"secret","link":"#secret","children":[]},{"level":3,"title":"signedSalt?","slug":"signedsalt","link":"#signedsalt","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/SessionOptions.md"}');export{b as comp,y as data}; +import{_ as n,r as a,o as i,c as l,a as c,d as s,w as o,b as e,e as r}from"./app-COoiSelr.js";const d={},p=r('

    Type alias: SessionOptions

    SessionOptions: Object

    Type declaration

    cipherName?

    optional cipherName: string

    digest?

    optional digest: string

    iterations?

    optional iterations: number

    key

    key: string

    keylen?

    optional keylen: number

    salt?

    optional salt: string

    secret

    secret: string

    signedSalt?

    optional signedSalt: string

    ',19);function h(g,k){const t=a("RouteLink");return i(),l("div",null,[c("p",null,[s(t,{to:"/doc/http/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/http/"},{default:o(()=>[e("@faasjs/http")]),_:1}),e(" / SessionOptions")]),p])}const b=n(d,[["render",h],["__file","SessionOptions.html.vue"]]),y=JSON.parse('{"path":"/doc/http/type-aliases/SessionOptions.html","title":"Type alias: SessionOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"cipherName?","slug":"ciphername","link":"#ciphername","children":[]},{"level":3,"title":"digest?","slug":"digest","link":"#digest","children":[]},{"level":3,"title":"iterations?","slug":"iterations","link":"#iterations","children":[]},{"level":3,"title":"key","slug":"key","link":"#key","children":[]},{"level":3,"title":"keylen?","slug":"keylen","link":"#keylen","children":[]},{"level":3,"title":"salt?","slug":"salt","link":"#salt","children":[]},{"level":3,"title":"secret","slug":"secret","link":"#secret","children":[]},{"level":3,"title":"signedSalt?","slug":"signedsalt","link":"#signedsalt","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/SessionOptions.md"}');export{b as comp,y as data}; diff --git a/assets/SignalOptions.html-BBvSm_xx.js b/assets/SignalOptions.html-BxowXs-7.js similarity index 95% rename from assets/SignalOptions.html-BBvSm_xx.js rename to assets/SignalOptions.html-BxowXs-7.js index 4bd6b8bbb8..7ff46a2fc1 100644 --- a/assets/SignalOptions.html-BBvSm_xx.js +++ b/assets/SignalOptions.html-BxowXs-7.js @@ -1 +1 @@ -import{_ as o,r as s,o as l,c as i,a as c,d as t,w as n,b as e,e as d}from"./app-QyD7034V.js";const r={},p=d('

    Type alias: SignalOptions

    SignalOptions: Object

    Type declaration

    debugName?

    debugName?: string

    ',5);function g(h,u){const a=s("RouteLink");return l(),i("div",null,[c("p",null,[t(a,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / SignalOptions")]),p])}const _=o(r,[["render",g],["__file","SignalOptions.html.vue"]]),b=JSON.parse('{"path":"/doc/react/type-aliases/SignalOptions.html","title":"Type alias: SignalOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"debugName?","slug":"debugname","link":"#debugname","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/SignalOptions.md"}');export{_ as comp,b as data}; +import{_ as o,r as s,o as l,c as i,a as c,d as t,w as n,b as e,e as d}from"./app-COoiSelr.js";const r={},p=d('

    Type alias: SignalOptions

    SignalOptions: Object

    Type declaration

    debugName?

    debugName?: string

    ',5);function g(h,u){const a=s("RouteLink");return l(),i("div",null,[c("p",null,[t(a,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / SignalOptions")]),p])}const _=o(r,[["render",g],["__file","SignalOptions.html.vue"]]),b=JSON.parse('{"path":"/doc/react/type-aliases/SignalOptions.html","title":"Type alias: SignalOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"debugName?","slug":"debugname","link":"#debugname","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/SignalOptions.md"}');export{_ as comp,b as data}; diff --git a/assets/TabProps.html-BYNLAESZ.js b/assets/TabProps.html-DC43biPb.js similarity index 97% rename from assets/TabProps.html-BYNLAESZ.js rename to assets/TabProps.html-DC43biPb.js index 774c8b765a..53ed8fc38d 100644 --- a/assets/TabProps.html-BYNLAESZ.js +++ b/assets/TabProps.html-DC43biPb.js @@ -1 +1 @@ -import{_ as n,r as s,o,c as d,a as i,d as t,w as r,b as e,e as l}from"./app-QyD7034V.js";const c={},h=l('

    Interface: TabProps

    Extends

    • Partial<OriginTabProps>

    Properties

    children

    children: ReactNode

    Overrides

    Partial.children

    id

    id: string

    Overrides

    Partial.id

    title?

    optional title: ReactNode

    ',14);function p(b,f){const a=s("RouteLink");return o(),d("div",null,[i("p",null,[t(a,{to:"/doc/ant-design/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/ant-design/"},{default:r(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TabProps")]),h])}const g=n(c,[["render",p],["__file","TabProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/TabProps.html","title":"Interface: TabProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TabProps.md"}');export{g as comp,x as data}; +import{_ as n,r as s,o,c as d,a as i,d as t,w as r,b as e,e as l}from"./app-COoiSelr.js";const c={},h=l('

    Interface: TabProps

    Extends

    • Partial<OriginTabProps>

    Properties

    children

    children: ReactNode

    Overrides

    Partial.children

    id

    id: string

    Overrides

    Partial.id

    title?

    optional title: ReactNode

    ',14);function p(b,f){const a=s("RouteLink");return o(),d("div",null,[i("p",null,[t(a,{to:"/doc/ant-design/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),t(a,{to:"/doc/ant-design/"},{default:r(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TabProps")]),h])}const g=n(c,[["render",p],["__file","TabProps.html.vue"]]),x=JSON.parse('{"path":"/doc/ant-design/interfaces/TabProps.html","title":"Interface: TabProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children","slug":"children","link":"#children","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TabProps.md"}');export{g as comp,x as data}; diff --git a/assets/Table.html-oAlboUcL.js b/assets/Table.html-BBj2PeWM.js similarity index 97% rename from assets/Table.html-oAlboUcL.js rename to assets/Table.html-BBj2PeWM.js index 0e7e9b49cd..100841bf49 100644 --- a/assets/Table.html-oAlboUcL.js +++ b/assets/Table.html-BBj2PeWM.js @@ -1 +1 @@ -import{_ as c,r as s,o as d,c as i,a as e,d as n,w as o,b as t,e as l}from"./app-QyD7034V.js";const p={},u=l('

    Function: Table()

    Table<T, ExtendTypes>(props): Element

    Table component with Ant Design & FaasJS

    ',3),h={href:"https://ant.design/components/table/",target:"_blank",rel:"noopener noreferrer"},_=e("li",null,"Support FaasJS injection.",-1),m=e("li",null,[t("Auto generate filter dropdown (disable with "),e("code",null,"filterDropdown: false"),t(").")],-1),g=e("li",null,[t("Auto generate sorter (disable with "),e("code",null,"sorter: false"),t(").")],-1),f=l('

    Type parameters

    T extends Record<string, any>

    ExtendTypes = any

    Parameters

    ',4),b=e("strong",null,"props",-1),T=e("code",null,"TableProps",-1),x=e("code",null,"T",-1),k=e("code",null,"ExtendTypes",-1),y=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),E=e("p",null,[e("code",null,"Element")],-1);function v(w,R){const a=s("RouteLink"),r=s("ExternalLinkIcon");return d(),i("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / Table")]),u,e("ul",null,[e("li",null,[t("Based on "),e("a",h,[t("Ant Design Table"),n(r)]),t(".")]),_,m,g]),f,e("p",null,[t("• "),b,t(": "),n(a,{to:"/doc/ant-design/type-aliases/TableProps.html"},{default:o(()=>[T]),_:1}),t("<"),x,t(", "),k,t(">")]),y,E])}const P=c(p,[["render",v],["__file","Table.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/functions/Table.html","title":"Function: Table()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Table.md"}');export{P as comp,S as data}; +import{_ as c,r as s,o as d,c as i,a as e,d as n,w as o,b as t,e as l}from"./app-COoiSelr.js";const p={},u=l('

    Function: Table()

    Table<T, ExtendTypes>(props): Element

    Table component with Ant Design & FaasJS

    ',3),h={href:"https://ant.design/components/table/",target:"_blank",rel:"noopener noreferrer"},_=e("li",null,"Support FaasJS injection.",-1),m=e("li",null,[t("Auto generate filter dropdown (disable with "),e("code",null,"filterDropdown: false"),t(").")],-1),g=e("li",null,[t("Auto generate sorter (disable with "),e("code",null,"sorter: false"),t(").")],-1),f=l('

    Type parameters

    T extends Record<string, any>

    ExtendTypes = any

    Parameters

    ',4),b=e("strong",null,"props",-1),T=e("code",null,"TableProps",-1),x=e("code",null,"T",-1),k=e("code",null,"ExtendTypes",-1),y=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),E=e("p",null,[e("code",null,"Element")],-1);function v(w,R){const a=s("RouteLink"),r=s("ExternalLinkIcon");return d(),i("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / Table")]),u,e("ul",null,[e("li",null,[t("Based on "),e("a",h,[t("Ant Design Table"),n(r)]),t(".")]),_,m,g]),f,e("p",null,[t("• "),b,t(": "),n(a,{to:"/doc/ant-design/type-aliases/TableProps.html"},{default:o(()=>[T]),_:1}),t("<"),x,t(", "),k,t(">")]),y,E])}const P=c(p,[["render",v],["__file","Table.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/functions/Table.html","title":"Function: Table()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/Table.md"}');export{P as comp,S as data}; diff --git a/assets/TableItemProps.html-C779LVe4.js b/assets/TableItemProps.html-CdjB02QF.js similarity index 99% rename from assets/TableItemProps.html-C779LVe4.js rename to assets/TableItemProps.html-CdjB02QF.js index 89b82517c9..1e16f7aa91 100644 --- a/assets/TableItemProps.html-C779LVe4.js +++ b/assets/TableItemProps.html-CdjB02QF.js @@ -1,2 +1,2 @@ -import{_ as a,r as d,o as i,c as r,a as e,d as l,w as o,b as t,e as s}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"interface-tableitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-tableitemprops-t"},[e("span",null,"Interface: TableItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=e("code",null,"Omit",-1),m=e("code",null,"AntdTableColumnProps",-1),f=e("code",null,"T",-1),b=e("code",null,'"title"',-1),g=e("code",null,'"children"',-1),I=e("code",null,'"render"',-1),y=s('

    Type parameters

    T = any

    Properties

    children?

    ',4),x=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"children",-1),T=e("code",null,"UnionFaasItemElement",-1),P=e("code",null,"T",-1),F=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),v=e("blockquote",null,[e("p",null,[e("strong",null,"id"),t(": "),e("code",null,"string")])],-1),j=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),q=e("code",null,"FaasItemProps",-1),R=e("code",null,"id",-1),U=e("h3",{id:"object",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#object"},[e("span",null,"object?")])],-1),E=e("strong",null,[e("code",null,"optional")],-1),C=e("strong",null,"object",-1),B=e("code",null,"TableItemProps",-1),N=e("code",null,"T",-1),O=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),S=e("strong",null,"options",-1),w=e("code",null,"BaseOption",-1),D=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),L=e("code",null,"FaasItemProps",-1),A=e("code",null,"options",-1),J=e("h3",{id:"optionstype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#optionstype"},[e("span",null,"optionsType?")])],-1),z=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"optionsType"),t(": "),e("code",null,'"auto"')])],-1),G=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),H=e("strong",null,[e("code",null,"optional")],-1),K=e("strong",null,"render",-1),M=e("code",null,"UnionFaasItemRender",-1),Q=e("code",null,"T",-1),W=e("h3",{id:"tablechildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablechildren"},[e("span",null,"tableChildren?")])],-1),X=e("strong",null,[e("code",null,"optional")],-1),Y=e("strong",null,"tableChildren",-1),Z=e("code",null,"UnionFaasItemElement",-1),$=e("code",null,"T",-1),ee=e("h3",{id:"tablerender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablerender"},[e("span",null,"tableRender?")])],-1),te=e("strong",null,[e("code",null,"optional")],-1),ne=e("strong",null,"tableRender",-1),le=e("code",null,"UnionFaasItemRender",-1),oe=e("code",null,"T",-1),se=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),ae=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),de=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),ie=e("code",null,"FaasItemProps",-1),re=e("code",null,"title",-1),ce=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),pe=e("strong",null,"type",-1),ue=e("code",null,"FaasItemType",-1),_e=s(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
    +import{_ as a,r as d,o as i,c as r,a as e,d as l,w as o,b as t,e as s}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"interface-tableitemprops-t",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-tableitemprops-t"},[e("span",null,"Interface: TableItemProps")])],-1),p=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),u=e("code",null,"FaasItemProps",-1),_=e("code",null,"Omit",-1),m=e("code",null,"AntdTableColumnProps",-1),f=e("code",null,"T",-1),b=e("code",null,'"title"',-1),g=e("code",null,'"children"',-1),I=e("code",null,'"render"',-1),y=s('

    Type parameters

    T = any

    Properties

    children?

    ',4),x=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"children",-1),T=e("code",null,"UnionFaasItemElement",-1),P=e("code",null,"T",-1),F=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),v=e("blockquote",null,[e("p",null,[e("strong",null,"id"),t(": "),e("code",null,"string")])],-1),j=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),q=e("code",null,"FaasItemProps",-1),R=e("code",null,"id",-1),U=e("h3",{id:"object",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#object"},[e("span",null,"object?")])],-1),E=e("strong",null,[e("code",null,"optional")],-1),C=e("strong",null,"object",-1),B=e("code",null,"TableItemProps",-1),N=e("code",null,"T",-1),O=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),S=e("strong",null,"options",-1),w=e("code",null,"BaseOption",-1),D=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),L=e("code",null,"FaasItemProps",-1),A=e("code",null,"options",-1),J=e("h3",{id:"optionstype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#optionstype"},[e("span",null,"optionsType?")])],-1),z=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"optionsType"),t(": "),e("code",null,'"auto"')])],-1),G=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),H=e("strong",null,[e("code",null,"optional")],-1),K=e("strong",null,"render",-1),M=e("code",null,"UnionFaasItemRender",-1),Q=e("code",null,"T",-1),W=e("h3",{id:"tablechildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablechildren"},[e("span",null,"tableChildren?")])],-1),X=e("strong",null,[e("code",null,"optional")],-1),Y=e("strong",null,"tableChildren",-1),Z=e("code",null,"UnionFaasItemElement",-1),$=e("code",null,"T",-1),ee=e("h3",{id:"tablerender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablerender"},[e("span",null,"tableRender?")])],-1),te=e("strong",null,[e("code",null,"optional")],-1),ne=e("strong",null,"tableRender",-1),le=e("code",null,"UnionFaasItemRender",-1),oe=e("code",null,"T",-1),se=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),ae=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),t(),e("strong",null,"title"),t(": "),e("code",null,"string")])],-1),de=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),ie=e("code",null,"FaasItemProps",-1),re=e("code",null,"title",-1),ce=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),pe=e("strong",null,"type",-1),ue=e("code",null,"FaasItemType",-1),_e=s(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    `,4),me=e("code",null,"FaasItemProps",-1),fe=e("code",null,"type",-1);function be(ge,Ie){const n=d("RouteLink");return i(),r("div",null,[e("p",null,[l(n,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / TableItemProps")]),h,p,e("ul",null,[e("li",null,[l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[u]),_:1}),t("."),_,t("<"),m,t("<"),f,t(">, "),b,t(" | "),g,t(" | "),I,t(">")])]),y,e("blockquote",null,[e("p",null,[x,t(),k,t(": "),l(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:o(()=>[T]),_:1}),t("<"),P,t(">")])]),F,v,j,e("p",null,[l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[q]),_:1}),t("."),l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#id"},{default:o(()=>[R]),_:1})]),U,e("blockquote",null,[e("p",null,[E,t(),C,t(": "),l(n,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:o(()=>[B]),_:1}),t("<"),N,t(">[]")])]),O,e("blockquote",null,[e("p",null,[V,t(),S,t(": "),l(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:o(()=>[w]),_:1}),t("[]")])]),D,e("p",null,[l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[L]),_:1}),t("."),l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#options"},{default:o(()=>[A]),_:1})]),J,z,G,e("blockquote",null,[e("p",null,[H,t(),K,t(": "),l(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:o(()=>[M]),_:1}),t("<"),Q,t(">")])]),W,e("blockquote",null,[e("p",null,[X,t(),Y,t(": "),l(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:o(()=>[Z]),_:1}),t("<"),$,t(">")])]),ee,e("blockquote",null,[e("p",null,[te,t(),ne,t(": "),l(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:o(()=>[le]),_:1}),t("<"),oe,t(">")])]),se,ae,de,e("p",null,[l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[ie]),_:1}),t("."),l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#title"},{default:o(()=>[re]),_:1})]),ce,e("blockquote",null,[e("p",null,[he,t(),pe,t(": "),l(n,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:o(()=>[ue]),_:1})])]),_e,e("p",null,[l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html"},{default:o(()=>[me]),_:1}),t("."),l(n,{to:"/doc/ant-design/interfaces/FaasItemProps.html#type"},{default:o(()=>[fe]),_:1})])])}const xe=a(c,[["render",be],["__file","TableItemProps.html.vue"]]),ke=JSON.parse('{"path":"/doc/ant-design/interfaces/TableItemProps.html","title":"Interface: TableItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"object?","slug":"object","link":"#object","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"optionsType?","slug":"optionstype","link":"#optionstype","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]},{"level":3,"title":"tableChildren?","slug":"tablechildren","link":"#tablechildren","children":[]},{"level":3,"title":"tableRender?","slug":"tablerender","link":"#tablerender","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TableItemProps.md"}');export{xe as comp,ke as data}; diff --git a/assets/TableProps.html-BlQwW4yb.js b/assets/TableProps.html-CTTXc11Z.js similarity index 98% rename from assets/TableProps.html-BlQwW4yb.js rename to assets/TableProps.html-CTTXc11Z.js index 21bc6227a7..b58ace11e5 100644 --- a/assets/TableProps.html-BlQwW4yb.js +++ b/assets/TableProps.html-CTTXc11Z.js @@ -1 +1 @@ -import{_ as d,r,o as c,c as l,a as e,d as o,w as n,b as t,e as s}from"./app-QyD7034V.js";const p={},i=s('

    Type alias: TableProps<T, ExtendTypes>

    TableProps<T, ExtendTypes>: Object & AntdTableProps<T>

    Type declaration

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',6),h=e("code",null,"key",-1),g=e("code",null,"string",-1),u=e("code",null,"ExtendTableTypeProps",-1),b=e("h3",{id:"faasdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasdata"},[e("span",null,"faasData?")])],-1),_=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"faasData",-1),f=e("code",null,"FaasDataWrapperProps",-1),x=e("code",null,"T",-1),m=e("h3",{id:"items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#items"},[e("span",null,"items")])],-1),y=e("strong",null,"items",-1),k=e("code",null,"TableItemProps",-1),P=e("code",null,"ExtendTypes",-1),q=e("code",null,"ExtendTableItemProps",-1),v=s('

    onChange()?

    optional onChange: (pagination, filters, sorter, extra) => Object

    Parameters

    pagination: TablePaginationConfig

    filters: Record<string, FilterValue | null>

    sorter: SorterResult<T> | SorterResult<T>[]

    extra: TableCurrentDataSource<T>

    Returns

    Object

    extra

    extra: TableCurrentDataSource<T>

    filters

    filters: Record<string, FilterValue | null>

    pagination

    pagination: TablePaginationConfig

    sorter

    sorter: SorterResult<T> | SorterResult<T>[]

    Type parameters

    T = any

    ExtendTypes = any

    ',20);function E(R,C){const a=r("RouteLink");return c(),l("div",null,[e("p",null,[o(a,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),o(a,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / TableProps")]),i,e("p",null,[t("["),h,t(": "),g,t("]: "),o(a,{to:"/doc/ant-design/type-aliases/ExtendTableTypeProps.html"},{default:n(()=>[u]),_:1})]),b,e("blockquote",null,[e("p",null,[_,t(),T,t(": "),o(a,{to:"/doc/ant-design/interfaces/FaasDataWrapperProps.html"},{default:n(()=>[f]),_:1}),t("<"),x,t(">")])]),m,e("blockquote",null,[e("p",null,[y,t(": ("),o(a,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:n(()=>[k]),_:1}),t(" | "),P,t(" & "),o(a,{to:"/doc/ant-design/type-aliases/ExtendTableItemProps.html"},{default:n(()=>[q]),_:1}),t(")[]")])]),v])}const S=d(p,[["render",E],["__file","TableProps.html.vue"]]),V=JSON.parse('{"path":"/doc/ant-design/type-aliases/TableProps.html","title":"Type alias: TableProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"faasData?","slug":"faasdata","link":"#faasdata","children":[]},{"level":3,"title":"items","slug":"items","link":"#items","children":[]},{"level":3,"title":"onChange()?","slug":"onchange","link":"#onchange","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/TableProps.md"}');export{S as comp,V as data}; +import{_ as d,r,o as c,c as l,a as e,d as o,w as n,b as t,e as s}from"./app-COoiSelr.js";const p={},i=s('

    Type alias: TableProps<T, ExtendTypes>

    TableProps<T, ExtendTypes>: Object & AntdTableProps<T>

    Type declaration

    extendTypes?

    optional extendTypes: Object

    Index signature

    ',6),h=e("code",null,"key",-1),g=e("code",null,"string",-1),u=e("code",null,"ExtendTableTypeProps",-1),b=e("h3",{id:"faasdata",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasdata"},[e("span",null,"faasData?")])],-1),_=e("strong",null,[e("code",null,"optional")],-1),T=e("strong",null,"faasData",-1),f=e("code",null,"FaasDataWrapperProps",-1),x=e("code",null,"T",-1),m=e("h3",{id:"items",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#items"},[e("span",null,"items")])],-1),y=e("strong",null,"items",-1),k=e("code",null,"TableItemProps",-1),P=e("code",null,"ExtendTypes",-1),q=e("code",null,"ExtendTableItemProps",-1),v=s('

    onChange()?

    optional onChange: (pagination, filters, sorter, extra) => Object

    Parameters

    pagination: TablePaginationConfig

    filters: Record<string, FilterValue | null>

    sorter: SorterResult<T> | SorterResult<T>[]

    extra: TableCurrentDataSource<T>

    Returns

    Object

    extra

    extra: TableCurrentDataSource<T>

    filters

    filters: Record<string, FilterValue | null>

    pagination

    pagination: TablePaginationConfig

    sorter

    sorter: SorterResult<T> | SorterResult<T>[]

    Type parameters

    T = any

    ExtendTypes = any

    ',20);function E(R,C){const a=r("RouteLink");return c(),l("div",null,[e("p",null,[o(a,{to:"/doc/ant-design/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),o(a,{to:"/doc/ant-design/"},{default:n(()=>[t("@faasjs/ant-design")]),_:1}),t(" / TableProps")]),i,e("p",null,[t("["),h,t(": "),g,t("]: "),o(a,{to:"/doc/ant-design/type-aliases/ExtendTableTypeProps.html"},{default:n(()=>[u]),_:1})]),b,e("blockquote",null,[e("p",null,[_,t(),T,t(": "),o(a,{to:"/doc/ant-design/interfaces/FaasDataWrapperProps.html"},{default:n(()=>[f]),_:1}),t("<"),x,t(">")])]),m,e("blockquote",null,[e("p",null,[y,t(": ("),o(a,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:n(()=>[k]),_:1}),t(" | "),P,t(" & "),o(a,{to:"/doc/ant-design/type-aliases/ExtendTableItemProps.html"},{default:n(()=>[q]),_:1}),t(")[]")])]),v])}const S=d(p,[["render",E],["__file","TableProps.html.vue"]]),V=JSON.parse('{"path":"/doc/ant-design/type-aliases/TableProps.html","title":"Type alias: TableProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"faasData?","slug":"faasdata","link":"#faasdata","children":[]},{"level":3,"title":"items","slug":"items","link":"#items","children":[]},{"level":3,"title":"onChange()?","slug":"onchange","link":"#onchange","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/TableProps.md"}');export{S as comp,V as data}; diff --git a/assets/Tabs.html-DSOPrRfU.js b/assets/Tabs.html-xULPaQBw.js similarity index 98% rename from assets/Tabs.html-DSOPrRfU.js rename to assets/Tabs.html-xULPaQBw.js index 345541fa09..f78e3ce9c4 100644 --- a/assets/Tabs.html-DSOPrRfU.js +++ b/assets/Tabs.html-xULPaQBw.js @@ -1,4 +1,4 @@ -import{_ as p,r as l,o as c,c as i,a as n,d as a,w as t,b as s,e as r}from"./app-QyD7034V.js";const u={},d=n("h1",{id:"function-tabs",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-tabs"},[n("span",null,"Function: Tabs()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"Tabs"),s("("),n("code",null,"props"),s("): "),n("code",null,"Element")])],-1),k=n("p",null,"Tabs component with Ant Design & FaasJS",-1),h={href:"https://ant.design/components/tabs/",target:"_blank",rel:"noopener noreferrer"},b=n("li",null,"Support auto skip null/false tab item.",-1),v=n("li",null,[s("Support "),n("code",null,"id"),s(" as key and label.")],-1),_=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),g=n("strong",null,"props",-1),f=n("code",null,"TabsProps",-1),x=r(`

    Returns

    Element

    Example

    import { Tabs } from '@faasjs/ant-design'
    +import{_ as p,r as l,o as c,c as i,a as n,d as a,w as t,b as s,e as r}from"./app-COoiSelr.js";const u={},d=n("h1",{id:"function-tabs",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-tabs"},[n("span",null,"Function: Tabs()")])],-1),m=n("blockquote",null,[n("p",null,[n("strong",null,"Tabs"),s("("),n("code",null,"props"),s("): "),n("code",null,"Element")])],-1),k=n("p",null,"Tabs component with Ant Design & FaasJS",-1),h={href:"https://ant.design/components/tabs/",target:"_blank",rel:"noopener noreferrer"},b=n("li",null,"Support auto skip null/false tab item.",-1),v=n("li",null,[s("Support "),n("code",null,"id"),s(" as key and label.")],-1),_=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),g=n("strong",null,"props",-1),f=n("code",null,"TabsProps",-1),x=r(`

    Returns

    Element

    Example

    import { Tabs } from '@faasjs/ant-design'
     
     <Tabs
       items={[
    diff --git a/assets/TabsProps.html-B4kkLJc4.js b/assets/TabsProps.html-CQ3ubl7r.js
    similarity index 96%
    rename from assets/TabsProps.html-B4kkLJc4.js
    rename to assets/TabsProps.html-CQ3ubl7r.js
    index c1ae481b40..b4580e836a 100644
    --- a/assets/TabsProps.html-B4kkLJc4.js
    +++ b/assets/TabsProps.html-CQ3ubl7r.js
    @@ -1 +1 @@
    -import{_ as o,r,o as i,c as l,a as t,d as a,w as n,b as e,e as d}from"./app-QyD7034V.js";const c={},p=d('

    Interface: TabsProps

    Extends

    • Omit<OriginProps, "items">

    Properties

    items

    ',5),h=t("strong",null,"items",-1),u=t("code",null,"false",-1),_=t("code",null,"TabProps",-1),f=t("p",null,"auto skip null tab",-1);function m(b,x){const s=r("RouteLink");return i(),l("div",null,[t("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TabsProps")]),p,t("blockquote",null,[t("p",null,[h,e(": ("),u,e(" | "),a(s,{to:"/doc/ant-design/interfaces/TabProps.html"},{default:n(()=>[_]),_:1}),e(")[]")])]),f])}const P=o(c,[["render",m],["__file","TabsProps.html.vue"]]),T=JSON.parse('{"path":"/doc/ant-design/interfaces/TabsProps.html","title":"Interface: TabsProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"items","slug":"items","link":"#items","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TabsProps.md"}');export{P as comp,T as data}; +import{_ as o,r,o as i,c as l,a as t,d as a,w as n,b as e,e as d}from"./app-COoiSelr.js";const c={},p=d('

    Interface: TabsProps

    Extends

    • Omit<OriginProps, "items">

    Properties

    items

    ',5),h=t("strong",null,"items",-1),u=t("code",null,"false",-1),_=t("code",null,"TabProps",-1),f=t("p",null,"auto skip null tab",-1);function m(b,x){const s=r("RouteLink");return i(),l("div",null,[t("p",null,[a(s,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(s,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TabsProps")]),p,t("blockquote",null,[t("p",null,[h,e(": ("),u,e(" | "),a(s,{to:"/doc/ant-design/interfaces/TabProps.html"},{default:n(()=>[_]),_:1}),e(")[]")])]),f])}const P=o(c,[["render",m],["__file","TabsProps.html.vue"]]),T=JSON.parse('{"path":"/doc/ant-design/interfaces/TabsProps.html","title":"Interface: TabsProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"items","slug":"items","link":"#items","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TabsProps.md"}');export{P as comp,T as data}; diff --git a/assets/TencentcloudConfig.html-DyFrS-se.js b/assets/TencentcloudConfig.html-2mQEHaQN.js similarity index 97% rename from assets/TencentcloudConfig.html-DyFrS-se.js rename to assets/TencentcloudConfig.html-2mQEHaQN.js index 5b06881234..a8d5f15212 100644 --- a/assets/TencentcloudConfig.html-DyFrS-se.js +++ b/assets/TencentcloudConfig.html-2mQEHaQN.js @@ -1 +1 @@ -import{_ as c,r as a,o as s,c as l,a as d,d as o,w as n,b as e,e as r}from"./app-QyD7034V.js";const i={},p=r('

    Type alias: TencentcloudConfig

    TencentcloudConfig: Object

    云 API 配置项 优先读取环境变量,如果没有则读取入参

    Type declaration

    appId?

    optional appId: string

    region?

    optional region: string

    secretId?

    optional secretId: string

    secretKey?

    optional secretKey: string

    token?

    optional token: string

    ',14);function g(h,u){const t=a("RouteLink");return s(),l("div",null,[d("p",null,[o(t,{to:"/doc/tencentcloud/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/tencentcloud/"},{default:n(()=>[e("@faasjs/tencentcloud")]),_:1}),e(" / TencentcloudConfig")]),p])}const f=c(i,[["render",g],["__file","TencentcloudConfig.html.vue"]]),b=JSON.parse('{"path":"/doc/tencentcloud/type-aliases/TencentcloudConfig.html","title":"Type alias: TencentcloudConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"appId?","slug":"appid","link":"#appid","children":[]},{"level":3,"title":"region?","slug":"region","link":"#region","children":[]},{"level":3,"title":"secretId?","slug":"secretid","link":"#secretid","children":[]},{"level":3,"title":"secretKey?","slug":"secretkey","link":"#secretkey","children":[]},{"level":3,"title":"token?","slug":"token","link":"#token","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/type-aliases/TencentcloudConfig.md"}');export{f as comp,b as data}; +import{_ as c,r as a,o as s,c as l,a as d,d as o,w as n,b as e,e as r}from"./app-COoiSelr.js";const i={},p=r('

    Type alias: TencentcloudConfig

    TencentcloudConfig: Object

    云 API 配置项 优先读取环境变量,如果没有则读取入参

    Type declaration

    appId?

    optional appId: string

    region?

    optional region: string

    secretId?

    optional secretId: string

    secretKey?

    optional secretKey: string

    token?

    optional token: string

    ',14);function g(h,u){const t=a("RouteLink");return s(),l("div",null,[d("p",null,[o(t,{to:"/doc/tencentcloud/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/tencentcloud/"},{default:n(()=>[e("@faasjs/tencentcloud")]),_:1}),e(" / TencentcloudConfig")]),p])}const f=c(i,[["render",g],["__file","TencentcloudConfig.html.vue"]]),b=JSON.parse('{"path":"/doc/tencentcloud/type-aliases/TencentcloudConfig.html","title":"Type alias: TencentcloudConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"appId?","slug":"appid","link":"#appid","children":[]},{"level":3,"title":"region?","slug":"region","link":"#region","children":[]},{"level":3,"title":"secretId?","slug":"secretid","link":"#secretid","children":[]},{"level":3,"title":"secretKey?","slug":"secretkey","link":"#secretkey","children":[]},{"level":3,"title":"token?","slug":"token","link":"#token","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/type-aliases/TencentcloudConfig.md"}');export{f as comp,b as data}; diff --git a/assets/Title.html-Cj8ISzrY.js b/assets/Title.html-BCBGT3qm.js similarity index 98% rename from assets/Title.html-Cj8ISzrY.js rename to assets/Title.html-BCBGT3qm.js index 94357ddebd..32be7f66e8 100644 --- a/assets/Title.html-Cj8ISzrY.js +++ b/assets/Title.html-BCBGT3qm.js @@ -1,4 +1,4 @@ -import{_ as p,r as l,o as c,c as o,a as n,d as t,w as e,b as s,e as i}from"./app-QyD7034V.js";const u={},r=i(`

    Function: Title()

    Title(props): JSX.Element

    Title is used to change the title of the page

    Return null by default.

    // return null
    +import{_ as p,r as l,o as c,c as o,a as n,d as t,w as e,b as s,e as i}from"./app-COoiSelr.js";const u={},r=i(`

    Function: Title()

    Title(props): JSX.Element

    Title is used to change the title of the page

    Return null by default.

    // return null
     <Title title='hi' /> // => change the document.title to 'hi'
     <Title title={['a', 'b']} /> // => change the document.title to 'a - b'
     
    diff --git a/assets/TitleProps.html-BQ3hNNMl.js b/assets/TitleProps.html-VlI7HuLc.js
    similarity index 97%
    rename from assets/TitleProps.html-BQ3hNNMl.js
    rename to assets/TitleProps.html-VlI7HuLc.js
    index d06753a65c..b8df0b3680 100644
    --- a/assets/TitleProps.html-BQ3hNNMl.js
    +++ b/assets/TitleProps.html-VlI7HuLc.js
    @@ -1 +1 @@
    -import{_ as a,r,o as s,c as l,a as i,d as o,w as n,b as e,e as c}from"./app-QyD7034V.js";const d={},p=c('

    Interface: TitleProps

    Properties

    children?

    optional children: Element

    return children

    h1?

    optional h1: boolean | Object

    return a h1 element

    plain?

    optional plain: boolean

    return a pure text element

    separator?

    optional separator: string

    - as default

    suffix?

    optional suffix: string

    title

    title: string | string[]

    ',18);function h(u,f){const t=r("RouteLink");return s(),l("div",null,[i("p",null,[o(t,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TitleProps")]),p])}const b=a(d,[["render",h],["__file","TitleProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/interfaces/TitleProps.html","title":"Interface: TitleProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"h1?","slug":"h1","link":"#h1","children":[]},{"level":3,"title":"plain?","slug":"plain","link":"#plain","children":[]},{"level":3,"title":"separator?","slug":"separator","link":"#separator","children":[]},{"level":3,"title":"suffix?","slug":"suffix","link":"#suffix","children":[]},{"level":3,"title":"title","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TitleProps.md"}');export{b as comp,k as data}; +import{_ as a,r,o as s,c as l,a as i,d as o,w as n,b as e,e as c}from"./app-COoiSelr.js";const d={},p=c('

    Interface: TitleProps

    Properties

    children?

    optional children: Element

    return children

    h1?

    optional h1: boolean | Object

    return a h1 element

    plain?

    optional plain: boolean

    return a pure text element

    separator?

    optional separator: string

    - as default

    suffix?

    optional suffix: string

    title

    title: string | string[]

    ',18);function h(u,f){const t=r("RouteLink");return s(),l("div",null,[i("p",null,[o(t,{to:"/doc/ant-design/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ant-design/"},{default:n(()=>[e("@faasjs/ant-design")]),_:1}),e(" / TitleProps")]),p])}const b=a(d,[["render",h],["__file","TitleProps.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/interfaces/TitleProps.html","title":"Interface: TitleProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"h1?","slug":"h1","link":"#h1","children":[]},{"level":3,"title":"plain?","slug":"plain","link":"#plain","children":[]},{"level":3,"title":"separator?","slug":"separator","link":"#separator","children":[]},{"level":3,"title":"suffix?","slug":"suffix","link":"#suffix","children":[]},{"level":3,"title":"title","slug":"title","link":"#title","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/TitleProps.md"}');export{b as comp,k as data}; diff --git a/assets/UnionFaasItemElement.html-Cxuoy0FL.js b/assets/UnionFaasItemElement.html-D23H5aZ_.js similarity index 96% rename from assets/UnionFaasItemElement.html-Cxuoy0FL.js rename to assets/UnionFaasItemElement.html-D23H5aZ_.js index 64b4ad1ea4..1f17ea8273 100644 --- a/assets/UnionFaasItemElement.html-Cxuoy0FL.js +++ b/assets/UnionFaasItemElement.html-D23H5aZ_.js @@ -1 +1 @@ -import{_ as s,r as o,o as i,c,a as e,d as a,w as l,b as t}from"./app-QyD7034V.js";const d={},u=e("h1",{id:"type-alias-unionfaasitemelement-value-values",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-unionfaasitemelement-value-values"},[e("span",null,"Type alias: UnionFaasItemElement")])],-1),m=e("strong",null,"UnionFaasItemElement",-1),r=e("code",null,"Value",-1),_=e("code",null,"Values",-1),p=e("code",null,"ReactElement",-1),h=e("code",null,"UnionFaasItemInjection",-1),f=e("code",null,"Value",-1),y=e("code",null,"Values",-1),V=e("code",null,"null",-1),g=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),I=e("p",null,[t("• "),e("strong",null,"Value"),t(" = "),e("code",null,"any")],-1),E=e("p",null,[t("• "),e("strong",null,"Values"),t(" = "),e("code",null,"any")],-1);function F(U,v){const n=o("RouteLink");return i(),c("div",null,[e("p",null,[a(n,{to:"/doc/ant-design/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/ant-design/"},{default:l(()=>[t("@faasjs/ant-design")]),_:1}),t(" / UnionFaasItemElement")]),u,e("blockquote",null,[e("p",null,[m,t("<"),r,t(", "),_,t(">: "),p,t("<"),a(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemInjection.html"},{default:l(()=>[h]),_:1}),t("<"),f,t(", "),y,t(">> | "),V])]),g,I,E])}const k=s(d,[["render",F],["__file","UnionFaasItemElement.html.vue"]]),T=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemElement.html","title":"Type alias: UnionFaasItemElement","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemElement.md"}');export{k as comp,T as data}; +import{_ as s,r as o,o as i,c,a as e,d as a,w as l,b as t}from"./app-COoiSelr.js";const d={},u=e("h1",{id:"type-alias-unionfaasitemelement-value-values",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-unionfaasitemelement-value-values"},[e("span",null,"Type alias: UnionFaasItemElement")])],-1),m=e("strong",null,"UnionFaasItemElement",-1),r=e("code",null,"Value",-1),_=e("code",null,"Values",-1),p=e("code",null,"ReactElement",-1),h=e("code",null,"UnionFaasItemInjection",-1),f=e("code",null,"Value",-1),y=e("code",null,"Values",-1),V=e("code",null,"null",-1),g=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),I=e("p",null,[t("• "),e("strong",null,"Value"),t(" = "),e("code",null,"any")],-1),E=e("p",null,[t("• "),e("strong",null,"Values"),t(" = "),e("code",null,"any")],-1);function F(U,v){const n=o("RouteLink");return i(),c("div",null,[e("p",null,[a(n,{to:"/doc/ant-design/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/ant-design/"},{default:l(()=>[t("@faasjs/ant-design")]),_:1}),t(" / UnionFaasItemElement")]),u,e("blockquote",null,[e("p",null,[m,t("<"),r,t(", "),_,t(">: "),p,t("<"),a(n,{to:"/doc/ant-design/type-aliases/UnionFaasItemInjection.html"},{default:l(()=>[h]),_:1}),t("<"),f,t(", "),y,t(">> | "),V])]),g,I,E])}const k=s(d,[["render",F],["__file","UnionFaasItemElement.html.vue"]]),T=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemElement.html","title":"Type alias: UnionFaasItemElement","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemElement.md"}');export{k as comp,T as data}; diff --git a/assets/UnionFaasItemInjection.html-K-3Toas4.js b/assets/UnionFaasItemInjection.html-BeM1IxMT.js similarity index 97% rename from assets/UnionFaasItemInjection.html-K-3Toas4.js rename to assets/UnionFaasItemInjection.html-BeM1IxMT.js index 6a6b7d8593..3dc40aa9b6 100644 --- a/assets/UnionFaasItemInjection.html-K-3Toas4.js +++ b/assets/UnionFaasItemInjection.html-BeM1IxMT.js @@ -1 +1 @@ -import{_ as l,r as c,o as i,c as d,a as e,d as t,w as o,b as a,e as s}from"./app-QyD7034V.js";const r={},p=s('

    Type alias: UnionFaasItemInjection<Value, Values>

    UnionFaasItemInjection<Value, Values>: Object

    Type parameters

    Value = any

    Values = any

    Type declaration

    index?

    optional index: number

    scene?

    ',9),u=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"scene",-1),g=e("code",null,"UnionScene",-1),m=s('

    value?

    optional value: Value

    values?

    optional values: Values

    ',4);function v(_,f){const n=c("RouteLink");return i(),d("div",null,[e("p",null,[t(n,{to:"/doc/ant-design/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/ant-design/"},{default:o(()=>[a("@faasjs/ant-design")]),_:1}),a(" / UnionFaasItemInjection")]),p,e("blockquote",null,[e("p",null,[u,a(),h,a(": "),t(n,{to:"/doc/ant-design/type-aliases/UnionScene.html"},{default:o(()=>[g]),_:1})])]),m])}const b=l(r,[["render",v],["__file","UnionFaasItemInjection.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemInjection.html","title":"Type alias: UnionFaasItemInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"index?","slug":"index","link":"#index","children":[]},{"level":3,"title":"scene?","slug":"scene","link":"#scene","children":[]},{"level":3,"title":"value?","slug":"value","link":"#value","children":[]},{"level":3,"title":"values?","slug":"values","link":"#values","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemInjection.md"}');export{b as comp,k as data}; +import{_ as l,r as c,o as i,c as d,a as e,d as t,w as o,b as a,e as s}from"./app-COoiSelr.js";const r={},p=s('

    Type alias: UnionFaasItemInjection<Value, Values>

    UnionFaasItemInjection<Value, Values>: Object

    Type parameters

    Value = any

    Values = any

    Type declaration

    index?

    optional index: number

    scene?

    ',9),u=e("strong",null,[e("code",null,"optional")],-1),h=e("strong",null,"scene",-1),g=e("code",null,"UnionScene",-1),m=s('

    value?

    optional value: Value

    values?

    optional values: Values

    ',4);function v(_,f){const n=c("RouteLink");return i(),d("div",null,[e("p",null,[t(n,{to:"/doc/ant-design/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(n,{to:"/doc/ant-design/"},{default:o(()=>[a("@faasjs/ant-design")]),_:1}),a(" / UnionFaasItemInjection")]),p,e("blockquote",null,[e("p",null,[u,a(),h,a(": "),t(n,{to:"/doc/ant-design/type-aliases/UnionScene.html"},{default:o(()=>[g]),_:1})])]),m])}const b=l(r,[["render",v],["__file","UnionFaasItemInjection.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemInjection.html","title":"Type alias: UnionFaasItemInjection","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"index?","slug":"index","link":"#index","children":[]},{"level":3,"title":"scene?","slug":"scene","link":"#scene","children":[]},{"level":3,"title":"value?","slug":"value","link":"#value","children":[]},{"level":3,"title":"values?","slug":"values","link":"#values","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemInjection.md"}');export{b as comp,k as data}; diff --git a/assets/UnionFaasItemProps.html-B0ZHw67b.js b/assets/UnionFaasItemProps.html-BCR8qJJ8.js similarity index 99% rename from assets/UnionFaasItemProps.html-B0ZHw67b.js rename to assets/UnionFaasItemProps.html-BCR8qJJ8.js index b4f99f5258..907a31fe21 100644 --- a/assets/UnionFaasItemProps.html-B0ZHw67b.js +++ b/assets/UnionFaasItemProps.html-BCR8qJJ8.js @@ -1,2 +1,2 @@ -import{_ as d,r as a,o as r,c as i,a as e,d as o,w as l,b as n,e as s}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"interface-unionfaasitemprops-value-values",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-unionfaasitemprops-value-values"},[e("span",null,"Interface: UnionFaasItemProps")])],-1),u=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),p=e("code",null,"FormItemProps",-1),_=e("code",null,"DescriptionItemProps",-1),m=e("code",null,"TableItemProps",-1),f=s('

    Type parameters

    Value = any

    Values = any

    Properties

    children?

    ',5),g=e("strong",null,[e("code",null,"optional")],-1),b=e("strong",null,"children",-1),I=e("code",null,"ReactElement",-1),P=e("code",null,"UnionFaasItemInjection",-1),x=e("code",null,"UnionFaasItemProps",-1),y=e("code",null,"Value",-1),v=e("code",null,"Values",-1),F=e("code",null,"any",-1),k=e("code",null,"string",-1),T=e("code",null,"JSXElementConstructor",-1),q=e("code",null,"any",-1),R=e("h4",{id:"overrides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides"},[e("span",null,"Overrides")])],-1),U=e("code",null,"TableItemProps",-1),C=e("code",null,"children",-1),V=e("h3",{id:"col",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#col"},[e("span",null,"col?")])],-1),j=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"col"),n(": "),e("code",null,"number")])],-1),D=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),E=e("code",null,"FormItemProps",-1),O=e("code",null,"col",-1),N=e("h3",{id:"descriptionchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionchildren"},[e("span",null,"descriptionChildren?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),w=e("strong",null,"descriptionChildren",-1),B=e("code",null,"UnionFaasItemElement",-1),J=e("code",null,"any",-1),L=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),X=e("code",null,"DescriptionItemProps",-1),z=e("code",null,"descriptionChildren",-1),A=e("h3",{id:"descriptionrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionrender"},[e("span",null,"descriptionRender?")])],-1),G=e("strong",null,[e("code",null,"optional")],-1),H=e("strong",null,"descriptionRender",-1),K=e("code",null,"UnionFaasItemRender",-1),M=e("code",null,"any",-1),Q=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),W=e("code",null,"DescriptionItemProps",-1),Y=e("code",null,"descriptionRender",-1),Z=e("h3",{id:"disabled",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#disabled"},[e("span",null,"disabled?")])],-1),$=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"disabled"),n(": "),e("code",null,"boolean")])],-1),ee=e("h4",{id:"inherited-from-3",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-3"},[e("span",null,"Inherited from")])],-1),ne=e("code",null,"FormItemProps",-1),te=e("code",null,"disabled",-1),oe=e("h3",{id:"extendtypes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extendtypes"},[e("span",null,"extendTypes?")])],-1),le=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"extendTypes",-1),de=e("code",null,"ExtendTypes",-1),ae=e("h4",{id:"inherited-from-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-4"},[e("span",null,"Inherited from")])],-1),re=e("code",null,"FormItemProps",-1),ie=e("code",null,"extendTypes",-1),ce=e("h3",{id:"formchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formchildren"},[e("span",null,"formChildren?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),ue=e("strong",null,"formChildren",-1),pe=e("code",null,"UnionFaasItemElement",-1),_e=e("code",null,"any",-1),me=e("h4",{id:"inherited-from-5",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-5"},[e("span",null,"Inherited from")])],-1),fe=e("code",null,"FormItemProps",-1),ge=e("code",null,"formChildren",-1),be=e("h3",{id:"formrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formrender"},[e("span",null,"formRender?")])],-1),Ie=e("strong",null,[e("code",null,"optional")],-1),Pe=e("strong",null,"formRender",-1),xe=e("code",null,"UnionFaasItemRender",-1),ye=e("code",null,"any",-1),ve=e("h4",{id:"inherited-from-6",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-6"},[e("span",null,"Inherited from")])],-1),Fe=e("code",null,"FormItemProps",-1),ke=e("code",null,"formRender",-1),Te=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),qe=e("blockquote",null,[e("p",null,[e("strong",null,"id"),n(": "),e("code",null,"string")])],-1),Re=e("h4",{id:"inherited-from-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-7"},[e("span",null,"Inherited from")])],-1),Ue=e("code",null,"TableItemProps",-1),Ce=e("code",null,"id",-1),Ve=s('

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    Inherited from

    ',8),je=e("code",null,"DescriptionItemProps",-1),De=e("code",null,"if",-1),Ee=s('

    input?

    optional input: SelectProps<any, DefaultOptionType> | InputProps | InputNumberProps<ValueType> | SwitchProps | DatePickerProps

    Inherited from

    ',3),Oe=e("code",null,"FormItemProps",-1),Ne=e("code",null,"input",-1),Se=s('

    label?

    optional label: string | false

    Inherited from

    ',3),we=e("code",null,"FormItemProps",-1),Be=e("code",null,"label",-1),Je=e("h3",{id:"maxcount",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#maxcount"},[e("span",null,"maxCount?")])],-1),Le=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"maxCount"),n(": "),e("code",null,"number")])],-1),Xe=e("h4",{id:"inherited-from-11",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-11"},[e("span",null,"Inherited from")])],-1),ze=e("code",null,"FormItemProps",-1),Ae=e("code",null,"maxCount",-1),Ge=e("h3",{id:"object",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#object"},[e("span",null,"object?")])],-1),He=e("strong",null,[e("code",null,"optional")],-1),Ke=e("strong",null,"object",-1),Me=e("code",null,"UnionFaasItemProps",-1),Qe=e("code",null,"Value",-1),We=e("code",null,"Values",-1),Ye=e("h4",{id:"overrides-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides-1"},[e("span",null,"Overrides")])],-1),Ze=e("code",null,"TableItemProps",-1),$e=e("code",null,"object",-1),en=s('

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: any

    values: any

    form: FormInstance<any>

    Returns

    void

    Inherited from

    ',10),nn=e("code",null,"FormItemProps",-1),tn=e("code",null,"onValueChange",-1),on=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),ln=e("strong",null,[e("code",null,"optional")],-1),sn=e("strong",null,"options",-1),dn=e("code",null,"BaseOption",-1),an=e("h4",{id:"inherited-from-13",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-13"},[e("span",null,"Inherited from")])],-1),rn=e("code",null,"TableItemProps",-1),cn=e("code",null,"options",-1),hn=e("h3",{id:"optionstype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#optionstype"},[e("span",null,"optionsType?")])],-1),un=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"optionsType"),n(": "),e("code",null,'"auto"')])],-1),pn=e("h4",{id:"inherited-from-14",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-14"},[e("span",null,"Inherited from")])],-1),_n=e("code",null,"TableItemProps",-1),mn=e("code",null,"optionsType",-1),fn=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),gn=e("strong",null,[e("code",null,"optional")],-1),bn=e("strong",null,"render",-1),In=e("code",null,"UnionFaasItemRender",-1),Pn=e("code",null,"any",-1),xn=e("code",null,"any",-1),yn=e("h4",{id:"overrides-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides-2"},[e("span",null,"Overrides")])],-1),vn=e("code",null,"TableItemProps",-1),Fn=e("code",null,"render",-1),kn=e("h3",{id:"required",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#required"},[e("span",null,"required?")])],-1),Tn=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"required"),n(": "),e("code",null,"boolean")])],-1),qn=e("h4",{id:"inherited-from-15",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-15"},[e("span",null,"Inherited from")])],-1),Rn=e("code",null,"FormItemProps",-1),Un=e("code",null,"required",-1),Cn=s('

    rules?

    optional rules: RuleObject[]

    Inherited from

    ',3),Vn=e("code",null,"FormItemProps",-1),jn=e("code",null,"rules",-1),Dn=e("h3",{id:"tablechildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablechildren"},[e("span",null,"tableChildren?")])],-1),En=e("strong",null,[e("code",null,"optional")],-1),On=e("strong",null,"tableChildren",-1),Nn=e("code",null,"UnionFaasItemElement",-1),Sn=e("code",null,"any",-1),wn=e("h4",{id:"inherited-from-17",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-17"},[e("span",null,"Inherited from")])],-1),Bn=e("code",null,"TableItemProps",-1),Jn=e("code",null,"tableChildren",-1),Ln=e("h3",{id:"tablerender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablerender"},[e("span",null,"tableRender?")])],-1),Xn=e("strong",null,[e("code",null,"optional")],-1),zn=e("strong",null,"tableRender",-1),An=e("code",null,"UnionFaasItemRender",-1),Gn=e("code",null,"any",-1),Hn=e("h4",{id:"inherited-from-18",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-18"},[e("span",null,"Inherited from")])],-1),Kn=e("code",null,"TableItemProps",-1),Mn=e("code",null,"tableRender",-1),Qn=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),Wn=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"title"),n(": "),e("code",null,"string")])],-1),Yn=e("h4",{id:"inherited-from-19",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-19"},[e("span",null,"Inherited from")])],-1),Zn=e("code",null,"TableItemProps",-1),$n=e("code",null,"title",-1),et=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),nt=e("strong",null,[e("code",null,"optional")],-1),tt=e("strong",null,"type",-1),ot=e("code",null,"FaasItemType",-1),lt=s(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
    +import{_ as d,r as a,o as r,c as i,a as e,d as o,w as l,b as n,e as s}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"interface-unionfaasitemprops-value-values",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interface-unionfaasitemprops-value-values"},[e("span",null,"Interface: UnionFaasItemProps")])],-1),u=e("h2",{id:"extends",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extends"},[e("span",null,"Extends")])],-1),p=e("code",null,"FormItemProps",-1),_=e("code",null,"DescriptionItemProps",-1),m=e("code",null,"TableItemProps",-1),f=s('

    Type parameters

    Value = any

    Values = any

    Properties

    children?

    ',5),g=e("strong",null,[e("code",null,"optional")],-1),b=e("strong",null,"children",-1),I=e("code",null,"ReactElement",-1),P=e("code",null,"UnionFaasItemInjection",-1),x=e("code",null,"UnionFaasItemProps",-1),y=e("code",null,"Value",-1),v=e("code",null,"Values",-1),F=e("code",null,"any",-1),k=e("code",null,"string",-1),T=e("code",null,"JSXElementConstructor",-1),q=e("code",null,"any",-1),R=e("h4",{id:"overrides",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides"},[e("span",null,"Overrides")])],-1),U=e("code",null,"TableItemProps",-1),C=e("code",null,"children",-1),V=e("h3",{id:"col",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#col"},[e("span",null,"col?")])],-1),j=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"col"),n(": "),e("code",null,"number")])],-1),D=e("h4",{id:"inherited-from",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from"},[e("span",null,"Inherited from")])],-1),E=e("code",null,"FormItemProps",-1),O=e("code",null,"col",-1),N=e("h3",{id:"descriptionchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionchildren"},[e("span",null,"descriptionChildren?")])],-1),S=e("strong",null,[e("code",null,"optional")],-1),w=e("strong",null,"descriptionChildren",-1),B=e("code",null,"UnionFaasItemElement",-1),J=e("code",null,"any",-1),L=e("h4",{id:"inherited-from-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-1"},[e("span",null,"Inherited from")])],-1),X=e("code",null,"DescriptionItemProps",-1),z=e("code",null,"descriptionChildren",-1),A=e("h3",{id:"descriptionrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#descriptionrender"},[e("span",null,"descriptionRender?")])],-1),G=e("strong",null,[e("code",null,"optional")],-1),H=e("strong",null,"descriptionRender",-1),K=e("code",null,"UnionFaasItemRender",-1),M=e("code",null,"any",-1),Q=e("h4",{id:"inherited-from-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-2"},[e("span",null,"Inherited from")])],-1),W=e("code",null,"DescriptionItemProps",-1),Y=e("code",null,"descriptionRender",-1),Z=e("h3",{id:"disabled",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#disabled"},[e("span",null,"disabled?")])],-1),$=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"disabled"),n(": "),e("code",null,"boolean")])],-1),ee=e("h4",{id:"inherited-from-3",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-3"},[e("span",null,"Inherited from")])],-1),ne=e("code",null,"FormItemProps",-1),te=e("code",null,"disabled",-1),oe=e("h3",{id:"extendtypes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#extendtypes"},[e("span",null,"extendTypes?")])],-1),le=e("strong",null,[e("code",null,"optional")],-1),se=e("strong",null,"extendTypes",-1),de=e("code",null,"ExtendTypes",-1),ae=e("h4",{id:"inherited-from-4",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-4"},[e("span",null,"Inherited from")])],-1),re=e("code",null,"FormItemProps",-1),ie=e("code",null,"extendTypes",-1),ce=e("h3",{id:"formchildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formchildren"},[e("span",null,"formChildren?")])],-1),he=e("strong",null,[e("code",null,"optional")],-1),ue=e("strong",null,"formChildren",-1),pe=e("code",null,"UnionFaasItemElement",-1),_e=e("code",null,"any",-1),me=e("h4",{id:"inherited-from-5",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-5"},[e("span",null,"Inherited from")])],-1),fe=e("code",null,"FormItemProps",-1),ge=e("code",null,"formChildren",-1),be=e("h3",{id:"formrender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#formrender"},[e("span",null,"formRender?")])],-1),Ie=e("strong",null,[e("code",null,"optional")],-1),Pe=e("strong",null,"formRender",-1),xe=e("code",null,"UnionFaasItemRender",-1),ye=e("code",null,"any",-1),ve=e("h4",{id:"inherited-from-6",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-6"},[e("span",null,"Inherited from")])],-1),Fe=e("code",null,"FormItemProps",-1),ke=e("code",null,"formRender",-1),Te=e("h3",{id:"id",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#id"},[e("span",null,"id")])],-1),qe=e("blockquote",null,[e("p",null,[e("strong",null,"id"),n(": "),e("code",null,"string")])],-1),Re=e("h4",{id:"inherited-from-7",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-7"},[e("span",null,"Inherited from")])],-1),Ue=e("code",null,"TableItemProps",-1),Ce=e("code",null,"id",-1),Ve=s('

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    Inherited from

    ',8),je=e("code",null,"DescriptionItemProps",-1),De=e("code",null,"if",-1),Ee=s('

    input?

    optional input: SelectProps<any, DefaultOptionType> | InputProps | InputNumberProps<ValueType> | SwitchProps | DatePickerProps

    Inherited from

    ',3),Oe=e("code",null,"FormItemProps",-1),Ne=e("code",null,"input",-1),Se=s('

    label?

    optional label: string | false

    Inherited from

    ',3),we=e("code",null,"FormItemProps",-1),Be=e("code",null,"label",-1),Je=e("h3",{id:"maxcount",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#maxcount"},[e("span",null,"maxCount?")])],-1),Le=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"maxCount"),n(": "),e("code",null,"number")])],-1),Xe=e("h4",{id:"inherited-from-11",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-11"},[e("span",null,"Inherited from")])],-1),ze=e("code",null,"FormItemProps",-1),Ae=e("code",null,"maxCount",-1),Ge=e("h3",{id:"object",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#object"},[e("span",null,"object?")])],-1),He=e("strong",null,[e("code",null,"optional")],-1),Ke=e("strong",null,"object",-1),Me=e("code",null,"UnionFaasItemProps",-1),Qe=e("code",null,"Value",-1),We=e("code",null,"Values",-1),Ye=e("h4",{id:"overrides-1",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides-1"},[e("span",null,"Overrides")])],-1),Ze=e("code",null,"TableItemProps",-1),$e=e("code",null,"object",-1),en=s('

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: any

    values: any

    form: FormInstance<any>

    Returns

    void

    Inherited from

    ',10),nn=e("code",null,"FormItemProps",-1),tn=e("code",null,"onValueChange",-1),on=e("h3",{id:"options",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#options"},[e("span",null,"options?")])],-1),ln=e("strong",null,[e("code",null,"optional")],-1),sn=e("strong",null,"options",-1),dn=e("code",null,"BaseOption",-1),an=e("h4",{id:"inherited-from-13",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-13"},[e("span",null,"Inherited from")])],-1),rn=e("code",null,"TableItemProps",-1),cn=e("code",null,"options",-1),hn=e("h3",{id:"optionstype",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#optionstype"},[e("span",null,"optionsType?")])],-1),un=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"optionsType"),n(": "),e("code",null,'"auto"')])],-1),pn=e("h4",{id:"inherited-from-14",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-14"},[e("span",null,"Inherited from")])],-1),_n=e("code",null,"TableItemProps",-1),mn=e("code",null,"optionsType",-1),fn=e("h3",{id:"render",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#render"},[e("span",null,"render?")])],-1),gn=e("strong",null,[e("code",null,"optional")],-1),bn=e("strong",null,"render",-1),In=e("code",null,"UnionFaasItemRender",-1),Pn=e("code",null,"any",-1),xn=e("code",null,"any",-1),yn=e("h4",{id:"overrides-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overrides-2"},[e("span",null,"Overrides")])],-1),vn=e("code",null,"TableItemProps",-1),Fn=e("code",null,"render",-1),kn=e("h3",{id:"required",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#required"},[e("span",null,"required?")])],-1),Tn=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"required"),n(": "),e("code",null,"boolean")])],-1),qn=e("h4",{id:"inherited-from-15",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-15"},[e("span",null,"Inherited from")])],-1),Rn=e("code",null,"FormItemProps",-1),Un=e("code",null,"required",-1),Cn=s('

    rules?

    optional rules: RuleObject[]

    Inherited from

    ',3),Vn=e("code",null,"FormItemProps",-1),jn=e("code",null,"rules",-1),Dn=e("h3",{id:"tablechildren",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablechildren"},[e("span",null,"tableChildren?")])],-1),En=e("strong",null,[e("code",null,"optional")],-1),On=e("strong",null,"tableChildren",-1),Nn=e("code",null,"UnionFaasItemElement",-1),Sn=e("code",null,"any",-1),wn=e("h4",{id:"inherited-from-17",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-17"},[e("span",null,"Inherited from")])],-1),Bn=e("code",null,"TableItemProps",-1),Jn=e("code",null,"tableChildren",-1),Ln=e("h3",{id:"tablerender",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#tablerender"},[e("span",null,"tableRender?")])],-1),Xn=e("strong",null,[e("code",null,"optional")],-1),zn=e("strong",null,"tableRender",-1),An=e("code",null,"UnionFaasItemRender",-1),Gn=e("code",null,"any",-1),Hn=e("h4",{id:"inherited-from-18",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-18"},[e("span",null,"Inherited from")])],-1),Kn=e("code",null,"TableItemProps",-1),Mn=e("code",null,"tableRender",-1),Qn=e("h3",{id:"title",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#title"},[e("span",null,"title?")])],-1),Wn=e("blockquote",null,[e("p",null,[e("strong",null,[e("code",null,"optional")]),n(),e("strong",null,"title"),n(": "),e("code",null,"string")])],-1),Yn=e("h4",{id:"inherited-from-19",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#inherited-from-19"},[e("span",null,"Inherited from")])],-1),Zn=e("code",null,"TableItemProps",-1),$n=e("code",null,"title",-1),et=e("h3",{id:"type",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type"},[e("span",null,"type?")])],-1),nt=e("strong",null,[e("code",null,"optional")],-1),tt=e("strong",null,"type",-1),ot=e("code",null,"FaasItemType",-1),lt=s(`

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    `,4),st=e("code",null,"TableItemProps",-1),dt=e("code",null,"type",-1);function at(rt,it){const t=a("RouteLink");return r(),i("div",null,[e("p",null,[o(t,{to:"/doc/ant-design/"},{default:l(()=>[n("Documents")]),_:1}),n(" / "),o(t,{to:"/doc/ant-design/"},{default:l(()=>[n("@faasjs/ant-design")]),_:1}),n(" / UnionFaasItemProps")]),h,u,e("ul",null,[e("li",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[p]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:l(()=>[_]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[m]),_:1})])]),f,e("blockquote",null,[e("p",null,[g,n(),b,n(": "),I,n("<"),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemInjection.html"},{default:l(()=>[P]),_:1}),n("<"),o(t,{to:"/doc/ant-design/interfaces/UnionFaasItemProps.html"},{default:l(()=>[x]),_:1}),n("<"),y,n(", "),v,n(">, "),F,n(">, "),k,n(" | "),T,n("<"),q,n(">>")])]),R,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[U]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#children"},{default:l(()=>[C]),_:1})]),V,j,D,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[E]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#col"},{default:l(()=>[O]),_:1})]),N,e("blockquote",null,[e("p",null,[S,n(),w,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:l(()=>[B]),_:1}),n("<"),J,n(">")])]),L,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:l(()=>[X]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html#descriptionchildren"},{default:l(()=>[z]),_:1})]),A,e("blockquote",null,[e("p",null,[G,n(),H,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[K]),_:1}),n("<"),M,n(">")])]),Q,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:l(()=>[W]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html#descriptionrender"},{default:l(()=>[Y]),_:1})]),Z,$,ee,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[ne]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#disabled"},{default:l(()=>[te]),_:1})]),oe,e("blockquote",null,[e("p",null,[le,n(),se,n(": "),o(t,{to:"/doc/ant-design/type-aliases/ExtendTypes.html"},{default:l(()=>[de]),_:1})])]),ae,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[re]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#extendtypes"},{default:l(()=>[ie]),_:1})]),ce,e("blockquote",null,[e("p",null,[he,n(),ue,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:l(()=>[pe]),_:1}),n("<"),_e,n(">")])]),me,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[fe]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#formchildren"},{default:l(()=>[ge]),_:1})]),be,e("blockquote",null,[e("p",null,[Ie,n(),Pe,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[xe]),_:1}),n("<"),ye,n(">")])]),ve,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[Fe]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#formrender"},{default:l(()=>[ke]),_:1})]),Te,qe,Re,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[Ue]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#id"},{default:l(()=>[Ce]),_:1})]),Ve,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html"},{default:l(()=>[je]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/DescriptionItemProps.html#if"},{default:l(()=>[De]),_:1})]),Ee,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[Oe]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#input"},{default:l(()=>[Ne]),_:1})]),Se,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[we]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#label"},{default:l(()=>[Be]),_:1})]),Je,Le,Xe,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[ze]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#maxcount"},{default:l(()=>[Ae]),_:1})]),Ge,e("blockquote",null,[e("p",null,[He,n(),Ke,n(": "),o(t,{to:"/doc/ant-design/interfaces/UnionFaasItemProps.html"},{default:l(()=>[Me]),_:1}),n("<"),Qe,n(", "),We,n(">[]")])]),Ye,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[Ze]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#object"},{default:l(()=>[$e]),_:1})]),en,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[nn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#onvaluechange"},{default:l(()=>[tn]),_:1})]),on,e("blockquote",null,[e("p",null,[ln,n(),sn,n(": "),o(t,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:l(()=>[dn]),_:1}),n("[]")])]),an,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[rn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#options"},{default:l(()=>[cn]),_:1})]),hn,un,pn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[_n]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#optionstype"},{default:l(()=>[mn]),_:1})]),fn,e("blockquote",null,[e("p",null,[gn,n(),bn,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[In]),_:1}),n("<"),Pn,n(", "),xn,n(">")])]),yn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[vn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#render"},{default:l(()=>[Fn]),_:1})]),kn,Tn,qn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[Rn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#required"},{default:l(()=>[Un]),_:1})]),Cn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html"},{default:l(()=>[Vn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/FormItemProps.html#rules"},{default:l(()=>[jn]),_:1})]),Dn,e("blockquote",null,[e("p",null,[En,n(),On,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemElement.html"},{default:l(()=>[Nn]),_:1}),n("<"),Sn,n(">")])]),wn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[Bn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#tablechildren"},{default:l(()=>[Jn]),_:1})]),Ln,e("blockquote",null,[e("p",null,[Xn,n(),zn,n(": "),o(t,{to:"/doc/ant-design/type-aliases/UnionFaasItemRender.html"},{default:l(()=>[An]),_:1}),n("<"),Gn,n(">")])]),Hn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[Kn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#tablerender"},{default:l(()=>[Mn]),_:1})]),Qn,Wn,Yn,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[Zn]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#title"},{default:l(()=>[$n]),_:1})]),et,e("blockquote",null,[e("p",null,[nt,n(),tt,n(": "),o(t,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:l(()=>[ot]),_:1})])]),lt,e("p",null,[o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html"},{default:l(()=>[st]),_:1}),n("."),o(t,{to:"/doc/ant-design/interfaces/TableItemProps.html#type"},{default:l(()=>[dt]),_:1})])])}const ht=d(c,[["render",at],["__file","UnionFaasItemProps.html.vue"]]),ut=JSON.parse('{"path":"/doc/ant-design/interfaces/UnionFaasItemProps.html","title":"Interface: UnionFaasItemProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Extends","slug":"extends","link":"#extends","children":[]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"children?","slug":"children","link":"#children","children":[]},{"level":3,"title":"col?","slug":"col","link":"#col","children":[]},{"level":3,"title":"descriptionChildren?","slug":"descriptionchildren","link":"#descriptionchildren","children":[]},{"level":3,"title":"descriptionRender?","slug":"descriptionrender","link":"#descriptionrender","children":[]},{"level":3,"title":"disabled?","slug":"disabled","link":"#disabled","children":[]},{"level":3,"title":"extendTypes?","slug":"extendtypes","link":"#extendtypes","children":[]},{"level":3,"title":"formChildren?","slug":"formchildren","link":"#formchildren","children":[]},{"level":3,"title":"formRender?","slug":"formrender","link":"#formrender","children":[]},{"level":3,"title":"id","slug":"id","link":"#id","children":[]},{"level":3,"title":"if()?","slug":"if","link":"#if","children":[]},{"level":3,"title":"input?","slug":"input","link":"#input","children":[]},{"level":3,"title":"label?","slug":"label","link":"#label","children":[]},{"level":3,"title":"maxCount?","slug":"maxcount","link":"#maxcount","children":[]},{"level":3,"title":"object?","slug":"object","link":"#object","children":[]},{"level":3,"title":"onValueChange()?","slug":"onvaluechange","link":"#onvaluechange","children":[]},{"level":3,"title":"options?","slug":"options","link":"#options","children":[]},{"level":3,"title":"optionsType?","slug":"optionstype","link":"#optionstype","children":[]},{"level":3,"title":"render?","slug":"render","link":"#render","children":[]},{"level":3,"title":"required?","slug":"required","link":"#required","children":[]},{"level":3,"title":"rules?","slug":"rules","link":"#rules","children":[]},{"level":3,"title":"tableChildren?","slug":"tablechildren","link":"#tablechildren","children":[]},{"level":3,"title":"tableRender?","slug":"tablerender","link":"#tablerender","children":[]},{"level":3,"title":"title?","slug":"title","link":"#title","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/UnionFaasItemProps.md"}');export{ht as comp,ut as data}; diff --git a/assets/UnionFaasItemRender.html-C1UDtX8H.js b/assets/UnionFaasItemRender.html-CAbfIfQ3.js similarity index 97% rename from assets/UnionFaasItemRender.html-C1UDtX8H.js rename to assets/UnionFaasItemRender.html-CAbfIfQ3.js index e5b7c0e901..af11c5d204 100644 --- a/assets/UnionFaasItemRender.html-C1UDtX8H.js +++ b/assets/UnionFaasItemRender.html-CAbfIfQ3.js @@ -1 +1 @@ -import{_ as o,r,o as d,c as l,a as e,d as n,w as s,b as a,e as c}from"./app-QyD7034V.js";const i={},p=c('

    Type alias: UnionFaasItemRender()<Value, Values>

    UnionFaasItemRender<Value, Values>: (value, values, index, scene) => React.ReactNode

    Type parameters

    Value = any

    Values = any

    Parameters

    value: Value

    values: Values

    index: number

    ',9),u=e("strong",null,"scene",-1),m=e("code",null,"UnionScene",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"React.ReactNode")],-1);function _(f,R){const t=r("RouteLink");return d(),l("div",null,[e("p",null,[n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("@faasjs/ant-design")]),_:1}),a(" / UnionFaasItemRender")]),p,e("p",null,[a("• "),u,a(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionScene.html"},{default:s(()=>[m]),_:1})]),h,g])}const y=o(i,[["render",_],["__file","UnionFaasItemRender.html.vue"]]),V=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemRender.html","title":"Type alias: UnionFaasItemRender()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemRender.md"}');export{y as comp,V as data}; +import{_ as o,r,o as d,c as l,a as e,d as n,w as s,b as a,e as c}from"./app-COoiSelr.js";const i={},p=c('

    Type alias: UnionFaasItemRender()<Value, Values>

    UnionFaasItemRender<Value, Values>: (value, values, index, scene) => React.ReactNode

    Type parameters

    Value = any

    Values = any

    Parameters

    value: Value

    values: Values

    index: number

    ',9),u=e("strong",null,"scene",-1),m=e("code",null,"UnionScene",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"React.ReactNode")],-1);function _(f,R){const t=r("RouteLink");return d(),l("div",null,[e("p",null,[n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("Documents")]),_:1}),a(" / "),n(t,{to:"/doc/ant-design/"},{default:s(()=>[a("@faasjs/ant-design")]),_:1}),a(" / UnionFaasItemRender")]),p,e("p",null,[a("• "),u,a(": "),n(t,{to:"/doc/ant-design/type-aliases/UnionScene.html"},{default:s(()=>[m]),_:1})]),h,g])}const y=o(i,[["render",_],["__file","UnionFaasItemRender.html.vue"]]),V=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionFaasItemRender.html","title":"Type alias: UnionFaasItemRender()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionFaasItemRender.md"}');export{y as comp,V as data}; diff --git a/assets/UnionScene.html-Boyg9s7w.js b/assets/UnionScene.html-PSiMpMD_.js similarity index 93% rename from assets/UnionScene.html-Boyg9s7w.js rename to assets/UnionScene.html-PSiMpMD_.js index 496cc41d36..2e24ccb11a 100644 --- a/assets/UnionScene.html-Boyg9s7w.js +++ b/assets/UnionScene.html-PSiMpMD_.js @@ -1 +1 @@ -import{_ as s,r as c,o as l,c as i,a as e,d as a,w as o,b as n}from"./app-QyD7034V.js";const d={},r=e("h1",{id:"type-alias-unionscene",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-unionscene"},[e("span",null,"Type alias: UnionScene")])],-1),u=e("blockquote",null,[e("p",null,[e("strong",null,"UnionScene"),n(": "),e("code",null,'"form"'),n(" | "),e("code",null,'"description"'),n(" | "),e("code",null,'"table"')])],-1);function p(_,m){const t=c("RouteLink");return l(),i("div",null,[e("p",null,[a(t,{to:"/doc/ant-design/"},{default:o(()=>[n("Documents")]),_:1}),n(" / "),a(t,{to:"/doc/ant-design/"},{default:o(()=>[n("@faasjs/ant-design")]),_:1}),n(" / UnionScene")]),r,u])}const f=s(d,[["render",p],["__file","UnionScene.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionScene.html","title":"Type alias: UnionScene","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionScene.md"}');export{f as comp,S as data}; +import{_ as s,r as c,o as l,c as i,a as e,d as a,w as o,b as n}from"./app-COoiSelr.js";const d={},r=e("h1",{id:"type-alias-unionscene",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-unionscene"},[e("span",null,"Type alias: UnionScene")])],-1),u=e("blockquote",null,[e("p",null,[e("strong",null,"UnionScene"),n(": "),e("code",null,'"form"'),n(" | "),e("code",null,'"description"'),n(" | "),e("code",null,'"table"')])],-1);function p(_,m){const t=c("RouteLink");return l(),i("div",null,[e("p",null,[a(t,{to:"/doc/ant-design/"},{default:o(()=>[n("Documents")]),_:1}),n(" / "),a(t,{to:"/doc/ant-design/"},{default:o(()=>[n("@faasjs/ant-design")]),_:1}),n(" / UnionScene")]),r,u])}const f=s(d,[["render",p],["__file","UnionScene.html.vue"]]),S=JSON.parse('{"path":"/doc/ant-design/type-aliases/UnionScene.html","title":"Type alias: UnionScene","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/UnionScene.md"}');export{f as comp,S as data}; diff --git a/assets/UseifyPlugin.html-Cdf0vMHQ.js b/assets/UseifyPlugin.html-C1MVu8Ul.js similarity index 97% rename from assets/UseifyPlugin.html-Cdf0vMHQ.js rename to assets/UseifyPlugin.html-C1MVu8Ul.js index 352736d041..43c55d003d 100644 --- a/assets/UseifyPlugin.html-Cdf0vMHQ.js +++ b/assets/UseifyPlugin.html-C1MVu8Ul.js @@ -1 +1 @@ -import{_ as s,r as l,o as c,c as r,a as e,d as n,w as o,b as t,e as i}from"./app-QyD7034V.js";const d={},p=i('

    Type alias: UseifyPlugin<T>

    UseifyPlugin<T>: T & Object

    Type declaration

    mount()?

    optional mount: (data?) => Promise<T>

    Parameters

    data?

    ',7),u=e("strong",null,"data.config?",-1),h=e("code",null,"Config",-1),f=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1),g=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),_=e("p",null,[t("• "),e("strong",null,"T")],-1);function y(T,b){const a=l("RouteLink");return c(),r("div",null,[e("p",null,[n(a,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / UseifyPlugin")]),p,e("p",null,[t("• "),u,t(": "),n(a,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[h]),_:1})]),f,m,g,_])}const k=s(d,[["render",y],["__file","UseifyPlugin.html.vue"]]),x=JSON.parse('{"path":"/doc/func/type-aliases/UseifyPlugin.html","title":"Type alias: UseifyPlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"mount()?","slug":"mount","link":"#mount","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/UseifyPlugin.md"}');export{k as comp,x as data}; +import{_ as s,r as l,o as c,c as r,a as e,d as n,w as o,b as t,e as i}from"./app-COoiSelr.js";const d={},p=i('

    Type alias: UseifyPlugin<T>

    UseifyPlugin<T>: T & Object

    Type declaration

    mount()?

    optional mount: (data?) => Promise<T>

    Parameters

    data?

    ',7),u=e("strong",null,"data.config?",-1),h=e("code",null,"Config",-1),f=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1),g=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),_=e("p",null,[t("• "),e("strong",null,"T")],-1);function y(T,b){const a=l("RouteLink");return c(),r("div",null,[e("p",null,[n(a,{to:"/doc/func/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/func/"},{default:o(()=>[t("@faasjs/func")]),_:1}),t(" / UseifyPlugin")]),p,e("p",null,[t("• "),u,t(": "),n(a,{to:"/doc/func/type-aliases/Config.html"},{default:o(()=>[h]),_:1})]),f,m,g,_])}const k=s(d,[["render",y],["__file","UseifyPlugin.html.vue"]]),x=JSON.parse('{"path":"/doc/func/type-aliases/UseifyPlugin.html","title":"Type alias: UseifyPlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"mount()?","slug":"mount","link":"#mount","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/type-aliases/UseifyPlugin.md"}');export{k as comp,x as data}; diff --git a/assets/UseifyPlugin.html-C4Ga3mk5.js b/assets/UseifyPlugin.html-Vs1BqPGc.js similarity index 97% rename from assets/UseifyPlugin.html-C4Ga3mk5.js rename to assets/UseifyPlugin.html-Vs1BqPGc.js index 057bd067d4..054296fa22 100644 --- a/assets/UseifyPlugin.html-C4Ga3mk5.js +++ b/assets/UseifyPlugin.html-Vs1BqPGc.js @@ -1 +1 @@ -import{_ as o,r as l,o as r,c as i,a as e,d as s,w as n,b as t,e as c}from"./app-QyD7034V.js";const d={},p=c('

    Type alias: UseifyPlugin<T>

    UseifyPlugin<T>: T & Object

    Type declaration

    mount()?

    optional mount: (data?) => Promise<T>

    Parameters

    data?

    ',7),u=e("strong",null,"data.config?",-1),h=e("code",null,"Config",-1),m=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1),f=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),_=e("p",null,[t("• "),e("strong",null,"T")],-1);function y(T,b){const a=l("RouteLink");return r(),i("div",null,[e("p",null,[s(a,{to:"/doc/test/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/test/"},{default:n(()=>[t("@faasjs/test")]),_:1}),t(" / UseifyPlugin")]),p,e("p",null,[t("• "),u,t(": "),s(a,{to:"/doc/test/type-aliases/Config.html"},{default:n(()=>[h]),_:1})]),m,g,f,_])}const k=o(d,[["render",y],["__file","UseifyPlugin.html.vue"]]),x=JSON.parse('{"path":"/doc/test/type-aliases/UseifyPlugin.html","title":"Type alias: UseifyPlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"mount()?","slug":"mount","link":"#mount","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/UseifyPlugin.md"}');export{k as comp,x as data}; +import{_ as o,r as l,o as r,c as i,a as e,d as s,w as n,b as t,e as c}from"./app-COoiSelr.js";const d={},p=c('

    Type alias: UseifyPlugin<T>

    UseifyPlugin<T>: T & Object

    Type declaration

    mount()?

    optional mount: (data?) => Promise<T>

    Parameters

    data?

    ',7),u=e("strong",null,"data.config?",-1),h=e("code",null,"Config",-1),m=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1),f=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),_=e("p",null,[t("• "),e("strong",null,"T")],-1);function y(T,b){const a=l("RouteLink");return r(),i("div",null,[e("p",null,[s(a,{to:"/doc/test/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(a,{to:"/doc/test/"},{default:n(()=>[t("@faasjs/test")]),_:1}),t(" / UseifyPlugin")]),p,e("p",null,[t("• "),u,t(": "),s(a,{to:"/doc/test/type-aliases/Config.html"},{default:n(()=>[h]),_:1})]),m,g,f,_])}const k=o(d,[["render",y],["__file","UseifyPlugin.html.vue"]]),x=JSON.parse('{"path":"/doc/test/type-aliases/UseifyPlugin.html","title":"Type alias: UseifyPlugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"mount()?","slug":"mount","link":"#mount","children":[]}]},{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/type-aliases/UseifyPlugin.md"}');export{k as comp,x as data}; diff --git a/assets/Validator.html-BI-h8M4t.js b/assets/Validator.html-BNypmLah.js similarity index 99% rename from assets/Validator.html-BI-h8M4t.js rename to assets/Validator.html-BNypmLah.js index fd38b35caf..b1e86f0c9b 100644 --- a/assets/Validator.html-BI-h8M4t.js +++ b/assets/Validator.html-BNypmLah.js @@ -1 +1 @@ -import{_ as l,r as d,o as c,c as i,a as e,d as s,w as n,b as o,e as a}from"./app-QyD7034V.js";const r={},h=a('

    Class: Validator<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Constructors

    new Validator(config)

    ',7),p=e("strong",null,"new Validator",-1),u=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),g=e("code",null,"TSession",-1),f=e("code",null,"config",-1),m=e("code",null,"Validator",-1),k=e("code",null,"TParams",-1),v=e("code",null,"TCookie",-1),b=e("code",null,"TSession",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),C=e("strong",null,"config",-1),V=e("code",null,"ValidatorConfig",-1),x=e("code",null,"TParams",-1),y=e("code",null,"TCookie",-1),P=e("code",null,"TSession",-1),q=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),S=e("code",null,"Validator",-1),R=e("code",null,"TParams",-1),O=e("code",null,"TCookie",-1),w=e("code",null,"TSession",-1),N=a('

    Properties

    before?

    optional before: BeforeOption<TParams, TCookie, TSession>

    cookieConfig?

    ',4),B=e("strong",null,[e("code",null,"optional")],-1),L=e("strong",null,"cookieConfig",-1),K=e("code",null,"ValidatorOptions",-1),M=e("code",null,"TCookie",-1),j=e("h3",{id:"paramsconfig",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#paramsconfig"},[e("span",null,"paramsConfig?")])],-1),D=e("strong",null,[e("code",null,"optional")],-1),E=e("strong",null,"paramsConfig",-1),J=e("code",null,"ValidatorOptions",-1),z=e("code",null,"TParams",-1),A=e("h3",{id:"sessionconfig",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sessionconfig"},[e("span",null,"sessionConfig?")])],-1),F=e("strong",null,[e("code",null,"optional")],-1),G=e("strong",null,"sessionConfig",-1),H=e("code",null,"ValidatorOptions",-1),I=e("code",null,"TSession",-1),Q=a('

    Methods

    valid()

    valid(request, logger): Promise<void>

    Parameters

    request: Request<TParams, TCookie, TSession>

    logger: Logger

    Returns

    Promise<void>

    validContent()

    validContent(type, params, baseKey, config, logger): void

    Parameters

    type: string

    params

    baseKey: string

    ',14),U=e("strong",null,"config",-1),W=e("code",null,"ValidatorOptions",-1),X=e("code",null,"Record",-1),Y=e("code",null,"string",-1),Z=e("code",null,"any",-1),$=e("p",null,[o("• "),e("strong",null,"logger"),o(": "),e("code",null,"Logger")],-1),ee=e("h4",{id:"returns-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-2"},[e("span",null,"Returns")])],-1),oe=e("p",null,[e("code",null,"void")],-1);function te(se,ne){const t=d("RouteLink");return c(),i("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Validator")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),_,o(", "),g,o(">("),f,o("): "),s(t,{to:"/doc/http/classes/Validator.html"},{default:n(()=>[m]),_:1}),o("<"),k,o(", "),v,o(", "),b,o(">")])]),T,e("p",null,[o("• "),C,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorConfig.html"},{default:n(()=>[V]),_:1}),o("<"),x,o(", "),y,o(", "),P,o(">")]),q,e("p",null,[s(t,{to:"/doc/http/classes/Validator.html"},{default:n(()=>[S]),_:1}),o("<"),R,o(", "),O,o(", "),w,o(">")]),N,e("blockquote",null,[e("p",null,[B,o(),L,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[K]),_:1}),o("<"),M,o(">")])]),j,e("blockquote",null,[e("p",null,[D,o(),E,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[J]),_:1}),o("<"),z,o(">")])]),A,e("blockquote",null,[e("p",null,[F,o(),G,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(">")])]),Q,e("p",null,[o("• "),U,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[W]),_:1}),o("<"),X,o("<"),Y,o(", "),Z,o(">>")]),$,ee,oe])}const le=l(r,[["render",te],["__file","Validator.html.vue"]]),de=JSON.parse('{"path":"/doc/http/classes/Validator.html","title":"Class: Validator","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Validator(config)","slug":"new-validator-config","link":"#new-validator-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"before?","slug":"before","link":"#before","children":[]},{"level":3,"title":"cookieConfig?","slug":"cookieconfig","link":"#cookieconfig","children":[]},{"level":3,"title":"paramsConfig?","slug":"paramsconfig","link":"#paramsconfig","children":[]},{"level":3,"title":"sessionConfig?","slug":"sessionconfig","link":"#sessionconfig","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"valid()","slug":"valid","link":"#valid","children":[]},{"level":3,"title":"validContent()","slug":"validcontent","link":"#validcontent","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Validator.md"}');export{le as comp,de as data}; +import{_ as l,r as d,o as c,c as i,a as e,d as s,w as n,b as o,e as a}from"./app-COoiSelr.js";const r={},h=a('

    Class: Validator<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Constructors

    new Validator(config)

    ',7),p=e("strong",null,"new Validator",-1),u=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),g=e("code",null,"TSession",-1),f=e("code",null,"config",-1),m=e("code",null,"Validator",-1),k=e("code",null,"TParams",-1),v=e("code",null,"TCookie",-1),b=e("code",null,"TSession",-1),T=e("h4",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),C=e("strong",null,"config",-1),V=e("code",null,"ValidatorConfig",-1),x=e("code",null,"TParams",-1),y=e("code",null,"TCookie",-1),P=e("code",null,"TSession",-1),q=e("h4",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),S=e("code",null,"Validator",-1),R=e("code",null,"TParams",-1),O=e("code",null,"TCookie",-1),w=e("code",null,"TSession",-1),N=a('

    Properties

    before?

    optional before: BeforeOption<TParams, TCookie, TSession>

    cookieConfig?

    ',4),B=e("strong",null,[e("code",null,"optional")],-1),L=e("strong",null,"cookieConfig",-1),K=e("code",null,"ValidatorOptions",-1),M=e("code",null,"TCookie",-1),j=e("h3",{id:"paramsconfig",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#paramsconfig"},[e("span",null,"paramsConfig?")])],-1),D=e("strong",null,[e("code",null,"optional")],-1),E=e("strong",null,"paramsConfig",-1),J=e("code",null,"ValidatorOptions",-1),z=e("code",null,"TParams",-1),A=e("h3",{id:"sessionconfig",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#sessionconfig"},[e("span",null,"sessionConfig?")])],-1),F=e("strong",null,[e("code",null,"optional")],-1),G=e("strong",null,"sessionConfig",-1),H=e("code",null,"ValidatorOptions",-1),I=e("code",null,"TSession",-1),Q=a('

    Methods

    valid()

    valid(request, logger): Promise<void>

    Parameters

    request: Request<TParams, TCookie, TSession>

    logger: Logger

    Returns

    Promise<void>

    validContent()

    validContent(type, params, baseKey, config, logger): void

    Parameters

    type: string

    params

    baseKey: string

    ',14),U=e("strong",null,"config",-1),W=e("code",null,"ValidatorOptions",-1),X=e("code",null,"Record",-1),Y=e("code",null,"string",-1),Z=e("code",null,"any",-1),$=e("p",null,[o("• "),e("strong",null,"logger"),o(": "),e("code",null,"Logger")],-1),ee=e("h4",{id:"returns-2",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns-2"},[e("span",null,"Returns")])],-1),oe=e("p",null,[e("code",null,"void")],-1);function te(se,ne){const t=d("RouteLink");return c(),i("div",null,[e("p",null,[s(t,{to:"/doc/http/"},{default:n(()=>[o("Documents")]),_:1}),o(" / "),s(t,{to:"/doc/http/"},{default:n(()=>[o("@faasjs/http")]),_:1}),o(" / Validator")]),h,e("blockquote",null,[e("p",null,[p,o("<"),u,o(", "),_,o(", "),g,o(">("),f,o("): "),s(t,{to:"/doc/http/classes/Validator.html"},{default:n(()=>[m]),_:1}),o("<"),k,o(", "),v,o(", "),b,o(">")])]),T,e("p",null,[o("• "),C,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorConfig.html"},{default:n(()=>[V]),_:1}),o("<"),x,o(", "),y,o(", "),P,o(">")]),q,e("p",null,[s(t,{to:"/doc/http/classes/Validator.html"},{default:n(()=>[S]),_:1}),o("<"),R,o(", "),O,o(", "),w,o(">")]),N,e("blockquote",null,[e("p",null,[B,o(),L,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[K]),_:1}),o("<"),M,o(">")])]),j,e("blockquote",null,[e("p",null,[D,o(),E,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[J]),_:1}),o("<"),z,o(">")])]),A,e("blockquote",null,[e("p",null,[F,o(),G,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[H]),_:1}),o("<"),I,o(">")])]),Q,e("p",null,[o("• "),U,o(": "),s(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:n(()=>[W]),_:1}),o("<"),X,o("<"),Y,o(", "),Z,o(">>")]),$,ee,oe])}const le=l(r,[["render",te],["__file","Validator.html.vue"]]),de=JSON.parse('{"path":"/doc/http/classes/Validator.html","title":"Class: Validator","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Constructors","slug":"constructors","link":"#constructors","children":[{"level":3,"title":"new Validator(config)","slug":"new-validator-config","link":"#new-validator-config","children":[]}]},{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"before?","slug":"before","link":"#before","children":[]},{"level":3,"title":"cookieConfig?","slug":"cookieconfig","link":"#cookieconfig","children":[]},{"level":3,"title":"paramsConfig?","slug":"paramsconfig","link":"#paramsconfig","children":[]},{"level":3,"title":"sessionConfig?","slug":"sessionconfig","link":"#sessionconfig","children":[]}]},{"level":2,"title":"Methods","slug":"methods","link":"#methods","children":[{"level":3,"title":"valid()","slug":"valid","link":"#valid","children":[]},{"level":3,"title":"validContent()","slug":"validcontent","link":"#validcontent","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/classes/Validator.md"}');export{le as comp,de as data}; diff --git a/assets/ValidatorConfig.html-Bhgo77n8.js b/assets/ValidatorConfig.html-C9YcSxjX.js similarity index 98% rename from assets/ValidatorConfig.html-Bhgo77n8.js rename to assets/ValidatorConfig.html-C9YcSxjX.js index a1bc6fa6f4..260774f621 100644 --- a/assets/ValidatorConfig.html-Bhgo77n8.js +++ b/assets/ValidatorConfig.html-C9YcSxjX.js @@ -1 +1 @@ -import{_ as n,r as l,o as i,c as d,a as e,d as a,w as s,b as o,e as c}from"./app-QyD7034V.js";const r={},p=c('

    Type alias: ValidatorConfig<TParams, TCookie, TSession>

    ValidatorConfig<TParams, TCookie, TSession>: Object

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Type declaration

    before?

    optional before: BeforeOption

    ',10),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"cookie",-1),_=e("code",null,"ValidatorOptions",-1),g=e("code",null,"TCookie",-1),f=e("h3",{id:"params",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#params"},[e("span",null,"params?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"params",-1),y=e("code",null,"ValidatorOptions",-1),b=e("code",null,"TParams",-1),T=e("h3",{id:"session",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#session"},[e("span",null,"session?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"session",-1),C=e("code",null,"ValidatorOptions",-1),v=e("code",null,"TSession",-1);function O(q,S){const t=l("RouteLink");return i(),d("div",null,[e("p",null,[a(t,{to:"/doc/http/"},{default:s(()=>[o("Documents")]),_:1}),o(" / "),a(t,{to:"/doc/http/"},{default:s(()=>[o("@faasjs/http")]),_:1}),o(" / ValidatorConfig")]),p,e("blockquote",null,[e("p",null,[h,o(),u,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[_]),_:1}),o("<"),g,o(">")])]),f,e("blockquote",null,[e("p",null,[m,o(),k,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[y]),_:1}),o("<"),b,o(">")])]),T,e("blockquote",null,[e("p",null,[V,o(),x,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[C]),_:1}),o("<"),v,o(">")])])])}const R=n(r,[["render",O],["__file","ValidatorConfig.html.vue"]]),N=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorConfig.html","title":"Type alias: ValidatorConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"before?","slug":"before","link":"#before","children":[]},{"level":3,"title":"cookie?","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"session?","slug":"session","link":"#session","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorConfig.md"}');export{R as comp,N as data}; +import{_ as n,r as l,o as i,c as d,a as e,d as a,w as s,b as o,e as c}from"./app-COoiSelr.js";const r={},p=c('

    Type alias: ValidatorConfig<TParams, TCookie, TSession>

    ValidatorConfig<TParams, TCookie, TSession>: Object

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Type declaration

    before?

    optional before: BeforeOption

    ',10),h=e("strong",null,[e("code",null,"optional")],-1),u=e("strong",null,"cookie",-1),_=e("code",null,"ValidatorOptions",-1),g=e("code",null,"TCookie",-1),f=e("h3",{id:"params",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#params"},[e("span",null,"params?")])],-1),m=e("strong",null,[e("code",null,"optional")],-1),k=e("strong",null,"params",-1),y=e("code",null,"ValidatorOptions",-1),b=e("code",null,"TParams",-1),T=e("h3",{id:"session",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#session"},[e("span",null,"session?")])],-1),V=e("strong",null,[e("code",null,"optional")],-1),x=e("strong",null,"session",-1),C=e("code",null,"ValidatorOptions",-1),v=e("code",null,"TSession",-1);function O(q,S){const t=l("RouteLink");return i(),d("div",null,[e("p",null,[a(t,{to:"/doc/http/"},{default:s(()=>[o("Documents")]),_:1}),o(" / "),a(t,{to:"/doc/http/"},{default:s(()=>[o("@faasjs/http")]),_:1}),o(" / ValidatorConfig")]),p,e("blockquote",null,[e("p",null,[h,o(),u,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[_]),_:1}),o("<"),g,o(">")])]),f,e("blockquote",null,[e("p",null,[m,o(),k,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[y]),_:1}),o("<"),b,o(">")])]),T,e("blockquote",null,[e("p",null,[V,o(),x,o(": "),a(t,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:s(()=>[C]),_:1}),o("<"),v,o(">")])])])}const R=n(r,[["render",O],["__file","ValidatorConfig.html.vue"]]),N=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorConfig.html","title":"Type alias: ValidatorConfig","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"before?","slug":"before","link":"#before","children":[]},{"level":3,"title":"cookie?","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"session?","slug":"session","link":"#session","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorConfig.md"}');export{R as comp,N as data}; diff --git a/assets/ValidatorOptions.html-D76d_pp7.js b/assets/ValidatorOptions.html-cNT9yoIA.js similarity index 97% rename from assets/ValidatorOptions.html-D76d_pp7.js rename to assets/ValidatorOptions.html-cNT9yoIA.js index b390dfe26d..fe7d6eb38a 100644 --- a/assets/ValidatorOptions.html-D76d_pp7.js +++ b/assets/ValidatorOptions.html-cNT9yoIA.js @@ -1 +1 @@ -import{_ as r,r as n,o as s,c,a as d,d as o,w as a,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Type alias: ValidatorOptions<Content>

    ValidatorOptions<Content>: Object

    Type parameters

    Content = Record<string, any>

    Type declaration

    onError()?

    optional onError: (type, key, value?) => Object | void

    Parameters

    type: string

    key: string | string[]

    value?: any

    Returns

    Object | void

    rules

    rules: { [k in keyof Content]?: ValidatorRuleOptions }

    whitelist?

    optional whitelist: "error" | "ignore"

    ',17);function h(u,g){const t=n("RouteLink");return s(),c("div",null,[d("p",null,[o(t,{to:"/doc/http/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/http/"},{default:a(()=>[e("@faasjs/http")]),_:1}),e(" / ValidatorOptions")]),p])}const m=r(i,[["render",h],["__file","ValidatorOptions.html.vue"]]),k=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorOptions.html","title":"Type alias: ValidatorOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]},{"level":3,"title":"rules","slug":"rules","link":"#rules","children":[]},{"level":3,"title":"whitelist?","slug":"whitelist","link":"#whitelist","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorOptions.md"}');export{m as comp,k as data}; +import{_ as r,r as n,o as s,c,a as d,d as o,w as a,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Type alias: ValidatorOptions<Content>

    ValidatorOptions<Content>: Object

    Type parameters

    Content = Record<string, any>

    Type declaration

    onError()?

    optional onError: (type, key, value?) => Object | void

    Parameters

    type: string

    key: string | string[]

    value?: any

    Returns

    Object | void

    rules

    rules: { [k in keyof Content]?: ValidatorRuleOptions }

    whitelist?

    optional whitelist: "error" | "ignore"

    ',17);function h(u,g){const t=n("RouteLink");return s(),c("div",null,[d("p",null,[o(t,{to:"/doc/http/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/http/"},{default:a(()=>[e("@faasjs/http")]),_:1}),e(" / ValidatorOptions")]),p])}const m=r(i,[["render",h],["__file","ValidatorOptions.html.vue"]]),k=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorOptions.html","title":"Type alias: ValidatorOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"onError()?","slug":"onerror","link":"#onerror","children":[]},{"level":3,"title":"rules","slug":"rules","link":"#rules","children":[]},{"level":3,"title":"whitelist?","slug":"whitelist","link":"#whitelist","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorOptions.md"}');export{m as comp,k as data}; diff --git a/assets/ValidatorRuleOptions.html-DzFfl0BE.js b/assets/ValidatorRuleOptions.html-O7NPljcV.js similarity index 97% rename from assets/ValidatorRuleOptions.html-DzFfl0BE.js rename to assets/ValidatorRuleOptions.html-O7NPljcV.js index f47d62acac..03b92de381 100644 --- a/assets/ValidatorRuleOptions.html-DzFfl0BE.js +++ b/assets/ValidatorRuleOptions.html-O7NPljcV.js @@ -1 +1 @@ -import{_ as i,r as s,o as r,c as d,a as t,d as a,w as l,b as e,e as n}from"./app-QyD7034V.js";const c={},p=n('

    Type alias: ValidatorRuleOptions

    ValidatorRuleOptions: Object

    Type declaration

    config?

    ',4),h=t("strong",null,[t("code",null,"optional")],-1),u=t("strong",null,"config",-1),g=t("code",null,"Partial",-1),f=t("code",null,"ValidatorOptions",-1),_=n('

    default?

    optional default: any

    in?

    optional in: any[]

    regexp?

    optional regexp: RegExp

    required?

    optional required: boolean

    type?

    optional type: ValidatorRuleOptionsType

    ',10);function b(k,y){const o=s("RouteLink");return r(),d("div",null,[t("p",null,[a(o,{to:"/doc/http/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/http/"},{default:l(()=>[e("@faasjs/http")]),_:1}),e(" / ValidatorRuleOptions")]),p,t("blockquote",null,[t("p",null,[h,e(),u,e(": "),g,e("<"),a(o,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:l(()=>[f]),_:1}),e(">")])]),_])}const q=i(c,[["render",b],["__file","ValidatorRuleOptions.html.vue"]]),m=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorRuleOptions.html","title":"Type alias: ValidatorRuleOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"default?","slug":"default","link":"#default","children":[]},{"level":3,"title":"in?","slug":"in","link":"#in","children":[]},{"level":3,"title":"regexp?","slug":"regexp","link":"#regexp","children":[]},{"level":3,"title":"required?","slug":"required","link":"#required","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorRuleOptions.md"}');export{q as comp,m as data}; +import{_ as i,r as s,o as r,c as d,a as t,d as a,w as l,b as e,e as n}from"./app-COoiSelr.js";const c={},p=n('

    Type alias: ValidatorRuleOptions

    ValidatorRuleOptions: Object

    Type declaration

    config?

    ',4),h=t("strong",null,[t("code",null,"optional")],-1),u=t("strong",null,"config",-1),g=t("code",null,"Partial",-1),f=t("code",null,"ValidatorOptions",-1),_=n('

    default?

    optional default: any

    in?

    optional in: any[]

    regexp?

    optional regexp: RegExp

    required?

    optional required: boolean

    type?

    optional type: ValidatorRuleOptionsType

    ',10);function b(k,y){const o=s("RouteLink");return r(),d("div",null,[t("p",null,[a(o,{to:"/doc/http/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/http/"},{default:l(()=>[e("@faasjs/http")]),_:1}),e(" / ValidatorRuleOptions")]),p,t("blockquote",null,[t("p",null,[h,e(),u,e(": "),g,e("<"),a(o,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:l(()=>[f]),_:1}),e(">")])]),_])}const q=i(c,[["render",b],["__file","ValidatorRuleOptions.html.vue"]]),m=JSON.parse('{"path":"/doc/http/type-aliases/ValidatorRuleOptions.html","title":"Type alias: ValidatorRuleOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"config?","slug":"config","link":"#config","children":[]},{"level":3,"title":"default?","slug":"default","link":"#default","children":[]},{"level":3,"title":"in?","slug":"in","link":"#in","children":[]},{"level":3,"title":"regexp?","slug":"regexp","link":"#regexp","children":[]},{"level":3,"title":"required?","slug":"required","link":"#required","children":[]},{"level":3,"title":"type?","slug":"type","link":"#type","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/type-aliases/ValidatorRuleOptions.md"}');export{q as comp,m as data}; diff --git a/assets/app-QyD7034V.js b/assets/app-COoiSelr.js similarity index 94% rename from assets/app-QyD7034V.js rename to assets/app-COoiSelr.js index 6e40e18f69..70aa0a1df3 100644 --- a/assets/app-QyD7034V.js +++ b/assets/app-COoiSelr.js @@ -20,7 +20,7 @@ function __vite__mapDeps(indexes) { * @vue/runtime-dom v3.4.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const uu="http://www.w3.org/2000/svg",du="http://www.w3.org/1998/Math/MathML",At=typeof document<"u"?document:null,Ar=At&&At.createElement("template"),pu={insert:(e,t,l)=>{t.insertBefore(e,l||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,l,n)=>{const i=t==="svg"?At.createElementNS(uu,e):t==="mathml"?At.createElementNS(du,e):At.createElement(e,l?{is:l}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>At.createTextNode(e),createComment:e=>At.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>At.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,l,n,i,r){const s=l?l.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),l),!(i===r||!(i=i.nextSibling)););else{Ar.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const a=Ar.content;if(n==="svg"||n==="mathml"){const o=a.firstChild;for(;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}t.insertBefore(a,l)}return[s?s.nextSibling:t.firstChild,l?l.previousSibling:t.lastChild]}},Ft="transition",bl="animation",Hl=Symbol("_vtc"),en=(e,{slots:t})=>ce(_c,hu(e),t);en.displayName="Transition";const Ea={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};en.props=Ce({},ea,Ea);const qt=(e,t=[])=>{te(e)?e.forEach(l=>l(...t)):e&&e(...t)},Or=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function hu(e){const t={};for(const E in e)E in Ea||(t[E]=e[E]);if(e.css===!1)return t;const{name:l="v",type:n,duration:i,enterFromClass:r=`${l}-enter-from`,enterActiveClass:s=`${l}-enter-active`,enterToClass:a=`${l}-enter-to`,appearFromClass:o=r,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${l}-leave-from`,leaveActiveClass:h=`${l}-leave-active`,leaveToClass:g=`${l}-leave-to`}=e,v=fu(i),b=v&&v[0],x=v&&v[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:_,onLeave:T,onLeaveCancelled:H,onBeforeAppear:O=I,onAppear:j=F,onAppearCancelled:y=_}=t,J=(E,M,le)=>{Ut(E,M?u:a),Ut(E,M?c:s),le&&le()},R=(E,M)=>{E._isLeaving=!1,Ut(E,d),Ut(E,g),Ut(E,h),M&&M()},U=E=>(M,le)=>{const ae=E?j:F,A=()=>J(M,E,le);qt(ae,[M,A]),Dr(()=>{Ut(M,E?o:r),Rt(M,E?u:a),Or(ae)||Sr(M,n,b,A)})};return Ce(t,{onBeforeEnter(E){qt(I,[E]),Rt(E,r),Rt(E,s)},onBeforeAppear(E){qt(O,[E]),Rt(E,o),Rt(E,c)},onEnter:U(!1),onAppear:U(!0),onLeave(E,M){E._isLeaving=!0;const le=()=>R(E,M);Rt(E,d),Rt(E,h),vu(),Dr(()=>{E._isLeaving&&(Ut(E,d),Rt(E,g),Or(T)||Sr(E,n,x,le))}),qt(T,[E,le])},onEnterCancelled(E){J(E,!1),qt(_,[E])},onAppearCancelled(E){J(E,!0),qt(y,[E])},onLeaveCancelled(E){R(E),qt(H,[E])}})}function fu(e){if(e==null)return null;if(Ee(e))return[ni(e.enter),ni(e.leave)];{const t=ni(e);return[t,t]}}function ni(e){return mo(e)}function Rt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.add(l)),(e[Hl]||(e[Hl]=new Set)).add(t)}function Ut(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const l=e[Hl];l&&(l.delete(t),l.size||(e[Hl]=void 0))}function Dr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mu=0;function Sr(e,t,l,n){const i=e._endId=++mu,r=()=>{i===e._endId&&n()};if(l)return setTimeout(r,l);const{type:s,timeout:a,propCount:o}=gu(e,t);if(!s)return n();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=g=>{g.target===e&&++u>=o&&d()};setTimeout(()=>{u(l[v]||"").split(", "),i=n(`${Ft}Delay`),r=n(`${Ft}Duration`),s=Vr(i,r),a=n(`${bl}Delay`),o=n(`${bl}Duration`),c=Vr(a,o);let u=null,d=0,h=0;t===Ft?s>0&&(u=Ft,d=s,h=r.length):t===bl?c>0&&(u=bl,d=c,h=o.length):(d=Math.max(s,c),u=d>0?s>c?Ft:bl:null,h=u?u===Ft?r.length:o.length:0);const g=u===Ft&&/\b(transform|all)(,|$)/.test(n(`${Ft}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:g}}function Vr(e,t){for(;e.lengthMr(l)+Mr(e[n])))}function Mr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vu(){return document.body.offsetHeight}function _u(e,t,l){const n=e[Hl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):l?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),Ta=Symbol("_vsh"),wn={beforeMount(e,{value:t},{transition:l}){e[In]=e.style.display==="none"?"":e.style.display,l&&t?l.beforeEnter(e):El(e,t)},mounted(e,{value:t},{transition:l}){l&&t&&l.enter(e)},updated(e,{value:t,oldValue:l},{transition:n}){!t!=!l&&(n?t?(n.beforeEnter(e),El(e,!0),n.enter(e)):n.leave(e,()=>{El(e,!1)}):El(e,t))},beforeUnmount(e,{value:t}){El(e,t)}};function El(e,t){e.style.display=t?e[In]:"none",e[Ta]=!t}const yu=Symbol(""),ku=/(^|;)\s*display\s*:/;function bu(e,t,l){const n=e.style,i=Ie(l);let r=!1;if(l&&!i){if(t)if(Ie(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();l[a]==null&&yn(n,a,"")}else for(const s in t)l[s]==null&&yn(n,s,"");for(const s in l)s==="display"&&(r=!0),yn(n,s,l[s])}else if(i){if(t!==l){const s=n[yu];s&&(l+=";"+s),n.cssText=l,r=ku.test(l)}}else t&&e.removeAttribute("style");In in e&&(e[In]=r?n.display:"",e[Ta]&&(n.display="none"))}const jr=/\s*!important$/;function yn(e,t,l){if(te(l))l.forEach(n=>yn(e,t,n));else if(l==null&&(l=""),t.startsWith("--"))e.setProperty(t,l);else{const n=Eu(e,t);jr.test(l)?e.setProperty(nl(n),l.replace(jr,""),"important"):e[n]=l}}const Nr=["Webkit","Moz","ms"],ii={};function Eu(e,t){const l=ii[t];if(l)return l;let n=lt(t);if(n!=="filter"&&n in e)return ii[t]=n;n=Kl(n);for(let i=0;iri||(Cu.then(()=>ri=0),ri=Date.now());function wu(e,t){const l=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=l.attached)return;tt(Au(n,l.value),t,5,[n])};return l.value=e,l.attached=Iu(),l}function Au(e,t){if(te(t)){const l=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{l.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ou=(e,t,l,n,i,r,s,a,o)=>{const c=i==="svg";t==="class"?_u(e,n,c):t==="style"?bu(e,l,n):Wl(t)?wi(t)||Fu(e,t,l,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Du(e,t,n,c))?xu(e,t,n,r,s,a,o):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Tu(e,t,n,c))};function Du(e,t,l,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Br(t)&&re(l));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Br(t)&&Ie(l)?!1:t in e}const Su={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vu=(e,t)=>{const l=e._withKeys||(e._withKeys={}),n=t.join(".");return l[n]||(l[n]=i=>{if(!("key"in i))return;const r=nl(i.key);if(t.some(s=>s===r||Su[s]===r))return e(i)})},Mu=Ce({patchProp:Ou},pu);let si,qr=!1;function ju(){return si=qr?si:Wc(Mu),qr=!0,si}const Nu=(...e)=>{const t=ju().createApp(...e),{mount:l}=t;return t.mount=n=>{const i=zu(n);if(i)return l(i,!0,Hu(i))},t};function Hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zu(e){return Ie(e)?document.querySelector(e):e}var $u=["link","meta","script","style","noscript","template"],Bu=["title","base"],qu=([e,t,l])=>Bu.includes(e)?e:$u.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([n,i])=>typeof i=="boolean"?i?[n,""]:null:[n,i]).filter(n=>n!=null).sort(([n],[i])=>n.localeCompare(i)),l]):null,Uu=e=>{const t=new Set,l=[];return e.forEach(n=>{const i=qu(n);i&&!t.has(i)&&(t.add(i),l.push(n))}),l},tn=e=>/^(https?:)?\/\//.test(e),xa=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Ki=e=>Object.prototype.toString.call(e)==="[object Object]",Wu=e=>{const[t,...l]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let n=t.replace(/(^|\/)README.md$/i,"$1index.html");return n.endsWith(".md")?n=n.substring(0,n.length-3)+".html":n.endsWith(".html")||(n=n+".html"),n.endsWith("/index.html")&&(n=n.substring(0,n.length-10)),n+l.join("")},La=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Pa=e=>e[0]==="/"?e.slice(1):e,Fa=(e,t)=>{const l=Object.keys(e).sort((n,i)=>{const r=i.split("/").length-n.split("/").length;return r!==0?r:i.length-n.length});for(const n of l)if(t.startsWith(n))return n;return"/"},st=e=>typeof e=="string";const Ku="modulepreload",Gu=function(e){return"/"+e},Ur={},p=function(t,l,n){let i=Promise.resolve();if(l&&l.length>0){const r=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(l.map(o=>{if(o=Gu(o),o in Ur)return;Ur[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!n)for(let g=r.length-1;g>=0;g--){const v=r[g];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Ku,c||(h.as="script",h.crossOrigin=""),h.href=o,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return i.then(()=>t()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},Ju=JSON.parse("{}"),Yu=Object.fromEntries([["/CHANGELOG.html",{loader:()=>p(()=>import("./CHANGELOG.html-C3ZnpeLs.js"),__vite__mapDeps([])),meta:{title:"Changelog"}}],["/CODE_OF_CONDUCT.html",{loader:()=>p(()=>import("./CODE_OF_CONDUCT.html-CVWlaLCG.js"),__vite__mapDeps([])),meta:{title:"Contributor Covenant Code of Conduct"}}],["/",{loader:()=>p(()=>import("./index.html-CaXOs1pc.js"),__vite__mapDeps([])),meta:{title:""}}],["/SECURITY.html",{loader:()=>p(()=>import("./SECURITY.html-CjO3oB9q.js"),__vite__mapDeps([])),meta:{title:"FaasJS Security Guide"}}],["/doc/",{loader:()=>p(()=>import("./index.html-NwG18qiC.js"),__vite__mapDeps([])),meta:{title:"Overview of official plugins"}}],["/guide/",{loader:()=>p(()=>import("./index.html-q7YNsz28.js"),__vite__mapDeps([])),meta:{title:"Getting Started"}}],["/guide/request-spec.html",{loader:()=>p(()=>import("./request-spec.html-_XFlfAED.js"),__vite__mapDeps([])),meta:{title:"FaasJS Request Specifications"}}],["/zh/",{loader:()=>p(()=>import("./index.html-jZL6woxY.js"),__vite__mapDeps([])),meta:{title:""}}],["/doc/ant-design/",{loader:()=>p(()=>import("./index.html-BJHA1eaL.js"),__vite__mapDeps([])),meta:{title:"@faasjs/ant-design"}}],["/doc/browser/",{loader:()=>p(()=>import("./index.html-BHqLliBv.js"),__vite__mapDeps([])),meta:{title:"@faasjs/browser"}}],["/doc/cli/",{loader:()=>p(()=>import("./index.html-fPU20FRE.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cli"}}],["/doc/cloud_function/",{loader:()=>p(()=>import("./index.html-CevD1En-.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cloud_function"}}],["/doc/create-faas-app/",{loader:()=>p(()=>import("./index.html-BhZItFn4.js"),__vite__mapDeps([])),meta:{title:"create-faas-app"}}],["/doc/deep_merge/",{loader:()=>p(()=>import("./index.html-CIjCqTrQ.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deep_merge"}}],["/doc/deployer/",{loader:()=>p(()=>import("./index.html-DHWwrbl4.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deployer"}}],["/doc/faasjs/",{loader:()=>p(()=>import("./index.html-D-pyXk_7.js"),__vite__mapDeps([])),meta:{title:"FaasJS"}}],["/doc/func/",{loader:()=>p(()=>import("./index.html-CKRhJW2F.js"),__vite__mapDeps([])),meta:{title:"@faasjs/func"}}],["/doc/http/",{loader:()=>p(()=>import("./index.html-DHCej1tx.js"),__vite__mapDeps([])),meta:{title:"@faasjs/http"}}],["/doc/images/",{loader:()=>p(()=>import("./index.html-ZJ-kYNCy.js"),__vite__mapDeps([])),meta:{title:"FaasJS's Docker Images"}}],["/doc/jest/",{loader:()=>p(()=>import("./index.html-CvfkzlMv.js"),__vite__mapDeps([])),meta:{title:"@faasjs/jest"}}],["/doc/knex/",{loader:()=>p(()=>import("./index.html-Bl9GjmIM.js"),__vite__mapDeps([])),meta:{title:"@faasjs/knex"}}],["/doc/load/",{loader:()=>p(()=>import("./index.html-BhnRdAMg.js"),__vite__mapDeps([])),meta:{title:"@faasjs/load"}}],["/doc/logger/",{loader:()=>p(()=>import("./index.html-BiVg5tow.js"),__vite__mapDeps([])),meta:{title:"@faasjs/logger"}}],["/doc/mongo/",{loader:()=>p(()=>import("./index.html-w95hufRf.js"),__vite__mapDeps([])),meta:{title:"@faasjs/mongo"}}],["/doc/react/",{loader:()=>p(()=>import("./index.html-aUBPiIWZ.js"),__vite__mapDeps([])),meta:{title:"@faasjs/react"}}],["/doc/redis/",{loader:()=>p(()=>import("./index.html-Ds_pG6RM.js"),__vite__mapDeps([])),meta:{title:"@faasjs/redis"}}],["/doc/request/",{loader:()=>p(()=>import("./index.html-CWh6ysjx.js"),__vite__mapDeps([])),meta:{title:"@faasjs/request"}}],["/doc/server/",{loader:()=>p(()=>import("./index.html-BXUZS1NC.js"),__vite__mapDeps([])),meta:{title:"@faasjs/server"}}],["/doc/tencentcloud/",{loader:()=>p(()=>import("./index.html-sE6gdWS5.js"),__vite__mapDeps([])),meta:{title:"@faasjs/tencentcloud"}}],["/doc/test/",{loader:()=>p(()=>import("./index.html-C-JkBH9O.js"),__vite__mapDeps([])),meta:{title:"@faasjs/test"}}],["/doc/ts-transform/",{loader:()=>p(()=>import("./index.html-BRXxAdie.js"),__vite__mapDeps([])),meta:{title:"@faasjs/ts-transform"}}],["/doc/types/",{loader:()=>p(()=>import("./index.html-BcPY058J.js"),__vite__mapDeps([])),meta:{title:"@faasjs/types"}}],["/doc/vue-plugin/",{loader:()=>p(()=>import("./index.html-D0Ri2zdP.js"),__vite__mapDeps([])),meta:{title:"@faasjs/vue-plugin"}}],["/zh/doc/",{loader:()=>p(()=>import("./index.html-Dt04bvDj.js"),__vite__mapDeps([])),meta:{title:"官方插件总览"}}],["/zh/doc/browser.html",{loader:()=>p(()=>import("./browser.html-DtWNtrcj.js"),__vite__mapDeps([])),meta:{title:"@faasjs/browser"}}],["/zh/doc/cli.html",{loader:()=>p(()=>import("./cli.html-BYfTLM_1.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cli"}}],["/zh/doc/cloud_function.html",{loader:()=>p(()=>import("./cloud_function.html-_zZBoJkm.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cloud_function"}}],["/zh/doc/create-faas-app.html",{loader:()=>p(()=>import("./create-faas-app.html-FX2Nc8fe.js"),__vite__mapDeps([])),meta:{title:"create-faas-app"}}],["/zh/doc/deep_merge.html",{loader:()=>p(()=>import("./deep_merge.html-IUrz-IsC.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deep_merge"}}],["/zh/doc/deployer.html",{loader:()=>p(()=>import("./deployer.html-DXxWcR9B.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deployer"}}],["/zh/doc/develop.html",{loader:()=>p(()=>import("./develop.html-CGnMGmmO.js"),__vite__mapDeps([])),meta:{title:"开发插件"}}],["/zh/doc/func.html",{loader:()=>p(()=>import("./func.html-BYKTLKTW.js"),__vite__mapDeps([])),meta:{title:"@faasjs/func"}}],["/zh/doc/http.html",{loader:()=>p(()=>import("./http.html-BRSsZ52m.js"),__vite__mapDeps([])),meta:{title:"@faasjs/http"}}],["/zh/doc/knex.html",{loader:()=>p(()=>import("./knex.html-BDsbzept.js"),__vite__mapDeps([])),meta:{title:"@faasjs/knex"}}],["/zh/doc/load.html",{loader:()=>p(()=>import("./load.html-C3ma0jWf.js"),__vite__mapDeps([])),meta:{title:"@faasjs/load"}}],["/zh/doc/logger.html",{loader:()=>p(()=>import("./logger.html-CTLg0yaD.js"),__vite__mapDeps([])),meta:{title:"@faasjs/logger"}}],["/zh/doc/mongo.html",{loader:()=>p(()=>import("./mongo.html-DTF1nHKG.js"),__vite__mapDeps([])),meta:{title:"@faasjs/mongo"}}],["/zh/doc/react.html",{loader:()=>p(()=>import("./react.html-DvZNicgh.js"),__vite__mapDeps([])),meta:{title:"@faasjs/react"}}],["/zh/doc/redis.html",{loader:()=>p(()=>import("./redis.html-DBvj9uv7.js"),__vite__mapDeps([])),meta:{title:"@faasjs/redis"}}],["/zh/doc/request.html",{loader:()=>p(()=>import("./request.html-_rgkWkFt.js"),__vite__mapDeps([])),meta:{title:"@faasjs/request"}}],["/zh/doc/server.html",{loader:()=>p(()=>import("./server.html-DYSi371K.js"),__vite__mapDeps([])),meta:{title:"@faasjs/server"}}],["/zh/doc/tencentcloud.html",{loader:()=>p(()=>import("./tencentcloud.html-DInvYp0B.js"),__vite__mapDeps([])),meta:{title:"@faasjs/tencentcloud"}}],["/zh/doc/test.html",{loader:()=>p(()=>import("./test.html-BNptr0lY.js"),__vite__mapDeps([])),meta:{title:"@faasjs/test"}}],["/zh/doc/vue-plugin.html",{loader:()=>p(()=>import("./vue-plugin.html-CRgx5f63.js"),__vite__mapDeps([])),meta:{title:"@faasjs/vue-plugin"}}],["/zh/guide/",{loader:()=>p(()=>import("./index.html-DxoxXqpC.js"),__vite__mapDeps([])),meta:{title:"1 分钟上手"}}],["/zh/guide/auth.html",{loader:()=>p(()=>import("./auth.html-CNFjZRnG.js"),__vite__mapDeps([])),meta:{title:"5 分钟开发登录注册功能"}}],["/zh/guide/story.html",{loader:()=>p(()=>import("./story.html-Yh5nwCeA.js"),__vite__mapDeps([])),meta:{title:"背景故事"}}],["/zh/guide/tencentcloud.html",{loader:()=>p(()=>import("./tencentcloud.html-CwEdM7oT.js"),__vite__mapDeps([])),meta:{title:"2 分钟部署到腾讯云"}}],["/doc/ant-design/classes/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-yc4B2ohm.js"),__vite__mapDeps([])),meta:{title:"Class: ErrorBoundary"}}],["/doc/ant-design/functions/App.html",{loader:()=>p(()=>import("./App.html-fCNCmDW_.js"),__vite__mapDeps([])),meta:{title:"Function: App()"}}],["/doc/ant-design/functions/Blank.html",{loader:()=>p(()=>import("./Blank.html-BaZWRsrI.js"),__vite__mapDeps([])),meta:{title:"Function: Blank()"}}],["/doc/ant-design/functions/ConfigProvider.html",{loader:()=>p(()=>import("./ConfigProvider.html-OYGVHA-1.js"),__vite__mapDeps([])),meta:{title:"Function: ConfigProvider()"}}],["/doc/ant-design/functions/Description.html",{loader:()=>p(()=>import("./Description.html-BqUcNk85.js"),__vite__mapDeps([])),meta:{title:"Function: Description()"}}],["/doc/ant-design/functions/Drawer.html",{loader:()=>p(()=>import("./Drawer.html-uJ3VTUwc.js"),__vite__mapDeps([])),meta:{title:"Function: Drawer()"}}],["/doc/ant-design/functions/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-Ch9jkhCR.js"),__vite__mapDeps([])),meta:{title:"Function: ErrorBoundary()"}}],["/doc/ant-design/functions/FaasDataWrapper.html",{loader:()=>p(()=>import("./FaasDataWrapper.html-BB7vDBnh.js"),__vite__mapDeps([])),meta:{title:"Function: FaasDataWrapper()"}}],["/doc/ant-design/functions/Form.html",{loader:()=>p(()=>import("./Form.html-DS6Zm1oI.js"),__vite__mapDeps([])),meta:{title:"Function: Form()"}}],["/doc/ant-design/functions/FormItem.html",{loader:()=>p(()=>import("./FormItem.html-CFr7Neo7.js"),__vite__mapDeps([])),meta:{title:"Function: FormItem()"}}],["/doc/ant-design/functions/Link.html",{loader:()=>p(()=>import("./Link.html-Cpp65Bgb.js"),__vite__mapDeps([])),meta:{title:"Function: Link()"}}],["/doc/ant-design/functions/Loading.html",{loader:()=>p(()=>import("./Loading.html-DDHtglen.js"),__vite__mapDeps([])),meta:{title:"Function: Loading()"}}],["/doc/ant-design/functions/Modal.html",{loader:()=>p(()=>import("./Modal.html-DiqAdQ8W.js"),__vite__mapDeps([])),meta:{title:"Function: Modal()"}}],["/doc/ant-design/functions/PageNotFound.html",{loader:()=>p(()=>import("./PageNotFound.html-B1rLPNZP.js"),__vite__mapDeps([])),meta:{title:"Function: PageNotFound()"}}],["/doc/ant-design/functions/Routes.html",{loader:()=>p(()=>import("./Routes.html-Dpuh3muV.js"),__vite__mapDeps([])),meta:{title:"Function: Routes()"}}],["/doc/ant-design/functions/Table.html",{loader:()=>p(()=>import("./Table.html-oAlboUcL.js"),__vite__mapDeps([])),meta:{title:"Function: Table()"}}],["/doc/ant-design/functions/Tabs.html",{loader:()=>p(()=>import("./Tabs.html-DSOPrRfU.js"),__vite__mapDeps([])),meta:{title:"Function: Tabs()"}}],["/doc/ant-design/functions/Title.html",{loader:()=>p(()=>import("./Title.html-Cj8ISzrY.js"),__vite__mapDeps([])),meta:{title:"Function: Title()"}}],["/doc/ant-design/functions/faas.html",{loader:()=>p(()=>import("./faas.html-CQhaggnX.js"),__vite__mapDeps([])),meta:{title:"Function: faas()"}}],["/doc/ant-design/functions/transferOptions.html",{loader:()=>p(()=>import("./transferOptions.html-PKeEDXNP.js"),__vite__mapDeps([])),meta:{title:"Function: transferOptions()"}}],["/doc/ant-design/functions/transferValue.html",{loader:()=>p(()=>import("./transferValue.html-BfmnjQma.js"),__vite__mapDeps([])),meta:{title:"Function: transferValue()"}}],["/doc/ant-design/functions/useApp.html",{loader:()=>p(()=>import("./useApp.html-DrDQ9ORn.js"),__vite__mapDeps([])),meta:{title:"Function: useApp()"}}],["/doc/ant-design/functions/useConfigContext.html",{loader:()=>p(()=>import("./useConfigContext.html-CJCWD5TD.js"),__vite__mapDeps([])),meta:{title:"Function: useConfigContext()"}}],["/doc/ant-design/functions/useDrawer.html",{loader:()=>p(()=>import("./useDrawer.html-D81lJXOr.js"),__vite__mapDeps([])),meta:{title:"Function: useDrawer()"}}],["/doc/ant-design/functions/useFaas.html",{loader:()=>p(()=>import("./useFaas.html-CiIPD6Lx.js"),__vite__mapDeps([])),meta:{title:"Function: useFaas()"}}],["/doc/ant-design/functions/useModal.html",{loader:()=>p(()=>import("./useModal.html-WQf5dhDR.js"),__vite__mapDeps([])),meta:{title:"Function: useModal()"}}],["/doc/ant-design/interfaces/AppProps.html",{loader:()=>p(()=>import("./AppProps.html-CV5DJaIz.js"),__vite__mapDeps([])),meta:{title:"Interface: AppProps"}}],["/doc/ant-design/interfaces/BaseItemProps.html",{loader:()=>p(()=>import("./BaseItemProps.html-BIvk98a_.js"),__vite__mapDeps([])),meta:{title:"Interface: BaseItemProps"}}],["/doc/ant-design/interfaces/BlankProps.html",{loader:()=>p(()=>import("./BlankProps.html-D_hQZvmw.js"),__vite__mapDeps([])),meta:{title:"Interface: BlankProps"}}],["/doc/ant-design/interfaces/ConfigProviderProps.html",{loader:()=>p(()=>import("./ConfigProviderProps.html-D2yNbYMf.js"),__vite__mapDeps([])),meta:{title:"Interface: ConfigProviderProps"}}],["/doc/ant-design/interfaces/DescriptionItemContentProps.html",{loader:()=>p(()=>import("./DescriptionItemContentProps.html-CfdvBnbL.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionItemContentProps"}}],["/doc/ant-design/interfaces/DescriptionItemProps.html",{loader:()=>p(()=>import("./DescriptionItemProps.html-MiuL3Nec.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionItemProps"}}],["/doc/ant-design/interfaces/DescriptionProps.html",{loader:()=>p(()=>import("./DescriptionProps.html-BHtjt6Xy.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionProps"}}],["/doc/ant-design/interfaces/DrawerProps.html",{loader:()=>p(()=>import("./DrawerProps.html-B0xV8OIY.js"),__vite__mapDeps([])),meta:{title:"Interface: DrawerProps"}}],["/doc/ant-design/interfaces/ErrorBoundaryProps.html",{loader:()=>p(()=>import("./ErrorBoundaryProps.html-DPOJpgvH.js"),__vite__mapDeps([])),meta:{title:"Interface: ErrorBoundaryProps"}}],["/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html",{loader:()=>p(()=>import("./ExtendDescriptionTypeProps.html-BsvSDegU.js"),__vite__mapDeps([])),meta:{title:"Interface: ExtendDescriptionTypeProps"}}],["/doc/ant-design/interfaces/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-B84OrKk1.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataInjection"}}],["/doc/ant-design/interfaces/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-hiFYNycP.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataWrapperProps"}}],["/doc/ant-design/interfaces/FaasItemProps.html",{loader:()=>p(()=>import("./FaasItemProps.html-CwaJ895S.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasItemProps"}}],["/doc/ant-design/interfaces/FormItemProps.html",{loader:()=>p(()=>import("./FormItemProps.html-C2B2pUri.js"),__vite__mapDeps([])),meta:{title:"Interface: FormItemProps"}}],["/doc/ant-design/interfaces/FormProps.html",{loader:()=>p(()=>import("./FormProps.html-Be9lBy13.js"),__vite__mapDeps([])),meta:{title:"Interface: FormProps"}}],["/doc/ant-design/interfaces/LinkProps.html",{loader:()=>p(()=>import("./LinkProps.html-BDkRoPMO.js"),__vite__mapDeps([])),meta:{title:"Interface: LinkProps"}}],["/doc/ant-design/interfaces/ModalProps.html",{loader:()=>p(()=>import("./ModalProps.html-lcvfvQ-4.js"),__vite__mapDeps([])),meta:{title:"Interface: ModalProps"}}],["/doc/ant-design/interfaces/RoutesProps.html",{loader:()=>p(()=>import("./RoutesProps.html-DBqIbcAK.js"),__vite__mapDeps([])),meta:{title:"Interface: RoutesProps"}}],["/doc/ant-design/interfaces/TabProps.html",{loader:()=>p(()=>import("./TabProps.html-BYNLAESZ.js"),__vite__mapDeps([])),meta:{title:"Interface: TabProps"}}],["/doc/ant-design/interfaces/TableItemProps.html",{loader:()=>p(()=>import("./TableItemProps.html-C779LVe4.js"),__vite__mapDeps([])),meta:{title:"Interface: TableItemProps"}}],["/doc/ant-design/interfaces/TabsProps.html",{loader:()=>p(()=>import("./TabsProps.html-B4kkLJc4.js"),__vite__mapDeps([])),meta:{title:"Interface: TabsProps"}}],["/doc/ant-design/interfaces/TitleProps.html",{loader:()=>p(()=>import("./TitleProps.html-BQ3hNNMl.js"),__vite__mapDeps([])),meta:{title:"Interface: TitleProps"}}],["/doc/ant-design/interfaces/UnionFaasItemProps.html",{loader:()=>p(()=>import("./UnionFaasItemProps.html-B0ZHw67b.js"),__vite__mapDeps([])),meta:{title:"Interface: UnionFaasItemProps"}}],["/doc/ant-design/interfaces/useAppProps.html",{loader:()=>p(()=>import("./useAppProps.html-DLghShjz.js"),__vite__mapDeps([])),meta:{title:"Interface: useAppProps"}}],["/doc/ant-design/modules/App.html",{loader:()=>p(()=>import("./App.html-Cx8-YHO8.js"),__vite__mapDeps([])),meta:{title:"Namespace: App"}}],["/doc/ant-design/modules/Form.ErrorList.html",{loader:()=>p(()=>import("./Form.ErrorList.html-BbIy5REL.js"),__vite__mapDeps([])),meta:{title:"Namespace: ErrorList"}}],["/doc/ant-design/modules/Form.Item.html",{loader:()=>p(()=>import("./Form.Item.html-DAkw75LN.js"),__vite__mapDeps([])),meta:{title:"Namespace: Item"}}],["/doc/ant-design/modules/Form.List.html",{loader:()=>p(()=>import("./Form.List.html-DFPYnQ6i.js"),__vite__mapDeps([])),meta:{title:"Namespace: List"}}],["/doc/ant-design/modules/Form.Provider.html",{loader:()=>p(()=>import("./Form.Provider.html-DwLjRsFx.js"),__vite__mapDeps([])),meta:{title:"Namespace: Provider"}}],["/doc/ant-design/modules/Form.html",{loader:()=>p(()=>import("./Form.html-D7TpIH8H.js"),__vite__mapDeps([])),meta:{title:"Namespace: Form"}}],["/doc/ant-design/modules/FormItem.html",{loader:()=>p(()=>import("./FormItem.html-CH_gTJv8.js"),__vite__mapDeps([])),meta:{title:"Namespace: FormItem"}}],["/doc/ant-design/type-aliases/BaseOption.html",{loader:()=>p(()=>import("./BaseOption.html-DHuHOs-8.js"),__vite__mapDeps([])),meta:{title:"Type alias: BaseOption"}}],["/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html",{loader:()=>p(()=>import("./ExtendDescriptionItemProps.html-DRVx4FHF.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendDescriptionItemProps"}}],["/doc/ant-design/type-aliases/ExtendFormItemProps.html",{loader:()=>p(()=>import("./ExtendFormItemProps.html-yl2bIvts.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendFormItemProps"}}],["/doc/ant-design/type-aliases/ExtendFormTypeProps.html",{loader:()=>p(()=>import("./ExtendFormTypeProps.html-Qm_yBtG3.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendFormTypeProps"}}],["/doc/ant-design/type-aliases/ExtendTableItemProps.html",{loader:()=>p(()=>import("./ExtendTableItemProps.html-CIIMYJZr.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTableItemProps"}}],["/doc/ant-design/type-aliases/ExtendTableTypeProps.html",{loader:()=>p(()=>import("./ExtendTableTypeProps.html-DeFBQ2Mn.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTableTypeProps"}}],["/doc/ant-design/type-aliases/ExtendTypes.html",{loader:()=>p(()=>import("./ExtendTypes.html-DcNdLdCN.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTypes"}}],["/doc/ant-design/type-aliases/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-BGwenudF.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataInjection"}}],["/doc/ant-design/type-aliases/FaasItemType.html",{loader:()=>p(()=>import("./FaasItemType.html-CZkiMYOz.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasItemType"}}],["/doc/ant-design/type-aliases/FaasItemTypeValue.html",{loader:()=>p(()=>import("./FaasItemTypeValue.html-eyPCtMzW.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasItemTypeValue"}}],["/doc/ant-design/type-aliases/FormSubmitProps.html",{loader:()=>p(()=>import("./FormSubmitProps.html-Cm76URFq.js"),__vite__mapDeps([])),meta:{title:"Type alias: FormSubmitProps"}}],["/doc/ant-design/type-aliases/LoadingProps.html",{loader:()=>p(()=>import("./LoadingProps.html-BosrJFAk.js"),__vite__mapDeps([])),meta:{title:"Type alias: LoadingProps"}}],["/doc/ant-design/type-aliases/TableProps.html",{loader:()=>p(()=>import("./TableProps.html-BlQwW4yb.js"),__vite__mapDeps([])),meta:{title:"Type alias: TableProps"}}],["/doc/ant-design/type-aliases/UnionFaasItemElement.html",{loader:()=>p(()=>import("./UnionFaasItemElement.html-Cxuoy0FL.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemElement"}}],["/doc/ant-design/type-aliases/UnionFaasItemInjection.html",{loader:()=>p(()=>import("./UnionFaasItemInjection.html-K-3Toas4.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemInjection"}}],["/doc/ant-design/type-aliases/UnionFaasItemRender.html",{loader:()=>p(()=>import("./UnionFaasItemRender.html-C1UDtX8H.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemRender()"}}],["/doc/ant-design/type-aliases/UnionScene.html",{loader:()=>p(()=>import("./UnionScene.html-Boyg9s7w.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionScene"}}],["/doc/ant-design/type-aliases/setDrawerProps.html",{loader:()=>p(()=>import("./setDrawerProps.html-PAprS9FD.js"),__vite__mapDeps([])),meta:{title:"Type alias: setDrawerProps()"}}],["/doc/ant-design/type-aliases/setModalProps.html",{loader:()=>p(()=>import("./setModalProps.html-Dd8qFPOT.js"),__vite__mapDeps([])),meta:{title:"Type alias: setModalProps()"}}],["/doc/ant-design/variables/ConfigContext.html",{loader:()=>p(()=>import("./ConfigContext.html-D5IhKPkQ.js"),__vite__mapDeps([])),meta:{title:"Variable: ConfigContext"}}],["/doc/browser/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-DbydN21Y.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/browser/classes/Response.html",{loader:()=>p(()=>import("./Response.html-BHqNRJ16.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/browser/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-BdLzWQUx.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/browser/functions/generateId.html",{loader:()=>p(()=>import("./generateId.html-CqklUDP1.js"),__vite__mapDeps([])),meta:{title:"Function: generateId()"}}],["/doc/browser/functions/setMock.html",{loader:()=>p(()=>import("./setMock.html-CPyu5B8I.js"),__vite__mapDeps([])),meta:{title:"Function: setMock()"}}],["/doc/browser/type-aliases/FaasBrowserClientAction.html",{loader:()=>p(()=>import("./FaasBrowserClientAction.html-Bl4SWfCA.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasBrowserClientAction()"}}],["/doc/browser/type-aliases/MockHandler.html",{loader:()=>p(()=>import("./MockHandler.html-BKI9yH1m.js"),__vite__mapDeps([])),meta:{title:"Type alias: MockHandler()"}}],["/doc/browser/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-taIA_p4p.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/browser/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html--0c7qQvc.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/cloud_function/classes/CloudFunction.html",{loader:()=>p(()=>import("./CloudFunction.html-eU8Ks50_.js"),__vite__mapDeps([])),meta:{title:"Class: CloudFunction"}}],["/doc/cloud_function/functions/invoke.html",{loader:()=>p(()=>import("./invoke.html-DnmDltQ8.js"),__vite__mapDeps([])),meta:{title:"Function: invoke()"}}],["/doc/cloud_function/functions/invokeSync.html",{loader:()=>p(()=>import("./invokeSync.html-KZbms0yr.js"),__vite__mapDeps([])),meta:{title:"Function: invokeSync()"}}],["/doc/cloud_function/functions/useCloudFunction.html",{loader:()=>p(()=>import("./useCloudFunction.html-CdaVTfHE.js"),__vite__mapDeps([])),meta:{title:"Function: useCloudFunction()"}}],["/doc/cloud_function/type-aliases/CloudFunctionAdapter.html",{loader:()=>p(()=>import("./CloudFunctionAdapter.html-DiCyTjEd.js"),__vite__mapDeps([])),meta:{title:"Type alias: CloudFunctionAdapter"}}],["/doc/cloud_function/type-aliases/CloudFunctionConfig.html",{loader:()=>p(()=>import("./CloudFunctionConfig.html-BpZVHVBk.js"),__vite__mapDeps([])),meta:{title:"Type alias: CloudFunctionConfig"}}],["/doc/deep_merge/functions/deepMerge.html",{loader:()=>p(()=>import("./deepMerge.html-C7-qc4kS.js"),__vite__mapDeps([])),meta:{title:"Function: deepMerge()"}}],["/doc/deployer/classes/Deployer.html",{loader:()=>p(()=>import("./Deployer.html-DYNIWDsW.js"),__vite__mapDeps([])),meta:{title:"Class: Deployer"}}],["/doc/func/classes/Func.html",{loader:()=>p(()=>import("./Func.html-B85Ly-JH.js"),__vite__mapDeps([])),meta:{title:"Class: Func"}}],["/doc/func/functions/useFunc.html",{loader:()=>p(()=>import("./useFunc.html-R2hWUwRl.js"),__vite__mapDeps([])),meta:{title:"Function: useFunc()"}}],["/doc/func/functions/usePlugin.html",{loader:()=>p(()=>import("./usePlugin.html-f2Nw1mX6.js"),__vite__mapDeps([])),meta:{title:"Function: usePlugin()"}}],["/doc/func/type-aliases/Config.html",{loader:()=>p(()=>import("./Config.html-Bh5ViP1f.js"),__vite__mapDeps([])),meta:{title:"Type alias: Config"}}],["/doc/func/type-aliases/DeployData.html",{loader:()=>p(()=>import("./DeployData.html-DAjxY_OM.js"),__vite__mapDeps([])),meta:{title:"Type alias: DeployData"}}],["/doc/func/type-aliases/ExportedHandler.html",{loader:()=>p(()=>import("./ExportedHandler.html-B5By51HF.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExportedHandler()"}}],["/doc/func/type-aliases/FuncConfig.html",{loader:()=>p(()=>import("./FuncConfig.html-330pW_i0.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncConfig"}}],["/doc/func/type-aliases/FuncEventType.html",{loader:()=>p(()=>import("./FuncEventType.html-CsP0Kayb.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncEventType"}}],["/doc/func/type-aliases/FuncReturnType.html",{loader:()=>p(()=>import("./FuncReturnType.html-ZkEFj68X.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncReturnType"}}],["/doc/func/type-aliases/Handler.html",{loader:()=>p(()=>import("./Handler.html-C3bLfFsA.js"),__vite__mapDeps([])),meta:{title:"Type alias: Handler()"}}],["/doc/func/type-aliases/InvokeData.html",{loader:()=>p(()=>import("./InvokeData.html-B5OYywVB.js"),__vite__mapDeps([])),meta:{title:"Type alias: InvokeData"}}],["/doc/func/type-aliases/LifeCycleKey.html",{loader:()=>p(()=>import("./LifeCycleKey.html-DO7jZTxY.js"),__vite__mapDeps([])),meta:{title:"Type alias: LifeCycleKey"}}],["/doc/func/type-aliases/MountData.html",{loader:()=>p(()=>import("./MountData.html-Cpfeyqmw.js"),__vite__mapDeps([])),meta:{title:"Type alias: MountData"}}],["/doc/func/type-aliases/Next.html",{loader:()=>p(()=>import("./Next.html-RxugJ239.js"),__vite__mapDeps([])),meta:{title:"Type alias: Next()"}}],["/doc/func/type-aliases/Plugin.html",{loader:()=>p(()=>import("./Plugin.html-ZVhUkDQH.js"),__vite__mapDeps([])),meta:{title:"Type alias: Plugin"}}],["/doc/func/type-aliases/ProviderConfig.html",{loader:()=>p(()=>import("./ProviderConfig.html-BPdPJkVb.js"),__vite__mapDeps([])),meta:{title:"Type alias: ProviderConfig"}}],["/doc/func/type-aliases/UseifyPlugin.html",{loader:()=>p(()=>import("./UseifyPlugin.html-Cdf0vMHQ.js"),__vite__mapDeps([])),meta:{title:"Type alias: UseifyPlugin"}}],["/doc/http/classes/Cookie.html",{loader:()=>p(()=>import("./Cookie.html-Bm_LNDlf.js"),__vite__mapDeps([])),meta:{title:"Class: Cookie"}}],["/doc/http/classes/Http.html",{loader:()=>p(()=>import("./Http.html-D5c2x80g.js"),__vite__mapDeps([])),meta:{title:"Class: Http"}}],["/doc/http/classes/HttpError.html",{loader:()=>p(()=>import("./HttpError.html-CZvZtIdI.js"),__vite__mapDeps([])),meta:{title:"Class: HttpError"}}],["/doc/http/classes/Session.html",{loader:()=>p(()=>import("./Session.html-Bm36N4sI.js"),__vite__mapDeps([])),meta:{title:"Class: Session"}}],["/doc/http/classes/Validator.html",{loader:()=>p(()=>import("./Validator.html-BI-h8M4t.js"),__vite__mapDeps([])),meta:{title:"Class: Validator"}}],["/doc/http/functions/useHttp.html",{loader:()=>p(()=>import("./useHttp.html-D1Pa-Bn9.js"),__vite__mapDeps([])),meta:{title:"Function: useHttp()"}}],["/doc/http/type-aliases/CookieOptions.html",{loader:()=>p(()=>import("./CookieOptions.html-aMKA0NRc.js"),__vite__mapDeps([])),meta:{title:"Type alias: CookieOptions"}}],["/doc/http/type-aliases/HttpConfig.html",{loader:()=>p(()=>import("./HttpConfig.html-CjcxW5AT.js"),__vite__mapDeps([])),meta:{title:"Type alias: HttpConfig"}}],["/doc/http/type-aliases/Response.html",{loader:()=>p(()=>import("./Response.html-dyQJjx7T.js"),__vite__mapDeps([])),meta:{title:"Type alias: Response"}}],["/doc/http/type-aliases/SessionOptions.html",{loader:()=>p(()=>import("./SessionOptions.html-Cp5svaYj.js"),__vite__mapDeps([])),meta:{title:"Type alias: SessionOptions"}}],["/doc/http/type-aliases/ValidatorConfig.html",{loader:()=>p(()=>import("./ValidatorConfig.html-Bhgo77n8.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorConfig"}}],["/doc/http/type-aliases/ValidatorOptions.html",{loader:()=>p(()=>import("./ValidatorOptions.html-D76d_pp7.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorOptions"}}],["/doc/http/type-aliases/ValidatorRuleOptions.html",{loader:()=>p(()=>import("./ValidatorRuleOptions.html-DzFfl0BE.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorRuleOptions"}}],["/doc/http/variables/ContentType.html",{loader:()=>p(()=>import("./ContentType.html-KdD2mfdt.js"),__vite__mapDeps([])),meta:{title:"Variable: ContentType"}}],["/doc/images/bun/",{loader:()=>p(()=>import("./index.html-CuS9Nfx-.js"),__vite__mapDeps([])),meta:{title:"Bun Image for FaasJS projects"}}],["/doc/images/nginx/",{loader:()=>p(()=>import("./index.html-CCuBTC3X.js"),__vite__mapDeps([])),meta:{title:"A Nginx Image for FaasJS projects"}}],["/doc/images/node/",{loader:()=>p(()=>import("./index.html-CfnRAbZL.js"),__vite__mapDeps([])),meta:{title:"Node Image for FaasJS projects"}}],["/doc/images/vscode/",{loader:()=>p(()=>import("./index.html-CFTnauAM.js"),__vite__mapDeps([])),meta:{title:"VSCode Container Image for FaasJS projects"}}],["/doc/knex/classes/Knex.html",{loader:()=>p(()=>import("./Knex.html-DExNjuIS.js"),__vite__mapDeps([])),meta:{title:"Class: Knex"}}],["/doc/knex/functions/originKnex.html",{loader:()=>p(()=>import("./originKnex.html-BWxqOJP3.js"),__vite__mapDeps([])),meta:{title:"Function: originKnex()"}}],["/doc/knex/functions/query.html",{loader:()=>p(()=>import("./query.html-CfdQw5jr.js"),__vite__mapDeps([])),meta:{title:"Function: query()"}}],["/doc/knex/functions/raw.html",{loader:()=>p(()=>import("./raw.html-ByWVLBYP.js"),__vite__mapDeps([])),meta:{title:"Function: raw()"}}],["/doc/knex/functions/transaction.html",{loader:()=>p(()=>import("./transaction.html-CmDeaWux.js"),__vite__mapDeps([])),meta:{title:"Function: transaction()"}}],["/doc/knex/functions/useKnex.html",{loader:()=>p(()=>import("./useKnex.html-jSpphGaJ.js"),__vite__mapDeps([])),meta:{title:"Function: useKnex()"}}],["/doc/knex/modules/originKnex.html",{loader:()=>p(()=>import("./originKnex.html-D9cSqmSL.js"),__vite__mapDeps([])),meta:{title:"Namespace: originKnex"}}],["/doc/knex/type-aliases/KnexConfig.html",{loader:()=>p(()=>import("./KnexConfig.html-B-I75waY.js"),__vite__mapDeps([])),meta:{title:"Type alias: KnexConfig"}}],["/doc/load/functions/loadConfig.html",{loader:()=>p(()=>import("./loadConfig.html-Dy9fcIhW.js"),__vite__mapDeps([])),meta:{title:"Function: loadConfig()"}}],["/doc/load/functions/loadTs.html",{loader:()=>p(()=>import("./loadTs.html-BWPkWIMl.js"),__vite__mapDeps([])),meta:{title:"Function: loadTs()"}}],["/doc/logger/classes/Logger.html",{loader:()=>p(()=>import("./Logger.html-BFkDqbqb.js"),__vite__mapDeps([])),meta:{title:"Class: Logger"}}],["/doc/logger/enumerations/Color.html",{loader:()=>p(()=>import("./Color.html-Dz69XcVv.js"),__vite__mapDeps([])),meta:{title:"Enumeration: Color"}}],["/doc/logger/enums/Color.html",{loader:()=>p(()=>import("./Color.html-DE6d4Ewr.js"),__vite__mapDeps([])),meta:{title:"Enumeration: Color"}}],["/doc/logger/type-aliases/Level.html",{loader:()=>p(()=>import("./Level.html-DvuD4N2V.js"),__vite__mapDeps([])),meta:{title:"Type alias: Level"}}],["/doc/mongo/classes/Mongo.html",{loader:()=>p(()=>import("./Mongo.html-CoSBKqXI.js"),__vite__mapDeps([])),meta:{title:"Class: Mongo"}}],["/doc/mongo/interfaces/MongoConfig.html",{loader:()=>p(()=>import("./MongoConfig.html-R-S5bWh4.js"),__vite__mapDeps([])),meta:{title:"Interface: MongoConfig"}}],["/doc/react/classes/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-DXGLhBnh.js"),__vite__mapDeps([])),meta:{title:"Class: ErrorBoundary"}}],["/doc/react/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-BMT-D33J.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/react/classes/Response.html",{loader:()=>p(()=>import("./Response.html-DpEJHK90.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/react/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-CvigdY0_.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/react/functions/FaasDataWrapper.html",{loader:()=>p(()=>import("./FaasDataWrapper.html-C3Lp5Hve.js"),__vite__mapDeps([])),meta:{title:"Function: FaasDataWrapper()"}}],["/doc/react/functions/FaasReactClient.html",{loader:()=>p(()=>import("./FaasReactClient.html-CRAdthIA.js"),__vite__mapDeps([])),meta:{title:"Function: FaasReactClient()"}}],["/doc/react/functions/createSplitedContext.html",{loader:()=>p(()=>import("./createSplitedContext.html-20IOHxTK.js"),__vite__mapDeps([])),meta:{title:"Function: createSplitedContext()"}}],["/doc/react/functions/faas.html",{loader:()=>p(()=>import("./faas.html-DjtS_eQV.js"),__vite__mapDeps([])),meta:{title:"Function: faas()"}}],["/doc/react/functions/getClient.html",{loader:()=>p(()=>import("./getClient.html-CcvffiTk.js"),__vite__mapDeps([])),meta:{title:"Function: getClient()"}}],["/doc/react/functions/signal.html",{loader:()=>p(()=>import("./signal.html-ygEtEmIe.js"),__vite__mapDeps([])),meta:{title:"Function: signal()"}}],["/doc/react/functions/useConstant.html",{loader:()=>p(()=>import("./useConstant.html-Cck3RQ5W.js"),__vite__mapDeps([])),meta:{title:"Function: useConstant()"}}],["/doc/react/functions/useFaas.html",{loader:()=>p(()=>import("./useFaas.html-BBeqRjTK.js"),__vite__mapDeps([])),meta:{title:"Function: useFaas()"}}],["/doc/react/functions/useSignalState.html",{loader:()=>p(()=>import("./useSignalState.html-BY0VPUlu.js"),__vite__mapDeps([])),meta:{title:"Function: useSignalState()"}}],["/doc/react/interfaces/ErrorBoundaryProps.html",{loader:()=>p(()=>import("./ErrorBoundaryProps.html-vI8ClGZi.js"),__vite__mapDeps([])),meta:{title:"Interface: ErrorBoundaryProps"}}],["/doc/react/interfaces/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-DRzHWFcs.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataInjection"}}],["/doc/react/interfaces/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-D9Lt4oPM.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataWrapperProps"}}],["/doc/react/interfaces/FaasReactClientInstance.html",{loader:()=>p(()=>import("./FaasReactClientInstance.html-WFbRbShP.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasReactClientInstance"}}],["/doc/react/type-aliases/ErrorChildrenProps.html",{loader:()=>p(()=>import("./ErrorChildrenProps.html-DCA6TMHX.js"),__vite__mapDeps([])),meta:{title:"Type alias: ErrorChildrenProps"}}],["/doc/react/type-aliases/FaasAction.html",{loader:()=>p(()=>import("./FaasAction.html-DCD7DK_O.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasAction"}}],["/doc/react/type-aliases/FaasData.html",{loader:()=>p(()=>import("./FaasData.html-CoHfPnc9.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasData"}}],["/doc/react/type-aliases/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-B1gwesri.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataInjection"}}],["/doc/react/type-aliases/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-DfXlbJUe.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataWrapperProps"}}],["/doc/react/type-aliases/FaasParams.html",{loader:()=>p(()=>import("./FaasParams.html-BxiZi3u8.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasParams"}}],["/doc/react/type-aliases/FaasReactClientInstance.html",{loader:()=>p(()=>import("./FaasReactClientInstance.html-DLsgViEd.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasReactClientInstance"}}],["/doc/react/type-aliases/FaasReactClientOptions.html",{loader:()=>p(()=>import("./FaasReactClientOptions.html-DESWmvWd.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasReactClientOptions"}}],["/doc/react/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-BkWppU-G.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/react/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html-BFU_HhRZ.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/react/type-aliases/SignalOptions.html",{loader:()=>p(()=>import("./SignalOptions.html-BBvSm_xx.js"),__vite__mapDeps([])),meta:{title:"Type alias: SignalOptions"}}],["/doc/react/type-aliases/useFaasOptions.html",{loader:()=>p(()=>import("./useFaasOptions.html-A0I7kaJj.js"),__vite__mapDeps([])),meta:{title:"Type alias: useFaasOptions"}}],["/doc/redis/classes/Redis.html",{loader:()=>p(()=>import("./Redis.html-CW6zzbJt.js"),__vite__mapDeps([])),meta:{title:"Class: Redis"}}],["/doc/redis/functions/get.html",{loader:()=>p(()=>import("./get.html-DaDhGJF8.js"),__vite__mapDeps([])),meta:{title:"Function: get()"}}],["/doc/redis/functions/getJSON.html",{loader:()=>p(()=>import("./getJSON.html-YbulTGzu.js"),__vite__mapDeps([])),meta:{title:"Function: getJSON()"}}],["/doc/redis/functions/lock.html",{loader:()=>p(()=>import("./lock.html-D0kAoolE.js"),__vite__mapDeps([])),meta:{title:"Function: lock()"}}],["/doc/redis/functions/multi.html",{loader:()=>p(()=>import("./multi.html-C0RChLo4.js"),__vite__mapDeps([])),meta:{title:"Function: multi()"}}],["/doc/redis/functions/pipeline.html",{loader:()=>p(()=>import("./pipeline.html-BHR15iRa.js"),__vite__mapDeps([])),meta:{title:"Function: pipeline()"}}],["/doc/redis/functions/publish.html",{loader:()=>p(()=>import("./publish.html-D2BfiLkD.js"),__vite__mapDeps([])),meta:{title:"Function: publish()"}}],["/doc/redis/functions/query.html",{loader:()=>p(()=>import("./query.html-D8D1s0cD.js"),__vite__mapDeps([])),meta:{title:"Function: query()"}}],["/doc/redis/functions/set.html",{loader:()=>p(()=>import("./set.html-BdFHpY4c.js"),__vite__mapDeps([])),meta:{title:"Function: set()"}}],["/doc/redis/functions/setJSON.html",{loader:()=>p(()=>import("./setJSON.html-Yqy9s-Wr.js"),__vite__mapDeps([])),meta:{title:"Function: setJSON()"}}],["/doc/redis/functions/unlock.html",{loader:()=>p(()=>import("./unlock.html-h5RRmLst.js"),__vite__mapDeps([])),meta:{title:"Function: unlock()"}}],["/doc/redis/functions/useRedis.html",{loader:()=>p(()=>import("./useRedis.html-8PZizPUM.js"),__vite__mapDeps([])),meta:{title:"Function: useRedis()"}}],["/doc/redis/type-aliases/RedisConfig.html",{loader:()=>p(()=>import("./RedisConfig.html-CFfYEPp4.js"),__vite__mapDeps([])),meta:{title:"Type alias: RedisConfig"}}],["/doc/request/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-tYnLPuuJ.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/request/functions/querystringify.html",{loader:()=>p(()=>import("./querystringify.html-Cid2c2Gw.js"),__vite__mapDeps([])),meta:{title:"Function: querystringify()"}}],["/doc/request/functions/request.html",{loader:()=>p(()=>import("./request.html-D7UjNveU.js"),__vite__mapDeps([])),meta:{title:"Function: request()"}}],["/doc/request/functions/setMock.html",{loader:()=>p(()=>import("./setMock.html-BnBFDXWA.js"),__vite__mapDeps([])),meta:{title:"Function: setMock()"}}],["/doc/request/type-aliases/Request.html",{loader:()=>p(()=>import("./Request.html-BcowgAje.js"),__vite__mapDeps([])),meta:{title:"Type alias: Request"}}],["/doc/request/type-aliases/RequestOptions.html",{loader:()=>p(()=>import("./RequestOptions.html-DYndxTZQ.js"),__vite__mapDeps([])),meta:{title:"Type alias: RequestOptions"}}],["/doc/request/type-aliases/Response.html",{loader:()=>p(()=>import("./Response.html-CNK15K06.js"),__vite__mapDeps([])),meta:{title:"Type alias: Response"}}],["/doc/server/classes/Server.html",{loader:()=>p(()=>import("./Server.html-Bz5HUpVn.js"),__vite__mapDeps([])),meta:{title:"Class: Server"}}],["/doc/server/functions/closeAll.html",{loader:()=>p(()=>import("./closeAll.html-DSIvCxcZ.js"),__vite__mapDeps([])),meta:{title:"Function: closeAll()"}}],["/doc/server/functions/getAll.html",{loader:()=>p(()=>import("./getAll.html-CasKgeEf.js"),__vite__mapDeps([])),meta:{title:"Function: getAll()"}}],["/doc/tencentcloud/classes/Provider.html",{loader:()=>p(()=>import("./Provider.html-B6xPIE9B.js"),__vite__mapDeps([])),meta:{title:"Class: Provider"}}],["/doc/tencentcloud/functions/request.html",{loader:()=>p(()=>import("./request.html-COuqkYSA.js"),__vite__mapDeps([])),meta:{title:"Function: request()"}}],["/doc/tencentcloud/type-aliases/TencentcloudConfig.html",{loader:()=>p(()=>import("./TencentcloudConfig.html-DyFrS-se.js"),__vite__mapDeps([])),meta:{title:"Type alias: TencentcloudConfig"}}],["/doc/test/classes/Func.html",{loader:()=>p(()=>import("./Func.html-CIPxnBXQ.js"),__vite__mapDeps([])),meta:{title:"Class: Func"}}],["/doc/test/classes/FuncWarper.html",{loader:()=>p(()=>import("./FuncWarper.html-DeuyqKKK.js"),__vite__mapDeps([])),meta:{title:"Class: FuncWarper"}}],["/doc/test/functions/test.html",{loader:()=>p(()=>import("./test.html-By9zFVO6.js"),__vite__mapDeps([])),meta:{title:"Function: test()"}}],["/doc/test/functions/useFunc.html",{loader:()=>p(()=>import("./useFunc.html-Cski1qVV.js"),__vite__mapDeps([])),meta:{title:"Function: useFunc()"}}],["/doc/test/functions/usePlugin.html",{loader:()=>p(()=>import("./usePlugin.html-CctwGdgP.js"),__vite__mapDeps([])),meta:{title:"Function: usePlugin()"}}],["/doc/test/type-aliases/Config.html",{loader:()=>p(()=>import("./Config.html-c7EGWjBn.js"),__vite__mapDeps([])),meta:{title:"Type alias: Config"}}],["/doc/test/type-aliases/DeployData.html",{loader:()=>p(()=>import("./DeployData.html-Czot-0tC.js"),__vite__mapDeps([])),meta:{title:"Type alias: DeployData"}}],["/doc/test/type-aliases/ExportedHandler.html",{loader:()=>p(()=>import("./ExportedHandler.html-nn0mJ3cR.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExportedHandler()"}}],["/doc/test/type-aliases/FuncConfig.html",{loader:()=>p(()=>import("./FuncConfig.html-C8WRtzcR.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncConfig"}}],["/doc/test/type-aliases/FuncEventType.html",{loader:()=>p(()=>import("./FuncEventType.html-OsbHOkIu.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncEventType"}}],["/doc/test/type-aliases/FuncReturnType.html",{loader:()=>p(()=>import("./FuncReturnType.html-DUDOZfNO.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncReturnType"}}],["/doc/test/type-aliases/Handler.html",{loader:()=>p(()=>import("./Handler.html-BNlYB_MO.js"),__vite__mapDeps([])),meta:{title:"Type alias: Handler()"}}],["/doc/test/type-aliases/InvokeData.html",{loader:()=>p(()=>import("./InvokeData.html-TRJEPLFA.js"),__vite__mapDeps([])),meta:{title:"Type alias: InvokeData"}}],["/doc/test/type-aliases/LifeCycleKey.html",{loader:()=>p(()=>import("./LifeCycleKey.html-vXfpDkzJ.js"),__vite__mapDeps([])),meta:{title:"Type alias: LifeCycleKey"}}],["/doc/test/type-aliases/MountData.html",{loader:()=>p(()=>import("./MountData.html-DFy8XhA-.js"),__vite__mapDeps([])),meta:{title:"Type alias: MountData"}}],["/doc/test/type-aliases/Next.html",{loader:()=>p(()=>import("./Next.html-Bj6G484H.js"),__vite__mapDeps([])),meta:{title:"Type alias: Next()"}}],["/doc/test/type-aliases/Plugin.html",{loader:()=>p(()=>import("./Plugin.html-B-3f2vRQ.js"),__vite__mapDeps([])),meta:{title:"Type alias: Plugin"}}],["/doc/test/type-aliases/ProviderConfig.html",{loader:()=>p(()=>import("./ProviderConfig.html-C3OLucE9.js"),__vite__mapDeps([])),meta:{title:"Type alias: ProviderConfig"}}],["/doc/test/type-aliases/UseifyPlugin.html",{loader:()=>p(()=>import("./UseifyPlugin.html-C4Ga3mk5.js"),__vite__mapDeps([])),meta:{title:"Type alias: UseifyPlugin"}}],["/doc/ts-transform/functions/bundle.html",{loader:()=>p(()=>import("./bundle.html-D3Qb1ado.js"),__vite__mapDeps([])),meta:{title:"Function: bundle()"}}],["/doc/ts-transform/functions/transform.html",{loader:()=>p(()=>import("./transform.html-Bb2QtX0h.js"),__vite__mapDeps([])),meta:{title:"Function: transform()"}}],["/doc/ts-transform/variables/NodeBuiltinModules.html",{loader:()=>p(()=>import("./NodeBuiltinModules.html-B5T-fRer.js"),__vite__mapDeps([])),meta:{title:"Variable: NodeBuiltinModules"}}],["/doc/types/type-aliases/FaasAction.html",{loader:()=>p(()=>import("./FaasAction.html-C-0J57Iz.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasAction"}}],["/doc/types/type-aliases/FaasActionPaths.html",{loader:()=>p(()=>import("./FaasActionPaths.html-BR9Rdtog.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasActionPaths"}}],["/doc/types/type-aliases/FaasData.html",{loader:()=>p(()=>import("./FaasData.html-D9BrMCE8.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasData"}}],["/doc/types/type-aliases/FaasParams.html",{loader:()=>p(()=>import("./FaasParams.html-D8n3C3AT.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasParams"}}],["/doc/vue-plugin/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-DS6HQ5_V.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/vue-plugin/classes/Response.html",{loader:()=>p(()=>import("./Response.html-Cf9NKW0K.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/vue-plugin/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-XB30EE6_.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/vue-plugin/interfaces/FaasVuePluginOptions.html",{loader:()=>p(()=>import("./FaasVuePluginOptions.html-HHHzXvly.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasVuePluginOptions"}}],["/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html",{loader:()=>p(()=>import("./FaasVuePluginOptions.html-DoMVsHiY.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasVuePluginOptions"}}],["/doc/vue-plugin/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-CWTYEt28.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/vue-plugin/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html-aSplgys_.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/vue-plugin/variables/FaasVuePlugin.html",{loader:()=>p(()=>import("./FaasVuePlugin.html-mzJywF3h.js"),__vite__mapDeps([])),meta:{title:"Variable: FaasVuePlugin"}}],["/zh/guide/best-practice/lifecycle.html",{loader:()=>p(()=>import("./lifecycle.html-0zb3Mqr0.js"),__vite__mapDeps([])),meta:{title:"优化云函数的初始化"}}],["/zh/guide/excel/db.html",{loader:()=>p(()=>import("./db.html-CJDx81SV.js"),__vite__mapDeps([])),meta:{title:"数据库操作"}}],["/zh/guide/excel/env.html",{loader:()=>p(()=>import("./env.html-CzaaPnvY.js"),__vite__mapDeps([])),meta:{title:"环境变量"}}],["/zh/guide/excel/faas-yaml.html",{loader:()=>p(()=>import("./faas-yaml.html-CloTcMGt.js"),__vite__mapDeps([])),meta:{title:"faas.yaml"}}],["/zh/guide/excel/http.html",{loader:()=>p(()=>import("./http.html-BkiKnFgq.js"),__vite__mapDeps([])),meta:{title:"Http、Cookie 和 Session"}}],["/zh/guide/excel/plugin.html",{loader:()=>p(()=>import("./plugin.html-DAbaV5bZ.js"),__vite__mapDeps([])),meta:{title:"使用插件"}}],["/zh/guide/excel/react.html",{loader:()=>p(()=>import("./react.html-2WLhZutU.js"),__vite__mapDeps([])),meta:{title:"在 React 中使用"}}],["/zh/guide/excel/request-spec.html",{loader:()=>p(()=>import("./request-spec.html-C6XWzBiu.js"),__vite__mapDeps([])),meta:{title:"HTTP 请求规范"}}],["/zh/guide/excel/vue.html",{loader:()=>p(()=>import("./vue.html-BTx1_5QU.js"),__vite__mapDeps([])),meta:{title:"在 Vue 中使用"}}],["/404.html",{loader:()=>p(()=>import("./404.html-NjZuC1Rm.js"),__vite__mapDeps([])),meta:{title:""}}]]);/*! +**/const uu="http://www.w3.org/2000/svg",du="http://www.w3.org/1998/Math/MathML",At=typeof document<"u"?document:null,Ar=At&&At.createElement("template"),pu={insert:(e,t,l)=>{t.insertBefore(e,l||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,l,n)=>{const i=t==="svg"?At.createElementNS(uu,e):t==="mathml"?At.createElementNS(du,e):At.createElement(e,l?{is:l}:void 0);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>At.createTextNode(e),createComment:e=>At.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>At.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,l,n,i,r){const s=l?l.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),l),!(i===r||!(i=i.nextSibling)););else{Ar.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const a=Ar.content;if(n==="svg"||n==="mathml"){const o=a.firstChild;for(;o.firstChild;)a.appendChild(o.firstChild);a.removeChild(o)}t.insertBefore(a,l)}return[s?s.nextSibling:t.firstChild,l?l.previousSibling:t.lastChild]}},Ft="transition",bl="animation",Hl=Symbol("_vtc"),en=(e,{slots:t})=>ce(_c,hu(e),t);en.displayName="Transition";const Ea={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};en.props=Ce({},ea,Ea);const qt=(e,t=[])=>{te(e)?e.forEach(l=>l(...t)):e&&e(...t)},Or=e=>e?te(e)?e.some(t=>t.length>1):e.length>1:!1;function hu(e){const t={};for(const E in e)E in Ea||(t[E]=e[E]);if(e.css===!1)return t;const{name:l="v",type:n,duration:i,enterFromClass:r=`${l}-enter-from`,enterActiveClass:s=`${l}-enter-active`,enterToClass:a=`${l}-enter-to`,appearFromClass:o=r,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:d=`${l}-leave-from`,leaveActiveClass:h=`${l}-leave-active`,leaveToClass:g=`${l}-leave-to`}=e,v=fu(i),b=v&&v[0],x=v&&v[1],{onBeforeEnter:I,onEnter:F,onEnterCancelled:_,onLeave:T,onLeaveCancelled:H,onBeforeAppear:O=I,onAppear:j=F,onAppearCancelled:y=_}=t,J=(E,M,le)=>{Ut(E,M?u:a),Ut(E,M?c:s),le&&le()},R=(E,M)=>{E._isLeaving=!1,Ut(E,d),Ut(E,g),Ut(E,h),M&&M()},U=E=>(M,le)=>{const ae=E?j:F,A=()=>J(M,E,le);qt(ae,[M,A]),Dr(()=>{Ut(M,E?o:r),Rt(M,E?u:a),Or(ae)||Sr(M,n,b,A)})};return Ce(t,{onBeforeEnter(E){qt(I,[E]),Rt(E,r),Rt(E,s)},onBeforeAppear(E){qt(O,[E]),Rt(E,o),Rt(E,c)},onEnter:U(!1),onAppear:U(!0),onLeave(E,M){E._isLeaving=!0;const le=()=>R(E,M);Rt(E,d),Rt(E,h),vu(),Dr(()=>{E._isLeaving&&(Ut(E,d),Rt(E,g),Or(T)||Sr(E,n,x,le))}),qt(T,[E,le])},onEnterCancelled(E){J(E,!1),qt(_,[E])},onAppearCancelled(E){J(E,!0),qt(y,[E])},onLeaveCancelled(E){R(E),qt(H,[E])}})}function fu(e){if(e==null)return null;if(Ee(e))return[ni(e.enter),ni(e.leave)];{const t=ni(e);return[t,t]}}function ni(e){return mo(e)}function Rt(e,t){t.split(/\s+/).forEach(l=>l&&e.classList.add(l)),(e[Hl]||(e[Hl]=new Set)).add(t)}function Ut(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const l=e[Hl];l&&(l.delete(t),l.size||(e[Hl]=void 0))}function Dr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mu=0;function Sr(e,t,l,n){const i=e._endId=++mu,r=()=>{i===e._endId&&n()};if(l)return setTimeout(r,l);const{type:s,timeout:a,propCount:o}=gu(e,t);if(!s)return n();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=g=>{g.target===e&&++u>=o&&d()};setTimeout(()=>{u(l[v]||"").split(", "),i=n(`${Ft}Delay`),r=n(`${Ft}Duration`),s=Vr(i,r),a=n(`${bl}Delay`),o=n(`${bl}Duration`),c=Vr(a,o);let u=null,d=0,h=0;t===Ft?s>0&&(u=Ft,d=s,h=r.length):t===bl?c>0&&(u=bl,d=c,h=o.length):(d=Math.max(s,c),u=d>0?s>c?Ft:bl:null,h=u?u===Ft?r.length:o.length:0);const g=u===Ft&&/\b(transform|all)(,|$)/.test(n(`${Ft}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:g}}function Vr(e,t){for(;e.lengthMr(l)+Mr(e[n])))}function Mr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vu(){return document.body.offsetHeight}function _u(e,t,l){const n=e[Hl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):l?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),Ta=Symbol("_vsh"),wn={beforeMount(e,{value:t},{transition:l}){e[In]=e.style.display==="none"?"":e.style.display,l&&t?l.beforeEnter(e):El(e,t)},mounted(e,{value:t},{transition:l}){l&&t&&l.enter(e)},updated(e,{value:t,oldValue:l},{transition:n}){!t!=!l&&(n?t?(n.beforeEnter(e),El(e,!0),n.enter(e)):n.leave(e,()=>{El(e,!1)}):El(e,t))},beforeUnmount(e,{value:t}){El(e,t)}};function El(e,t){e.style.display=t?e[In]:"none",e[Ta]=!t}const yu=Symbol(""),ku=/(^|;)\s*display\s*:/;function bu(e,t,l){const n=e.style,i=Ie(l);let r=!1;if(l&&!i){if(t)if(Ie(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();l[a]==null&&yn(n,a,"")}else for(const s in t)l[s]==null&&yn(n,s,"");for(const s in l)s==="display"&&(r=!0),yn(n,s,l[s])}else if(i){if(t!==l){const s=n[yu];s&&(l+=";"+s),n.cssText=l,r=ku.test(l)}}else t&&e.removeAttribute("style");In in e&&(e[In]=r?n.display:"",e[Ta]&&(n.display="none"))}const jr=/\s*!important$/;function yn(e,t,l){if(te(l))l.forEach(n=>yn(e,t,n));else if(l==null&&(l=""),t.startsWith("--"))e.setProperty(t,l);else{const n=Eu(e,t);jr.test(l)?e.setProperty(nl(n),l.replace(jr,""),"important"):e[n]=l}}const Nr=["Webkit","Moz","ms"],ii={};function Eu(e,t){const l=ii[t];if(l)return l;let n=lt(t);if(n!=="filter"&&n in e)return ii[t]=n;n=Kl(n);for(let i=0;iri||(Cu.then(()=>ri=0),ri=Date.now());function wu(e,t){const l=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=l.attached)return;tt(Au(n,l.value),t,5,[n])};return l.value=e,l.attached=Iu(),l}function Au(e,t){if(te(t)){const l=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{l.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Br=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ou=(e,t,l,n,i,r,s,a,o)=>{const c=i==="svg";t==="class"?_u(e,n,c):t==="style"?bu(e,l,n):Wl(t)?wi(t)||Fu(e,t,l,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Du(e,t,n,c))?xu(e,t,n,r,s,a,o):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Tu(e,t,n,c))};function Du(e,t,l,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Br(t)&&re(l));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Br(t)&&Ie(l)?!1:t in e}const Su={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vu=(e,t)=>{const l=e._withKeys||(e._withKeys={}),n=t.join(".");return l[n]||(l[n]=i=>{if(!("key"in i))return;const r=nl(i.key);if(t.some(s=>s===r||Su[s]===r))return e(i)})},Mu=Ce({patchProp:Ou},pu);let si,qr=!1;function ju(){return si=qr?si:Wc(Mu),qr=!0,si}const Nu=(...e)=>{const t=ju().createApp(...e),{mount:l}=t;return t.mount=n=>{const i=zu(n);if(i)return l(i,!0,Hu(i))},t};function Hu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function zu(e){return Ie(e)?document.querySelector(e):e}var $u=["link","meta","script","style","noscript","template"],Bu=["title","base"],qu=([e,t,l])=>Bu.includes(e)?e:$u.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([n,i])=>typeof i=="boolean"?i?[n,""]:null:[n,i]).filter(n=>n!=null).sort(([n],[i])=>n.localeCompare(i)),l]):null,Uu=e=>{const t=new Set,l=[];return e.forEach(n=>{const i=qu(n);i&&!t.has(i)&&(t.add(i),l.push(n))}),l},tn=e=>/^(https?:)?\/\//.test(e),xa=e=>/^[a-z][a-z0-9+.-]*:/.test(e),Ki=e=>Object.prototype.toString.call(e)==="[object Object]",Wu=e=>{const[t,...l]=e.split(/(\?|#)/);if(!t||t.endsWith("/"))return e;let n=t.replace(/(^|\/)README.md$/i,"$1index.html");return n.endsWith(".md")?n=n.substring(0,n.length-3)+".html":n.endsWith(".html")||(n=n+".html"),n.endsWith("/index.html")&&(n=n.substring(0,n.length-10)),n+l.join("")},La=e=>e[e.length-1]==="/"?e.slice(0,-1):e,Pa=e=>e[0]==="/"?e.slice(1):e,Fa=(e,t)=>{const l=Object.keys(e).sort((n,i)=>{const r=i.split("/").length-n.split("/").length;return r!==0?r:i.length-n.length});for(const n of l)if(t.startsWith(n))return n;return"/"},st=e=>typeof e=="string";const Ku="modulepreload",Gu=function(e){return"/"+e},Ur={},p=function(t,l,n){let i=Promise.resolve();if(l&&l.length>0){const r=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));i=Promise.all(l.map(o=>{if(o=Gu(o),o in Ur)return;Ur[o]=!0;const c=o.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!n)for(let g=r.length-1;g>=0;g--){const v=r[g];if(v.href===o&&(!c||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${u}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Ku,c||(h.as="script",h.crossOrigin=""),h.href=o,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${o}`)))})}))}return i.then(()=>t()).catch(r=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=r,window.dispatchEvent(s),!s.defaultPrevented)throw r})},Ju=JSON.parse("{}"),Yu=Object.fromEntries([["/CHANGELOG.html",{loader:()=>p(()=>import("./CHANGELOG.html-Px4venIu.js"),__vite__mapDeps([])),meta:{title:"Changelog"}}],["/CODE_OF_CONDUCT.html",{loader:()=>p(()=>import("./CODE_OF_CONDUCT.html-NeDT09lI.js"),__vite__mapDeps([])),meta:{title:"Contributor Covenant Code of Conduct"}}],["/",{loader:()=>p(()=>import("./index.html-BVuD9Xy3.js"),__vite__mapDeps([])),meta:{title:""}}],["/SECURITY.html",{loader:()=>p(()=>import("./SECURITY.html-Bj4ri_sV.js"),__vite__mapDeps([])),meta:{title:"FaasJS Security Guide"}}],["/doc/",{loader:()=>p(()=>import("./index.html-ug-u4Oa2.js"),__vite__mapDeps([])),meta:{title:"Overview of official plugins"}}],["/guide/",{loader:()=>p(()=>import("./index.html-DhuguzkR.js"),__vite__mapDeps([])),meta:{title:"Getting Started"}}],["/guide/request-spec.html",{loader:()=>p(()=>import("./request-spec.html-DUuoqkI9.js"),__vite__mapDeps([])),meta:{title:"FaasJS Request Specifications"}}],["/zh/",{loader:()=>p(()=>import("./index.html-DxyzgCK5.js"),__vite__mapDeps([])),meta:{title:""}}],["/doc/ant-design/",{loader:()=>p(()=>import("./index.html-Dr9mAshC.js"),__vite__mapDeps([])),meta:{title:"@faasjs/ant-design"}}],["/doc/browser/",{loader:()=>p(()=>import("./index.html-50DQQLxj.js"),__vite__mapDeps([])),meta:{title:"@faasjs/browser"}}],["/doc/cli/",{loader:()=>p(()=>import("./index.html-DzvmYkIn.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cli"}}],["/doc/cloud_function/",{loader:()=>p(()=>import("./index.html-B3eVPCdJ.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cloud_function"}}],["/doc/create-faas-app/",{loader:()=>p(()=>import("./index.html-BsdSsUTY.js"),__vite__mapDeps([])),meta:{title:"create-faas-app"}}],["/doc/deep_merge/",{loader:()=>p(()=>import("./index.html-C5FgrMxr.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deep_merge"}}],["/doc/deployer/",{loader:()=>p(()=>import("./index.html-CTkrQN-L.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deployer"}}],["/doc/faasjs/",{loader:()=>p(()=>import("./index.html-BFXS8313.js"),__vite__mapDeps([])),meta:{title:"FaasJS"}}],["/doc/func/",{loader:()=>p(()=>import("./index.html-EFJYB1KI.js"),__vite__mapDeps([])),meta:{title:"@faasjs/func"}}],["/doc/http/",{loader:()=>p(()=>import("./index.html-D40bGTb_.js"),__vite__mapDeps([])),meta:{title:"@faasjs/http"}}],["/doc/images/",{loader:()=>p(()=>import("./index.html-FGA5pujt.js"),__vite__mapDeps([])),meta:{title:"FaasJS's Docker Images"}}],["/doc/jest/",{loader:()=>p(()=>import("./index.html-BE2COkf0.js"),__vite__mapDeps([])),meta:{title:"@faasjs/jest"}}],["/doc/knex/",{loader:()=>p(()=>import("./index.html-BbHmeee2.js"),__vite__mapDeps([])),meta:{title:"@faasjs/knex"}}],["/doc/load/",{loader:()=>p(()=>import("./index.html-6mlMh0-o.js"),__vite__mapDeps([])),meta:{title:"@faasjs/load"}}],["/doc/logger/",{loader:()=>p(()=>import("./index.html-Bva6_BAo.js"),__vite__mapDeps([])),meta:{title:"@faasjs/logger"}}],["/doc/mongo/",{loader:()=>p(()=>import("./index.html-Bz5c_Fi8.js"),__vite__mapDeps([])),meta:{title:"@faasjs/mongo"}}],["/doc/react/",{loader:()=>p(()=>import("./index.html-D5LjfDYS.js"),__vite__mapDeps([])),meta:{title:"@faasjs/react"}}],["/doc/redis/",{loader:()=>p(()=>import("./index.html-BSvD6yYP.js"),__vite__mapDeps([])),meta:{title:"@faasjs/redis"}}],["/doc/request/",{loader:()=>p(()=>import("./index.html-C1ZqDdLe.js"),__vite__mapDeps([])),meta:{title:"@faasjs/request"}}],["/doc/server/",{loader:()=>p(()=>import("./index.html-CWVWNUe_.js"),__vite__mapDeps([])),meta:{title:"@faasjs/server"}}],["/doc/tencentcloud/",{loader:()=>p(()=>import("./index.html-BghJq8bH.js"),__vite__mapDeps([])),meta:{title:"@faasjs/tencentcloud"}}],["/doc/test/",{loader:()=>p(()=>import("./index.html-BO8JM-cE.js"),__vite__mapDeps([])),meta:{title:"@faasjs/test"}}],["/doc/ts-transform/",{loader:()=>p(()=>import("./index.html-BKKcj8AR.js"),__vite__mapDeps([])),meta:{title:"@faasjs/ts-transform"}}],["/doc/types/",{loader:()=>p(()=>import("./index.html-C9Gl_XQa.js"),__vite__mapDeps([])),meta:{title:"@faasjs/types"}}],["/doc/vue-plugin/",{loader:()=>p(()=>import("./index.html-B5_fr2jH.js"),__vite__mapDeps([])),meta:{title:"@faasjs/vue-plugin"}}],["/zh/doc/",{loader:()=>p(()=>import("./index.html-DHg97FQL.js"),__vite__mapDeps([])),meta:{title:"官方插件总览"}}],["/zh/doc/browser.html",{loader:()=>p(()=>import("./browser.html-D_qfiicj.js"),__vite__mapDeps([])),meta:{title:"@faasjs/browser"}}],["/zh/doc/cli.html",{loader:()=>p(()=>import("./cli.html-CZaYD4s1.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cli"}}],["/zh/doc/cloud_function.html",{loader:()=>p(()=>import("./cloud_function.html-MfbAty-X.js"),__vite__mapDeps([])),meta:{title:"@faasjs/cloud_function"}}],["/zh/doc/create-faas-app.html",{loader:()=>p(()=>import("./create-faas-app.html-CQHqUNRY.js"),__vite__mapDeps([])),meta:{title:"create-faas-app"}}],["/zh/doc/deep_merge.html",{loader:()=>p(()=>import("./deep_merge.html-BkNH8nEW.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deep_merge"}}],["/zh/doc/deployer.html",{loader:()=>p(()=>import("./deployer.html-DgHuaxi6.js"),__vite__mapDeps([])),meta:{title:"@faasjs/deployer"}}],["/zh/doc/develop.html",{loader:()=>p(()=>import("./develop.html-B5qW0_Y-.js"),__vite__mapDeps([])),meta:{title:"开发插件"}}],["/zh/doc/func.html",{loader:()=>p(()=>import("./func.html-JDnNCLCP.js"),__vite__mapDeps([])),meta:{title:"@faasjs/func"}}],["/zh/doc/http.html",{loader:()=>p(()=>import("./http.html-BMuMCmqF.js"),__vite__mapDeps([])),meta:{title:"@faasjs/http"}}],["/zh/doc/knex.html",{loader:()=>p(()=>import("./knex.html-D22_ymcn.js"),__vite__mapDeps([])),meta:{title:"@faasjs/knex"}}],["/zh/doc/load.html",{loader:()=>p(()=>import("./load.html-Dpoq-ibm.js"),__vite__mapDeps([])),meta:{title:"@faasjs/load"}}],["/zh/doc/logger.html",{loader:()=>p(()=>import("./logger.html-D4q_Y28U.js"),__vite__mapDeps([])),meta:{title:"@faasjs/logger"}}],["/zh/doc/mongo.html",{loader:()=>p(()=>import("./mongo.html-Uqj-MzNC.js"),__vite__mapDeps([])),meta:{title:"@faasjs/mongo"}}],["/zh/doc/react.html",{loader:()=>p(()=>import("./react.html-CGz5yFD9.js"),__vite__mapDeps([])),meta:{title:"@faasjs/react"}}],["/zh/doc/redis.html",{loader:()=>p(()=>import("./redis.html-DWPdOw0O.js"),__vite__mapDeps([])),meta:{title:"@faasjs/redis"}}],["/zh/doc/request.html",{loader:()=>p(()=>import("./request.html-C6-NBAhM.js"),__vite__mapDeps([])),meta:{title:"@faasjs/request"}}],["/zh/doc/server.html",{loader:()=>p(()=>import("./server.html-D0_o9GV2.js"),__vite__mapDeps([])),meta:{title:"@faasjs/server"}}],["/zh/doc/tencentcloud.html",{loader:()=>p(()=>import("./tencentcloud.html-CYAVULbW.js"),__vite__mapDeps([])),meta:{title:"@faasjs/tencentcloud"}}],["/zh/doc/test.html",{loader:()=>p(()=>import("./test.html-CGc9Djeo.js"),__vite__mapDeps([])),meta:{title:"@faasjs/test"}}],["/zh/doc/vue-plugin.html",{loader:()=>p(()=>import("./vue-plugin.html-Dz6fabXm.js"),__vite__mapDeps([])),meta:{title:"@faasjs/vue-plugin"}}],["/zh/guide/",{loader:()=>p(()=>import("./index.html-BCrjHPtb.js"),__vite__mapDeps([])),meta:{title:"1 分钟上手"}}],["/zh/guide/auth.html",{loader:()=>p(()=>import("./auth.html-DFWgXdSp.js"),__vite__mapDeps([])),meta:{title:"5 分钟开发登录注册功能"}}],["/zh/guide/story.html",{loader:()=>p(()=>import("./story.html-h4HgKXV4.js"),__vite__mapDeps([])),meta:{title:"背景故事"}}],["/zh/guide/tencentcloud.html",{loader:()=>p(()=>import("./tencentcloud.html-mOWVOwwl.js"),__vite__mapDeps([])),meta:{title:"2 分钟部署到腾讯云"}}],["/doc/ant-design/classes/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-BDbIK-Jx.js"),__vite__mapDeps([])),meta:{title:"Class: ErrorBoundary"}}],["/doc/ant-design/functions/App.html",{loader:()=>p(()=>import("./App.html-84V3vQHw.js"),__vite__mapDeps([])),meta:{title:"Function: App()"}}],["/doc/ant-design/functions/Blank.html",{loader:()=>p(()=>import("./Blank.html-DwzT1985.js"),__vite__mapDeps([])),meta:{title:"Function: Blank()"}}],["/doc/ant-design/functions/ConfigProvider.html",{loader:()=>p(()=>import("./ConfigProvider.html-C4Ul_seg.js"),__vite__mapDeps([])),meta:{title:"Function: ConfigProvider()"}}],["/doc/ant-design/functions/Description.html",{loader:()=>p(()=>import("./Description.html-B0U7RLhU.js"),__vite__mapDeps([])),meta:{title:"Function: Description()"}}],["/doc/ant-design/functions/Drawer.html",{loader:()=>p(()=>import("./Drawer.html-k78BLgZk.js"),__vite__mapDeps([])),meta:{title:"Function: Drawer()"}}],["/doc/ant-design/functions/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-YdzlByXl.js"),__vite__mapDeps([])),meta:{title:"Function: ErrorBoundary()"}}],["/doc/ant-design/functions/FaasDataWrapper.html",{loader:()=>p(()=>import("./FaasDataWrapper.html-iq9vXKPE.js"),__vite__mapDeps([])),meta:{title:"Function: FaasDataWrapper()"}}],["/doc/ant-design/functions/Form.html",{loader:()=>p(()=>import("./Form.html-BINuzAOT.js"),__vite__mapDeps([])),meta:{title:"Function: Form()"}}],["/doc/ant-design/functions/FormItem.html",{loader:()=>p(()=>import("./FormItem.html-BCzaeBU2.js"),__vite__mapDeps([])),meta:{title:"Function: FormItem()"}}],["/doc/ant-design/functions/Link.html",{loader:()=>p(()=>import("./Link.html-CpIi9-FV.js"),__vite__mapDeps([])),meta:{title:"Function: Link()"}}],["/doc/ant-design/functions/Loading.html",{loader:()=>p(()=>import("./Loading.html-BTqjiJPP.js"),__vite__mapDeps([])),meta:{title:"Function: Loading()"}}],["/doc/ant-design/functions/Modal.html",{loader:()=>p(()=>import("./Modal.html-Da7cAOmt.js"),__vite__mapDeps([])),meta:{title:"Function: Modal()"}}],["/doc/ant-design/functions/PageNotFound.html",{loader:()=>p(()=>import("./PageNotFound.html-D4PHqORv.js"),__vite__mapDeps([])),meta:{title:"Function: PageNotFound()"}}],["/doc/ant-design/functions/Routes.html",{loader:()=>p(()=>import("./Routes.html-BPZarK8R.js"),__vite__mapDeps([])),meta:{title:"Function: Routes()"}}],["/doc/ant-design/functions/Table.html",{loader:()=>p(()=>import("./Table.html-BBj2PeWM.js"),__vite__mapDeps([])),meta:{title:"Function: Table()"}}],["/doc/ant-design/functions/Tabs.html",{loader:()=>p(()=>import("./Tabs.html-xULPaQBw.js"),__vite__mapDeps([])),meta:{title:"Function: Tabs()"}}],["/doc/ant-design/functions/Title.html",{loader:()=>p(()=>import("./Title.html-BCBGT3qm.js"),__vite__mapDeps([])),meta:{title:"Function: Title()"}}],["/doc/ant-design/functions/faas.html",{loader:()=>p(()=>import("./faas.html-B1EbmFrd.js"),__vite__mapDeps([])),meta:{title:"Function: faas()"}}],["/doc/ant-design/functions/transferOptions.html",{loader:()=>p(()=>import("./transferOptions.html-CsjST8Lc.js"),__vite__mapDeps([])),meta:{title:"Function: transferOptions()"}}],["/doc/ant-design/functions/transferValue.html",{loader:()=>p(()=>import("./transferValue.html-DW45SCvu.js"),__vite__mapDeps([])),meta:{title:"Function: transferValue()"}}],["/doc/ant-design/functions/useApp.html",{loader:()=>p(()=>import("./useApp.html-DC30RqEX.js"),__vite__mapDeps([])),meta:{title:"Function: useApp()"}}],["/doc/ant-design/functions/useConfigContext.html",{loader:()=>p(()=>import("./useConfigContext.html-n3cgoyWg.js"),__vite__mapDeps([])),meta:{title:"Function: useConfigContext()"}}],["/doc/ant-design/functions/useDrawer.html",{loader:()=>p(()=>import("./useDrawer.html-DqKBzwYc.js"),__vite__mapDeps([])),meta:{title:"Function: useDrawer()"}}],["/doc/ant-design/functions/useFaas.html",{loader:()=>p(()=>import("./useFaas.html-D6qnfW9g.js"),__vite__mapDeps([])),meta:{title:"Function: useFaas()"}}],["/doc/ant-design/functions/useModal.html",{loader:()=>p(()=>import("./useModal.html-BAfj2WYh.js"),__vite__mapDeps([])),meta:{title:"Function: useModal()"}}],["/doc/ant-design/interfaces/AppProps.html",{loader:()=>p(()=>import("./AppProps.html-BtJjMRg-.js"),__vite__mapDeps([])),meta:{title:"Interface: AppProps"}}],["/doc/ant-design/interfaces/BaseItemProps.html",{loader:()=>p(()=>import("./BaseItemProps.html-CrGed5fH.js"),__vite__mapDeps([])),meta:{title:"Interface: BaseItemProps"}}],["/doc/ant-design/interfaces/BlankProps.html",{loader:()=>p(()=>import("./BlankProps.html-eudS6-g1.js"),__vite__mapDeps([])),meta:{title:"Interface: BlankProps"}}],["/doc/ant-design/interfaces/ConfigProviderProps.html",{loader:()=>p(()=>import("./ConfigProviderProps.html-BEfgt915.js"),__vite__mapDeps([])),meta:{title:"Interface: ConfigProviderProps"}}],["/doc/ant-design/interfaces/DescriptionItemContentProps.html",{loader:()=>p(()=>import("./DescriptionItemContentProps.html-C6tPsnGy.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionItemContentProps"}}],["/doc/ant-design/interfaces/DescriptionItemProps.html",{loader:()=>p(()=>import("./DescriptionItemProps.html-wz4fNSB0.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionItemProps"}}],["/doc/ant-design/interfaces/DescriptionProps.html",{loader:()=>p(()=>import("./DescriptionProps.html-K9vNE8Wu.js"),__vite__mapDeps([])),meta:{title:"Interface: DescriptionProps"}}],["/doc/ant-design/interfaces/DrawerProps.html",{loader:()=>p(()=>import("./DrawerProps.html-BJR89XjY.js"),__vite__mapDeps([])),meta:{title:"Interface: DrawerProps"}}],["/doc/ant-design/interfaces/ErrorBoundaryProps.html",{loader:()=>p(()=>import("./ErrorBoundaryProps.html-DV-6da9B.js"),__vite__mapDeps([])),meta:{title:"Interface: ErrorBoundaryProps"}}],["/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html",{loader:()=>p(()=>import("./ExtendDescriptionTypeProps.html-CVmM0LEy.js"),__vite__mapDeps([])),meta:{title:"Interface: ExtendDescriptionTypeProps"}}],["/doc/ant-design/interfaces/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-Dadz_LXs.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataInjection"}}],["/doc/ant-design/interfaces/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-DI78LHHR.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataWrapperProps"}}],["/doc/ant-design/interfaces/FaasItemProps.html",{loader:()=>p(()=>import("./FaasItemProps.html-CEOUG2tr.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasItemProps"}}],["/doc/ant-design/interfaces/FormItemProps.html",{loader:()=>p(()=>import("./FormItemProps.html-DRrQzENR.js"),__vite__mapDeps([])),meta:{title:"Interface: FormItemProps"}}],["/doc/ant-design/interfaces/FormProps.html",{loader:()=>p(()=>import("./FormProps.html-BKohsGhm.js"),__vite__mapDeps([])),meta:{title:"Interface: FormProps"}}],["/doc/ant-design/interfaces/LinkProps.html",{loader:()=>p(()=>import("./LinkProps.html-CztOkGp5.js"),__vite__mapDeps([])),meta:{title:"Interface: LinkProps"}}],["/doc/ant-design/interfaces/ModalProps.html",{loader:()=>p(()=>import("./ModalProps.html-9dCUU7_C.js"),__vite__mapDeps([])),meta:{title:"Interface: ModalProps"}}],["/doc/ant-design/interfaces/RoutesProps.html",{loader:()=>p(()=>import("./RoutesProps.html-CdCSGQ8Q.js"),__vite__mapDeps([])),meta:{title:"Interface: RoutesProps"}}],["/doc/ant-design/interfaces/TabProps.html",{loader:()=>p(()=>import("./TabProps.html-DC43biPb.js"),__vite__mapDeps([])),meta:{title:"Interface: TabProps"}}],["/doc/ant-design/interfaces/TableItemProps.html",{loader:()=>p(()=>import("./TableItemProps.html-CdjB02QF.js"),__vite__mapDeps([])),meta:{title:"Interface: TableItemProps"}}],["/doc/ant-design/interfaces/TabsProps.html",{loader:()=>p(()=>import("./TabsProps.html-CQ3ubl7r.js"),__vite__mapDeps([])),meta:{title:"Interface: TabsProps"}}],["/doc/ant-design/interfaces/TitleProps.html",{loader:()=>p(()=>import("./TitleProps.html-VlI7HuLc.js"),__vite__mapDeps([])),meta:{title:"Interface: TitleProps"}}],["/doc/ant-design/interfaces/UnionFaasItemProps.html",{loader:()=>p(()=>import("./UnionFaasItemProps.html-BCR8qJJ8.js"),__vite__mapDeps([])),meta:{title:"Interface: UnionFaasItemProps"}}],["/doc/ant-design/interfaces/useAppProps.html",{loader:()=>p(()=>import("./useAppProps.html-B1hMWVjr.js"),__vite__mapDeps([])),meta:{title:"Interface: useAppProps"}}],["/doc/ant-design/modules/App.html",{loader:()=>p(()=>import("./App.html-CkfqzMdE.js"),__vite__mapDeps([])),meta:{title:"Namespace: App"}}],["/doc/ant-design/modules/Form.ErrorList.html",{loader:()=>p(()=>import("./Form.ErrorList.html-kFrdg8BL.js"),__vite__mapDeps([])),meta:{title:"Namespace: ErrorList"}}],["/doc/ant-design/modules/Form.Item.html",{loader:()=>p(()=>import("./Form.Item.html-CkxVKxOl.js"),__vite__mapDeps([])),meta:{title:"Namespace: Item"}}],["/doc/ant-design/modules/Form.List.html",{loader:()=>p(()=>import("./Form.List.html-D_iVIE0U.js"),__vite__mapDeps([])),meta:{title:"Namespace: List"}}],["/doc/ant-design/modules/Form.Provider.html",{loader:()=>p(()=>import("./Form.Provider.html-Bl7Ef7gB.js"),__vite__mapDeps([])),meta:{title:"Namespace: Provider"}}],["/doc/ant-design/modules/Form.html",{loader:()=>p(()=>import("./Form.html-sQLZ3R03.js"),__vite__mapDeps([])),meta:{title:"Namespace: Form"}}],["/doc/ant-design/modules/FormItem.html",{loader:()=>p(()=>import("./FormItem.html-C9hB80hO.js"),__vite__mapDeps([])),meta:{title:"Namespace: FormItem"}}],["/doc/ant-design/type-aliases/BaseOption.html",{loader:()=>p(()=>import("./BaseOption.html-wSCdJJcB.js"),__vite__mapDeps([])),meta:{title:"Type alias: BaseOption"}}],["/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html",{loader:()=>p(()=>import("./ExtendDescriptionItemProps.html-CEX28nSy.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendDescriptionItemProps"}}],["/doc/ant-design/type-aliases/ExtendFormItemProps.html",{loader:()=>p(()=>import("./ExtendFormItemProps.html-CkDCvqjs.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendFormItemProps"}}],["/doc/ant-design/type-aliases/ExtendFormTypeProps.html",{loader:()=>p(()=>import("./ExtendFormTypeProps.html-B0S70-Jz.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendFormTypeProps"}}],["/doc/ant-design/type-aliases/ExtendTableItemProps.html",{loader:()=>p(()=>import("./ExtendTableItemProps.html-BUa88oWW.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTableItemProps"}}],["/doc/ant-design/type-aliases/ExtendTableTypeProps.html",{loader:()=>p(()=>import("./ExtendTableTypeProps.html-BNpg7u1W.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTableTypeProps"}}],["/doc/ant-design/type-aliases/ExtendTypes.html",{loader:()=>p(()=>import("./ExtendTypes.html-fupJr8jz.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExtendTypes"}}],["/doc/ant-design/type-aliases/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-Ca1QSpuS.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataInjection"}}],["/doc/ant-design/type-aliases/FaasItemType.html",{loader:()=>p(()=>import("./FaasItemType.html-NOPFWh8M.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasItemType"}}],["/doc/ant-design/type-aliases/FaasItemTypeValue.html",{loader:()=>p(()=>import("./FaasItemTypeValue.html-D3956z5H.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasItemTypeValue"}}],["/doc/ant-design/type-aliases/FormSubmitProps.html",{loader:()=>p(()=>import("./FormSubmitProps.html-DSs5PHzj.js"),__vite__mapDeps([])),meta:{title:"Type alias: FormSubmitProps"}}],["/doc/ant-design/type-aliases/LoadingProps.html",{loader:()=>p(()=>import("./LoadingProps.html-DWjeCmW2.js"),__vite__mapDeps([])),meta:{title:"Type alias: LoadingProps"}}],["/doc/ant-design/type-aliases/TableProps.html",{loader:()=>p(()=>import("./TableProps.html-CTTXc11Z.js"),__vite__mapDeps([])),meta:{title:"Type alias: TableProps"}}],["/doc/ant-design/type-aliases/UnionFaasItemElement.html",{loader:()=>p(()=>import("./UnionFaasItemElement.html-D23H5aZ_.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemElement"}}],["/doc/ant-design/type-aliases/UnionFaasItemInjection.html",{loader:()=>p(()=>import("./UnionFaasItemInjection.html-BeM1IxMT.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemInjection"}}],["/doc/ant-design/type-aliases/UnionFaasItemRender.html",{loader:()=>p(()=>import("./UnionFaasItemRender.html-CAbfIfQ3.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionFaasItemRender()"}}],["/doc/ant-design/type-aliases/UnionScene.html",{loader:()=>p(()=>import("./UnionScene.html-PSiMpMD_.js"),__vite__mapDeps([])),meta:{title:"Type alias: UnionScene"}}],["/doc/ant-design/type-aliases/setDrawerProps.html",{loader:()=>p(()=>import("./setDrawerProps.html-DCAQJ5DM.js"),__vite__mapDeps([])),meta:{title:"Type alias: setDrawerProps()"}}],["/doc/ant-design/type-aliases/setModalProps.html",{loader:()=>p(()=>import("./setModalProps.html-DT8vLCVA.js"),__vite__mapDeps([])),meta:{title:"Type alias: setModalProps()"}}],["/doc/ant-design/variables/ConfigContext.html",{loader:()=>p(()=>import("./ConfigContext.html-C99L4bmK.js"),__vite__mapDeps([])),meta:{title:"Variable: ConfigContext"}}],["/doc/browser/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-Bhzlrm99.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/browser/classes/Response.html",{loader:()=>p(()=>import("./Response.html-Du-FVKmI.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/browser/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-DhU3CJOy.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/browser/functions/generateId.html",{loader:()=>p(()=>import("./generateId.html-B0TwAFbI.js"),__vite__mapDeps([])),meta:{title:"Function: generateId()"}}],["/doc/browser/functions/setMock.html",{loader:()=>p(()=>import("./setMock.html-DhjWbidu.js"),__vite__mapDeps([])),meta:{title:"Function: setMock()"}}],["/doc/browser/type-aliases/FaasBrowserClientAction.html",{loader:()=>p(()=>import("./FaasBrowserClientAction.html-CvIbu4Lt.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasBrowserClientAction()"}}],["/doc/browser/type-aliases/MockHandler.html",{loader:()=>p(()=>import("./MockHandler.html-DymjC1Kl.js"),__vite__mapDeps([])),meta:{title:"Type alias: MockHandler()"}}],["/doc/browser/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-DEjIiC0S.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/browser/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html-D8ZxTK3u.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/cloud_function/classes/CloudFunction.html",{loader:()=>p(()=>import("./CloudFunction.html-CRtLVPFh.js"),__vite__mapDeps([])),meta:{title:"Class: CloudFunction"}}],["/doc/cloud_function/functions/invoke.html",{loader:()=>p(()=>import("./invoke.html-C_Hgog3F.js"),__vite__mapDeps([])),meta:{title:"Function: invoke()"}}],["/doc/cloud_function/functions/invokeSync.html",{loader:()=>p(()=>import("./invokeSync.html-CnjHa0jK.js"),__vite__mapDeps([])),meta:{title:"Function: invokeSync()"}}],["/doc/cloud_function/functions/useCloudFunction.html",{loader:()=>p(()=>import("./useCloudFunction.html-BJn3B7lL.js"),__vite__mapDeps([])),meta:{title:"Function: useCloudFunction()"}}],["/doc/cloud_function/type-aliases/CloudFunctionAdapter.html",{loader:()=>p(()=>import("./CloudFunctionAdapter.html-DdI96t6A.js"),__vite__mapDeps([])),meta:{title:"Type alias: CloudFunctionAdapter"}}],["/doc/cloud_function/type-aliases/CloudFunctionConfig.html",{loader:()=>p(()=>import("./CloudFunctionConfig.html-C0hSpm75.js"),__vite__mapDeps([])),meta:{title:"Type alias: CloudFunctionConfig"}}],["/doc/deep_merge/functions/deepMerge.html",{loader:()=>p(()=>import("./deepMerge.html-BnSp1IIm.js"),__vite__mapDeps([])),meta:{title:"Function: deepMerge()"}}],["/doc/deployer/classes/Deployer.html",{loader:()=>p(()=>import("./Deployer.html-DQXLwu4M.js"),__vite__mapDeps([])),meta:{title:"Class: Deployer"}}],["/doc/func/classes/Func.html",{loader:()=>p(()=>import("./Func.html-9U5nl3UZ.js"),__vite__mapDeps([])),meta:{title:"Class: Func"}}],["/doc/func/functions/useFunc.html",{loader:()=>p(()=>import("./useFunc.html-DLzU344G.js"),__vite__mapDeps([])),meta:{title:"Function: useFunc()"}}],["/doc/func/functions/usePlugin.html",{loader:()=>p(()=>import("./usePlugin.html-Btvly18O.js"),__vite__mapDeps([])),meta:{title:"Function: usePlugin()"}}],["/doc/func/type-aliases/Config.html",{loader:()=>p(()=>import("./Config.html-Dr1W2A8e.js"),__vite__mapDeps([])),meta:{title:"Type alias: Config"}}],["/doc/func/type-aliases/DeployData.html",{loader:()=>p(()=>import("./DeployData.html-6mMSBbD5.js"),__vite__mapDeps([])),meta:{title:"Type alias: DeployData"}}],["/doc/func/type-aliases/ExportedHandler.html",{loader:()=>p(()=>import("./ExportedHandler.html-gLLuhM2m.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExportedHandler()"}}],["/doc/func/type-aliases/FuncConfig.html",{loader:()=>p(()=>import("./FuncConfig.html-BYdHWpdK.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncConfig"}}],["/doc/func/type-aliases/FuncEventType.html",{loader:()=>p(()=>import("./FuncEventType.html-lrsSYTIt.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncEventType"}}],["/doc/func/type-aliases/FuncReturnType.html",{loader:()=>p(()=>import("./FuncReturnType.html-CA85kZr5.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncReturnType"}}],["/doc/func/type-aliases/Handler.html",{loader:()=>p(()=>import("./Handler.html-COGpTgbx.js"),__vite__mapDeps([])),meta:{title:"Type alias: Handler()"}}],["/doc/func/type-aliases/InvokeData.html",{loader:()=>p(()=>import("./InvokeData.html-CVjXR8LK.js"),__vite__mapDeps([])),meta:{title:"Type alias: InvokeData"}}],["/doc/func/type-aliases/LifeCycleKey.html",{loader:()=>p(()=>import("./LifeCycleKey.html-CyHIhRYw.js"),__vite__mapDeps([])),meta:{title:"Type alias: LifeCycleKey"}}],["/doc/func/type-aliases/MountData.html",{loader:()=>p(()=>import("./MountData.html-BQ9q4O20.js"),__vite__mapDeps([])),meta:{title:"Type alias: MountData"}}],["/doc/func/type-aliases/Next.html",{loader:()=>p(()=>import("./Next.html-BeD_5cqE.js"),__vite__mapDeps([])),meta:{title:"Type alias: Next()"}}],["/doc/func/type-aliases/Plugin.html",{loader:()=>p(()=>import("./Plugin.html-c3qm7ads.js"),__vite__mapDeps([])),meta:{title:"Type alias: Plugin"}}],["/doc/func/type-aliases/ProviderConfig.html",{loader:()=>p(()=>import("./ProviderConfig.html-CZwLWzK7.js"),__vite__mapDeps([])),meta:{title:"Type alias: ProviderConfig"}}],["/doc/func/type-aliases/UseifyPlugin.html",{loader:()=>p(()=>import("./UseifyPlugin.html-C1MVu8Ul.js"),__vite__mapDeps([])),meta:{title:"Type alias: UseifyPlugin"}}],["/doc/http/classes/Cookie.html",{loader:()=>p(()=>import("./Cookie.html-Dz23sfGj.js"),__vite__mapDeps([])),meta:{title:"Class: Cookie"}}],["/doc/http/classes/Http.html",{loader:()=>p(()=>import("./Http.html-CIvo01Ic.js"),__vite__mapDeps([])),meta:{title:"Class: Http"}}],["/doc/http/classes/HttpError.html",{loader:()=>p(()=>import("./HttpError.html-CtJiUljB.js"),__vite__mapDeps([])),meta:{title:"Class: HttpError"}}],["/doc/http/classes/Session.html",{loader:()=>p(()=>import("./Session.html-BZueaOcG.js"),__vite__mapDeps([])),meta:{title:"Class: Session"}}],["/doc/http/classes/Validator.html",{loader:()=>p(()=>import("./Validator.html-BNypmLah.js"),__vite__mapDeps([])),meta:{title:"Class: Validator"}}],["/doc/http/functions/useHttp.html",{loader:()=>p(()=>import("./useHttp.html-BepKhnrH.js"),__vite__mapDeps([])),meta:{title:"Function: useHttp()"}}],["/doc/http/type-aliases/CookieOptions.html",{loader:()=>p(()=>import("./CookieOptions.html-CqPOStcv.js"),__vite__mapDeps([])),meta:{title:"Type alias: CookieOptions"}}],["/doc/http/type-aliases/HttpConfig.html",{loader:()=>p(()=>import("./HttpConfig.html-DItZjcrr.js"),__vite__mapDeps([])),meta:{title:"Type alias: HttpConfig"}}],["/doc/http/type-aliases/Response.html",{loader:()=>p(()=>import("./Response.html-DIfFpxkE.js"),__vite__mapDeps([])),meta:{title:"Type alias: Response"}}],["/doc/http/type-aliases/SessionOptions.html",{loader:()=>p(()=>import("./SessionOptions.html-B3mvuZTz.js"),__vite__mapDeps([])),meta:{title:"Type alias: SessionOptions"}}],["/doc/http/type-aliases/ValidatorConfig.html",{loader:()=>p(()=>import("./ValidatorConfig.html-C9YcSxjX.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorConfig"}}],["/doc/http/type-aliases/ValidatorOptions.html",{loader:()=>p(()=>import("./ValidatorOptions.html-cNT9yoIA.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorOptions"}}],["/doc/http/type-aliases/ValidatorRuleOptions.html",{loader:()=>p(()=>import("./ValidatorRuleOptions.html-O7NPljcV.js"),__vite__mapDeps([])),meta:{title:"Type alias: ValidatorRuleOptions"}}],["/doc/http/variables/ContentType.html",{loader:()=>p(()=>import("./ContentType.html-71_4lam0.js"),__vite__mapDeps([])),meta:{title:"Variable: ContentType"}}],["/doc/images/bun/",{loader:()=>p(()=>import("./index.html-Fga_grSV.js"),__vite__mapDeps([])),meta:{title:"Bun Image for FaasJS projects"}}],["/doc/images/nginx/",{loader:()=>p(()=>import("./index.html-B1hxmwJu.js"),__vite__mapDeps([])),meta:{title:"A Nginx Image for FaasJS projects"}}],["/doc/images/node/",{loader:()=>p(()=>import("./index.html-CPlRvBI9.js"),__vite__mapDeps([])),meta:{title:"Node Image for FaasJS projects"}}],["/doc/images/vscode/",{loader:()=>p(()=>import("./index.html-By-i1PMN.js"),__vite__mapDeps([])),meta:{title:"VSCode Container Image for FaasJS projects"}}],["/doc/knex/classes/Knex.html",{loader:()=>p(()=>import("./Knex.html-DPuNK4DK.js"),__vite__mapDeps([])),meta:{title:"Class: Knex"}}],["/doc/knex/functions/originKnex.html",{loader:()=>p(()=>import("./originKnex.html--r2FdPzY.js"),__vite__mapDeps([])),meta:{title:"Function: originKnex()"}}],["/doc/knex/functions/query.html",{loader:()=>p(()=>import("./query.html-qY3Q6Aje.js"),__vite__mapDeps([])),meta:{title:"Function: query()"}}],["/doc/knex/functions/raw.html",{loader:()=>p(()=>import("./raw.html-W2ytBzEO.js"),__vite__mapDeps([])),meta:{title:"Function: raw()"}}],["/doc/knex/functions/transaction.html",{loader:()=>p(()=>import("./transaction.html-CRQIQCr4.js"),__vite__mapDeps([])),meta:{title:"Function: transaction()"}}],["/doc/knex/functions/useKnex.html",{loader:()=>p(()=>import("./useKnex.html-OJM6VAVJ.js"),__vite__mapDeps([])),meta:{title:"Function: useKnex()"}}],["/doc/knex/modules/originKnex.html",{loader:()=>p(()=>import("./originKnex.html-DWBBJBhB.js"),__vite__mapDeps([])),meta:{title:"Namespace: originKnex"}}],["/doc/knex/type-aliases/KnexConfig.html",{loader:()=>p(()=>import("./KnexConfig.html-BIBweGXT.js"),__vite__mapDeps([])),meta:{title:"Type alias: KnexConfig"}}],["/doc/load/functions/loadConfig.html",{loader:()=>p(()=>import("./loadConfig.html-Dckj8bir.js"),__vite__mapDeps([])),meta:{title:"Function: loadConfig()"}}],["/doc/load/functions/loadTs.html",{loader:()=>p(()=>import("./loadTs.html-ehveS0hV.js"),__vite__mapDeps([])),meta:{title:"Function: loadTs()"}}],["/doc/logger/classes/Logger.html",{loader:()=>p(()=>import("./Logger.html-CrhFKmMZ.js"),__vite__mapDeps([])),meta:{title:"Class: Logger"}}],["/doc/logger/enumerations/Color.html",{loader:()=>p(()=>import("./Color.html-CYNmIW8R.js"),__vite__mapDeps([])),meta:{title:"Enumeration: Color"}}],["/doc/logger/enums/Color.html",{loader:()=>p(()=>import("./Color.html-CMdk-C5c.js"),__vite__mapDeps([])),meta:{title:"Enumeration: Color"}}],["/doc/logger/type-aliases/Level.html",{loader:()=>p(()=>import("./Level.html-BytGOcJY.js"),__vite__mapDeps([])),meta:{title:"Type alias: Level"}}],["/doc/mongo/classes/Mongo.html",{loader:()=>p(()=>import("./Mongo.html-DkSwJRUy.js"),__vite__mapDeps([])),meta:{title:"Class: Mongo"}}],["/doc/mongo/interfaces/MongoConfig.html",{loader:()=>p(()=>import("./MongoConfig.html-CfoOa8oq.js"),__vite__mapDeps([])),meta:{title:"Interface: MongoConfig"}}],["/doc/react/classes/ErrorBoundary.html",{loader:()=>p(()=>import("./ErrorBoundary.html-VjDXPo7f.js"),__vite__mapDeps([])),meta:{title:"Class: ErrorBoundary"}}],["/doc/react/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-B35xxf1C.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/react/classes/Response.html",{loader:()=>p(()=>import("./Response.html-CmpOLyH-.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/react/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-Bi3SDIgX.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/react/functions/FaasDataWrapper.html",{loader:()=>p(()=>import("./FaasDataWrapper.html-ibmH5CU0.js"),__vite__mapDeps([])),meta:{title:"Function: FaasDataWrapper()"}}],["/doc/react/functions/FaasReactClient.html",{loader:()=>p(()=>import("./FaasReactClient.html-BkDAwhfw.js"),__vite__mapDeps([])),meta:{title:"Function: FaasReactClient()"}}],["/doc/react/functions/createSplitedContext.html",{loader:()=>p(()=>import("./createSplitedContext.html-C0LS9EtS.js"),__vite__mapDeps([])),meta:{title:"Function: createSplitedContext()"}}],["/doc/react/functions/faas.html",{loader:()=>p(()=>import("./faas.html-BLd-7SJZ.js"),__vite__mapDeps([])),meta:{title:"Function: faas()"}}],["/doc/react/functions/getClient.html",{loader:()=>p(()=>import("./getClient.html-z-WXdWdu.js"),__vite__mapDeps([])),meta:{title:"Function: getClient()"}}],["/doc/react/functions/signal.html",{loader:()=>p(()=>import("./signal.html-C3v-Y47N.js"),__vite__mapDeps([])),meta:{title:"Function: signal()"}}],["/doc/react/functions/useConstant.html",{loader:()=>p(()=>import("./useConstant.html-C8rCDox4.js"),__vite__mapDeps([])),meta:{title:"Function: useConstant()"}}],["/doc/react/functions/useFaas.html",{loader:()=>p(()=>import("./useFaas.html-CXdembYs.js"),__vite__mapDeps([])),meta:{title:"Function: useFaas()"}}],["/doc/react/functions/useSignalState.html",{loader:()=>p(()=>import("./useSignalState.html-DAUV_m3M.js"),__vite__mapDeps([])),meta:{title:"Function: useSignalState()"}}],["/doc/react/interfaces/ErrorBoundaryProps.html",{loader:()=>p(()=>import("./ErrorBoundaryProps.html-T0DGXnEi.js"),__vite__mapDeps([])),meta:{title:"Interface: ErrorBoundaryProps"}}],["/doc/react/interfaces/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-DE-xk9s-.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataInjection"}}],["/doc/react/interfaces/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-ctFibFd9.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasDataWrapperProps"}}],["/doc/react/interfaces/FaasReactClientInstance.html",{loader:()=>p(()=>import("./FaasReactClientInstance.html-Cua0Zmso.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasReactClientInstance"}}],["/doc/react/type-aliases/ErrorChildrenProps.html",{loader:()=>p(()=>import("./ErrorChildrenProps.html-CdxaIRZR.js"),__vite__mapDeps([])),meta:{title:"Type alias: ErrorChildrenProps"}}],["/doc/react/type-aliases/FaasAction.html",{loader:()=>p(()=>import("./FaasAction.html-BenW7jSd.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasAction"}}],["/doc/react/type-aliases/FaasData.html",{loader:()=>p(()=>import("./FaasData.html-B7wvYv40.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasData"}}],["/doc/react/type-aliases/FaasDataInjection.html",{loader:()=>p(()=>import("./FaasDataInjection.html-DdfDbFpS.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataInjection"}}],["/doc/react/type-aliases/FaasDataWrapperProps.html",{loader:()=>p(()=>import("./FaasDataWrapperProps.html-DchAE8-t.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasDataWrapperProps"}}],["/doc/react/type-aliases/FaasParams.html",{loader:()=>p(()=>import("./FaasParams.html-Dlc8GQP4.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasParams"}}],["/doc/react/type-aliases/FaasReactClientInstance.html",{loader:()=>p(()=>import("./FaasReactClientInstance.html-FsWcjM25.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasReactClientInstance"}}],["/doc/react/type-aliases/FaasReactClientOptions.html",{loader:()=>p(()=>import("./FaasReactClientOptions.html-BcDXLmtG.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasReactClientOptions"}}],["/doc/react/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-DMKYZA-b.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/react/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html-BzWncAnw.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/react/type-aliases/SignalOptions.html",{loader:()=>p(()=>import("./SignalOptions.html-BxowXs-7.js"),__vite__mapDeps([])),meta:{title:"Type alias: SignalOptions"}}],["/doc/react/type-aliases/useFaasOptions.html",{loader:()=>p(()=>import("./useFaasOptions.html-1HfoYX4D.js"),__vite__mapDeps([])),meta:{title:"Type alias: useFaasOptions"}}],["/doc/redis/classes/Redis.html",{loader:()=>p(()=>import("./Redis.html-B6VIStHz.js"),__vite__mapDeps([])),meta:{title:"Class: Redis"}}],["/doc/redis/functions/get.html",{loader:()=>p(()=>import("./get.html-cjagbX5F.js"),__vite__mapDeps([])),meta:{title:"Function: get()"}}],["/doc/redis/functions/getJSON.html",{loader:()=>p(()=>import("./getJSON.html-CjpSd_5i.js"),__vite__mapDeps([])),meta:{title:"Function: getJSON()"}}],["/doc/redis/functions/lock.html",{loader:()=>p(()=>import("./lock.html-2iwuduwy.js"),__vite__mapDeps([])),meta:{title:"Function: lock()"}}],["/doc/redis/functions/multi.html",{loader:()=>p(()=>import("./multi.html-B588r2U7.js"),__vite__mapDeps([])),meta:{title:"Function: multi()"}}],["/doc/redis/functions/pipeline.html",{loader:()=>p(()=>import("./pipeline.html-j_QPj5iM.js"),__vite__mapDeps([])),meta:{title:"Function: pipeline()"}}],["/doc/redis/functions/publish.html",{loader:()=>p(()=>import("./publish.html-D-wNngzT.js"),__vite__mapDeps([])),meta:{title:"Function: publish()"}}],["/doc/redis/functions/query.html",{loader:()=>p(()=>import("./query.html-C3frNkJu.js"),__vite__mapDeps([])),meta:{title:"Function: query()"}}],["/doc/redis/functions/set.html",{loader:()=>p(()=>import("./set.html-DmAR77CS.js"),__vite__mapDeps([])),meta:{title:"Function: set()"}}],["/doc/redis/functions/setJSON.html",{loader:()=>p(()=>import("./setJSON.html-BEffoxNH.js"),__vite__mapDeps([])),meta:{title:"Function: setJSON()"}}],["/doc/redis/functions/unlock.html",{loader:()=>p(()=>import("./unlock.html-BFhDPCJ2.js"),__vite__mapDeps([])),meta:{title:"Function: unlock()"}}],["/doc/redis/functions/useRedis.html",{loader:()=>p(()=>import("./useRedis.html-BaHYE-xr.js"),__vite__mapDeps([])),meta:{title:"Function: useRedis()"}}],["/doc/redis/type-aliases/RedisConfig.html",{loader:()=>p(()=>import("./RedisConfig.html-DtxkwzWq.js"),__vite__mapDeps([])),meta:{title:"Type alias: RedisConfig"}}],["/doc/request/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-Jw4qjzqd.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/request/functions/querystringify.html",{loader:()=>p(()=>import("./querystringify.html-LjqZyqjQ.js"),__vite__mapDeps([])),meta:{title:"Function: querystringify()"}}],["/doc/request/functions/request.html",{loader:()=>p(()=>import("./request.html-C11KEKqa.js"),__vite__mapDeps([])),meta:{title:"Function: request()"}}],["/doc/request/functions/setMock.html",{loader:()=>p(()=>import("./setMock.html-Be7SBgiD.js"),__vite__mapDeps([])),meta:{title:"Function: setMock()"}}],["/doc/request/type-aliases/Request.html",{loader:()=>p(()=>import("./Request.html-mNmVHu_r.js"),__vite__mapDeps([])),meta:{title:"Type alias: Request"}}],["/doc/request/type-aliases/RequestOptions.html",{loader:()=>p(()=>import("./RequestOptions.html-Juq-DlM9.js"),__vite__mapDeps([])),meta:{title:"Type alias: RequestOptions"}}],["/doc/request/type-aliases/Response.html",{loader:()=>p(()=>import("./Response.html-PH0pUEmJ.js"),__vite__mapDeps([])),meta:{title:"Type alias: Response"}}],["/doc/server/classes/Server.html",{loader:()=>p(()=>import("./Server.html-jJ4xyXot.js"),__vite__mapDeps([])),meta:{title:"Class: Server"}}],["/doc/server/functions/closeAll.html",{loader:()=>p(()=>import("./closeAll.html-WzC7I1Go.js"),__vite__mapDeps([])),meta:{title:"Function: closeAll()"}}],["/doc/server/functions/getAll.html",{loader:()=>p(()=>import("./getAll.html-BJH4fmK5.js"),__vite__mapDeps([])),meta:{title:"Function: getAll()"}}],["/doc/tencentcloud/classes/Provider.html",{loader:()=>p(()=>import("./Provider.html-DCP29uvo.js"),__vite__mapDeps([])),meta:{title:"Class: Provider"}}],["/doc/tencentcloud/functions/request.html",{loader:()=>p(()=>import("./request.html-DhbVrMy-.js"),__vite__mapDeps([])),meta:{title:"Function: request()"}}],["/doc/tencentcloud/type-aliases/TencentcloudConfig.html",{loader:()=>p(()=>import("./TencentcloudConfig.html-2mQEHaQN.js"),__vite__mapDeps([])),meta:{title:"Type alias: TencentcloudConfig"}}],["/doc/test/classes/Func.html",{loader:()=>p(()=>import("./Func.html-DHB1ClUd.js"),__vite__mapDeps([])),meta:{title:"Class: Func"}}],["/doc/test/classes/FuncWarper.html",{loader:()=>p(()=>import("./FuncWarper.html-cfB9dj_h.js"),__vite__mapDeps([])),meta:{title:"Class: FuncWarper"}}],["/doc/test/functions/test.html",{loader:()=>p(()=>import("./test.html-BgdyCS4k.js"),__vite__mapDeps([])),meta:{title:"Function: test()"}}],["/doc/test/functions/useFunc.html",{loader:()=>p(()=>import("./useFunc.html-DwCQxfYD.js"),__vite__mapDeps([])),meta:{title:"Function: useFunc()"}}],["/doc/test/functions/usePlugin.html",{loader:()=>p(()=>import("./usePlugin.html-B4ku4naU.js"),__vite__mapDeps([])),meta:{title:"Function: usePlugin()"}}],["/doc/test/type-aliases/Config.html",{loader:()=>p(()=>import("./Config.html-DXgsTwc7.js"),__vite__mapDeps([])),meta:{title:"Type alias: Config"}}],["/doc/test/type-aliases/DeployData.html",{loader:()=>p(()=>import("./DeployData.html-l9pCvEHj.js"),__vite__mapDeps([])),meta:{title:"Type alias: DeployData"}}],["/doc/test/type-aliases/ExportedHandler.html",{loader:()=>p(()=>import("./ExportedHandler.html-7QHGR2bO.js"),__vite__mapDeps([])),meta:{title:"Type alias: ExportedHandler()"}}],["/doc/test/type-aliases/FuncConfig.html",{loader:()=>p(()=>import("./FuncConfig.html-j6Cwbcv9.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncConfig"}}],["/doc/test/type-aliases/FuncEventType.html",{loader:()=>p(()=>import("./FuncEventType.html-DUveMzAd.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncEventType"}}],["/doc/test/type-aliases/FuncReturnType.html",{loader:()=>p(()=>import("./FuncReturnType.html-uU6lMYmK.js"),__vite__mapDeps([])),meta:{title:"Type alias: FuncReturnType"}}],["/doc/test/type-aliases/Handler.html",{loader:()=>p(()=>import("./Handler.html-b3eUTG91.js"),__vite__mapDeps([])),meta:{title:"Type alias: Handler()"}}],["/doc/test/type-aliases/InvokeData.html",{loader:()=>p(()=>import("./InvokeData.html-g8k1w-1V.js"),__vite__mapDeps([])),meta:{title:"Type alias: InvokeData"}}],["/doc/test/type-aliases/LifeCycleKey.html",{loader:()=>p(()=>import("./LifeCycleKey.html-6U19a8GZ.js"),__vite__mapDeps([])),meta:{title:"Type alias: LifeCycleKey"}}],["/doc/test/type-aliases/MountData.html",{loader:()=>p(()=>import("./MountData.html-Ln4sI6ch.js"),__vite__mapDeps([])),meta:{title:"Type alias: MountData"}}],["/doc/test/type-aliases/Next.html",{loader:()=>p(()=>import("./Next.html-Bbq7zXIl.js"),__vite__mapDeps([])),meta:{title:"Type alias: Next()"}}],["/doc/test/type-aliases/Plugin.html",{loader:()=>p(()=>import("./Plugin.html-DwQChcpb.js"),__vite__mapDeps([])),meta:{title:"Type alias: Plugin"}}],["/doc/test/type-aliases/ProviderConfig.html",{loader:()=>p(()=>import("./ProviderConfig.html-Df9IHCfK.js"),__vite__mapDeps([])),meta:{title:"Type alias: ProviderConfig"}}],["/doc/test/type-aliases/UseifyPlugin.html",{loader:()=>p(()=>import("./UseifyPlugin.html-Vs1BqPGc.js"),__vite__mapDeps([])),meta:{title:"Type alias: UseifyPlugin"}}],["/doc/ts-transform/functions/bundle.html",{loader:()=>p(()=>import("./bundle.html-82AuDX26.js"),__vite__mapDeps([])),meta:{title:"Function: bundle()"}}],["/doc/ts-transform/functions/transform.html",{loader:()=>p(()=>import("./transform.html-BVvQNzAo.js"),__vite__mapDeps([])),meta:{title:"Function: transform()"}}],["/doc/ts-transform/variables/NodeBuiltinModules.html",{loader:()=>p(()=>import("./NodeBuiltinModules.html-CZYrzlde.js"),__vite__mapDeps([])),meta:{title:"Variable: NodeBuiltinModules"}}],["/doc/types/type-aliases/FaasAction.html",{loader:()=>p(()=>import("./FaasAction.html-BC-yiK29.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasAction"}}],["/doc/types/type-aliases/FaasActionPaths.html",{loader:()=>p(()=>import("./FaasActionPaths.html-glxYBLTE.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasActionPaths"}}],["/doc/types/type-aliases/FaasData.html",{loader:()=>p(()=>import("./FaasData.html-BoquvAFS.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasData"}}],["/doc/types/type-aliases/FaasParams.html",{loader:()=>p(()=>import("./FaasParams.html-w-dFLGpb.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasParams"}}],["/doc/vue-plugin/classes/FaasBrowserClient.html",{loader:()=>p(()=>import("./FaasBrowserClient.html-B9_ulpRX.js"),__vite__mapDeps([])),meta:{title:"Class: FaasBrowserClient"}}],["/doc/vue-plugin/classes/Response.html",{loader:()=>p(()=>import("./Response.html-B0skfUYs.js"),__vite__mapDeps([])),meta:{title:"Class: Response"}}],["/doc/vue-plugin/classes/ResponseError.html",{loader:()=>p(()=>import("./ResponseError.html-l0Ta4FeH.js"),__vite__mapDeps([])),meta:{title:"Class: ResponseError"}}],["/doc/vue-plugin/interfaces/FaasVuePluginOptions.html",{loader:()=>p(()=>import("./FaasVuePluginOptions.html-BPSQf3bK.js"),__vite__mapDeps([])),meta:{title:"Interface: FaasVuePluginOptions"}}],["/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html",{loader:()=>p(()=>import("./FaasVuePluginOptions.html-BFVueRa5.js"),__vite__mapDeps([])),meta:{title:"Type alias: FaasVuePluginOptions"}}],["/doc/vue-plugin/type-aliases/Options.html",{loader:()=>p(()=>import("./Options.html-BIDHEZmf.js"),__vite__mapDeps([])),meta:{title:"Type alias: Options"}}],["/doc/vue-plugin/type-aliases/ResponseHeaders.html",{loader:()=>p(()=>import("./ResponseHeaders.html-B2EzvdJn.js"),__vite__mapDeps([])),meta:{title:"Type alias: ResponseHeaders"}}],["/doc/vue-plugin/variables/FaasVuePlugin.html",{loader:()=>p(()=>import("./FaasVuePlugin.html-BqfxuRi9.js"),__vite__mapDeps([])),meta:{title:"Variable: FaasVuePlugin"}}],["/zh/guide/best-practice/lifecycle.html",{loader:()=>p(()=>import("./lifecycle.html-C7V7ZEMy.js"),__vite__mapDeps([])),meta:{title:"优化云函数的初始化"}}],["/zh/guide/excel/db.html",{loader:()=>p(()=>import("./db.html-CrMlNoaI.js"),__vite__mapDeps([])),meta:{title:"数据库操作"}}],["/zh/guide/excel/env.html",{loader:()=>p(()=>import("./env.html-EFpzYI7T.js"),__vite__mapDeps([])),meta:{title:"环境变量"}}],["/zh/guide/excel/faas-yaml.html",{loader:()=>p(()=>import("./faas-yaml.html-BR4pc1JS.js"),__vite__mapDeps([])),meta:{title:"faas.yaml"}}],["/zh/guide/excel/http.html",{loader:()=>p(()=>import("./http.html-CmrApgFV.js"),__vite__mapDeps([])),meta:{title:"Http、Cookie 和 Session"}}],["/zh/guide/excel/plugin.html",{loader:()=>p(()=>import("./plugin.html-BiFQ3y-D.js"),__vite__mapDeps([])),meta:{title:"使用插件"}}],["/zh/guide/excel/react.html",{loader:()=>p(()=>import("./react.html-D2xJFk2z.js"),__vite__mapDeps([])),meta:{title:"在 React 中使用"}}],["/zh/guide/excel/request-spec.html",{loader:()=>p(()=>import("./request-spec.html-CPpVhpM0.js"),__vite__mapDeps([])),meta:{title:"HTTP 请求规范"}}],["/zh/guide/excel/vue.html",{loader:()=>p(()=>import("./vue.html-CM_ia1j0.js"),__vite__mapDeps([])),meta:{title:"在 Vue 中使用"}}],["/404.html",{loader:()=>p(()=>import("./404.html-DoeZRk45.js"),__vite__mapDeps([])),meta:{title:""}}]]);/*! * vue-router v4.3.0 * (c) 2024 Eduardo San Martin Morote * @license MIT diff --git a/assets/auth.html-CNFjZRnG.js b/assets/auth.html-DFWgXdSp.js similarity index 99% rename from assets/auth.html-CNFjZRnG.js rename to assets/auth.html-DFWgXdSp.js index ccbecd333b..1cb108cb8c 100644 --- a/assets/auth.html-CNFjZRnG.js +++ b/assets/auth.html-DFWgXdSp.js @@ -1,4 +1,4 @@ -import{_ as p,r as t,o as e,c as o,a as s,b as n,d as c,e as i}from"./app-QyD7034V.js";const u={},l=i(`

    5 分钟开发登录注册功能

    在学习本教程前,建议先学习 1 分钟上手2 分钟部署到腾讯云

    通过本教程,你将学到:

    • 如何将需求拆解为云函数?
    • 如何使用 Session 来识别用户?
    • 如何使用入参校验来避免恶意攻击?
    • 如何在云函数中使用 Sql?

    梳理需求

    为了简化教程,我们将登陆注册功能,限定为仅支持使用用户名和密码来注册和登录。

    因此把功能点梳理为:

    • 用户可以通过输入用户名和密码,来完成注册;
    • 注册完成后直接成为已登录状态;
    • 在已登录状态下,用户可以修改自己的密码;
    • 用户可以登出;
    • 用户可以登录;

    为了实现需求,我们需要分两步来设计:数据库设计和云函数设计。

    先确定数据库表结构为:

    • users 表名
      • id number 自增主键
      • username string 用户名,不可重复
      • password string 密码(这里为了简化教程,密码采用明码保存,在实际业务中请务必加密保存!!)

    接下来,云函数的设计,需要根据业务流程来梳理,通常来说,有几个业务流程,就创建几个云函数:

    • 注册流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:把用户名和密码保存到数据库中,并在 seesion 中保存用户 ID
    • 登录流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:检查用户名和密码是否与数据库中保存的一致,一致则在 seesion 中写入用户 ID
    • 登出流程
      • 入参:seesion 中当前登录用户的 ID
      • 出参:删除 session 的登录用户 ID
      • 业务逻辑:删除 session 中的用户 ID
    • 修改密码:
      • 入参:新密码、旧密码、seesion 中当前登录用户的 ID
      • 出参:无
      • 业务逻辑:检查旧密码是否与数据库中存储的一致,一致的话替换为新密码

    基于以上梳理,我们知道了要完成这个功能,我们需要创建 1 张数据库表和 4 个云函数。

    注册流程

    数据库建表这里就略过了,我们直接从云函数开始写起。

    我们按上面列出的业务逻辑顺序,来写云函数,首先是注册流程。

    我们先通过命令行创建云函数文件:

    npm exec faas new func users/signup http knex
    +import{_ as p,r as t,o as e,c as o,a as s,b as n,d as c,e as i}from"./app-COoiSelr.js";const u={},l=i(`

    5 分钟开发登录注册功能

    在学习本教程前,建议先学习 1 分钟上手2 分钟部署到腾讯云

    通过本教程,你将学到:

    • 如何将需求拆解为云函数?
    • 如何使用 Session 来识别用户?
    • 如何使用入参校验来避免恶意攻击?
    • 如何在云函数中使用 Sql?

    梳理需求

    为了简化教程,我们将登陆注册功能,限定为仅支持使用用户名和密码来注册和登录。

    因此把功能点梳理为:

    • 用户可以通过输入用户名和密码,来完成注册;
    • 注册完成后直接成为已登录状态;
    • 在已登录状态下,用户可以修改自己的密码;
    • 用户可以登出;
    • 用户可以登录;

    为了实现需求,我们需要分两步来设计:数据库设计和云函数设计。

    先确定数据库表结构为:

    • users 表名
      • id number 自增主键
      • username string 用户名,不可重复
      • password string 密码(这里为了简化教程,密码采用明码保存,在实际业务中请务必加密保存!!)

    接下来,云函数的设计,需要根据业务流程来梳理,通常来说,有几个业务流程,就创建几个云函数:

    • 注册流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:把用户名和密码保存到数据库中,并在 seesion 中保存用户 ID
    • 登录流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:检查用户名和密码是否与数据库中保存的一致,一致则在 seesion 中写入用户 ID
    • 登出流程
      • 入参:seesion 中当前登录用户的 ID
      • 出参:删除 session 的登录用户 ID
      • 业务逻辑:删除 session 中的用户 ID
    • 修改密码:
      • 入参:新密码、旧密码、seesion 中当前登录用户的 ID
      • 出参:无
      • 业务逻辑:检查旧密码是否与数据库中存储的一致,一致的话替换为新密码

    基于以上梳理,我们知道了要完成这个功能,我们需要创建 1 张数据库表和 4 个云函数。

    注册流程

    数据库建表这里就略过了,我们直接从云函数开始写起。

    我们按上面列出的业务逻辑顺序,来写云函数,首先是注册流程。

    我们先通过命令行创建云函数文件:

    npm exec faas new func users/signup http knex
     

    然后在云函数文件中写业务代码:

    // users/signup.func.ts
     import { useFunc } from '@faasjs/func';
     import { useKnex } from '@faasjs/knex';
    @@ -186,4 +186,4 @@ import{_ as p,r as t,o as e,c as o,a as s,b as n,d as c,e as i}from"./app-QyD703
         })
       }
     });
    -

    完整项目代码

    `,33),k={href:"https://github.com/faasjs/faasjs/examples/tree/main/auth",target:"_blank",rel:"noopener noreferrer"};function r(d,v){const a=t("ExternalLinkIcon");return e(),o("div",null,[l,s("p",null,[n("完整的项目代码在 "),s("a",k,[n("https://github.com/faasjs/faasjs/examples/tree/main/auth"),c(a)]),n(" 其中还包括了完整的测试用例代码。")])])}const b=p(u,[["render",r],["__file","auth.html.vue"]]),w=JSON.parse('{"path":"/zh/guide/auth.html","title":"5 分钟开发登录注册功能","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"梳理需求","slug":"梳理需求","link":"#梳理需求","children":[]},{"level":2,"title":"注册流程","slug":"注册流程","link":"#注册流程","children":[]},{"level":2,"title":"登录流程","slug":"登录流程","link":"#登录流程","children":[]},{"level":2,"title":"登出流程","slug":"登出流程","link":"#登出流程","children":[]},{"level":2,"title":"修改密码流程","slug":"修改密码流程","link":"#修改密码流程","children":[]},{"level":2,"title":"完整项目代码","slug":"完整项目代码","link":"#完整项目代码","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/auth.md"}');export{b as comp,w as data}; +

    完整项目代码

    `,33),k={href:"https://github.com/faasjs/faasjs/examples/tree/main/auth",target:"_blank",rel:"noopener noreferrer"};function r(d,v){const a=t("ExternalLinkIcon");return e(),o("div",null,[l,s("p",null,[n("完整的项目代码在 "),s("a",k,[n("https://github.com/faasjs/faasjs/examples/tree/main/auth"),c(a)]),n(" 其中还包括了完整的测试用例代码。")])])}const b=p(u,[["render",r],["__file","auth.html.vue"]]),w=JSON.parse('{"path":"/zh/guide/auth.html","title":"5 分钟开发登录注册功能","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"梳理需求","slug":"梳理需求","link":"#梳理需求","children":[]},{"level":2,"title":"注册流程","slug":"注册流程","link":"#注册流程","children":[]},{"level":2,"title":"登录流程","slug":"登录流程","link":"#登录流程","children":[]},{"level":2,"title":"登出流程","slug":"登出流程","link":"#登出流程","children":[]},{"level":2,"title":"修改密码流程","slug":"修改密码流程","link":"#修改密码流程","children":[]},{"level":2,"title":"完整项目代码","slug":"完整项目代码","link":"#完整项目代码","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/auth.md"}');export{b as comp,w as data}; diff --git a/assets/browser.html-DtWNtrcj.js b/assets/browser.html-D_qfiicj.js similarity index 98% rename from assets/browser.html-DtWNtrcj.js rename to assets/browser.html-D_qfiicj.js index 71c6992e78..305cbac581 100644 --- a/assets/browser.html-DtWNtrcj.js +++ b/assets/browser.html-D_qfiicj.js @@ -1,4 +1,4 @@ -import{_ as t,r,o,c as l,a as s,b as e,d as n,e as c}from"./app-QyD7034V.js";const i={},p=c(`

    @faasjs/browser

    浏览器插件,用于在浏览器中请求云函数。

    安装方法

    npm

    npm install @faasjs/browser --save
    +import{_ as t,r,o,c as l,a as s,b as e,d as n,e as c}from"./app-COoiSelr.js";const i={},p=c(`

    @faasjs/browser

    浏览器插件,用于在浏览器中请求云函数。

    安装方法

    npm

    npm install @faasjs/browser --save
     

    Webpack 和 CDN

    在 html 中添加如下代码:

    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/@faasjs/browser"></script>
     

    在 webpack.config.js 中添加如下代码:

    module.exports = {
       // ...
    @@ -6,4 +6,4 @@ import{_ as t,r,o,c as l,a as s,b as e,d as n,e as c}from"./app-QyD7034V.js";con
         '@faasjs/browser': 'FaasBrowserClient'
       }
     }
    -

    FaasBrowserClient 实例方法

    constructor (baseUrl?: string): FaasBrowserClient

    构建插件实例,baseUrl 为云函数网关的网址,若不传值则视为开发环境,会在当前域名下请求 /_faas/ 路径下的接口。

    action (action: string, params?: any): Promise<Response>

    请求云函数,action 为云函数的路径,params 为传递的参数

    Response 实例属性

    • status number 响应状态
    • headers object 响应头
    • data any 响应数据

    ResponseError 实例属性

    • message string 错误提示
    • status number 响应状态
    • headers object 响应头
    • body any 响应体

    在 React 或 Vue 中使用

    `,20),d={href:"https://faasjs.com/doc/react.html",target:"_blank",rel:"noopener noreferrer"},u={href:"https://faasjs.com/doc/vue-plugin.html",target:"_blank",rel:"noopener noreferrer"};function h(m,b){const a=r("ExternalLinkIcon");return o(),l("div",null,[p,s("ul",null,[s("li",null,[s("a",d,[e("@faasjs/react"),n(a)])]),s("li",null,[s("a",u,[e("@faasjs/vue-plugin"),n(a)])])])])}const k=t(i,[["render",h],["__file","browser.html.vue"]]),v=JSON.parse('{"path":"/zh/doc/browser.html","title":"@faasjs/browser","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"FaasBrowserClient 实例方法","slug":"faasbrowserclient-实例方法","link":"#faasbrowserclient-实例方法","children":[{"level":3,"title":"constructor (baseUrl?: string): FaasBrowserClient","slug":"constructor-baseurl-string-faasbrowserclient","link":"#constructor-baseurl-string-faasbrowserclient","children":[]},{"level":3,"title":"action (action: string, params?: any): Promise","slug":"action-action-string-params-any-promise-response","link":"#action-action-string-params-any-promise-response","children":[]}]},{"level":2,"title":"Response 实例属性","slug":"response-实例属性","link":"#response-实例属性","children":[]},{"level":2,"title":"ResponseError 实例属性","slug":"responseerror-实例属性","link":"#responseerror-实例属性","children":[]},{"level":2,"title":"在 React 或 Vue 中使用","slug":"在-react-或-vue-中使用","link":"#在-react-或-vue-中使用","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/browser.md"}');export{k as comp,v as data}; +

    FaasBrowserClient 实例方法

    constructor (baseUrl?: string): FaasBrowserClient

    构建插件实例,baseUrl 为云函数网关的网址,若不传值则视为开发环境,会在当前域名下请求 /_faas/ 路径下的接口。

    action (action: string, params?: any): Promise<Response>

    请求云函数,action 为云函数的路径,params 为传递的参数

    Response 实例属性

    • status number 响应状态
    • headers object 响应头
    • data any 响应数据

    ResponseError 实例属性

    • message string 错误提示
    • status number 响应状态
    • headers object 响应头
    • body any 响应体

    在 React 或 Vue 中使用

    `,20),d={href:"https://faasjs.com/doc/react.html",target:"_blank",rel:"noopener noreferrer"},u={href:"https://faasjs.com/doc/vue-plugin.html",target:"_blank",rel:"noopener noreferrer"};function h(m,b){const a=r("ExternalLinkIcon");return o(),l("div",null,[p,s("ul",null,[s("li",null,[s("a",d,[e("@faasjs/react"),n(a)])]),s("li",null,[s("a",u,[e("@faasjs/vue-plugin"),n(a)])])])])}const k=t(i,[["render",h],["__file","browser.html.vue"]]),v=JSON.parse('{"path":"/zh/doc/browser.html","title":"@faasjs/browser","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"FaasBrowserClient 实例方法","slug":"faasbrowserclient-实例方法","link":"#faasbrowserclient-实例方法","children":[{"level":3,"title":"constructor (baseUrl?: string): FaasBrowserClient","slug":"constructor-baseurl-string-faasbrowserclient","link":"#constructor-baseurl-string-faasbrowserclient","children":[]},{"level":3,"title":"action (action: string, params?: any): Promise","slug":"action-action-string-params-any-promise-response","link":"#action-action-string-params-any-promise-response","children":[]}]},{"level":2,"title":"Response 实例属性","slug":"response-实例属性","link":"#response-实例属性","children":[]},{"level":2,"title":"ResponseError 实例属性","slug":"responseerror-实例属性","link":"#responseerror-实例属性","children":[]},{"level":2,"title":"在 React 或 Vue 中使用","slug":"在-react-或-vue-中使用","link":"#在-react-或-vue-中使用","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/browser.md"}');export{k as comp,v as data}; diff --git a/assets/bundle.html-D3Qb1ado.js b/assets/bundle.html-82AuDX26.js similarity index 96% rename from assets/bundle.html-D3Qb1ado.js rename to assets/bundle.html-82AuDX26.js index bbefa557f8..0d335eb6c9 100644 --- a/assets/bundle.html-D3Qb1ado.js +++ b/assets/bundle.html-82AuDX26.js @@ -1 +1 @@ -import{_ as s,r,o as a,c,a as d,d as o,w as n,b as e,e as l}from"./app-QyD7034V.js";const p={},u=l('

    Function: bundle()

    bundle(options): Promise<Output>

    Parameters

    options

    options.externalModules?: string[]

    has excluded node builtin modules

    options.filename: string

    options.jscTarget?: JscTarget

    default: es2019

    options.root?: string

    default: process.cwd()

    Returns

    Promise<Output>

    ',13);function i(m,h){const t=r("RouteLink");return a(),c("div",null,[d("p",null,[o(t,{to:"/doc/ts-transform/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ts-transform/"},{default:n(()=>[e("@faasjs/ts-transform")]),_:1}),e(" / bundle")]),u])}const g=s(p,[["render",i],["__file","bundle.html.vue"]]),_=JSON.parse('{"path":"/doc/ts-transform/functions/bundle.html","title":"Function: bundle()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/functions/bundle.md"}');export{g as comp,_ as data}; +import{_ as s,r,o as a,c,a as d,d as o,w as n,b as e,e as l}from"./app-COoiSelr.js";const p={},u=l('

    Function: bundle()

    bundle(options): Promise<Output>

    Parameters

    options

    options.externalModules?: string[]

    has excluded node builtin modules

    options.filename: string

    options.jscTarget?: JscTarget

    default: es2019

    options.root?: string

    default: process.cwd()

    Returns

    Promise<Output>

    ',13);function i(m,h){const t=r("RouteLink");return a(),c("div",null,[d("p",null,[o(t,{to:"/doc/ts-transform/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/ts-transform/"},{default:n(()=>[e("@faasjs/ts-transform")]),_:1}),e(" / bundle")]),u])}const g=s(p,[["render",i],["__file","bundle.html.vue"]]),_=JSON.parse('{"path":"/doc/ts-transform/functions/bundle.html","title":"Function: bundle()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/functions/bundle.md"}');export{g as comp,_ as data}; diff --git a/assets/cli.html-BYfTLM_1.js b/assets/cli.html-CZaYD4s1.js similarity index 95% rename from assets/cli.html-BYfTLM_1.js rename to assets/cli.html-CZaYD4s1.js index 2b511d60c1..b902a8a034 100644 --- a/assets/cli.html-BYfTLM_1.js +++ b/assets/cli.html-CZaYD4s1.js @@ -1,3 +1,3 @@ -import{_ as e,o as a,c as s,e as l}from"./app-QyD7034V.js";const n={},i=l(`

    @faasjs/cli

    发布

    将云函数发布到云服务商。

    命令

    faas deploy <env> [files...]
    +import{_ as e,o as a,c as s,e as l}from"./app-COoiSelr.js";const n={},i=l(`

    @faasjs/cli

    发布

    将云函数发布到云服务商。

    命令

    faas deploy <env> [files...]
     

    参数

    env

    发布环境名。

    files

    文件名或文件夹名,如果是文件夹名,会发布该文件夹下全部云函数。

    启动服务器

    • 支持 HTTP 请求模拟
    • 支持热加载云函数代码

    命令

    faas server [options]
    -

    参数

    -p

    端口号,默认为 3000

    -cache

    是否开启缓存,开启后不会热读取云函数源代码,默认为热读取

    -v

    是否显示 DEBUG 级别日志,默认不显示

    `,21),t=[i];function d(h,c){return a(),s("div",null,t)}const p=e(n,[["render",d],["__file","cli.html.vue"]]),o=JSON.parse('{"path":"/zh/doc/cli.html","title":"@faasjs/cli","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"发布","slug":"发布","link":"#发布","children":[{"level":3,"title":"命令","slug":"命令","link":"#命令","children":[]},{"level":3,"title":"参数","slug":"参数","link":"#参数","children":[]}]},{"level":2,"title":"启动服务器","slug":"启动服务器","link":"#启动服务器","children":[{"level":3,"title":"命令","slug":"命令-1","link":"#命令-1","children":[]},{"level":3,"title":"参数","slug":"参数-1","link":"#参数-1","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/cli.md"}');export{p as comp,o as data}; +

    参数

    -p

    端口号,默认为 3000

    -cache

    是否开启缓存,开启后不会热读取云函数源代码,默认为热读取

    -v

    是否显示 DEBUG 级别日志,默认不显示

    `,21),t=[i];function d(h,c){return a(),s("div",null,t)}const p=e(n,[["render",d],["__file","cli.html.vue"]]),o=JSON.parse('{"path":"/zh/doc/cli.html","title":"@faasjs/cli","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"发布","slug":"发布","link":"#发布","children":[{"level":3,"title":"命令","slug":"命令","link":"#命令","children":[]},{"level":3,"title":"参数","slug":"参数","link":"#参数","children":[]}]},{"level":2,"title":"启动服务器","slug":"启动服务器","link":"#启动服务器","children":[{"level":3,"title":"命令","slug":"命令-1","link":"#命令-1","children":[]},{"level":3,"title":"参数","slug":"参数-1","link":"#参数-1","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/cli.md"}');export{p as comp,o as data}; diff --git a/assets/closeAll.html-DSIvCxcZ.js b/assets/closeAll.html-WzC7I1Go.js similarity index 94% rename from assets/closeAll.html-DSIvCxcZ.js rename to assets/closeAll.html-WzC7I1Go.js index db7085120b..d2c63cbd11 100644 --- a/assets/closeAll.html-DSIvCxcZ.js +++ b/assets/closeAll.html-WzC7I1Go.js @@ -1 +1 @@ -import{_ as s,r as c,o as n,c as a,a as r,d as t,w as l,b as e,e as d}from"./app-QyD7034V.js";const i={},u=d('

    Function: closeAll()

    closeAll(): Promise<void>

    Returns

    Promise<void>

    ',4);function h(p,_){const o=c("RouteLink");return n(),a("div",null,[r("p",null,[t(o,{to:"/doc/server/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/server/"},{default:l(()=>[e("@faasjs/server")]),_:1}),e(" / closeAll")]),u])}const m=s(i,[["render",h],["__file","closeAll.html.vue"]]),v=JSON.parse('{"path":"/doc/server/functions/closeAll.html","title":"Function: closeAll()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/server/functions/closeAll.md"}');export{m as comp,v as data}; +import{_ as s,r as c,o as n,c as a,a as r,d as t,w as l,b as e,e as d}from"./app-COoiSelr.js";const i={},u=d('

    Function: closeAll()

    closeAll(): Promise<void>

    Returns

    Promise<void>

    ',4);function h(p,_){const o=c("RouteLink");return n(),a("div",null,[r("p",null,[t(o,{to:"/doc/server/"},{default:l(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/server/"},{default:l(()=>[e("@faasjs/server")]),_:1}),e(" / closeAll")]),u])}const m=s(i,[["render",h],["__file","closeAll.html.vue"]]),v=JSON.parse('{"path":"/doc/server/functions/closeAll.html","title":"Function: closeAll()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/server/functions/closeAll.md"}');export{m as comp,v as data}; diff --git a/assets/cloud_function.html-_zZBoJkm.js b/assets/cloud_function.html-MfbAty-X.js similarity index 98% rename from assets/cloud_function.html-_zZBoJkm.js rename to assets/cloud_function.html-MfbAty-X.js index e86aef2073..dd34cd6231 100644 --- a/assets/cloud_function.html-_zZBoJkm.js +++ b/assets/cloud_function.html-MfbAty-X.js @@ -1,4 +1,4 @@ -import{_ as a,r as e,o as t,c as o,a as n,b as c,d as i,e as p}from"./app-QyD7034V.js";const l={},r=p(`

    @faasjs/cloud_function

    FaasJS 内置插件,无需额外安装。

    配置参数

    • name string 云函数名字,默认为文件夹+文件名
    • memorySize number 内存,单位为 MB,默认为 128
    • timeout number 最大执行时长,单位为秒,默认为 30
    • triggers object 触发器配置
      • type string 触发器类型
      • name string 触发器名字
      • value string 触发器设置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobject
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个请求作为入参传入,将函数的返回值赋上
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    import { CloudFunction } from '@faasjs/cloud_function';
    +import{_ as a,r as e,o as t,c as o,a as n,b as c,d as i,e as p}from"./app-COoiSelr.js";const l={},r=p(`

    @faasjs/cloud_function

    FaasJS 内置插件,无需额外安装。

    配置参数

    • name string 云函数名字,默认为文件夹+文件名
    • memorySize number 内存,单位为 MB,默认为 128
    • timeout number 最大执行时长,单位为秒,默认为 30
    • triggers object 触发器配置
      • type string 触发器类型
      • name string 触发器名字
      • value string 触发器设置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobject
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个请求作为入参传入,将函数的返回值赋上
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    import { CloudFunction } from '@faasjs/cloud_function';
     
     const cf = new CloudFunction({
       validator: {
    @@ -37,4 +37,4 @@ import{_ as a,r as e,o as t,c as o,a as n,b as c,d as i,e as p}from"./app-QyD703
         return true;
       }
     });
    -

    Github 地址

    `,23),u={href:"https://github.com/faasjs/faasjs/tree/main/packages/cloud_function",target:"_blank",rel:"noopener noreferrer"};function d(k,v){const s=e("ExternalLinkIcon");return t(),o("div",null,[r,n("p",null,[n("a",u,[c("https://github.com/faasjs/faasjs/tree/main/packages/cloud_function"),i(s)])])])}const g=a(l,[["render",d],["__file","cloud_function.html.vue"]]),h=JSON.parse('{"path":"/zh/doc/cloud_function.html","title":"@faasjs/cloud_function","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[{"level":3,"title":"校验配置","slug":"校验配置","link":"#校验配置","children":[]}]},{"level":2,"title":"实例属性","slug":"实例属性","link":"#实例属性","children":[{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]}]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"invoke(action: string, params?: any): Promise","slug":"invoke-action-string-params-any-promise-any","link":"#invoke-action-string-params-any-promise-any","children":[]},{"level":3,"title":"invokeSync(action: string, params?: any): Promise","slug":"invokesync-action-string-params-any-promise-any","link":"#invokesync-action-string-params-any-promise-any","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/cloud_function.md"}');export{g as comp,h as data}; +

    Github 地址

    `,23),u={href:"https://github.com/faasjs/faasjs/tree/main/packages/cloud_function",target:"_blank",rel:"noopener noreferrer"};function d(k,v){const s=e("ExternalLinkIcon");return t(),o("div",null,[r,n("p",null,[n("a",u,[c("https://github.com/faasjs/faasjs/tree/main/packages/cloud_function"),i(s)])])])}const g=a(l,[["render",d],["__file","cloud_function.html.vue"]]),h=JSON.parse('{"path":"/zh/doc/cloud_function.html","title":"@faasjs/cloud_function","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[{"level":3,"title":"校验配置","slug":"校验配置","link":"#校验配置","children":[]}]},{"level":2,"title":"实例属性","slug":"实例属性","link":"#实例属性","children":[{"level":3,"title":"event","slug":"event","link":"#event","children":[]},{"level":3,"title":"context","slug":"context","link":"#context","children":[]}]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"invoke(action: string, params?: any): Promise","slug":"invoke-action-string-params-any-promise-any","link":"#invoke-action-string-params-any-promise-any","children":[]},{"level":3,"title":"invokeSync(action: string, params?: any): Promise","slug":"invokesync-action-string-params-any-promise-any","link":"#invokesync-action-string-params-any-promise-any","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/cloud_function.md"}');export{g as comp,h as data}; diff --git a/assets/create-faas-app.html-FX2Nc8fe.js b/assets/create-faas-app.html-CQHqUNRY.js similarity index 78% rename from assets/create-faas-app.html-FX2Nc8fe.js rename to assets/create-faas-app.html-CQHqUNRY.js index e5cfe1e7c1..d668f57adf 100644 --- a/assets/create-faas-app.html-FX2Nc8fe.js +++ b/assets/create-faas-app.html-CQHqUNRY.js @@ -1 +1 @@ -import{_ as e,o as t,c,a}from"./app-QyD7034V.js";const s={},r=a("h1",{id:"create-faas-app",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#create-faas-app"},[a("span",null,"create-faas-app")])],-1),p=a("p",null,"待补充",-1),o=[r,p];function n(l,_){return t(),c("div",null,o)}const h=e(s,[["render",n],["__file","create-faas-app.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/create-faas-app.html","title":"create-faas-app","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/create-faas-app.md"}');export{h as comp,f as data}; +import{_ as e,o as t,c,a}from"./app-COoiSelr.js";const s={},r=a("h1",{id:"create-faas-app",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#create-faas-app"},[a("span",null,"create-faas-app")])],-1),p=a("p",null,"待补充",-1),o=[r,p];function n(l,_){return t(),c("div",null,o)}const h=e(s,[["render",n],["__file","create-faas-app.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/create-faas-app.html","title":"create-faas-app","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/create-faas-app.md"}');export{h as comp,f as data}; diff --git a/assets/createSplitedContext.html-20IOHxTK.js b/assets/createSplitedContext.html-C0LS9EtS.js similarity index 99% rename from assets/createSplitedContext.html-20IOHxTK.js rename to assets/createSplitedContext.html-C0LS9EtS.js index eed3570b19..4a885d1e8b 100644 --- a/assets/createSplitedContext.html-20IOHxTK.js +++ b/assets/createSplitedContext.html-C0LS9EtS.js @@ -1,4 +1,4 @@ -import{_ as t,r as p,o,c,a as l,d as a,w as e,b as n,e as i}from"./app-QyD7034V.js";const u={},r=i(`

    Function: createSplitedContext()

    createSplitedContext<T>(defaultValue): Object

    Creates a splited context with the given default value.

    Type parameters

    T extends Record<string, any>

    The type of the default value.

    Parameters

    defaultValue: T

    The default value for the split context.

    Returns

    Object

    • An object containing the Provider and use functions.

    Provider()

    Provider: (props) => Element

    Parameters

    props

    props.children: ReactNode

    props.value: T

    Returns

    Element

    Provider.whyDidYouRender

    whyDidYouRender: boolean

    use()

    use: () => Readonly<T>

    Returns

    Readonly<T>

    use.whyDidYouRender

    whyDidYouRender: boolean

    Example

    const { Provider, use } = createSplitedContext({
    +import{_ as t,r as p,o,c,a as l,d as a,w as e,b as n,e as i}from"./app-COoiSelr.js";const u={},r=i(`

    Function: createSplitedContext()

    createSplitedContext<T>(defaultValue): Object

    Creates a splited context with the given default value.

    Type parameters

    T extends Record<string, any>

    The type of the default value.

    Parameters

    defaultValue: T

    The default value for the split context.

    Returns

    Object

    • An object containing the Provider and use functions.

    Provider()

    Provider: (props) => Element

    Parameters

    props

    props.children: ReactNode

    props.value: T

    Returns

    Element

    Provider.whyDidYouRender

    whyDidYouRender: boolean

    use()

    use: () => Readonly<T>

    Returns

    Readonly<T>

    use.whyDidYouRender

    whyDidYouRender: boolean

    Example

    const { Provider, use } = createSplitedContext({
       value: 0,
       setValue: (_: any) => {},
     })
    diff --git a/assets/db.html-CJDx81SV.js b/assets/db.html-CrMlNoaI.js
    similarity index 98%
    rename from assets/db.html-CJDx81SV.js
    rename to assets/db.html-CrMlNoaI.js
    index d19892d76f..f786ce93a5 100644
    --- a/assets/db.html-CJDx81SV.js
    +++ b/assets/db.html-CrMlNoaI.js
    @@ -1,4 +1,4 @@
    -import{_ as t,r as e,o as p,c as o,a as c,b as n,d as l,w as i,e as s}from"./app-QyD7034V.js";const u={},d=s(`

    数据库操作

    数据库插件没有内置在 faasjs 中,使用前需自行安装依赖。

    FaasJS 目前提供了三个数据库插件:

    • @faasjs/knex 基于 Knex 封装的云函数插件。
    • @faasjs/redis 支持 Redis。
    • @faasjs/mongo 支持 MongoDB。

    Redis 数据库操作示例

    import { Func } from '@faasjs/func';
    +import{_ as t,r as e,o as p,c as o,a as c,b as n,d as l,w as i,e as s}from"./app-COoiSelr.js";const u={},d=s(`

    数据库操作

    数据库插件没有内置在 faasjs 中,使用前需自行安装依赖。

    FaasJS 目前提供了三个数据库插件:

    • @faasjs/knex 基于 Knex 封装的云函数插件。
    • @faasjs/redis 支持 Redis。
    • @faasjs/mongo 支持 MongoDB。

    Redis 数据库操作示例

    import { Func } from '@faasjs/func';
     import { Redis } from '@faasjs/redis';
     
     const redis = new Redis();
    @@ -20,4 +20,4 @@ import{_ as t,r as e,o as p,c as o,a as c,b as n,d as l,w as i,e as s}from"./app
         return await mongo.collection('test').find().toArray(); // 查询数据库
       }
     });
    -
    `,2);function k(m,v){const a=e("RouteLink");return p(),o("div",null,[d,c("p",null,[n("详细文档见 "),l(a,{to:"/doc/redis.html"},{default:i(()=>[n("Redis 插件")]),_:1}),n("。")]),r])}const b=t(u,[["render",k],["__file","db.html.vue"]]),f=JSON.parse('{"path":"/zh/guide/excel/db.html","title":"数据库操作","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"Redis 数据库操作示例","slug":"redis-数据库操作示例","link":"#redis-数据库操作示例","children":[]},{"level":2,"title":"MongoDB 操作示例","slug":"mongodb-操作示例","link":"#mongodb-操作示例","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/db.md"}');export{b as comp,f as data}; +
    `,2);function k(m,v){const a=e("RouteLink");return p(),o("div",null,[d,c("p",null,[n("详细文档见 "),l(a,{to:"/doc/redis.html"},{default:i(()=>[n("Redis 插件")]),_:1}),n("。")]),r])}const b=t(u,[["render",k],["__file","db.html.vue"]]),f=JSON.parse('{"path":"/zh/guide/excel/db.html","title":"数据库操作","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"Redis 数据库操作示例","slug":"redis-数据库操作示例","link":"#redis-数据库操作示例","children":[]},{"level":2,"title":"MongoDB 操作示例","slug":"mongodb-操作示例","link":"#mongodb-操作示例","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/db.md"}');export{b as comp,f as data}; diff --git a/assets/deepMerge.html-C7-qc4kS.js b/assets/deepMerge.html-BnSp1IIm.js similarity index 97% rename from assets/deepMerge.html-C7-qc4kS.js rename to assets/deepMerge.html-BnSp1IIm.js index c11a8e8258..61e7b064cf 100644 --- a/assets/deepMerge.html-C7-qc4kS.js +++ b/assets/deepMerge.html-BnSp1IIm.js @@ -1,3 +1,3 @@ -import{_ as t,r as o,o as p,c,a as r,d as a,w as s,b as e,e as l}from"./app-QyD7034V.js";const i={},u=l(`

    Function: deepMerge()

    deepMerge(...sources): any

    Deep merge two objects or arrays.

    Features:

    • All objects will be cloned before merging.
    • Merging order is from right to left.
    • If an array include same objects, it will be unique to one.
    deepMerge({ a: 1 }, { a: 2 }) // { a: 2 }
    +import{_ as t,r as o,o as p,c,a as r,d as a,w as s,b as e,e as l}from"./app-COoiSelr.js";const i={},u=l(`

    Function: deepMerge()

    deepMerge(...sources): any

    Deep merge two objects or arrays.

    Features:

    • All objects will be cloned before merging.
    • Merging order is from right to left.
    • If an array include same objects, it will be unique to one.
    deepMerge({ a: 1 }, { a: 2 }) // { a: 2 }
     deepMerge([1, 2], [2, 3]) // [1, 2, 3]
     

    Parameters

    • ...sources: any[]

    Returns

    any

    `,10);function d(m,k){const n=o("RouteLink");return p(),c("div",null,[r("p",null,[a(n,{to:"/doc/deep_merge/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),a(n,{to:"/doc/deep_merge/"},{default:s(()=>[e("@faasjs/deep_merge")]),_:1}),e(" / deepMerge")]),u])}const h=t(i,[["render",d],["__file","deepMerge.html.vue"]]),f=JSON.parse('{"path":"/doc/deep_merge/functions/deepMerge.html","title":"Function: deepMerge()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/deep_merge/functions/deepMerge.md"}');export{h as comp,f as data}; diff --git a/assets/deep_merge.html-IUrz-IsC.js b/assets/deep_merge.html-BkNH8nEW.js similarity index 78% rename from assets/deep_merge.html-IUrz-IsC.js rename to assets/deep_merge.html-BkNH8nEW.js index 752e682fa6..a201d6b552 100644 --- a/assets/deep_merge.html-IUrz-IsC.js +++ b/assets/deep_merge.html-BkNH8nEW.js @@ -1 +1 @@ -import{_ as a,o as t,c as s,a as e}from"./app-QyD7034V.js";const r={},d=e("h1",{id:"faasjs-deep-merge",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deep-merge"},[e("span",null,"@faasjs/deep_merge")])],-1),o=e("p",null,"待补充",-1),_=[d,o];function c(n,m){return t(),s("div",null,_)}const p=a(r,[["render",c],["__file","deep_merge.html.vue"]]),h=JSON.parse('{"path":"/zh/doc/deep_merge.html","title":"@faasjs/deep_merge","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/deep_merge.md"}');export{p as comp,h as data}; +import{_ as a,o as t,c as s,a as e}from"./app-COoiSelr.js";const r={},d=e("h1",{id:"faasjs-deep-merge",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deep-merge"},[e("span",null,"@faasjs/deep_merge")])],-1),o=e("p",null,"待补充",-1),_=[d,o];function c(n,m){return t(),s("div",null,_)}const p=a(r,[["render",c],["__file","deep_merge.html.vue"]]),h=JSON.parse('{"path":"/zh/doc/deep_merge.html","title":"@faasjs/deep_merge","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/deep_merge.md"}');export{p as comp,h as data}; diff --git a/assets/deployer.html-DXxWcR9B.js b/assets/deployer.html-DgHuaxi6.js similarity index 77% rename from assets/deployer.html-DXxWcR9B.js rename to assets/deployer.html-DgHuaxi6.js index 7e2041f0ba..8d90f1636d 100644 --- a/assets/deployer.html-DXxWcR9B.js +++ b/assets/deployer.html-DgHuaxi6.js @@ -1 +1 @@ -import{_ as a,o as t,c as o,a as e}from"./app-QyD7034V.js";const s={},r=e("h1",{id:"faasjs-deployer",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deployer"},[e("span",null,"@faasjs/deployer")])],-1),l=e("p",null,"待补充",-1),d=[r,l];function c(n,p){return t(),o("div",null,d)}const h=a(s,[["render",c],["__file","deployer.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/deployer.html","title":"@faasjs/deployer","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/deployer.md"}');export{h as comp,i as data}; +import{_ as a,o as t,c as o,a as e}from"./app-COoiSelr.js";const s={},r=e("h1",{id:"faasjs-deployer",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deployer"},[e("span",null,"@faasjs/deployer")])],-1),l=e("p",null,"待补充",-1),d=[r,l];function c(n,p){return t(),o("div",null,d)}const h=a(s,[["render",c],["__file","deployer.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/deployer.html","title":"@faasjs/deployer","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/deployer.md"}');export{h as comp,i as data}; diff --git a/assets/develop.html-CGnMGmmO.js b/assets/develop.html-B5qW0_Y-.js similarity index 88% rename from assets/develop.html-CGnMGmmO.js rename to assets/develop.html-B5qW0_Y-.js index 1a16a04042..1b664739db 100644 --- a/assets/develop.html-CGnMGmmO.js +++ b/assets/develop.html-B5qW0_Y-.js @@ -1 +1 @@ -import{_ as l,o as t,c as o,a as e}from"./app-QyD7034V.js";const n={},a=e("h1",{id:"开发插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开发插件"},[e("span",null,"开发插件")])],-1),s=e("h2",{id:"插件的生命周期",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#插件的生命周期"},[e("span",null,"插件的生命周期")])],-1),c=e("p",null,"插件的生命周期是围绕云函数进行的,分以下几个步骤:",-1),d=e("ol",null,[e("li",null,"Deploy 部署"),e("li",null,"Mount 启动"),e("li",null,"Invoke 执行")],-1),i=e("p",null,"FaasJS 采用洋葱圈的模式来为插件提供 Hook。",-1),h=[a,s,c,d,i];function _(r,p){return t(),o("div",null,h)}const m=l(n,[["render",_],["__file","develop.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/develop.html","title":"开发插件","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"插件的生命周期","slug":"插件的生命周期","link":"#插件的生命周期","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/develop.md"}');export{m as comp,f as data}; +import{_ as l,o as t,c as o,a as e}from"./app-COoiSelr.js";const n={},a=e("h1",{id:"开发插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开发插件"},[e("span",null,"开发插件")])],-1),s=e("h2",{id:"插件的生命周期",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#插件的生命周期"},[e("span",null,"插件的生命周期")])],-1),c=e("p",null,"插件的生命周期是围绕云函数进行的,分以下几个步骤:",-1),d=e("ol",null,[e("li",null,"Deploy 部署"),e("li",null,"Mount 启动"),e("li",null,"Invoke 执行")],-1),i=e("p",null,"FaasJS 采用洋葱圈的模式来为插件提供 Hook。",-1),h=[a,s,c,d,i];function _(r,p){return t(),o("div",null,h)}const m=l(n,[["render",_],["__file","develop.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/develop.html","title":"开发插件","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"插件的生命周期","slug":"插件的生命周期","link":"#插件的生命周期","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/develop.md"}');export{m as comp,f as data}; diff --git a/assets/env.html-CzaaPnvY.js b/assets/env.html-EFpzYI7T.js similarity index 89% rename from assets/env.html-CzaaPnvY.js rename to assets/env.html-EFpzYI7T.js index d942215814..a6b560643e 100644 --- a/assets/env.html-CzaaPnvY.js +++ b/assets/env.html-EFpzYI7T.js @@ -1 +1 @@ -import{_ as e,o as a,c as s,e as n}from"./app-QyD7034V.js";const o={},c=n('

    环境变量

    FaasEnv

    运行环境,根据 faas.yaml 中的配置生成。

    developmenttesting 等。

    可以通过 process.env.FaasEnv 读取。

    FaasLog

    日志等级,线上默认为 debug,本地默认为 info

    可以通过 process.env.FaasLog 读取。

    ',8),t=[c];function d(l,h){return a(),s("div",null,t)}const r=e(o,[["render",d],["__file","env.html.vue"]]),p=JSON.parse('{"path":"/zh/guide/excel/env.html","title":"环境变量","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"FaasEnv","slug":"faasenv","link":"#faasenv","children":[]},{"level":2,"title":"FaasLog","slug":"faaslog","link":"#faaslog","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/env.md"}');export{r as comp,p as data}; +import{_ as e,o as a,c as s,e as n}from"./app-COoiSelr.js";const o={},c=n('

    环境变量

    FaasEnv

    运行环境,根据 faas.yaml 中的配置生成。

    developmenttesting 等。

    可以通过 process.env.FaasEnv 读取。

    FaasLog

    日志等级,线上默认为 debug,本地默认为 info

    可以通过 process.env.FaasLog 读取。

    ',8),t=[c];function d(l,h){return a(),s("div",null,t)}const r=e(o,[["render",d],["__file","env.html.vue"]]),p=JSON.parse('{"path":"/zh/guide/excel/env.html","title":"环境变量","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"FaasEnv","slug":"faasenv","link":"#faasenv","children":[]},{"level":2,"title":"FaasLog","slug":"faaslog","link":"#faaslog","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/env.md"}');export{r as comp,p as data}; diff --git a/assets/faas-yaml.html-CloTcMGt.js b/assets/faas-yaml.html-BR4pc1JS.js similarity index 98% rename from assets/faas-yaml.html-CloTcMGt.js rename to assets/faas-yaml.html-BR4pc1JS.js index 7d89c7e0e4..f75c49c79e 100644 --- a/assets/faas-yaml.html-CloTcMGt.js +++ b/assets/faas-yaml.html-BR4pc1JS.js @@ -1,4 +1,4 @@ -import{_ as a,o as n,c as s,e}from"./app-QyD7034V.js";const l={},t=e(`

    faas.yaml

    为了灵活高效的处理简单应用和复杂应用的配置,FaasJS 采用了递归式的配置方式。

    文件名

    配置文件的名字统一为 faas.yaml

    读取顺序

    当编译云函数文件时,会从云函数所在在文件夹开始,逐级向外寻找配置文件并合并配置,合并配置的优先级也以云函数所在文件夹的配置文件为最高优先级。

    比如下面的文件结构:| 表示文件夹,- 表示文件

    | root
    +import{_ as a,o as n,c as s,e}from"./app-COoiSelr.js";const l={},t=e(`

    faas.yaml

    为了灵活高效的处理简单应用和复杂应用的配置,FaasJS 采用了递归式的配置方式。

    文件名

    配置文件的名字统一为 faas.yaml

    读取顺序

    当编译云函数文件时,会从云函数所在在文件夹开始,逐级向外寻找配置文件并合并配置,合并配置的优先级也以云函数所在文件夹的配置文件为最高优先级。

    比如下面的文件结构:| 表示文件夹,- 表示文件

    | root
       - faas.yaml
       | user
         - faas.yaml
    @@ -29,4 +29,4 @@ import{_ as a,o as n,c as s,e}from"./app-QyD7034V.js";const l={},t=e(`

    type: mysql config: host: 127.0.0.1 -

    `,29),i=[t];function c(p,o){return n(),s("div",null,i)}const d=a(l,[["render",c],["__file","faas-yaml.html.vue"]]),u=JSON.parse('{"path":"/zh/guide/excel/faas-yaml.html","title":"faas.yaml","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"文件名","slug":"文件名","link":"#文件名","children":[]},{"level":2,"title":"读取顺序","slug":"读取顺序","link":"#读取顺序","children":[]},{"level":2,"title":"节点说明","slug":"节点说明","link":"#节点说明","children":[{"level":3,"title":"一级节点:环境节点","slug":"一级节点-环境节点","link":"#一级节点-环境节点","children":[]},{"level":3,"title":"二级节点:服务商、插件 & 部署节点","slug":"二级节点-服务商、插件-部署节点","link":"#二级节点-服务商、插件-部署节点","children":[]},{"level":3,"title":"三级节点:具体配置","slug":"三级节点-具体配置","link":"#三级节点-具体配置","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/faas-yaml.md"}');export{d as comp,u as data}; +
    `,29),i=[t];function c(p,o){return n(),s("div",null,i)}const d=a(l,[["render",c],["__file","faas-yaml.html.vue"]]),u=JSON.parse('{"path":"/zh/guide/excel/faas-yaml.html","title":"faas.yaml","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"文件名","slug":"文件名","link":"#文件名","children":[]},{"level":2,"title":"读取顺序","slug":"读取顺序","link":"#读取顺序","children":[]},{"level":2,"title":"节点说明","slug":"节点说明","link":"#节点说明","children":[{"level":3,"title":"一级节点:环境节点","slug":"一级节点-环境节点","link":"#一级节点-环境节点","children":[]},{"level":3,"title":"二级节点:服务商、插件 & 部署节点","slug":"二级节点-服务商、插件-部署节点","link":"#二级节点-服务商、插件-部署节点","children":[]},{"level":3,"title":"三级节点:具体配置","slug":"三级节点-具体配置","link":"#三级节点-具体配置","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/faas-yaml.md"}');export{d as comp,u as data}; diff --git a/assets/faas.html-CQhaggnX.js b/assets/faas.html-B1EbmFrd.js similarity index 98% rename from assets/faas.html-CQhaggnX.js rename to assets/faas.html-B1EbmFrd.js index c48e144e91..279f60b451 100644 --- a/assets/faas.html-CQhaggnX.js +++ b/assets/faas.html-B1EbmFrd.js @@ -1,4 +1,4 @@ -import{_ as t,r as o,o as c,c as p,a as r,d as e,w as n,b as a,e as l}from"./app-QyD7034V.js";const i={},d=l(`

    Function: faas()

    faas<PathOrData>(action, params): Promise<Response<FaasData<PathOrData>>>

    Request faas server

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    params: FaasParams<PathOrData>

    {object} action params

    Returns

    Promise<Response<FaasData<PathOrData>>>

    Example

    faas<{ title: string }>('post/get', { id: 1 }).then(res => {
    +import{_ as t,r as o,o as c,c as p,a as r,d as e,w as n,b as a,e as l}from"./app-COoiSelr.js";const i={},d=l(`

    Function: faas()

    faas<PathOrData>(action, params): Promise<Response<FaasData<PathOrData>>>

    Request faas server

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    params: FaasParams<PathOrData>

    {object} action params

    Returns

    Promise<Response<FaasData<PathOrData>>>

    Example

    faas<{ title: string }>('post/get', { id: 1 }).then(res => {
       console.log(res.data.title)
     })
     
    `,14);function u(m,h){const s=o("RouteLink");return c(),p("div",null,[r("p",null,[e(s,{to:"/doc/ant-design/"},{default:n(()=>[a("Documents")]),_:1}),a(" / "),e(s,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1}),a(" / faas")]),d])}const k=t(i,[["render",u],["__file","faas.html.vue"]]),f=JSON.parse('{"path":"/doc/ant-design/functions/faas.html","title":"Function: faas()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/faas.md"}');export{k as comp,f as data}; diff --git a/assets/faas.html-DjtS_eQV.js b/assets/faas.html-BLd-7SJZ.js similarity index 98% rename from assets/faas.html-DjtS_eQV.js rename to assets/faas.html-BLd-7SJZ.js index 3d977d56f1..36b54539d5 100644 --- a/assets/faas.html-DjtS_eQV.js +++ b/assets/faas.html-BLd-7SJZ.js @@ -1,4 +1,4 @@ -import{_ as c,r as l,o as p,c as r,a,d as e,w as t,b as s,e as o}from"./app-QyD7034V.js";const i={},d=a("h1",{id:"function-faas",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#function-faas"},[a("span",null,"Function: faas()")])],-1),u=a("strong",null,"faas",-1),h=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),m=a("code",null,"params",-1),f=a("code",null,"Promise",-1),k=a("code",null,"Response",-1),g=a("code",null,"FaasData",-1),v=a("code",null,"PathOrData",-1),x=o('

    Request faas server

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    ',6),b=a("strong",null,"params",-1),P=a("code",null,"FaasParams",-1),y=a("code",null,"PathOrData",-1),D=a("p",null,"{object} action params",-1),R=a("h2",{id:"returns",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns"},[a("span",null,"Returns")])],-1),F=a("code",null,"Promise",-1),O=a("code",null,"Response",-1),N=a("code",null,"FaasData",-1),T=a("code",null,"PathOrData",-1),V=o(`

    Example

    faas<{ title: string }>('post/get', { id: 1 }).then(res => {
    +import{_ as c,r as l,o as p,c as r,a,d as e,w as t,b as s,e as o}from"./app-COoiSelr.js";const i={},d=a("h1",{id:"function-faas",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#function-faas"},[a("span",null,"Function: faas()")])],-1),u=a("strong",null,"faas",-1),h=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),m=a("code",null,"params",-1),f=a("code",null,"Promise",-1),k=a("code",null,"Response",-1),g=a("code",null,"FaasData",-1),v=a("code",null,"PathOrData",-1),x=o('

    Request faas server

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    ',6),b=a("strong",null,"params",-1),P=a("code",null,"FaasParams",-1),y=a("code",null,"PathOrData",-1),D=a("p",null,"{object} action params",-1),R=a("h2",{id:"returns",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns"},[a("span",null,"Returns")])],-1),F=a("code",null,"Promise",-1),O=a("code",null,"Response",-1),N=a("code",null,"FaasData",-1),T=a("code",null,"PathOrData",-1),V=o(`

    Example

    faas<{ title: string }>('post/get', { id: 1 }).then(res => {
       console.log(res.data.title)
     })
     
    `,2);function B(E,j){const n=l("RouteLink");return p(),r("div",null,[a("p",null,[e(n,{to:"/doc/react/"},{default:t(()=>[s("Documents")]),_:1}),s(" / "),e(n,{to:"/doc/react/"},{default:t(()=>[s("@faasjs/react")]),_:1}),s(" / faas")]),d,a("blockquote",null,[a("p",null,[u,s("<"),h,s(">("),_,s(", "),m,s("): "),f,s("<"),e(n,{to:"/doc/react/classes/Response.html"},{default:t(()=>[k]),_:1}),s("<"),e(n,{to:"/doc/react/type-aliases/FaasData.html"},{default:t(()=>[g]),_:1}),s("<"),v,s(">>>")])]),x,a("p",null,[s("• "),b,s(": "),e(n,{to:"/doc/react/type-aliases/FaasParams.html"},{default:t(()=>[P]),_:1}),s("<"),y,s(">")]),D,R,a("p",null,[F,s("<"),e(n,{to:"/doc/react/classes/Response.html"},{default:t(()=>[O]),_:1}),s("<"),e(n,{to:"/doc/react/type-aliases/FaasData.html"},{default:t(()=>[N]),_:1}),s("<"),T,s(">>>")]),V])}const w=c(i,[["render",B],["__file","faas.html.vue"]]),C=JSON.parse('{"path":"/doc/react/functions/faas.html","title":"Function: faas()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/functions/faas.md"}');export{w as comp,C as data}; diff --git a/assets/func.html-BYKTLKTW.js b/assets/func.html-JDnNCLCP.js similarity index 95% rename from assets/func.html-BYKTLKTW.js rename to assets/func.html-JDnNCLCP.js index ae2c32b5d9..74c8e00c0a 100644 --- a/assets/func.html-BYKTLKTW.js +++ b/assets/func.html-JDnNCLCP.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e}from"./app-QyD7034V.js";const t={},c=e(`

    @faasjs/func

    FaasJS 的主体模块,用于初始化云函数。

    使用方法

    // 引入 useFunc 方法
    +import{_ as n,o as s,c as a,e}from"./app-COoiSelr.js";const t={},c=e(`

    @faasjs/func

    FaasJS 的主体模块,用于初始化云函数。

    使用方法

    // 引入 useFunc 方法
     import { useFunc } from '@faasjs/func'
     
     /**
    @@ -14,4 +14,4 @@ import{_ as n,o as s,c as a,e}from"./app-QyD7034V.js";const t={},c=e(`

    // 业务函数 } }) -

    `,4),i=[c];function l(p,o){return s(),a("div",null,i)}const u=n(t,[["render",l],["__file","func.html.vue"]]),r=JSON.parse('{"path":"/zh/doc/func.html","title":"@faasjs/func","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/func.md"}');export{u as comp,r as data}; +
    `,4),i=[c];function l(p,o){return s(),a("div",null,i)}const u=n(t,[["render",l],["__file","func.html.vue"]]),r=JSON.parse('{"path":"/zh/doc/func.html","title":"@faasjs/func","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/func.md"}');export{u as comp,r as data}; diff --git a/assets/generateId.html-CqklUDP1.js b/assets/generateId.html-B0TwAFbI.js similarity index 95% rename from assets/generateId.html-CqklUDP1.js rename to assets/generateId.html-B0TwAFbI.js index 53bb8c04a7..23d5a5d58c 100644 --- a/assets/generateId.html-CqklUDP1.js +++ b/assets/generateId.html-B0TwAFbI.js @@ -1 +1 @@ -import{_ as n,r as o,o as s,c,a as d,d as r,w as a,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Function: generateId()

    generateId(prefix?): string

    Generate random id

    Parameters

    prefix?: string

    prefix of id

    Returns

    string

    ',8);function u(h,f){const t=o("RouteLink");return s(),c("div",null,[d("p",null,[r(t,{to:"/doc/browser/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/browser/"},{default:a(()=>[e("@faasjs/browser")]),_:1}),e(" / generateId")]),p])}const m=n(l,[["render",u],["__file","generateId.html.vue"]]),_=JSON.parse('{"path":"/doc/browser/functions/generateId.html","title":"Function: generateId()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/functions/generateId.md"}');export{m as comp,_ as data}; +import{_ as n,r as o,o as s,c,a as d,d as r,w as a,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Function: generateId()

    generateId(prefix?): string

    Generate random id

    Parameters

    prefix?: string

    prefix of id

    Returns

    string

    ',8);function u(h,f){const t=o("RouteLink");return s(),c("div",null,[d("p",null,[r(t,{to:"/doc/browser/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/browser/"},{default:a(()=>[e("@faasjs/browser")]),_:1}),e(" / generateId")]),p])}const m=n(l,[["render",u],["__file","generateId.html.vue"]]),_=JSON.parse('{"path":"/doc/browser/functions/generateId.html","title":"Function: generateId()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/browser/functions/generateId.md"}');export{m as comp,_ as data}; diff --git a/assets/get.html-DaDhGJF8.js b/assets/get.html-cjagbX5F.js similarity index 96% rename from assets/get.html-DaDhGJF8.js rename to assets/get.html-cjagbX5F.js index 814f75ce7b..f2aefadfe9 100644 --- a/assets/get.html-DaDhGJF8.js +++ b/assets/get.html-cjagbX5F.js @@ -1 +1 @@ -import{_ as s,r as n,o,c,a as d,d as a,w as r,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: get()

    get<TResult>(key): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    key: string

    Returns

    Promise<TResult>

    ',8);function u(h,m){const t=n("RouteLink");return o(),c("div",null,[d("p",null,[a(t,{to:"/doc/redis/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/redis/"},{default:r(()=>[e("@faasjs/redis")]),_:1}),e(" / get")]),p])}const f=s(i,[["render",u],["__file","get.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/get.html","title":"Function: get()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/get.md"}');export{f as comp,_ as data}; +import{_ as s,r as n,o,c,a as d,d as a,w as r,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: get()

    get<TResult>(key): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    key: string

    Returns

    Promise<TResult>

    ',8);function u(h,m){const t=n("RouteLink");return o(),c("div",null,[d("p",null,[a(t,{to:"/doc/redis/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/redis/"},{default:r(()=>[e("@faasjs/redis")]),_:1}),e(" / get")]),p])}const f=s(i,[["render",u],["__file","get.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/get.html","title":"Function: get()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/get.md"}');export{f as comp,_ as data}; diff --git a/assets/getAll.html-CasKgeEf.js b/assets/getAll.html-BJH4fmK5.js similarity index 94% rename from assets/getAll.html-CasKgeEf.js rename to assets/getAll.html-BJH4fmK5.js index 85a9f79865..8689962248 100644 --- a/assets/getAll.html-CasKgeEf.js +++ b/assets/getAll.html-BJH4fmK5.js @@ -1 +1 @@ -import{_ as r,r as o,o as a,c,a as e,d as n,w as s,b as t}from"./app-QyD7034V.js";const d={},u=e("h1",{id:"function-getall",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-getall"},[e("span",null,"Function: getAll()")])],-1),i=e("strong",null,"getAll",-1),_=e("code",null,"Server",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("code",null,"Server",-1);function m(v,p){const l=o("RouteLink");return a(),c("div",null,[e("p",null,[n(l,{to:"/doc/server/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(l,{to:"/doc/server/"},{default:s(()=>[t("@faasjs/server")]),_:1}),t(" / getAll")]),u,e("blockquote",null,[e("p",null,[i,t("(): "),n(l,{to:"/doc/server/classes/Server.html"},{default:s(()=>[_]),_:1}),t("[]")])]),h,e("p",null,[n(l,{to:"/doc/server/classes/Server.html"},{default:s(()=>[f]),_:1}),t("[]")])])}const A=r(d,[["render",m],["__file","getAll.html.vue"]]),x=JSON.parse('{"path":"/doc/server/functions/getAll.html","title":"Function: getAll()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/server/functions/getAll.md"}');export{A as comp,x as data}; +import{_ as r,r as o,o as a,c,a as e,d as n,w as s,b as t}from"./app-COoiSelr.js";const d={},u=e("h1",{id:"function-getall",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-getall"},[e("span",null,"Function: getAll()")])],-1),i=e("strong",null,"getAll",-1),_=e("code",null,"Server",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("code",null,"Server",-1);function m(v,p){const l=o("RouteLink");return a(),c("div",null,[e("p",null,[n(l,{to:"/doc/server/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(l,{to:"/doc/server/"},{default:s(()=>[t("@faasjs/server")]),_:1}),t(" / getAll")]),u,e("blockquote",null,[e("p",null,[i,t("(): "),n(l,{to:"/doc/server/classes/Server.html"},{default:s(()=>[_]),_:1}),t("[]")])]),h,e("p",null,[n(l,{to:"/doc/server/classes/Server.html"},{default:s(()=>[f]),_:1}),t("[]")])])}const A=r(d,[["render",m],["__file","getAll.html.vue"]]),x=JSON.parse('{"path":"/doc/server/functions/getAll.html","title":"Function: getAll()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/server/functions/getAll.md"}');export{A as comp,x as data}; diff --git a/assets/getClient.html-CcvffiTk.js b/assets/getClient.html-z-WXdWdu.js similarity index 97% rename from assets/getClient.html-CcvffiTk.js rename to assets/getClient.html-z-WXdWdu.js index 26d621002e..440ca5413a 100644 --- a/assets/getClient.html-CcvffiTk.js +++ b/assets/getClient.html-z-WXdWdu.js @@ -1,4 +1,4 @@ -import{_ as l,r as c,o as i,c as o,a as e,d as a,w as s,b as t,e as r}from"./app-QyD7034V.js";const d={},u=e("h1",{id:"function-getclient",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-getclient"},[e("span",null,"Function: getClient()")])],-1),p=e("strong",null,"getClient",-1),h=e("code",null,"domain",-1),m=e("code",null,"FaasReactClientInstance",-1),_=e("p",null,"Get FaasReactClient instance",-1),g=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("p",null,[t("• "),e("strong",null,"domain?"),t(": "),e("code",null,"string")],-1),v=e("p",null,"{string} empty string for default domain",-1),C=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),k=e("code",null,"FaasReactClientInstance",-1),x=r(`

    Example

    getClient()
    +import{_ as l,r as c,o as i,c as o,a as e,d as a,w as s,b as t,e as r}from"./app-COoiSelr.js";const d={},u=e("h1",{id:"function-getclient",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-getclient"},[e("span",null,"Function: getClient()")])],-1),p=e("strong",null,"getClient",-1),h=e("code",null,"domain",-1),m=e("code",null,"FaasReactClientInstance",-1),_=e("p",null,"Get FaasReactClient instance",-1),g=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),f=e("p",null,[t("• "),e("strong",null,"domain?"),t(": "),e("code",null,"string")],-1),v=e("p",null,"{string} empty string for default domain",-1),C=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),k=e("code",null,"FaasReactClientInstance",-1),x=r(`

    Example

    getClient()
     // or
     getClient('another-domain')
     
    `,2);function b(R,F){const n=c("RouteLink");return i(),o("div",null,[e("p",null,[a(n,{to:"/doc/react/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/react/"},{default:s(()=>[t("@faasjs/react")]),_:1}),t(" / getClient")]),u,e("blockquote",null,[e("p",null,[p,t("("),h,t("?): "),a(n,{to:"/doc/react/type-aliases/FaasReactClientInstance.html"},{default:s(()=>[m]),_:1})])]),_,g,f,v,C,e("p",null,[a(n,{to:"/doc/react/type-aliases/FaasReactClientInstance.html"},{default:s(()=>[k]),_:1})]),x])}const N=l(d,[["render",b],["__file","getClient.html.vue"]]),I=JSON.parse('{"path":"/doc/react/functions/getClient.html","title":"Function: getClient()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/functions/getClient.md"}');export{N as comp,I as data}; diff --git a/assets/getJSON.html-YbulTGzu.js b/assets/getJSON.html-CjpSd_5i.js similarity index 96% rename from assets/getJSON.html-YbulTGzu.js rename to assets/getJSON.html-CjpSd_5i.js index 834ee0d9e5..a140265925 100644 --- a/assets/getJSON.html-YbulTGzu.js +++ b/assets/getJSON.html-CjpSd_5i.js @@ -1 +1 @@ -import{_ as r,r as n,o,c,a as d,d as a,w as s,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: getJSON()

    getJSON<TResult>(key): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    key: string

    Returns

    Promise<TResult>

    ',8);function u(h,m){const t=n("RouteLink");return o(),c("div",null,[d("p",null,[a(t,{to:"/doc/redis/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/redis/"},{default:s(()=>[e("@faasjs/redis")]),_:1}),e(" / getJSON")]),p])}const f=r(i,[["render",u],["__file","getJSON.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/getJSON.html","title":"Function: getJSON()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/getJSON.md"}');export{f as comp,_ as data}; +import{_ as r,r as n,o,c,a as d,d as a,w as s,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: getJSON()

    getJSON<TResult>(key): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    key: string

    Returns

    Promise<TResult>

    ',8);function u(h,m){const t=n("RouteLink");return o(),c("div",null,[d("p",null,[a(t,{to:"/doc/redis/"},{default:s(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/redis/"},{default:s(()=>[e("@faasjs/redis")]),_:1}),e(" / getJSON")]),p])}const f=r(i,[["render",u],["__file","getJSON.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/getJSON.html","title":"Function: getJSON()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/getJSON.md"}');export{f as comp,_ as data}; diff --git a/assets/http.html-BRSsZ52m.js b/assets/http.html-BMuMCmqF.js similarity index 99% rename from assets/http.html-BRSsZ52m.js rename to assets/http.html-BMuMCmqF.js index 3b57c31e42..c0fa94b430 100644 --- a/assets/http.html-BRSsZ52m.js +++ b/assets/http.html-BMuMCmqF.js @@ -1,4 +1,4 @@ -import{_ as i,r as t,o as l,c as r,a as n,b as s,d as a,w as o,e as p}from"./app-QyD7034V.js";const d={},u=n("h1",{id:"faasjs-http",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-http"},[n("span",null,"@faasjs/http")])],-1),k=n("p",null,"FaasJS 内置插件,无需额外安装。",-1),h=n("p",null,"Http 插件可以使云函数能够接收和处理网络请求。",-1),v=n("p",null,"同时还提供 cookie 和基于 cookie 的 seesion 功能。",-1),g=p(`

    配置参数

    • method string 英文大写的方法名,默认为 POST
    • timeout number 超时时间,单位为秒,默认为 30
    • cookie object cookie 配置项
      • domain string 域名
      • path string 路径,默认为 /
      • expires number 过期时间,默认为 31536000(365天)
      • secure boolean 是否为 secure,默认为 true
      • httpOnly boolean 是否为 httpOnly,默认为 true
      • sameSite string 支持 StrictLaxNone
      • session object session 配置项,必须配置 keysecret 才能启用session 功能
        • key string cookie 中保存 session 信息的 key
        • secret string 加密 session 信息的密钥
        • salt string 加密用的 salt,默认为 salt
        • signedSalt string 加密用的 signedSalt,默认为 signedSalt
        • keylen number 加密用的 keylen,默认为 64
        • iterations number 加密用的 iterations,默认为 100
        • digest string 加密用的 digest,默认为 sha256
        • cipherName string 加密用的 cipherName,默认为 aes-256-cbc

    入参校验

    除了标准的配置参数外,Http 插件还支持入参校验功能。

    配置项

    • params object body 校验配置
    • cookie object cookie 校验配置
    • session object session 校验配置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • onError function 自定义报错信息,函数入参为 type: string, key: string | string[], value?: any
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobjectcookie 不支持此规则
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个 params 作为入参传入,将函数的返回值赋上,cookie 和 session 不支持此规则
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    简单校验

    import { Http } from '@faasjs/http';
    +import{_ as i,r as t,o as l,c as r,a as n,b as s,d as a,w as o,e as p}from"./app-COoiSelr.js";const d={},u=n("h1",{id:"faasjs-http",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-http"},[n("span",null,"@faasjs/http")])],-1),k=n("p",null,"FaasJS 内置插件,无需额外安装。",-1),h=n("p",null,"Http 插件可以使云函数能够接收和处理网络请求。",-1),v=n("p",null,"同时还提供 cookie 和基于 cookie 的 seesion 功能。",-1),g=p(`

    配置参数

    • method string 英文大写的方法名,默认为 POST
    • timeout number 超时时间,单位为秒,默认为 30
    • cookie object cookie 配置项
      • domain string 域名
      • path string 路径,默认为 /
      • expires number 过期时间,默认为 31536000(365天)
      • secure boolean 是否为 secure,默认为 true
      • httpOnly boolean 是否为 httpOnly,默认为 true
      • sameSite string 支持 StrictLaxNone
      • session object session 配置项,必须配置 keysecret 才能启用session 功能
        • key string cookie 中保存 session 信息的 key
        • secret string 加密 session 信息的密钥
        • salt string 加密用的 salt,默认为 salt
        • signedSalt string 加密用的 signedSalt,默认为 signedSalt
        • keylen number 加密用的 keylen,默认为 64
        • iterations number 加密用的 iterations,默认为 100
        • digest string 加密用的 digest,默认为 sha256
        • cipherName string 加密用的 cipherName,默认为 aes-256-cbc

    入参校验

    除了标准的配置参数外,Http 插件还支持入参校验功能。

    配置项

    • params object body 校验配置
    • cookie object cookie 校验配置
    • session object session 校验配置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • onError function 自定义报错信息,函数入参为 type: string, key: string | string[], value?: any
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobjectcookie 不支持此规则
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个 params 作为入参传入,将函数的返回值赋上,cookie 和 session 不支持此规则
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    简单校验

    import { Http } from '@faasjs/http';
     
     const http = new Http({
       validator: {
    @@ -100,4 +100,4 @@ import{_ as i,r as t,o as l,c as r,a as n,b as s,d as a,w as o,e as p}from"./app
         return http.cookie!.read('key'); // 读取 cookie 中的值
       }
     });
    -

    常见问题

    Path 自动生成的规则是什么?

    Path 会按照文件夹和文件名自动生成,并会去掉 Path 的第一级文件夹的名字和最后的 /index

    如:

    funcs/product/show.func.ts => /product/show

    funcs/product/index.func.ts => /product

    为什么不允许配置 path?

    不允许配置 Path 是为了保证所有云函数文件的目录位置与网关的 Path 完全对应,便于后期维护迭代。

    多个网关如何配置?

    在 faas.yaml 中,可以配置不同的网关,在云函数中初始化插件时,将配置名传入即可。

    若一个云函数需要接收多个网关的请求,可以创建多个插件实例,部署时会逐一部署。

    Github 地址

    `,54),m={href:"https://github.com/faasjs/faasjs/tree/main/packages/http",target:"_blank",rel:"noopener noreferrer"};function y(f,w){const e=t("RouteLink"),c=t("ExternalLinkIcon");return l(),r("div",null,[u,k,h,v,n("p",null,[s("此外,强烈建议按 "),a(e,{to:"/guide/request-spec.html"},{default:o(()=>[s("FaasJS 请求规范")]),_:1}),s(" 进行网络通讯。")]),g,n("p",null,[s("为了符合 "),a(e,{to:"/guide/request-spec.html"},{default:o(()=>[s("FaasJS 请求规范")]),_:1}),s(",Http 插件会对 handler 的返回值进行特殊处理。规则为:")]),b,n("p",null,[n("a",m,[s("https://github.com/faasjs/faasjs/tree/main/packages/http"),a(c)])])])}const j=i(d,[["render",y],["__file","http.html.vue"]]),_=JSON.parse(`{"path":"/zh/doc/http.html","title":"@faasjs/http","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[]},{"level":2,"title":"入参校验","slug":"入参校验","link":"#入参校验","children":[{"level":3,"title":"配置项","slug":"配置项","link":"#配置项","children":[]},{"level":3,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[]}]},{"level":2,"title":"云函数 handler 返回值的处理","slug":"云函数-handler-返回值的处理","link":"#云函数-handler-返回值的处理","children":[{"level":3,"title":"自动添加 headers 和 statusCode","slug":"自动添加-headers-和-statuscode","link":"#自动添加-headers-和-statuscode","children":[]},{"level":3,"title":"正常返回的值会被自动包裹在 data 字段中","slug":"正常返回的值会被自动包裹在-data-字段中","link":"#正常返回的值会被自动包裹在-data-字段中","children":[]},{"level":3,"title":"抛异常时会自动返回 error 字段","slug":"抛异常时会自动返回-error-字段","link":"#抛异常时会自动返回-error-字段","children":[]}]},{"level":2,"title":"实例属性","slug":"实例属性","link":"#实例属性","children":[{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"cookie","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"session","slug":"session","link":"#session","children":[]}]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"setHeader (key: string, value: any): Http","slug":"setheader-key-string-value-any-http","link":"#setheader-key-string-value-any-http","children":[]},{"level":3,"title":"setContentType (type: string, charset: string = 'utf-8'): Http","slug":"setcontenttype-type-string-charset-string-utf-8-http","link":"#setcontenttype-type-string-charset-string-utf-8-http","children":[]},{"level":3,"title":"setStatusCode (code: number): Http","slug":"setstatuscode-code-number-http","link":"#setstatuscode-code-number-http","children":[]},{"level":3,"title":"setBody (body: string): Http","slug":"setbody-body-string-http","link":"#setbody-body-string-http","children":[]}]},{"level":2,"title":"Cookie 实例方法","slug":"cookie-实例方法","link":"#cookie-实例方法","children":[{"level":3,"title":"read(key: string): string?","slug":"read-key-string-string","link":"#read-key-string-string","children":[]},{"level":3,"title":"write(key: string, value: any, opts?: {domain?: string; path?: string; expires?: number | string; secure?: boolean; httpOnly?: boolean;}): Cookie","slug":"write-key-string-value-any-opts-domain-string-path-string-expires-number-string-secure-boolean-httponly-boolean-cookie","link":"#write-key-string-value-any-opts-domain-string-path-string-expires-number-string-secure-boolean-httponly-boolean-cookie","children":[]}]},{"level":2,"title":"Session 实例方法","slug":"session-实例方法","link":"#session-实例方法","children":[{"level":3,"title":"read(key: string): any","slug":"read-key-string-any","link":"#read-key-string-any","children":[]},{"level":3,"title":"write(key: string, value?: any): Session","slug":"write-key-string-value-any-session","link":"#write-key-string-value-any-session","children":[]},{"level":3,"title":"encode(text: any): string","slug":"encode-text-any-string","link":"#encode-text-any-string","children":[]},{"level":3,"title":"decode(text: string): object","slug":"decode-text-string-object","link":"#decode-text-string-object","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[{"level":3,"title":"Path 自动生成的规则是什么?","slug":"path-自动生成的规则是什么","link":"#path-自动生成的规则是什么","children":[]},{"level":3,"title":"为什么不允许配置 path?","slug":"为什么不允许配置-path","link":"#为什么不允许配置-path","children":[]},{"level":3,"title":"多个网关如何配置?","slug":"多个网关如何配置","link":"#多个网关如何配置","children":[]}]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/http.md"}`);export{j as comp,_ as data}; +

    常见问题

    Path 自动生成的规则是什么?

    Path 会按照文件夹和文件名自动生成,并会去掉 Path 的第一级文件夹的名字和最后的 /index

    如:

    funcs/product/show.func.ts => /product/show

    funcs/product/index.func.ts => /product

    为什么不允许配置 path?

    不允许配置 Path 是为了保证所有云函数文件的目录位置与网关的 Path 完全对应,便于后期维护迭代。

    多个网关如何配置?

    在 faas.yaml 中,可以配置不同的网关,在云函数中初始化插件时,将配置名传入即可。

    若一个云函数需要接收多个网关的请求,可以创建多个插件实例,部署时会逐一部署。

    Github 地址

    `,54),m={href:"https://github.com/faasjs/faasjs/tree/main/packages/http",target:"_blank",rel:"noopener noreferrer"};function y(f,w){const e=t("RouteLink"),c=t("ExternalLinkIcon");return l(),r("div",null,[u,k,h,v,n("p",null,[s("此外,强烈建议按 "),a(e,{to:"/guide/request-spec.html"},{default:o(()=>[s("FaasJS 请求规范")]),_:1}),s(" 进行网络通讯。")]),g,n("p",null,[s("为了符合 "),a(e,{to:"/guide/request-spec.html"},{default:o(()=>[s("FaasJS 请求规范")]),_:1}),s(",Http 插件会对 handler 的返回值进行特殊处理。规则为:")]),b,n("p",null,[n("a",m,[s("https://github.com/faasjs/faasjs/tree/main/packages/http"),a(c)])])])}const j=i(d,[["render",y],["__file","http.html.vue"]]),_=JSON.parse(`{"path":"/zh/doc/http.html","title":"@faasjs/http","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[]},{"level":2,"title":"入参校验","slug":"入参校验","link":"#入参校验","children":[{"level":3,"title":"配置项","slug":"配置项","link":"#配置项","children":[]},{"level":3,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[]}]},{"level":2,"title":"云函数 handler 返回值的处理","slug":"云函数-handler-返回值的处理","link":"#云函数-handler-返回值的处理","children":[{"level":3,"title":"自动添加 headers 和 statusCode","slug":"自动添加-headers-和-statuscode","link":"#自动添加-headers-和-statuscode","children":[]},{"level":3,"title":"正常返回的值会被自动包裹在 data 字段中","slug":"正常返回的值会被自动包裹在-data-字段中","link":"#正常返回的值会被自动包裹在-data-字段中","children":[]},{"level":3,"title":"抛异常时会自动返回 error 字段","slug":"抛异常时会自动返回-error-字段","link":"#抛异常时会自动返回-error-字段","children":[]}]},{"level":2,"title":"实例属性","slug":"实例属性","link":"#实例属性","children":[{"level":3,"title":"headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"params","slug":"params","link":"#params","children":[]},{"level":3,"title":"cookie","slug":"cookie","link":"#cookie","children":[]},{"level":3,"title":"session","slug":"session","link":"#session","children":[]}]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"setHeader (key: string, value: any): Http","slug":"setheader-key-string-value-any-http","link":"#setheader-key-string-value-any-http","children":[]},{"level":3,"title":"setContentType (type: string, charset: string = 'utf-8'): Http","slug":"setcontenttype-type-string-charset-string-utf-8-http","link":"#setcontenttype-type-string-charset-string-utf-8-http","children":[]},{"level":3,"title":"setStatusCode (code: number): Http","slug":"setstatuscode-code-number-http","link":"#setstatuscode-code-number-http","children":[]},{"level":3,"title":"setBody (body: string): Http","slug":"setbody-body-string-http","link":"#setbody-body-string-http","children":[]}]},{"level":2,"title":"Cookie 实例方法","slug":"cookie-实例方法","link":"#cookie-实例方法","children":[{"level":3,"title":"read(key: string): string?","slug":"read-key-string-string","link":"#read-key-string-string","children":[]},{"level":3,"title":"write(key: string, value: any, opts?: {domain?: string; path?: string; expires?: number | string; secure?: boolean; httpOnly?: boolean;}): Cookie","slug":"write-key-string-value-any-opts-domain-string-path-string-expires-number-string-secure-boolean-httponly-boolean-cookie","link":"#write-key-string-value-any-opts-domain-string-path-string-expires-number-string-secure-boolean-httponly-boolean-cookie","children":[]}]},{"level":2,"title":"Session 实例方法","slug":"session-实例方法","link":"#session-实例方法","children":[{"level":3,"title":"read(key: string): any","slug":"read-key-string-any","link":"#read-key-string-any","children":[]},{"level":3,"title":"write(key: string, value?: any): Session","slug":"write-key-string-value-any-session","link":"#write-key-string-value-any-session","children":[]},{"level":3,"title":"encode(text: any): string","slug":"encode-text-any-string","link":"#encode-text-any-string","children":[]},{"level":3,"title":"decode(text: string): object","slug":"decode-text-string-object","link":"#decode-text-string-object","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[{"level":3,"title":"Path 自动生成的规则是什么?","slug":"path-自动生成的规则是什么","link":"#path-自动生成的规则是什么","children":[]},{"level":3,"title":"为什么不允许配置 path?","slug":"为什么不允许配置-path","link":"#为什么不允许配置-path","children":[]},{"level":3,"title":"多个网关如何配置?","slug":"多个网关如何配置","link":"#多个网关如何配置","children":[]}]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/http.md"}`);export{j as comp,_ as data}; diff --git a/assets/http.html-BkiKnFgq.js b/assets/http.html-CmrApgFV.js similarity index 98% rename from assets/http.html-BkiKnFgq.js rename to assets/http.html-CmrApgFV.js index fa4214b038..872d0ba965 100644 --- a/assets/http.html-BkiKnFgq.js +++ b/assets/http.html-CmrApgFV.js @@ -1,4 +1,4 @@ -import{_ as e,r as o,o as c,c as i,a as n,b as s,d as t,w as p,e as l}from"./app-QyD7034V.js";const u={},d=n("h1",{id:"http、cookie-和-session",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#http、cookie-和-session"},[n("span",null,"Http、Cookie 和 Session")])],-1),r=n("p",null,[n("code",null,"@faasjs/http"),s(" 提供了以下功能:")],-1),k=n("li",null,"网络请求的入参校验",-1),v=n("li",null,"Cookie 的校验和读写",-1),m=n("li",null,"Session 的校验和读写(Session 被加密储存在 Cookie 中)",-1),b=l(`

    校验示例

    import { Func } from '@faasjs/func';
    +import{_ as e,r as o,o as c,c as i,a as n,b as s,d as t,w as p,e as l}from"./app-COoiSelr.js";const u={},d=n("h1",{id:"http、cookie-和-session",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#http、cookie-和-session"},[n("span",null,"Http、Cookie 和 Session")])],-1),r=n("p",null,[n("code",null,"@faasjs/http"),s(" 提供了以下功能:")],-1),k=n("li",null,"网络请求的入参校验",-1),v=n("li",null,"Cookie 的校验和读写",-1),m=n("li",null,"Session 的校验和读写(Session 被加密储存在 Cookie 中)",-1),b=l(`

    校验示例

    import { Func } from '@faasjs/func';
     import { Http } from '@faasjs/http';
     
     const http = new Http({
    @@ -64,4 +64,4 @@ import{_ as e,r as o,o as c,c as i,a as n,b as s,d as t,w as p,e as l}from"./app
         http.session.write('user_id', http.session.read('distinct_id')); // 将 session 中的 distinct_id 写入为 user_id
       }
     });
    -

    Http 插件文档

    `,7);function h(f,w){const a=o("RouteLink");return c(),i("div",null,[d,r,n("ul",null,[k,n("li",null,[s("规范化网络响应(基于 "),t(a,{to:"/guide/excel/request-spec.html"},{default:p(()=>[s("HTTP 请求规范")]),_:1}),s(")")]),v,m]),b,n("p",null,[s("详细文档见 "),t(a,{to:"/doc/http.html"},{default:p(()=>[s("Http 插件")]),_:1}),s("。")])])}const g=e(u,[["render",h],["__file","http.html.vue"]]),y=JSON.parse('{"path":"/zh/guide/excel/http.html","title":"Http、Cookie 和 Session","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"校验示例","slug":"校验示例","link":"#校验示例","children":[]},{"level":2,"title":"Cookie 使用示例","slug":"cookie-使用示例","link":"#cookie-使用示例","children":[]},{"level":2,"title":"Session 使用示例","slug":"session-使用示例","link":"#session-使用示例","children":[]},{"level":2,"title":"Http 插件文档","slug":"http-插件文档","link":"#http-插件文档","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/http.md"}');export{g as comp,y as data}; +

    Http 插件文档

    `,7);function h(f,w){const a=o("RouteLink");return c(),i("div",null,[d,r,n("ul",null,[k,n("li",null,[s("规范化网络响应(基于 "),t(a,{to:"/guide/excel/request-spec.html"},{default:p(()=>[s("HTTP 请求规范")]),_:1}),s(")")]),v,m]),b,n("p",null,[s("详细文档见 "),t(a,{to:"/doc/http.html"},{default:p(()=>[s("Http 插件")]),_:1}),s("。")])])}const g=e(u,[["render",h],["__file","http.html.vue"]]),y=JSON.parse('{"path":"/zh/guide/excel/http.html","title":"Http、Cookie 和 Session","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"校验示例","slug":"校验示例","link":"#校验示例","children":[]},{"level":2,"title":"Cookie 使用示例","slug":"cookie-使用示例","link":"#cookie-使用示例","children":[]},{"level":2,"title":"Session 使用示例","slug":"session-使用示例","link":"#session-使用示例","children":[]},{"level":2,"title":"Http 插件文档","slug":"http-插件文档","link":"#http-插件文档","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/http.md"}');export{g as comp,y as data}; diff --git a/assets/index.html-BHqLliBv.js b/assets/index.html-50DQQLxj.js similarity index 99% rename from assets/index.html-BHqLliBv.js rename to assets/index.html-50DQQLxj.js index 28aa059a6e..28deaa90a4 100644 --- a/assets/index.html-BHqLliBv.js +++ b/assets/index.html-50DQQLxj.js @@ -1,4 +1,4 @@ -import{_ as c,r as o,o as i,c as r,a as s,d as a,w as t,b as n,e as p}from"./app-QyD7034V.js";const u={},d=s("h1",{id:"faasjs-browser",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-browser"},[s("span",null,"@faasjs/browser")])],-1),k=s("p",null,"FaasJS browser client.",-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/browser/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=s("img",{src:"https://img.shields.io/npm/l/@faasjs/browser.svg",alt:"License: MIT"},null,-1),w={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},m=s("img",{src:"https://img.shields.io/npm/v/@faasjs/browser.svg",alt:"NPM Version"},null,-1),b=p(`

    Browser plugin for FaasJS.

    Install

    npm install @faasjs/browser
    +import{_ as c,r as o,o as i,c as r,a as s,d as a,w as t,b as n,e as p}from"./app-COoiSelr.js";const u={},d=s("h1",{id:"faasjs-browser",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-browser"},[s("span",null,"@faasjs/browser")])],-1),k=s("p",null,"FaasJS browser client.",-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/browser/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=s("img",{src:"https://img.shields.io/npm/l/@faasjs/browser.svg",alt:"License: MIT"},null,-1),w={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},m=s("img",{src:"https://img.shields.io/npm/v/@faasjs/browser.svg",alt:"NPM Version"},null,-1),b=p(`

    Browser plugin for FaasJS.

    Install

    npm install @faasjs/browser
     

    Usage

    Use directly

    import { FaasBrowserClient } from '@faasjs/browser'
     
     const client = new FaasBrowserClient('/')
    diff --git a/assets/index.html-BhnRdAMg.js b/assets/index.html-6mlMh0-o.js
    similarity index 96%
    rename from assets/index.html-BhnRdAMg.js
    rename to assets/index.html-6mlMh0-o.js
    index af1b00ea53..15149097ce 100644
    --- a/assets/index.html-BhnRdAMg.js
    +++ b/assets/index.html-6mlMh0-o.js
    @@ -1,2 +1,2 @@
    -import{_ as i,r as o,o as d,c,a,d as s,w as l,b as e,e as r}from"./app-QyD7034V.js";const h={},u=a("h1",{id:"faasjs-load",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-load"},[a("span",null,"@faasjs/load")])],-1),f=a("p",null,"FaasJS's load module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/load/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/l/@faasjs/load.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},g=a("img",{src:"https://img.shields.io/npm/v/@faasjs/load.svg",alt:"NPM Version"},null,-1),v=r(`

    Install

    npm install @faasjs/load
    +import{_ as i,r as o,o as d,c,a,d as s,w as l,b as e,e as r}from"./app-COoiSelr.js";const h={},u=a("h1",{id:"faasjs-load",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-load"},[a("span",null,"@faasjs/load")])],-1),f=a("p",null,"FaasJS's load module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/load/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/l/@faasjs/load.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},g=a("img",{src:"https://img.shields.io/npm/v/@faasjs/load.svg",alt:"NPM Version"},null,-1),v=r(`

    Install

    npm install @faasjs/load
     

    Functions

    `,3);function b(k,j){const n=o("RouteLink"),t=o("ExternalLinkIcon");return d(),c("div",null,[a("p",null,[s(n,{to:"/doc/"},{default:l(()=>[e("Documents")]),_:1}),e(" / @faasjs/load")]),u,f,a("p",null,[a("a",p,[_,s(t)]),a("a",m,[g,s(t)])]),v,a("ul",null,[a("li",null,[s(n,{to:"/doc/load/functions/loadConfig.html"},{default:l(()=>[e("loadConfig")]),_:1})]),a("li",null,[s(n,{to:"/doc/load/functions/loadTs.html"},{default:l(()=>[e("loadTs")]),_:1})])])])}const E=i(h,[["render",b],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/doc/load/","title":"@faasjs/load","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/load/README.md"}');export{E as comp,N as data}; diff --git a/assets/index.html-CCuBTC3X.js b/assets/index.html-B1hxmwJu.js similarity index 97% rename from assets/index.html-CCuBTC3X.js rename to assets/index.html-B1hxmwJu.js index 3b97a0c7ef..64725f35f0 100644 --- a/assets/index.html-CCuBTC3X.js +++ b/assets/index.html-B1hxmwJu.js @@ -1,4 +1,4 @@ -import{_ as a,r as i,o as l,c as r,a as e,d as s,e as t}from"./app-QyD7034V.js";const o={},d=e("h1",{id:"a-nginx-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#a-nginx-image-for-faasjs-projects"},[e("span",null,"A Nginx Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnginx-blue",alt:"faasjs/nginx"},null,-1),m={href:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml/badge.svg",alt:"Build Status"},null,-1),h={href:"https://hub.docker.com/repository/docker/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/nginx/latest",alt:"Image size"},null,-1),f=t(`

    Features

    • Base on alpine with tiny image size.
    • Support brotli compression.
    • Output log to stdout.

    Usage

    FROM faasjs/node AS builder
    +import{_ as a,r as i,o as l,c as r,a as e,d as s,e as t}from"./app-COoiSelr.js";const o={},d=e("h1",{id:"a-nginx-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#a-nginx-image-for-faasjs-projects"},[e("span",null,"A Nginx Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnginx-blue",alt:"faasjs/nginx"},null,-1),m={href:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml/badge.svg",alt:"Build Status"},null,-1),h={href:"https://hub.docker.com/repository/docker/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/nginx/latest",alt:"Image size"},null,-1),f=t(`

    Features

    • Base on alpine with tiny image size.
    • Support brotli compression.
    • Output log to stdout.

    Usage

    FROM faasjs/node AS builder
     
     WORKDIR /app
     COPY package.json package.json
    diff --git a/assets/index.html-CevD1En-.js b/assets/index.html-B3eVPCdJ.js
    similarity index 98%
    rename from assets/index.html-CevD1En-.js
    rename to assets/index.html-B3eVPCdJ.js
    index aa311c9eb1..0835572136 100644
    --- a/assets/index.html-CevD1En-.js
    +++ b/assets/index.html-B3eVPCdJ.js
    @@ -1,2 +1,2 @@
    -import{_ as c,r as o,o as i,c as u,a as n,d as l,w as t,b as e,e as d}from"./app-QyD7034V.js";const r={},f=n("h1",{id:"faasjs-cloud-function",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-cloud-function"},[n("span",null,"@faasjs/cloud_function")])],-1),h=n("p",null,"A FaasJS plugin, let function could create, config and invoke CloudFunction.",-1),_={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/cloud_function/LICENSE",target:"_blank",rel:"noopener noreferrer"},p=n("img",{src:"https://img.shields.io/npm/l/@faasjs/cloud_function.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},g=n("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function.svg",alt:"NPM Version"},null,-1),v=d(`

    Install

    npm install @faasjs/cloud_function
    +import{_ as c,r as o,o as i,c as u,a as n,d as l,w as t,b as e,e as d}from"./app-COoiSelr.js";const r={},f=n("h1",{id:"faasjs-cloud-function",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-cloud-function"},[n("span",null,"@faasjs/cloud_function")])],-1),h=n("p",null,"A FaasJS plugin, let function could create, config and invoke CloudFunction.",-1),_={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/cloud_function/LICENSE",target:"_blank",rel:"noopener noreferrer"},p=n("img",{src:"https://img.shields.io/npm/l/@faasjs/cloud_function.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},g=n("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function.svg",alt:"NPM Version"},null,-1),v=d(`

    Install

    npm install @faasjs/cloud_function
     

    Classes

    `,3),k=n("h2",{id:"type-aliases",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#type-aliases"},[n("span",null,"Type Aliases")])],-1),b=n("h2",{id:"functions",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#functions"},[n("span",null,"Functions")])],-1);function C(x,j){const s=o("RouteLink"),a=o("ExternalLinkIcon");return i(),u("div",null,[n("p",null,[l(s,{to:"/doc/"},{default:t(()=>[e("Documents")]),_:1}),e(" / @faasjs/cloud_function")]),f,h,n("p",null,[n("a",_,[p,l(a)]),n("a",m,[g,l(a)])]),v,n("ul",null,[n("li",null,[l(s,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:t(()=>[e("CloudFunction")]),_:1})])]),k,n("ul",null,[n("li",null,[l(s,{to:"/doc/cloud_function/type-aliases/CloudFunctionAdapter.html"},{default:t(()=>[e("CloudFunctionAdapter")]),_:1})]),n("li",null,[l(s,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:t(()=>[e("CloudFunctionConfig")]),_:1})])]),b,n("ul",null,[n("li",null,[l(s,{to:"/doc/cloud_function/functions/invoke.html"},{default:t(()=>[e("invoke")]),_:1})]),n("li",null,[l(s,{to:"/doc/cloud_function/functions/invokeSync.html"},{default:t(()=>[e("invokeSync")]),_:1})]),n("li",null,[l(s,{to:"/doc/cloud_function/functions/useCloudFunction.html"},{default:t(()=>[e("useCloudFunction")]),_:1})])])])}const y=c(r,[["render",C],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/cloud_function/","title":"@faasjs/cloud_function","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/README.md"}');export{y as comp,E as data}; diff --git a/assets/index.html-D0Ri2zdP.js b/assets/index.html-B5_fr2jH.js similarity index 98% rename from assets/index.html-D0Ri2zdP.js rename to assets/index.html-B5_fr2jH.js index c6a845212c..527d9a9711 100644 --- a/assets/index.html-D0Ri2zdP.js +++ b/assets/index.html-B5_fr2jH.js @@ -1,2 +1,2 @@ -import{_ as o,r as i,o as u,c as r,a as e,d as s,w as n,b as a,e as c}from"./app-QyD7034V.js";const d={},p=e("h1",{id:"faasjs-vue-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-vue-plugin"},[e("span",null,"@faasjs/vue-plugin")])],-1),h=e("p",null,"A Vue plugin for FaasJS.",-1),g={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/vue-plugin/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/vue-plugin.svg",alt:"License: MIT"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin.svg",alt:"NPM Version"},null,-1),m=c(`

    Install

    npm install @faasjs/vue-plugin
    +import{_ as o,r as i,o as u,c as r,a as e,d as s,w as n,b as a,e as c}from"./app-COoiSelr.js";const d={},p=e("h1",{id:"faasjs-vue-plugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-vue-plugin"},[e("span",null,"@faasjs/vue-plugin")])],-1),h=e("p",null,"A Vue plugin for FaasJS.",-1),g={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/vue-plugin/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/vue-plugin.svg",alt:"License: MIT"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin.svg",alt:"NPM Version"},null,-1),m=c(`

    Install

    npm install @faasjs/vue-plugin
     

    Classes

    `,3),b=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),k=e("h2",{id:"variables",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#variables"},[e("span",null,"Variables")])],-1);function x(j,V){const l=i("RouteLink"),t=i("ExternalLinkIcon");return u(),r("div",null,[e("p",null,[s(l,{to:"/doc/"},{default:n(()=>[a("Documents")]),_:1}),a(" / @faasjs/vue-plugin")]),p,h,e("p",null,[e("a",g,[_,s(t)]),e("a",v,[f,s(t)])]),m,e("ul",null,[e("li",null,[s(l,{to:"/doc/vue-plugin/classes/FaasBrowserClient.html"},{default:n(()=>[a("FaasBrowserClient")]),_:1})]),e("li",null,[s(l,{to:"/doc/vue-plugin/classes/Response.html"},{default:n(()=>[a("Response")]),_:1})]),e("li",null,[s(l,{to:"/doc/vue-plugin/classes/ResponseError.html"},{default:n(()=>[a("ResponseError")]),_:1})])]),b,e("ul",null,[e("li",null,[s(l,{to:"/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html"},{default:n(()=>[a("FaasVuePluginOptions")]),_:1})]),e("li",null,[s(l,{to:"/doc/vue-plugin/type-aliases/Options.html"},{default:n(()=>[a("Options")]),_:1})]),e("li",null,[s(l,{to:"/doc/vue-plugin/type-aliases/ResponseHeaders.html"},{default:n(()=>[a("ResponseHeaders")]),_:1})])]),k,e("ul",null,[e("li",null,[s(l,{to:"/doc/vue-plugin/variables/FaasVuePlugin.html"},{default:n(()=>[a("FaasVuePlugin")]),_:1})])])])}const y=o(d,[["render",x],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/vue-plugin/","title":"@faasjs/vue-plugin","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Variables","slug":"variables","link":"#variables","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/vue-plugin/README.md"}');export{y as comp,E as data}; diff --git a/assets/index.html-DxoxXqpC.js b/assets/index.html-BCrjHPtb.js similarity index 97% rename from assets/index.html-DxoxXqpC.js rename to assets/index.html-BCrjHPtb.js index b9409d8abb..dc9bcf3b05 100644 --- a/assets/index.html-DxoxXqpC.js +++ b/assets/index.html-BCrjHPtb.js @@ -1,2 +1,2 @@ -import{_ as l,r as c,o,c as i,a,b as e,d as n,e as t}from"./app-QyD7034V.js";const r={},h=t('

    1 分钟上手

    通过本教程,你将学到:

    • 如何搭建本地开发环境?
    • FaasJS 项目的基本结构是什么?

    准备工作

    FaasJS 基于 Node.js 构建,因此需要本地环境支持至少 Node.js 12.x。

    若使用的是 OS X,可以使用 brew 来安装:brew install node

    ',6),d={href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener noreferrer"},p=t(`

    创建项目

    你可以直接使用 npx 一键创建新项目,初次创建可以先跳过 Provider 配置:

    npx create-faas-app --example --noprovider
    -

    启动项目

    执行 npm exec faas server,用浏览器打开 http://localhost:3000/hello 即可看到 hello.func.ts 的执行结果。

    文件结构

    package.json

    这是 Node.js 的项目配置,主要包含了依赖项和 Jest 配置。

    tsconfig.json

    这个文件的内容仅仅为 {},因为 FaasJS 本身对 Typescript 没有特殊的配置需求,你可以根据实际情况进行定制化配置。

    faas.yaml

    这是 FaasJS 的配置文件,记录了云服务商的配置项和插件的配置项。

    *.func.ts

    这是云函数文件,在 FaasJS 中,所有云函数文件都必须以 .func.ts 结尾。

    *.test.ts

    这是单元测试文件,在 FaasJS 中,所有单元测试文件都必须以 .test.ts 结尾。

    完整示例

    `,17),f={href:"https://github.com/faasjs/faasjs/tree/main/examples/simple",target:"_blank",rel:"noopener noreferrer"};function u(g,m){const s=c("ExternalLinkIcon");return o(),i("div",null,[h,a("p",null,[e("由于 FaasJS 基于 TypeScript,因此建议使用 "),a("a",d,[e("Visual Studio Code"),n(s)]),e(" 作为编辑器。")]),p,a("p",null,[e("在 "),a("a",f,[e("https://github.com/faasjs/faasjs/tree/main/examples/simple"),n(s)]),e(" 可以看到一个包含了代码检查、自动化测试的简单例子。")])])}const _=l(r,[["render",u],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/zh/guide/","title":"1 分钟上手","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"创建项目","slug":"创建项目","link":"#创建项目","children":[]},{"level":2,"title":"启动项目","slug":"启动项目","link":"#启动项目","children":[]},{"level":2,"title":"文件结构","slug":"文件结构","link":"#文件结构","children":[{"level":3,"title":"package.json","slug":"package-json","link":"#package-json","children":[]},{"level":3,"title":"tsconfig.json","slug":"tsconfig-json","link":"#tsconfig-json","children":[]},{"level":3,"title":"faas.yaml","slug":"faas-yaml","link":"#faas-yaml","children":[]},{"level":3,"title":"*.func.ts","slug":"func-ts","link":"#func-ts","children":[]},{"level":3,"title":"*.test.ts","slug":"test-ts","link":"#test-ts","children":[]}]},{"level":2,"title":"完整示例","slug":"完整示例","link":"#完整示例","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/README.md"}');export{_ as comp,k as data}; +import{_ as l,r as c,o,c as i,a,b as e,d as n,e as t}from"./app-COoiSelr.js";const r={},h=t('

    1 分钟上手

    通过本教程,你将学到:

    • 如何搭建本地开发环境?
    • FaasJS 项目的基本结构是什么?

    准备工作

    FaasJS 基于 Node.js 构建,因此需要本地环境支持至少 Node.js 12.x。

    若使用的是 OS X,可以使用 brew 来安装:brew install node

    ',6),d={href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener noreferrer"},p=t(`

    创建项目

    你可以直接使用 npx 一键创建新项目,初次创建可以先跳过 Provider 配置:

    npx create-faas-app --example --noprovider
    +

    启动项目

    执行 npm exec faas server,用浏览器打开 http://localhost:3000/hello 即可看到 hello.func.ts 的执行结果。

    文件结构

    package.json

    这是 Node.js 的项目配置,主要包含了依赖项和 Jest 配置。

    tsconfig.json

    这个文件的内容仅仅为 {},因为 FaasJS 本身对 Typescript 没有特殊的配置需求,你可以根据实际情况进行定制化配置。

    faas.yaml

    这是 FaasJS 的配置文件,记录了云服务商的配置项和插件的配置项。

    *.func.ts

    这是云函数文件,在 FaasJS 中,所有云函数文件都必须以 .func.ts 结尾。

    *.test.ts

    这是单元测试文件,在 FaasJS 中,所有单元测试文件都必须以 .test.ts 结尾。

    完整示例

    `,17),f={href:"https://github.com/faasjs/faasjs/tree/main/examples/simple",target:"_blank",rel:"noopener noreferrer"};function u(g,m){const s=c("ExternalLinkIcon");return o(),i("div",null,[h,a("p",null,[e("由于 FaasJS 基于 TypeScript,因此建议使用 "),a("a",d,[e("Visual Studio Code"),n(s)]),e(" 作为编辑器。")]),p,a("p",null,[e("在 "),a("a",f,[e("https://github.com/faasjs/faasjs/tree/main/examples/simple"),n(s)]),e(" 可以看到一个包含了代码检查、自动化测试的简单例子。")])])}const _=l(r,[["render",u],["__file","index.html.vue"]]),k=JSON.parse('{"path":"/zh/guide/","title":"1 分钟上手","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"创建项目","slug":"创建项目","link":"#创建项目","children":[]},{"level":2,"title":"启动项目","slug":"启动项目","link":"#启动项目","children":[]},{"level":2,"title":"文件结构","slug":"文件结构","link":"#文件结构","children":[{"level":3,"title":"package.json","slug":"package-json","link":"#package-json","children":[]},{"level":3,"title":"tsconfig.json","slug":"tsconfig-json","link":"#tsconfig-json","children":[]},{"level":3,"title":"faas.yaml","slug":"faas-yaml","link":"#faas-yaml","children":[]},{"level":3,"title":"*.func.ts","slug":"func-ts","link":"#func-ts","children":[]},{"level":3,"title":"*.test.ts","slug":"test-ts","link":"#test-ts","children":[]}]},{"level":2,"title":"完整示例","slug":"完整示例","link":"#完整示例","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/README.md"}');export{_ as comp,k as data}; diff --git a/assets/index.html-CvfkzlMv.js b/assets/index.html-BE2COkf0.js similarity index 98% rename from assets/index.html-CvfkzlMv.js rename to assets/index.html-BE2COkf0.js index fbe802b719..267049a3af 100644 --- a/assets/index.html-CvfkzlMv.js +++ b/assets/index.html-BE2COkf0.js @@ -1,4 +1,4 @@ -import{_ as p,r as e,o as l,c as i,a as s,d as n,w as c,b as t,e as r}from"./app-QyD7034V.js";const u={},d=s("h1",{id:"faasjs-jest",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-jest"},[s("span",null,"@faasjs/jest")])],-1),m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/jest/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=s("img",{src:"https://img.shields.io/npm/l/@faasjs/jest.svg",alt:"License: MIT"},null,-1),k={href:"https://www.npmjs.com/package/@faasjs/jest",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/jest.svg",alt:"NPM Version"},null,-1),h=r(`

    A jest plugin for faasjs projects.

    Install

    npm install -d @faasjs/jest
    +import{_ as p,r as e,o as l,c as i,a as s,d as n,w as c,b as t,e as r}from"./app-COoiSelr.js";const u={},d=s("h1",{id:"faasjs-jest",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-jest"},[s("span",null,"@faasjs/jest")])],-1),m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/jest/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=s("img",{src:"https://img.shields.io/npm/l/@faasjs/jest.svg",alt:"License: MIT"},null,-1),k={href:"https://www.npmjs.com/package/@faasjs/jest",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/jest.svg",alt:"NPM Version"},null,-1),h=r(`

    A jest plugin for faasjs projects.

    Install

    npm install -d @faasjs/jest
     

    Usage

    Add jest to your package.json:

    "jest": {
       "transform": {
         ".(jsx|tsx?)": "@faasjs/jest"
    diff --git a/assets/index.html-D-pyXk_7.js b/assets/index.html-BFXS8313.js
    similarity index 91%
    rename from assets/index.html-D-pyXk_7.js
    rename to assets/index.html-BFXS8313.js
    index 070336e75f..48b202441c 100644
    --- a/assets/index.html-D-pyXk_7.js
    +++ b/assets/index.html-BFXS8313.js
    @@ -1 +1 @@
    -import{_ as s,r as o,o as n,c,a as e,d as l,w as r,b as a}from"./app-QyD7034V.js";const d={},i=e("h1",{id:"faasjs",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs"},[e("span",null,"FaasJS")])],-1),_=e("p",null,"An Atomic Application Framework based on Typescript",-1),p=e("p",null,"https://faasjs.com/",-1);function m(f,h){const t=o("RouteLink");return n(),c("div",null,[e("p",null,[l(t,{to:"/doc/"},{default:r(()=>[a("Documents")]),_:1}),a(" / FaasJS")]),i,_,p])}const x=s(d,[["render",m],["__file","index.html.vue"]]),j=JSON.parse('{"path":"/doc/faasjs/","title":"FaasJS","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/faasjs/README.md"}');export{x as comp,j as data};
    +import{_ as s,r as o,o as n,c,a as e,d as l,w as r,b as a}from"./app-COoiSelr.js";const d={},i=e("h1",{id:"faasjs",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs"},[e("span",null,"FaasJS")])],-1),_=e("p",null,"An Atomic Application Framework based on Typescript",-1),p=e("p",null,"https://faasjs.com/",-1);function m(f,h){const t=o("RouteLink");return n(),c("div",null,[e("p",null,[l(t,{to:"/doc/"},{default:r(()=>[a("Documents")]),_:1}),a(" / FaasJS")]),i,_,p])}const x=s(d,[["render",m],["__file","index.html.vue"]]),j=JSON.parse('{"path":"/doc/faasjs/","title":"FaasJS","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/faasjs/README.md"}');export{x as comp,j as data};
    diff --git a/assets/index.html-BRXxAdie.js b/assets/index.html-BKKcj8AR.js
    similarity index 99%
    rename from assets/index.html-BRXxAdie.js
    rename to assets/index.html-BKKcj8AR.js
    index 081bf774f9..8f1d87a6bd 100644
    --- a/assets/index.html-BRXxAdie.js
    +++ b/assets/index.html-BKKcj8AR.js
    @@ -1,4 +1,4 @@
    -import{_ as p,r as o,o as i,c,a as n,d as a,w as e,b as s,e as r}from"./app-QyD7034V.js";const u={},d=n("h1",{id:"faasjs-ts-transform",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-ts-transform"},[n("span",null,"@faasjs/ts-transform")])],-1),k={href:"https://swc.rs/",target:"_blank",rel:"noopener noreferrer"},m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/ts-transform/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=n("img",{src:"https://img.shields.io/npm/l/@faasjs/ts-transform.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/ts-transform",target:"_blank",rel:"noopener noreferrer"},h=n("img",{src:"https://img.shields.io/npm/v/@faasjs/ts-transform.svg",alt:"NPM Version"},null,-1),b=r(`

    Install

    npm install @faasjs/ts-transform
    +import{_ as p,r as o,o as i,c,a as n,d as a,w as e,b as s,e as r}from"./app-COoiSelr.js";const u={},d=n("h1",{id:"faasjs-ts-transform",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-ts-transform"},[n("span",null,"@faasjs/ts-transform")])],-1),k={href:"https://swc.rs/",target:"_blank",rel:"noopener noreferrer"},m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/ts-transform/LICENSE",target:"_blank",rel:"noopener noreferrer"},v=n("img",{src:"https://img.shields.io/npm/l/@faasjs/ts-transform.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/ts-transform",target:"_blank",rel:"noopener noreferrer"},h=n("img",{src:"https://img.shields.io/npm/v/@faasjs/ts-transform.svg",alt:"NPM Version"},null,-1),b=r(`

    Install

    npm install @faasjs/ts-transform
     

    Usage

    Use as a register

    import { addHook } from 'pirates'
     import { transform } from '@faasjs/ts-transform'
     
    diff --git a/assets/index.html-C-JkBH9O.js b/assets/index.html-BO8JM-cE.js
    similarity index 98%
    rename from assets/index.html-C-JkBH9O.js
    rename to assets/index.html-BO8JM-cE.js
    index 091a44a14a..3869a0f0a7 100644
    --- a/assets/index.html-C-JkBH9O.js
    +++ b/assets/index.html-BO8JM-cE.js
    @@ -1,2 +1,2 @@
    -import{_ as o,r as i,o as c,c as u,a as e,d as t,w as a,b as l,e as d}from"./app-QyD7034V.js";const r={},h=e("h1",{id:"faasjs-test",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-test"},[e("span",null,"@faasjs/test")])],-1),p=e("p",null,"FaasJS's testing module.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/test/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/test.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/test
    +import{_ as o,r as i,o as c,c as u,a as e,d as t,w as a,b as l,e as d}from"./app-COoiSelr.js";const r={},h=e("h1",{id:"faasjs-test",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-test"},[e("span",null,"@faasjs/test")])],-1),p=e("p",null,"FaasJS's testing module.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/test/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/test.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/test
     

    Classes

    `,3),v=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),x=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function k(b,F){const s=i("RouteLink"),n=i("ExternalLinkIcon");return c(),u("div",null,[e("p",null,[t(s,{to:"/doc/"},{default:a(()=>[l("Documents")]),_:1}),l(" / @faasjs/test")]),h,p,e("p",null,[e("a",f,[_,t(n)]),e("a",m,[g,t(n)])]),y,e("ul",null,[e("li",null,[t(s,{to:"/doc/test/classes/Func.html"},{default:a(()=>[l("Func")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/classes/FuncWarper.html"},{default:a(()=>[l("FuncWarper")]),_:1})])]),v,e("ul",null,[e("li",null,[t(s,{to:"/doc/test/type-aliases/Config.html"},{default:a(()=>[l("Config")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/DeployData.html"},{default:a(()=>[l("DeployData")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/ExportedHandler.html"},{default:a(()=>[l("ExportedHandler")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/FuncConfig.html"},{default:a(()=>[l("FuncConfig")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/FuncEventType.html"},{default:a(()=>[l("FuncEventType")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/FuncReturnType.html"},{default:a(()=>[l("FuncReturnType")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/Handler.html"},{default:a(()=>[l("Handler")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/InvokeData.html"},{default:a(()=>[l("InvokeData")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/LifeCycleKey.html"},{default:a(()=>[l("LifeCycleKey")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/MountData.html"},{default:a(()=>[l("MountData")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/Next.html"},{default:a(()=>[l("Next")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/Plugin.html"},{default:a(()=>[l("Plugin")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/ProviderConfig.html"},{default:a(()=>[l("ProviderConfig")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:a(()=>[l("UseifyPlugin")]),_:1})])]),x,e("ul",null,[e("li",null,[t(s,{to:"/doc/test/functions/test.html"},{default:a(()=>[l("test")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/functions/useFunc.html"},{default:a(()=>[l("useFunc")]),_:1})]),e("li",null,[t(s,{to:"/doc/test/functions/usePlugin.html"},{default:a(()=>[l("usePlugin")]),_:1})])])])}const C=o(r,[["render",k],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/test/","title":"@faasjs/test","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/README.md"}');export{C as comp,E as data}; diff --git a/assets/index.html-Ds_pG6RM.js b/assets/index.html-BSvD6yYP.js similarity index 98% rename from assets/index.html-Ds_pG6RM.js rename to assets/index.html-BSvD6yYP.js index 1e33dcbb75..5f2381ae8b 100644 --- a/assets/index.html-Ds_pG6RM.js +++ b/assets/index.html-BSvD6yYP.js @@ -1,2 +1,2 @@ -import{_ as o,r as i,o as d,c,a as s,d as e,w as n,b as l,e as r}from"./app-QyD7034V.js";const u={},h=s("h1",{id:"faasjs-redis",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-redis"},[s("span",null,"@faasjs/redis")])],-1),f=s("p",null,"FaasJS's Redis plugin.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/redis/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=s("img",{src:"https://img.shields.io/npm/l/@faasjs/redis.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/redis.svg",alt:"NPM Version"},null,-1),k=r(`

    Install

    npm install @faasjs/redis
    +import{_ as o,r as i,o as d,c,a as s,d as e,w as n,b as l,e as r}from"./app-COoiSelr.js";const u={},h=s("h1",{id:"faasjs-redis",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-redis"},[s("span",null,"@faasjs/redis")])],-1),f=s("p",null,"FaasJS's Redis plugin.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/redis/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=s("img",{src:"https://img.shields.io/npm/l/@faasjs/redis.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/redis.svg",alt:"NPM Version"},null,-1),k=r(`

    Install

    npm install @faasjs/redis
     

    Classes

    `,3),b=s("h2",{id:"type-aliases",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#type-aliases"},[s("span",null,"Type Aliases")])],-1),v=s("h2",{id:"functions",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#functions"},[s("span",null,"Functions")])],-1);function x(j,N){const t=i("RouteLink"),a=i("ExternalLinkIcon");return d(),c("div",null,[s("p",null,[e(t,{to:"/doc/"},{default:n(()=>[l("Documents")]),_:1}),l(" / @faasjs/redis")]),h,f,s("p",null,[s("a",p,[_,e(a)]),s("a",m,[g,e(a)])]),k,s("ul",null,[s("li",null,[e(t,{to:"/doc/redis/classes/Redis.html"},{default:n(()=>[l("Redis")]),_:1})])]),b,s("ul",null,[s("li",null,[e(t,{to:"/doc/redis/type-aliases/RedisConfig.html"},{default:n(()=>[l("RedisConfig")]),_:1})])]),v,s("ul",null,[s("li",null,[e(t,{to:"/doc/redis/functions/get.html"},{default:n(()=>[l("get")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/getJSON.html"},{default:n(()=>[l("getJSON")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/lock.html"},{default:n(()=>[l("lock")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/multi.html"},{default:n(()=>[l("multi")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/pipeline.html"},{default:n(()=>[l("pipeline")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/publish.html"},{default:n(()=>[l("publish")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/query.html"},{default:n(()=>[l("query")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/set.html"},{default:n(()=>[l("set")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/setJSON.html"},{default:n(()=>[l("setJSON")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/unlock.html"},{default:n(()=>[l("unlock")]),_:1})]),s("li",null,[e(t,{to:"/doc/redis/functions/useRedis.html"},{default:n(()=>[l("useRedis")]),_:1})])])])}const y=o(u,[["render",x],["__file","index.html.vue"]]),S=JSON.parse('{"path":"/doc/redis/","title":"@faasjs/redis","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/README.md"}');export{y as comp,S as data}; diff --git a/assets/index.html-CaXOs1pc.js b/assets/index.html-BVuD9Xy3.js similarity index 99% rename from assets/index.html-CaXOs1pc.js rename to assets/index.html-BVuD9Xy3.js index 4904cf61ca..7c29ab8da2 100644 --- a/assets/index.html-CaXOs1pc.js +++ b/assets/index.html-BVuD9Xy3.js @@ -1,4 +1,4 @@ -import{_ as t,r as e,o as i,c as l,a,b as o,d as p,e as n}from"./app-QyD7034V.js";const c={},r=n('
    An atomic application framework built for the TypeScript developer.




    Features

    Featherweight Development & Collaboration

    • Break down complex projects into manageable components with the atomized development model.
    • Enjoy fast iterations and seamless team collaboration.
    • Jumpstart development with pre-built plugins for common functionalities like HTTP and Knex.

    High maintainability

    • The FaaS architecture ensures isolated cloud functions, preventing domino-effect errors.
    • Automated testing tools built-in for robust and efficient testing.

    High scalability

    • Extend your application effortlessly with flexible and simple plugin mechanisms.
    • Freely scale your functions up or down based on demand.

    Quickstart

    Start with Codespace

    ',10),u={href:"https://github.com/faasjs/starter",target:"_blank",rel:"noopener noreferrer"},d=n(`

    Start with Command Line

    # use npm
    +import{_ as t,r as e,o as i,c as l,a,b as o,d as p,e as n}from"./app-COoiSelr.js";const c={},r=n('
    An atomic application framework built for the TypeScript developer.




    Features

    Featherweight Development & Collaboration

    • Break down complex projects into manageable components with the atomized development model.
    • Enjoy fast iterations and seamless team collaboration.
    • Jumpstart development with pre-built plugins for common functionalities like HTTP and Knex.

    High maintainability

    • The FaaS architecture ensures isolated cloud functions, preventing domino-effect errors.
    • Automated testing tools built-in for robust and efficient testing.

    High scalability

    • Extend your application effortlessly with flexible and simple plugin mechanisms.
    • Freely scale your functions up or down based on demand.

    Quickstart

    Start with Codespace

    ',10),u={href:"https://github.com/faasjs/starter",target:"_blank",rel:"noopener noreferrer"},d=n(`

    Start with Command Line

    # use npm
     npx create-faas-app --name faasjs
     
     # use bun
    @@ -34,4 +34,4 @@ bunx create-faas-app --name faasjs
         expect(data).toEqual('Hello, world')
       })
     })
    -

    Thanks

    Code contributors (in alphabetical order):

    Open source projects (in alphabetical order):

    `,12);function h(m,k){const s=e("ExternalLinkIcon");return i(),l("div",null,[r,a("p",null,[a("a",u,[o("🔨 FaasJS Stater"),p(s)])]),d])}const g=t(c,[["render",h],["__file","index.html.vue"]]),b=JSON.parse(`{"path":"/","title":"","lang":"en","frontmatter":{"home":true,"heroImage":"/logo.jpg","heroText":"🚀 FaasJS","tagline":null,"footer":"An atomic application framework built for the TypeScript developer. | MIT Licensed | Copyright © 2019-2024 Zhu Feng"},"headers":[{"level":2,"title":"Features","slug":"features","link":"#features","children":[{"level":3,"title":"Featherweight Development & Collaboration","slug":"featherweight-development-collaboration","link":"#featherweight-development-collaboration","children":[]},{"level":3,"title":"High maintainability","slug":"high-maintainability","link":"#high-maintainability","children":[]},{"level":3,"title":"High scalability","slug":"high-scalability","link":"#high-scalability","children":[]}]},{"level":2,"title":"Quickstart","slug":"quickstart","link":"#quickstart","children":[{"level":3,"title":"Start with Codespace","slug":"start-with-codespace","link":"#start-with-codespace","children":[]},{"level":3,"title":"Start with Command Line","slug":"start-with-command-line","link":"#start-with-command-line","children":[]}]},{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Cloud function's file","slug":"cloud-function-s-file","link":"#cloud-function-s-file","children":[]},{"level":3,"title":"Unit test's file","slug":"unit-test-s-file","link":"#unit-test-s-file","children":[]}]},{"level":2,"title":"Thanks","slug":"thanks","link":"#thanks","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"README.md"}`);export{g as comp,b as data}; +

    Thanks

    Code contributors (in alphabetical order):

    Open source projects (in alphabetical order):

    `,12);function h(m,k){const s=e("ExternalLinkIcon");return i(),l("div",null,[r,a("p",null,[a("a",u,[o("🔨 FaasJS Stater"),p(s)])]),d])}const g=t(c,[["render",h],["__file","index.html.vue"]]),b=JSON.parse(`{"path":"/","title":"","lang":"en","frontmatter":{"home":true,"heroImage":"/logo.jpg","heroText":"🚀 FaasJS","tagline":null,"footer":"An atomic application framework built for the TypeScript developer. | MIT Licensed | Copyright © 2019-2024 Zhu Feng"},"headers":[{"level":2,"title":"Features","slug":"features","link":"#features","children":[{"level":3,"title":"Featherweight Development & Collaboration","slug":"featherweight-development-collaboration","link":"#featherweight-development-collaboration","children":[]},{"level":3,"title":"High maintainability","slug":"high-maintainability","link":"#high-maintainability","children":[]},{"level":3,"title":"High scalability","slug":"high-scalability","link":"#high-scalability","children":[]}]},{"level":2,"title":"Quickstart","slug":"quickstart","link":"#quickstart","children":[{"level":3,"title":"Start with Codespace","slug":"start-with-codespace","link":"#start-with-codespace","children":[]},{"level":3,"title":"Start with Command Line","slug":"start-with-command-line","link":"#start-with-command-line","children":[]}]},{"level":2,"title":"Examples","slug":"examples","link":"#examples","children":[{"level":3,"title":"Cloud function's file","slug":"cloud-function-s-file","link":"#cloud-function-s-file","children":[]},{"level":3,"title":"Unit test's file","slug":"unit-test-s-file","link":"#unit-test-s-file","children":[]}]},{"level":2,"title":"Thanks","slug":"thanks","link":"#thanks","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"README.md"}`);export{g as comp,b as data}; diff --git a/assets/index.html-Bl9GjmIM.js b/assets/index.html-BbHmeee2.js similarity index 97% rename from assets/index.html-Bl9GjmIM.js rename to assets/index.html-BbHmeee2.js index 25ef69bbee..58e49816d4 100644 --- a/assets/index.html-Bl9GjmIM.js +++ b/assets/index.html-BbHmeee2.js @@ -1,2 +1,2 @@ -import{_ as o,r as i,o as c,c as r,a as e,d as s,w as l,b as n,e as d}from"./app-QyD7034V.js";const u={},h=e("h1",{id:"faasjs-knex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-knex"},[e("span",null,"@faasjs/knex")])],-1),f={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"},p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/knex/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/knex.svg",alt:"License: MIT"},null,-1),x={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},k=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex.svg",alt:"NPM Version"},null,-1),m=d(`

    Install

    npm install @faasjs/knex
    +import{_ as o,r as i,o as c,c as r,a as e,d as s,w as l,b as n,e as d}from"./app-COoiSelr.js";const u={},h=e("h1",{id:"faasjs-knex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-knex"},[e("span",null,"@faasjs/knex")])],-1),f={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"},p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/knex/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/knex.svg",alt:"License: MIT"},null,-1),x={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},k=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex.svg",alt:"NPM Version"},null,-1),m=d(`

    Install

    npm install @faasjs/knex
     

    Classes

    `,3),g=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),b=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function v(j,y){const a=i("RouteLink"),t=i("ExternalLinkIcon");return c(),r("div",null,[e("p",null,[s(a,{to:"/doc/"},{default:l(()=>[n("Documents")]),_:1}),n(" / @faasjs/knex")]),h,e("p",null,[n("FaasJS's sql plugin, base on "),e("a",f,[n("Knex"),s(t)]),n(".")]),e("p",null,[e("a",p,[_,s(t)]),e("a",x,[k,s(t)])]),m,e("ul",null,[e("li",null,[s(a,{to:"/doc/knex/classes/Knex.html"},{default:l(()=>[n("Knex")]),_:1})])]),g,e("ul",null,[e("li",null,[s(a,{to:"/doc/knex/type-aliases/KnexConfig.html"},{default:l(()=>[n("KnexConfig")]),_:1})])]),b,e("ul",null,[e("li",null,[s(a,{to:"/doc/knex/functions/originKnex.html"},{default:l(()=>[n("originKnex")]),_:1})]),e("li",null,[s(a,{to:"/doc/knex/functions/query.html"},{default:l(()=>[n("query")]),_:1})]),e("li",null,[s(a,{to:"/doc/knex/functions/raw.html"},{default:l(()=>[n("raw")]),_:1})]),e("li",null,[s(a,{to:"/doc/knex/functions/transaction.html"},{default:l(()=>[n("transaction")]),_:1})]),e("li",null,[s(a,{to:"/doc/knex/functions/useKnex.html"},{default:l(()=>[n("useKnex")]),_:1})])])])}const w=o(u,[["render",v],["__file","index.html.vue"]]),C=JSON.parse('{"path":"/doc/knex/","title":"@faasjs/knex","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/README.md"}');export{w as comp,C as data}; diff --git a/assets/index.html-sE6gdWS5.js b/assets/index.html-BghJq8bH.js similarity index 97% rename from assets/index.html-sE6gdWS5.js rename to assets/index.html-BghJq8bH.js index 30fab847c1..2759a489c7 100644 --- a/assets/index.html-sE6gdWS5.js +++ b/assets/index.html-BghJq8bH.js @@ -1,2 +1,2 @@ -import{_ as o,r as c,o as i,c as d,a as e,d as n,w as a,b as s,e as r}from"./app-QyD7034V.js";const u={},h=e("h1",{id:"faasjs-tencentcloud",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-tencentcloud"},[e("span",null,"@faasjs/tencentcloud")])],-1),p=e("p",null,"FaasJS's tencentcloud provider.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/tencentcloud/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/tencentcloud.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud.svg",alt:"NPM Version"},null,-1),v=r(`

    Install

    npm install @faasjs/tencentcloud
    +import{_ as o,r as c,o as i,c as d,a as e,d as n,w as a,b as s,e as r}from"./app-COoiSelr.js";const u={},h=e("h1",{id:"faasjs-tencentcloud",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-tencentcloud"},[e("span",null,"@faasjs/tencentcloud")])],-1),p=e("p",null,"FaasJS's tencentcloud provider.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/tencentcloud/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/tencentcloud.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud.svg",alt:"NPM Version"},null,-1),v=r(`

    Install

    npm install @faasjs/tencentcloud
     

    Classes

    `,3),b=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),k=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function x(j,y){const t=c("RouteLink"),l=c("ExternalLinkIcon");return i(),d("div",null,[e("p",null,[n(t,{to:"/doc/"},{default:a(()=>[s("Documents")]),_:1}),s(" / @faasjs/tencentcloud")]),h,p,e("p",null,[e("a",f,[_,n(l)]),e("a",m,[g,n(l)])]),v,e("ul",null,[e("li",null,[n(t,{to:"/doc/tencentcloud/classes/Provider.html"},{default:a(()=>[s("Provider")]),_:1})])]),b,e("ul",null,[e("li",null,[n(t,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:a(()=>[s("TencentcloudConfig")]),_:1})])]),k,e("ul",null,[e("li",null,[n(t,{to:"/doc/tencentcloud/functions/request.html"},{default:a(()=>[s("request")]),_:1})])])])}const E=o(u,[["render",x],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/doc/tencentcloud/","title":"@faasjs/tencentcloud","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/README.md"}');export{E as comp,N as data}; diff --git a/assets/index.html-BhZItFn4.js b/assets/index.html-BsdSsUTY.js similarity index 96% rename from assets/index.html-BhZItFn4.js rename to assets/index.html-BsdSsUTY.js index 07e4c1a7e6..fd49b4a5ba 100644 --- a/assets/index.html-BhZItFn4.js +++ b/assets/index.html-BsdSsUTY.js @@ -1,4 +1,4 @@ -import{_ as c,r as n,o,c as i,a,d as e,w as l,b as t,e as p}from"./app-QyD7034V.js";const d={},m=a("h1",{id:"create-faas-app",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#create-faas-app"},[a("span",null,"create-faas-app")])],-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/create-faas-app/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=a("img",{src:"https://img.shields.io/npm/l/create-faas-app.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/v/create-faas-app.svg",alt:"NPM Version"},null,-1),g=p(`

    Quick way to create a FaasJS project.

    Usage

    # use npm
    +import{_ as c,r as n,o,c as i,a,d as e,w as l,b as t,e as p}from"./app-COoiSelr.js";const d={},m=a("h1",{id:"create-faas-app",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#create-faas-app"},[a("span",null,"create-faas-app")])],-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/create-faas-app/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=a("img",{src:"https://img.shields.io/npm/l/create-faas-app.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/v/create-faas-app.svg",alt:"NPM Version"},null,-1),g=p(`

    Quick way to create a FaasJS project.

    Usage

    # use npm
     npx create-faas-app --name faasjs
     
     # use bun
    diff --git a/assets/index.html-BiVg5tow.js b/assets/index.html-Bva6_BAo.js
    similarity index 97%
    rename from assets/index.html-BiVg5tow.js
    rename to assets/index.html-Bva6_BAo.js
    index ec123e44d8..157cfb973d 100644
    --- a/assets/index.html-BiVg5tow.js
    +++ b/assets/index.html-Bva6_BAo.js
    @@ -1,2 +1,2 @@
    -import{_ as i,r as o,o as r,c,a as e,d as s,w as n,b as a,e as d}from"./app-QyD7034V.js";const h={},g=e("h1",{id:"faasjs-logger",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-logger"},[e("span",null,"@faasjs/logger")])],-1),u=e("p",null,"FaasJS's logger module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/logger/LICENSE",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://img.shields.io/npm/l/@faasjs/logger.svg",alt:"License: MIT"},null,-1),_={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger.svg",alt:"NPM Version"},null,-1),v=d(`

    Install

    npm install @faasjs/logger
    +import{_ as i,r as o,o as r,c,a as e,d as s,w as n,b as a,e as d}from"./app-COoiSelr.js";const h={},g=e("h1",{id:"faasjs-logger",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-logger"},[e("span",null,"@faasjs/logger")])],-1),u=e("p",null,"FaasJS's logger module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/logger/LICENSE",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://img.shields.io/npm/l/@faasjs/logger.svg",alt:"License: MIT"},null,-1),_={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger.svg",alt:"NPM Version"},null,-1),v=d(`

    Install

    npm install @faasjs/logger
     

    Enumerations

    `,3),b=e("h2",{id:"classes",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#classes"},[e("span",null,"Classes")])],-1),k=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1);function x(j,L){const l=o("RouteLink"),t=o("ExternalLinkIcon");return r(),c("div",null,[e("p",null,[s(l,{to:"/doc/"},{default:n(()=>[a("Documents")]),_:1}),a(" / @faasjs/logger")]),g,u,e("p",null,[e("a",p,[m,s(t)]),e("a",_,[f,s(t)])]),v,e("ul",null,[e("li",null,[s(l,{to:"/doc/logger/enumerations/Color.html"},{default:n(()=>[a("Color")]),_:1})])]),b,e("ul",null,[e("li",null,[s(l,{to:"/doc/logger/classes/Logger.html"},{default:n(()=>[a("Logger")]),_:1})])]),k,e("ul",null,[e("li",null,[s(l,{to:"/doc/logger/type-aliases/Level.html"},{default:n(()=>[a("Level")]),_:1})])])])}const y=i(h,[["render",x],["__file","index.html.vue"]]),C=JSON.parse('{"path":"/doc/logger/","title":"@faasjs/logger","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Enumerations","slug":"enumerations","link":"#enumerations","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/logger/README.md"}');export{y as comp,C as data}; diff --git a/assets/index.html-CFTnauAM.js b/assets/index.html-By-i1PMN.js similarity index 98% rename from assets/index.html-CFTnauAM.js rename to assets/index.html-By-i1PMN.js index 8bba7976d0..9c4062f4af 100644 --- a/assets/index.html-CFTnauAM.js +++ b/assets/index.html-By-i1PMN.js @@ -1,4 +1,4 @@ -import{_ as t,r as a,o as r,c as l,a as e,d as o,b as s,e as i}from"./app-QyD7034V.js";const c={},d=e("h1",{id:"vscode-container-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#vscode-container-image-for-faasjs-projects"},[e("span",null,"VSCode Container Image for FaasJS projects")])],-1),p={href:"https://hub.docker.com/repository/docker/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fvscode-blue",alt:"faasjs/vscode"},null,-1),h={href:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml/badge.svg",alt:"Build Status"},null,-1),_={href:"https://hub.docker.com/repository/docker/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/vscode/latest",alt:"Image size"},null,-1),g=e("h2",{id:"features",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#features"},[e("span",null,"Features")])],-1),v={href:"https://www.alpinelinux.org/",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"faasjs/vscode:debian",-1),k={href:"https://nodejs.org/",target:"_blank",rel:"noopener noreferrer"},j={href:"https://www.npmjs.com/",target:"_blank",rel:"noopener noreferrer"},w={href:"https://bun.sh/",target:"_blank",rel:"noopener noreferrer"},y={href:"https://ohmyz.sh/",target:"_blank",rel:"noopener noreferrer"},q=e("li",null,"git",-1),x=e("li",null,"zsh-completions",-1),C=e("li",null,"zsh-autosuggestions",-1),z=e("li",null,"zsh-history-substring-search",-1),I={href:"https://github.com/zfben/zsh-npm",target:"_blank",rel:"noopener noreferrer"},S=e("code",null,"npm",-1),V=e("h2",{id:"before-you-use",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#before-you-use"},[e("span",null,"Before you use")])],-1),B={href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener noreferrer"},N={href:"https://www.docker.com/",target:"_blank",rel:"noopener noreferrer"},E={href:"https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers",target:"_blank",rel:"noopener noreferrer"},F=i(`

    Usage

    1. Create a folder .devcontainer in your project root.
    2. Create devcontainer.json in .devcontainer folder.
    3. Copy below code into devcontainer.json:
    {
    +import{_ as t,r as a,o as r,c as l,a as e,d as o,b as s,e as i}from"./app-COoiSelr.js";const c={},d=e("h1",{id:"vscode-container-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#vscode-container-image-for-faasjs-projects"},[e("span",null,"VSCode Container Image for FaasJS projects")])],-1),p={href:"https://hub.docker.com/repository/docker/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fvscode-blue",alt:"faasjs/vscode"},null,-1),h={href:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml/badge.svg",alt:"Build Status"},null,-1),_={href:"https://hub.docker.com/repository/docker/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/vscode/latest",alt:"Image size"},null,-1),g=e("h2",{id:"features",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#features"},[e("span",null,"Features")])],-1),v={href:"https://www.alpinelinux.org/",target:"_blank",rel:"noopener noreferrer"},b=e("code",null,"faasjs/vscode:debian",-1),k={href:"https://nodejs.org/",target:"_blank",rel:"noopener noreferrer"},j={href:"https://www.npmjs.com/",target:"_blank",rel:"noopener noreferrer"},w={href:"https://bun.sh/",target:"_blank",rel:"noopener noreferrer"},y={href:"https://ohmyz.sh/",target:"_blank",rel:"noopener noreferrer"},q=e("li",null,"git",-1),x=e("li",null,"zsh-completions",-1),C=e("li",null,"zsh-autosuggestions",-1),z=e("li",null,"zsh-history-substring-search",-1),I={href:"https://github.com/zfben/zsh-npm",target:"_blank",rel:"noopener noreferrer"},S=e("code",null,"npm",-1),V=e("h2",{id:"before-you-use",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#before-you-use"},[e("span",null,"Before you use")])],-1),B={href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener noreferrer"},N={href:"https://www.docker.com/",target:"_blank",rel:"noopener noreferrer"},E={href:"https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers",target:"_blank",rel:"noopener noreferrer"},F=i(`

    Usage

    1. Create a folder .devcontainer in your project root.
    2. Create devcontainer.json in .devcontainer folder.
    3. Copy below code into devcontainer.json:
    {
     	"name": "dev",
       // Change faasjs/vscode to faasjs/vscode:debian if you want to use debian.
     	"image": "faasjs/vscode",
    diff --git a/assets/index.html-w95hufRf.js b/assets/index.html-Bz5c_Fi8.js
    similarity index 97%
    rename from assets/index.html-w95hufRf.js
    rename to assets/index.html-Bz5c_Fi8.js
    index 10eb7d8783..534033ddf4 100644
    --- a/assets/index.html-w95hufRf.js
    +++ b/assets/index.html-Bz5c_Fi8.js
    @@ -1,2 +1,2 @@
    -import{_ as i,r as l,o as c,c as r,a as e,d as s,w as o,b as a,e as d}from"./app-QyD7034V.js";const h={},m=e("h1",{id:"faasjs-mongo",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-mongo"},[e("span",null,"@faasjs/mongo")])],-1),f=e("p",null,"FaasJS's mongodb plugin.",-1),g={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/mongo/LICENSE",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://img.shields.io/npm/l/@faasjs/mongo.svg",alt:"License: MIT"},null,-1),u={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo.svg",alt:"NPM Version"},null,-1),b=d(`

    Install

    npm install @faasjs/mongo
    +import{_ as i,r as l,o as c,c as r,a as e,d as s,w as o,b as a,e as d}from"./app-COoiSelr.js";const h={},m=e("h1",{id:"faasjs-mongo",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-mongo"},[e("span",null,"@faasjs/mongo")])],-1),f=e("p",null,"FaasJS's mongodb plugin.",-1),g={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/mongo/LICENSE",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://img.shields.io/npm/l/@faasjs/mongo.svg",alt:"License: MIT"},null,-1),u={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo.svg",alt:"NPM Version"},null,-1),b=d(`

    Install

    npm install @faasjs/mongo
     

    Classes

    `,3),v=e("h2",{id:"interfaces",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#interfaces"},[e("span",null,"Interfaces")])],-1);function k(x,j){const n=l("RouteLink"),t=l("ExternalLinkIcon");return c(),r("div",null,[e("p",null,[s(n,{to:"/doc/"},{default:o(()=>[a("Documents")]),_:1}),a(" / @faasjs/mongo")]),m,f,e("p",null,[e("a",g,[p,s(t)]),e("a",u,[_,s(t)])]),b,e("ul",null,[e("li",null,[s(n,{to:"/doc/mongo/classes/Mongo.html"},{default:o(()=>[a("Mongo")]),_:1})])]),v,e("ul",null,[e("li",null,[s(n,{to:"/doc/mongo/interfaces/MongoConfig.html"},{default:o(()=>[a("MongoConfig")]),_:1})])])])}const C=i(h,[["render",k],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/mongo/","title":"@faasjs/mongo","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Interfaces","slug":"interfaces","link":"#interfaces","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/mongo/README.md"}');export{C as comp,E as data}; diff --git a/assets/index.html-CWh6ysjx.js b/assets/index.html-C1ZqDdLe.js similarity index 97% rename from assets/index.html-CWh6ysjx.js rename to assets/index.html-C1ZqDdLe.js index a0838d0aef..0cc07267e8 100644 --- a/assets/index.html-CWh6ysjx.js +++ b/assets/index.html-C1ZqDdLe.js @@ -1,2 +1,2 @@ -import{_ as i,r as o,o as r,c,a as e,d as s,w as l,b as t,e as u}from"./app-QyD7034V.js";const d={},h=e("h1",{id:"faasjs-request",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-request"},[e("span",null,"@faasjs/request")])],-1),p=e("p",null,"FaasJS's request module.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/request/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/request.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request.svg",alt:"NPM Version"},null,-1),g=u(`

    Install

    npm install @faasjs/request
    +import{_ as i,r as o,o as r,c,a as e,d as s,w as l,b as t,e as u}from"./app-COoiSelr.js";const d={},h=e("h1",{id:"faasjs-request",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-request"},[e("span",null,"@faasjs/request")])],-1),p=e("p",null,"FaasJS's request module.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/request/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/request.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request.svg",alt:"NPM Version"},null,-1),g=u(`

    Install

    npm install @faasjs/request
     

    Classes

    `,3),k=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),v=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function b(x,j){const a=o("RouteLink"),n=o("ExternalLinkIcon");return r(),c("div",null,[e("p",null,[s(a,{to:"/doc/"},{default:l(()=>[t("Documents")]),_:1}),t(" / @faasjs/request")]),h,p,e("p",null,[e("a",f,[_,s(n)]),e("a",m,[q,s(n)])]),g,e("ul",null,[e("li",null,[s(a,{to:"/doc/request/classes/ResponseError.html"},{default:l(()=>[t("ResponseError")]),_:1})])]),k,e("ul",null,[e("li",null,[s(a,{to:"/doc/request/type-aliases/Request.html"},{default:l(()=>[t("Request")]),_:1})]),e("li",null,[s(a,{to:"/doc/request/type-aliases/RequestOptions.html"},{default:l(()=>[t("RequestOptions")]),_:1})]),e("li",null,[s(a,{to:"/doc/request/type-aliases/Response.html"},{default:l(()=>[t("Response")]),_:1})])]),v,e("ul",null,[e("li",null,[s(a,{to:"/doc/request/functions/querystringify.html"},{default:l(()=>[t("querystringify")]),_:1})]),e("li",null,[s(a,{to:"/doc/request/functions/request.html"},{default:l(()=>[t("request")]),_:1})]),e("li",null,[s(a,{to:"/doc/request/functions/setMock.html"},{default:l(()=>[t("setMock")]),_:1})])])])}const R=i(d,[["render",b],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/request/","title":"@faasjs/request","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/README.md"}');export{R as comp,E as data}; diff --git a/assets/index.html-CIjCqTrQ.js b/assets/index.html-C5FgrMxr.js similarity index 96% rename from assets/index.html-CIjCqTrQ.js rename to assets/index.html-C5FgrMxr.js index 239f78ce9e..d71270106a 100644 --- a/assets/index.html-CIjCqTrQ.js +++ b/assets/index.html-C5FgrMxr.js @@ -1,2 +1,2 @@ -import{_ as r,r as l,o as i,c,a as e,d as s,w as o,b as a,e as d}from"./app-QyD7034V.js";const p={},h=e("h1",{id:"faasjs-deep-merge",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deep-merge"},[e("span",null,"@faasjs/deep_merge")])],-1),_=e("p",null,"A helper function to deep merge objects and array.",-1),m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/deep_merge/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/npm/l/@faasjs/deep_merge.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge.svg",alt:"NPM Version"},null,-1),b=d(`

    Install

    npm install @faasjs/deep_merge
    +import{_ as r,r as l,o as i,c,a as e,d as s,w as o,b as a,e as d}from"./app-COoiSelr.js";const p={},h=e("h1",{id:"faasjs-deep-merge",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deep-merge"},[e("span",null,"@faasjs/deep_merge")])],-1),_=e("p",null,"A helper function to deep merge objects and array.",-1),m={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/deep_merge/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/npm/l/@faasjs/deep_merge.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge.svg",alt:"NPM Version"},null,-1),b=d(`

    Install

    npm install @faasjs/deep_merge
     

    Functions

    `,3);function v(j,k){const n=l("RouteLink"),t=l("ExternalLinkIcon");return i(),c("div",null,[e("p",null,[s(n,{to:"/doc/"},{default:o(()=>[a("Documents")]),_:1}),a(" / @faasjs/deep_merge")]),h,_,e("p",null,[e("a",m,[u,s(t)]),e("a",f,[g,s(t)])]),b,e("ul",null,[e("li",null,[s(n,{to:"/doc/deep_merge/functions/deepMerge.html"},{default:o(()=>[a("deepMerge")]),_:1})])])])}const E=r(p,[["render",v],["__file","index.html.vue"]]),N=JSON.parse('{"path":"/doc/deep_merge/","title":"@faasjs/deep_merge","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/deep_merge/README.md"}');export{E as comp,N as data}; diff --git a/assets/index.html-BcPY058J.js b/assets/index.html-C9Gl_XQa.js similarity index 97% rename from assets/index.html-BcPY058J.js rename to assets/index.html-C9Gl_XQa.js index 5a91ef109f..887026c9b1 100644 --- a/assets/index.html-BcPY058J.js +++ b/assets/index.html-C9Gl_XQa.js @@ -1,2 +1,2 @@ -import{_ as o,r as i,o as c,c as p,a,d as s,w as n,b as e,e as r}from"./app-QyD7034V.js";const d={},h=a("h1",{id:"faasjs-types",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-types"},[a("span",null,"@faasjs/types")])],-1),u=a("p",null,"Type definitions.",-1),_={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/types/LICENSE",target:"_blank",rel:"noopener noreferrer"},f=a("img",{src:"https://img.shields.io/npm/l/@faasjs/types.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/types",target:"_blank",rel:"noopener noreferrer"},y=a("img",{src:"https://img.shields.io/npm/v/@faasjs/types.svg",alt:"NPM Version"},null,-1),g=r(`

    Install

    npm install @faasjs/types
    +import{_ as o,r as i,o as c,c as p,a,d as s,w as n,b as e,e as r}from"./app-COoiSelr.js";const d={},h=a("h1",{id:"faasjs-types",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-types"},[a("span",null,"@faasjs/types")])],-1),u=a("p",null,"Type definitions.",-1),_={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/types/LICENSE",target:"_blank",rel:"noopener noreferrer"},f=a("img",{src:"https://img.shields.io/npm/l/@faasjs/types.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/types",target:"_blank",rel:"noopener noreferrer"},y=a("img",{src:"https://img.shields.io/npm/v/@faasjs/types.svg",alt:"NPM Version"},null,-1),g=r(`

    Install

    npm install @faasjs/types
     

    Type Aliases

    `,3);function v(b,k){const t=i("RouteLink"),l=i("ExternalLinkIcon");return c(),p("div",null,[a("p",null,[s(t,{to:"/doc/"},{default:n(()=>[e("Documents")]),_:1}),e(" / @faasjs/types")]),h,u,a("p",null,[a("a",_,[f,s(l)]),a("a",m,[y,s(l)])]),g,a("ul",null,[a("li",null,[s(t,{to:"/doc/types/type-aliases/FaasAction.html"},{default:n(()=>[e("FaasAction")]),_:1})]),a("li",null,[s(t,{to:"/doc/types/type-aliases/FaasActionPaths.html"},{default:n(()=>[e("FaasActionPaths")]),_:1})]),a("li",null,[s(t,{to:"/doc/types/type-aliases/FaasData.html"},{default:n(()=>[e("FaasData")]),_:1})]),a("li",null,[s(t,{to:"/doc/types/type-aliases/FaasParams.html"},{default:n(()=>[e("FaasParams")]),_:1})])])])}const x=o(d,[["render",v],["__file","index.html.vue"]]),F=JSON.parse('{"path":"/doc/types/","title":"@faasjs/types","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/types/README.md"}');export{x as comp,F as data}; diff --git a/assets/index.html-CfnRAbZL.js b/assets/index.html-CPlRvBI9.js similarity index 97% rename from assets/index.html-CfnRAbZL.js rename to assets/index.html-CPlRvBI9.js index d7ba417fd5..6ebfa2978b 100644 --- a/assets/index.html-CfnRAbZL.js +++ b/assets/index.html-CPlRvBI9.js @@ -1,3 +1,3 @@ -import{_ as n,r as o,o as t,c as r,a as e,d as s,e as d}from"./app-QyD7034V.js";const i={},l=e("h1",{id:"node-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#node-image-for-faasjs-projects"},[e("span",null,"Node Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/node",target:"_blank",rel:"noopener noreferrer"},h=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnode-blue",alt:"faasjs/node"},null,-1),u={href:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml/badge.svg",alt:"Build Status"},null,-1),f={href:"https://hub.docker.com/repository/docker/faasjs/node",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/node/latest",alt:"Image size"},null,-1),m=d(`

    Features

    • Base on node:lts-alpine with tiny image size and node lts version. (Also support debian with faasjs/node:debian)

    Usage

    docker pull faasjs/node
    +import{_ as n,r as o,o as t,c as r,a as e,d as s,e as d}from"./app-COoiSelr.js";const i={},l=e("h1",{id:"node-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#node-image-for-faasjs-projects"},[e("span",null,"Node Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/node",target:"_blank",rel:"noopener noreferrer"},h=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnode-blue",alt:"faasjs/node"},null,-1),u={href:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml/badge.svg",alt:"Build Status"},null,-1),f={href:"https://hub.docker.com/repository/docker/faasjs/node",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/node/latest",alt:"Image size"},null,-1),m=d(`

    Features

    • Base on node:lts-alpine with tiny image size and node lts version. (Also support debian with faasjs/node:debian)

    Usage

    docker pull faasjs/node
     

    Or use the debian version:

    docker pull faasjs/node:debian
     
    `,6);function _(b,k){const a=o("ExternalLinkIcon");return t(),r("div",null,[l,e("p",null,[e("a",c,[h,s(a)]),e("a",u,[p,s(a)]),e("a",f,[g,s(a)])]),m])}const j=n(i,[["render",_],["__file","index.html.vue"]]),x=JSON.parse('{"path":"/doc/images/node/","title":"Node Image for FaasJS projects","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features","link":"#features","children":[]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/images/node/README.md"}');export{j as comp,x as data}; diff --git a/assets/index.html-DHWwrbl4.js b/assets/index.html-CTkrQN-L.js similarity index 96% rename from assets/index.html-DHWwrbl4.js rename to assets/index.html-CTkrQN-L.js index a82bf94dfb..bd31dd8bd5 100644 --- a/assets/index.html-DHWwrbl4.js +++ b/assets/index.html-CTkrQN-L.js @@ -1,2 +1,2 @@ -import{_ as r,r as t,o as i,c,a as e,d as s,w as o,b as a,e as d}from"./app-QyD7034V.js";const p={},h=e("h1",{id:"faasjs-deployer",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deployer"},[e("span",null,"@faasjs/deployer")])],-1),_=e("p",null,"A tool to deploy a FaasJS function.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/deployer/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/npm/l/@faasjs/deployer.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/deployer
    +import{_ as r,r as t,o as i,c,a as e,d as s,w as o,b as a,e as d}from"./app-COoiSelr.js";const p={},h=e("h1",{id:"faasjs-deployer",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-deployer"},[e("span",null,"@faasjs/deployer")])],-1),_=e("p",null,"A tool to deploy a FaasJS function.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/deployer/LICENSE",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/npm/l/@faasjs/deployer.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/deployer
     

    Classes

    `,3);function v(b,k){const l=t("RouteLink"),n=t("ExternalLinkIcon");return i(),c("div",null,[e("p",null,[s(l,{to:"/doc/"},{default:o(()=>[a("Documents")]),_:1}),a(" / @faasjs/deployer")]),h,_,e("p",null,[e("a",f,[u,s(n)]),e("a",m,[g,s(n)])]),y,e("ul",null,[e("li",null,[s(l,{to:"/doc/deployer/classes/Deployer.html"},{default:o(()=>[a("Deployer")]),_:1})])])])}const x=r(p,[["render",v],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/deployer/","title":"@faasjs/deployer","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/deployer/README.md"}');export{x as comp,E as data}; diff --git a/assets/index.html-BXUZS1NC.js b/assets/index.html-CWVWNUe_.js similarity index 97% rename from assets/index.html-BXUZS1NC.js rename to assets/index.html-CWVWNUe_.js index bc0a0135b0..988d4ecf38 100644 --- a/assets/index.html-BXUZS1NC.js +++ b/assets/index.html-CWVWNUe_.js @@ -1,2 +1,2 @@ -import{_ as c,r as o,o as r,c as i,a as e,d as s,w as t,b as n,e as d}from"./app-QyD7034V.js";const u={},h=e("h1",{id:"faasjs-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-server"},[e("span",null,"@faasjs/server")])],-1),f=e("p",null,"FaasJS's server module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/server/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/server.svg",alt:"License: MIT"},null,-1),g={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},v=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server.svg",alt:"NPM Version"},null,-1),m=d(`

    Install

    npm install @faasjs/server
    +import{_ as c,r as o,o as r,c as i,a as e,d as s,w as t,b as n,e as d}from"./app-COoiSelr.js";const u={},h=e("h1",{id:"faasjs-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-server"},[e("span",null,"@faasjs/server")])],-1),f=e("p",null,"FaasJS's server module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/server/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/server.svg",alt:"License: MIT"},null,-1),g={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},v=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server.svg",alt:"NPM Version"},null,-1),m=d(`

    Install

    npm install @faasjs/server
     

    Routing

    Static routing:

    • / -> index.func.ts or index.func.tsx
    • /path -> path.func.ts or path.func.tsx or path/index.func.ts or path/index.func.tsx

    Dynamic routing:

    • /* -> default.func.ts or default.func.tsx
    • /path/* -> path/default.func.ts or path/default.func.tsx

    Classes

    `,8),x=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function b(k,j){const a=o("RouteLink"),l=o("ExternalLinkIcon");return r(),i("div",null,[e("p",null,[s(a,{to:"/doc/"},{default:t(()=>[n("Documents")]),_:1}),n(" / @faasjs/server")]),h,f,e("p",null,[e("a",p,[_,s(l)]),e("a",g,[v,s(l)])]),m,e("ul",null,[e("li",null,[s(a,{to:"/doc/server/classes/Server.html"},{default:t(()=>[n("Server")]),_:1})])]),x,e("ul",null,[e("li",null,[s(a,{to:"/doc/server/functions/closeAll.html"},{default:t(()=>[n("closeAll")]),_:1})]),e("li",null,[s(a,{to:"/doc/server/functions/getAll.html"},{default:t(()=>[n("getAll")]),_:1})])])])}const N=c(u,[["render",b],["__file","index.html.vue"]]),S=JSON.parse('{"path":"/doc/server/","title":"@faasjs/server","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Routing","slug":"routing","link":"#routing","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/server/README.md"}');export{N as comp,S as data}; diff --git a/assets/index.html-DHCej1tx.js b/assets/index.html-D40bGTb_.js similarity index 98% rename from assets/index.html-DHCej1tx.js rename to assets/index.html-D40bGTb_.js index 13749b51e1..8279722caa 100644 --- a/assets/index.html-DHCej1tx.js +++ b/assets/index.html-D40bGTb_.js @@ -1,2 +1,2 @@ -import{_ as o,r as i,o as c,c as d,a as t,d as s,w as a,b as l,e as h}from"./app-QyD7034V.js";const p={},r=t("h1",{id:"faasjs-http",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#faasjs-http"},[t("span",null,"@faasjs/http")])],-1),u=t("p",null,"FaasJS's http plugin.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/http/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=t("img",{src:"https://img.shields.io/npm/l/@faasjs/http.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},g=t("img",{src:"https://img.shields.io/npm/v/@faasjs/http.svg",alt:"NPM Version"},null,-1),b=h(`

    Install

    npm install @faasjs/http
    +import{_ as o,r as i,o as c,c as d,a as t,d as s,w as a,b as l,e as h}from"./app-COoiSelr.js";const p={},r=t("h1",{id:"faasjs-http",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#faasjs-http"},[t("span",null,"@faasjs/http")])],-1),u=t("p",null,"FaasJS's http plugin.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/http/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=t("img",{src:"https://img.shields.io/npm/l/@faasjs/http.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},g=t("img",{src:"https://img.shields.io/npm/v/@faasjs/http.svg",alt:"NPM Version"},null,-1),b=h(`

    Install

    npm install @faasjs/http
     

    Classes

    `,3),v=t("h2",{id:"type-aliases",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#type-aliases"},[t("span",null,"Type Aliases")])],-1),k=t("h2",{id:"variables",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#variables"},[t("span",null,"Variables")])],-1),x=t("h2",{id:"functions",tabindex:"-1"},[t("a",{class:"header-anchor",href:"#functions"},[t("span",null,"Functions")])],-1);function y(C,V){const e=i("RouteLink"),n=i("ExternalLinkIcon");return c(),d("div",null,[t("p",null,[s(e,{to:"/doc/"},{default:a(()=>[l("Documents")]),_:1}),l(" / @faasjs/http")]),r,u,t("p",null,[t("a",f,[_,s(n)]),t("a",m,[g,s(n)])]),b,t("ul",null,[t("li",null,[s(e,{to:"/doc/http/classes/Cookie.html"},{default:a(()=>[l("Cookie")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/classes/Http.html"},{default:a(()=>[l("Http")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/classes/HttpError.html"},{default:a(()=>[l("HttpError")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/classes/Session.html"},{default:a(()=>[l("Session")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/classes/Validator.html"},{default:a(()=>[l("Validator")]),_:1})])]),v,t("ul",null,[t("li",null,[s(e,{to:"/doc/http/type-aliases/CookieOptions.html"},{default:a(()=>[l("CookieOptions")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:a(()=>[l("HttpConfig")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/Response.html"},{default:a(()=>[l("Response")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/SessionOptions.html"},{default:a(()=>[l("SessionOptions")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/ValidatorConfig.html"},{default:a(()=>[l("ValidatorConfig")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/ValidatorOptions.html"},{default:a(()=>[l("ValidatorOptions")]),_:1})]),t("li",null,[s(e,{to:"/doc/http/type-aliases/ValidatorRuleOptions.html"},{default:a(()=>[l("ValidatorRuleOptions")]),_:1})])]),k,t("ul",null,[t("li",null,[s(e,{to:"/doc/http/variables/ContentType.html"},{default:a(()=>[l("ContentType")]),_:1})])]),x,t("ul",null,[t("li",null,[s(e,{to:"/doc/http/functions/useHttp.html"},{default:a(()=>[l("useHttp")]),_:1})])])])}const E=o(p,[["render",y],["__file","index.html.vue"]]),O=JSON.parse('{"path":"/doc/http/","title":"@faasjs/http","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Variables","slug":"variables","link":"#variables","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/README.md"}');export{E as comp,O as data}; diff --git a/assets/index.html-aUBPiIWZ.js b/assets/index.html-D5LjfDYS.js similarity index 99% rename from assets/index.html-aUBPiIWZ.js rename to assets/index.html-D5LjfDYS.js index c1fced813d..b8a7decfdc 100644 --- a/assets/index.html-aUBPiIWZ.js +++ b/assets/index.html-D5LjfDYS.js @@ -1,4 +1,4 @@ -import{_ as r,r as o,o as i,c,a,d as s,w as n,b as e,e as d}from"./app-QyD7034V.js";const u={},p=a("h1",{id:"faasjs-react",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-react"},[a("span",null,"@faasjs/react")])],-1),h=a("p",null,"React plugin for FaasJS.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/react/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/l/@faasjs/react.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},g=a("img",{src:"https://img.shields.io/npm/v/@faasjs/react.svg",alt:"NPM Version"},null,-1),k={href:"https://swr.vercel.app",target:"_blank",rel:"noopener noreferrer"},b={href:"https://tanstack.com/query",target:"_blank",rel:"noopener noreferrer"},v={href:"https://faasjs.com/doc/browser",target:"_blank",rel:"noopener noreferrer"},y=a("code",null,"@faasjs/browser",-1),F=a("h2",{id:"features",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#features"},[a("span",null,"Features")])],-1),R={href:"https://faasjs.com/guide/request-spec.html",target:"_blank",rel:"noopener noreferrer"},C=a("li",null,"Support global and per-request configurations.",-1),x={href:"https://github.com/welldone-software/why-did-you-render",target:"_blank",rel:"noopener noreferrer"},j=a("li",null,"Additional functions for React.",-1),w=d(`

    Install

    npm install @faasjs/react
    +import{_ as r,r as o,o as i,c,a,d as s,w as n,b as e,e as d}from"./app-COoiSelr.js";const u={},p=a("h1",{id:"faasjs-react",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-react"},[a("span",null,"@faasjs/react")])],-1),h=a("p",null,"React plugin for FaasJS.",-1),f={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/react/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=a("img",{src:"https://img.shields.io/npm/l/@faasjs/react.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},g=a("img",{src:"https://img.shields.io/npm/v/@faasjs/react.svg",alt:"NPM Version"},null,-1),k={href:"https://swr.vercel.app",target:"_blank",rel:"noopener noreferrer"},b={href:"https://tanstack.com/query",target:"_blank",rel:"noopener noreferrer"},v={href:"https://faasjs.com/doc/browser",target:"_blank",rel:"noopener noreferrer"},y=a("code",null,"@faasjs/browser",-1),F=a("h2",{id:"features",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#features"},[a("span",null,"Features")])],-1),R={href:"https://faasjs.com/guide/request-spec.html",target:"_blank",rel:"noopener noreferrer"},C=a("li",null,"Support global and per-request configurations.",-1),x={href:"https://github.com/welldone-software/why-did-you-render",target:"_blank",rel:"noopener noreferrer"},j=a("li",null,"Additional functions for React.",-1),w=d(`

    Install

    npm install @faasjs/react
     

    Usage

    1. Initialize FaasReactClient
    import { FaasReactClient } from '@faasjs/react'
     
     const client = FaasReactClient({
    diff --git a/assets/index.html-Dt04bvDj.js b/assets/index.html-DHg97FQL.js
    similarity index 98%
    rename from assets/index.html-Dt04bvDj.js
    rename to assets/index.html-DHg97FQL.js
    index 53bc2d6a83..d3ff2662da 100644
    --- a/assets/index.html-Dt04bvDj.js
    +++ b/assets/index.html-DHg97FQL.js
    @@ -1 +1 @@
    -import{_ as n,r,o as l,c as o,a as e,d as t,b as a}from"./app-QyD7034V.js";const i={},h=e("h1",{id:"官方插件总览",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#官方插件总览"},[e("span",null,"官方插件总览")])],-1),c={href:"https://github.com/faasjs/faasjs/actions/workflows/unit.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/unit.yml/badge.svg",alt:"Build Status"},null,-1),_=e("h2",{id:"核心插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#核心插件"},[e("span",null,"核心插件")])],-1),d=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),g={href:"https://github.com/faasjs/faasjs/tree/main/packages/faasjs",target:"_blank",rel:"noopener noreferrer"},f={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://img.shields.io/npm/v/faasjs/stable.svg",alt:"NPM Stable Version"},null,-1),u={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},j=e("img",{src:"https://img.shields.io/npm/v/faasjs/beta.svg",alt:"NPM Beta Version"},null,-1),b={href:"https://github.com/faasjs/faasjs/tree/main/packages/func",target:"_blank",rel:"noopener noreferrer"},k={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},w=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func/stable.svg",alt:"NPM Stable Version"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},N=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func/beta.svg",alt:"NPM Beta Version"},null,-1),V={href:"https://github.com/faasjs/faasjs/tree/main/packages/cloud_function",target:"_blank",rel:"noopener noreferrer"},M={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},P=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function/stable.svg",alt:"NPM Stable Version"},null,-1),B={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},S=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function/beta.svg",alt:"NPM Beta Version"},null,-1),x={href:"https://github.com/faasjs/faasjs/tree/main/packages/deployer",target:"_blank",rel:"noopener noreferrer"},y={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer/stable.svg",alt:"NPM Stable Version"},null,-1),E={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},z=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer/beta.svg",alt:"NPM Beta Version"},null,-1),I={href:"https://github.com/faasjs/faasjs/tree/main/packages/test",target:"_blank",rel:"noopener noreferrer"},L={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},R=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test/stable.svg",alt:"NPM Stable Version"},null,-1),T={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},A=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test/beta.svg",alt:"NPM Beta Version"},null,-1),C=e("h2",{id:"命令行插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#命令行插件"},[e("span",null,"命令行插件")])],-1),D=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),J={href:"https://github.com/faasjs/faasjs/tree/main/packages/cli",target:"_blank",rel:"noopener noreferrer"},O={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},F=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli/stable.svg",alt:"NPM Stable Version"},null,-1),G={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},H=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli/beta.svg",alt:"NPM Beta Version"},null,-1),K={href:"https://github.com/faasjs/faasjs/tree/main/packages/cli",target:"_blank",rel:"noopener noreferrer"},Q={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},U=e("img",{src:"https://img.shields.io/npm/v/create-faas-app/stable.svg",alt:"NPM Stable Version"},null,-1),W={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},X=e("img",{src:"https://img.shields.io/npm/v/create-faas-app/beta.svg",alt:"NPM Beta Version"},null,-1),Y=e("h2",{id:"工具插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#工具插件"},[e("span",null,"工具插件")])],-1),Z=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),$={href:"https://github.com/faasjs/faasjs/tree/main/packages/deep_merge",target:"_blank",rel:"noopener noreferrer"},ee={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge/stable.svg",alt:"NPM Stable Version"},null,-1),te={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},ae=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge/beta.svg",alt:"NPM Beta Version"},null,-1),ne={href:"https://github.com/faasjs/faasjs/tree/main/packages/load",target:"_blank",rel:"noopener noreferrer"},re={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load/stable.svg",alt:"NPM Stable Version"},null,-1),oe={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},ie=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load/beta.svg",alt:"NPM Beta Version"},null,-1),he={href:"https://github.com/faasjs/faasjs/tree/main/packages/logger",target:"_blank",rel:"noopener noreferrer"},ce={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},pe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger/stable.svg",alt:"NPM Stable Version"},null,-1),_e={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},de=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger/beta.svg",alt:"NPM Beta Version"},null,-1),ge={href:"https://github.com/faasjs/faasjs/tree/main/packages/request",target:"_blank",rel:"noopener noreferrer"},fe={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},me=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request/stable.svg",alt:"NPM Stable Version"},null,-1),ue={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},je=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request/beta.svg",alt:"NPM Beta Version"},null,-1),be={href:"https://github.com/faasjs/faasjs/tree/main/packages/server",target:"_blank",rel:"noopener noreferrer"},ke={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},we=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server/stable.svg",alt:"NPM Stable Version"},null,-1),ve={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},Ne=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server/beta.svg",alt:"NPM Beta Version"},null,-1),Ve=e("h2",{id:"网络插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#网络插件"},[e("span",null,"网络插件")])],-1),Me=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),Pe={href:"https://github.com/faasjs/faasjs/tree/main/packages/http",target:"_blank",rel:"noopener noreferrer"},Be={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},Se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http/stable.svg",alt:"NPM Stable Version"},null,-1),xe={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},ye=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http/beta.svg",alt:"NPM Beta Version"},null,-1),qe={href:"https://github.com/faasjs/faasjs/tree/main/packages/graphql-server",target:"_blank",rel:"noopener noreferrer"},Ee={href:"https://www.npmjs.com/package/@faasjs/graphql-server",target:"_blank",rel:"noopener noreferrer"},ze=e("img",{src:"https://img.shields.io/npm/v/@faasjs/graphql-server/stable.svg",alt:"NPM Stable Version"},null,-1),Ie={href:"https://www.npmjs.com/package/@faasjs/graphql-server",target:"_blank",rel:"noopener noreferrer"},Le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/graphql-server/beta.svg",alt:"NPM Beta Version"},null,-1),Re=e("h2",{id:"数据库插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#数据库插件"},[e("span",null,"数据库插件")])],-1),Te=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),Ae={href:"https://github.com/faasjs/faasjs/tree/main/packages/knex",target:"_blank",rel:"noopener noreferrer"},Ce={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},De=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex/stable.svg",alt:"NPM Stable Version"},null,-1),Je={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},Oe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex/beta.svg",alt:"NPM Beta Version"},null,-1),Fe={href:"https://github.com/faasjs/faasjs/tree/main/packages/mongo",target:"_blank",rel:"noopener noreferrer"},Ge={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},He=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo/stable.svg",alt:"NPM Stable Version"},null,-1),Ke={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},Qe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo/beta.svg",alt:"NPM Beta Version"},null,-1),Ue={href:"https://github.com/faasjs/faasjs/tree/main/packages/redis",target:"_blank",rel:"noopener noreferrer"},We={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},Xe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis/stable.svg",alt:"NPM Stable Version"},null,-1),Ye={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},Ze=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis/beta.svg",alt:"NPM Beta Version"},null,-1),$e=e("h2",{id:"服务商适配插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#服务商适配插件"},[e("span",null,"服务商适配插件")])],-1),es=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),ss={href:"https://github.com/faasjs/faasjs/tree/main/packages/tencentcloud",target:"_blank",rel:"noopener noreferrer"},ts={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},as=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud/stable.svg",alt:"NPM Stable Version"},null,-1),ns={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},rs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud/beta.svg",alt:"NPM Beta Version"},null,-1),ls=e("h2",{id:"前端插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#前端插件"},[e("span",null,"前端插件")])],-1),os=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),is={href:"https://github.com/faasjs/faasjs/tree/main/packages/browser",target:"_blank",rel:"noopener noreferrer"},hs={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},cs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser/stable.svg",alt:"NPM Stable Version"},null,-1),ps={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},_s=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser/beta.svg",alt:"NPM Beta Version"},null,-1),ds={href:"https://github.com/faasjs/faasjs/tree/main/packages/react",target:"_blank",rel:"noopener noreferrer"},gs={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},fs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react/stable.svg",alt:"NPM Stable Version"},null,-1),ms={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},us=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react/beta.svg",alt:"NPM Beta Version"},null,-1),js={href:"https://github.com/faasjs/faasjs/tree/main/packages/vue-plugin",target:"_blank",rel:"noopener noreferrer"},bs={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},ks=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin/stable.svg",alt:"NPM Stable Version"},null,-1),ws={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},vs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin/beta.svg",alt:"NPM Beta Version"},null,-1);function Ns(Vs,Ms){const s=r("ExternalLinkIcon");return l(),o("div",null,[h,e("p",null,[e("a",c,[p,t(s)])]),_,e("table",null,[d,e("tbody",null,[e("tr",null,[e("td",null,[e("a",g,[a("faasjs"),t(s)])]),e("td",null,[e("a",f,[m,t(s)])]),e("td",null,[e("a",u,[j,t(s)])])]),e("tr",null,[e("td",null,[e("a",b,[a("@faasjs/func"),t(s)])]),e("td",null,[e("a",k,[w,t(s)])]),e("td",null,[e("a",v,[N,t(s)])])]),e("tr",null,[e("td",null,[e("a",V,[a("@faasjs/cloud_function"),t(s)])]),e("td",null,[e("a",M,[P,t(s)])]),e("td",null,[e("a",B,[S,t(s)])])]),e("tr",null,[e("td",null,[e("a",x,[a("@faasjs/deployer"),t(s)])]),e("td",null,[e("a",y,[q,t(s)])]),e("td",null,[e("a",E,[z,t(s)])])]),e("tr",null,[e("td",null,[e("a",I,[a("@faasjs/test"),t(s)])]),e("td",null,[e("a",L,[R,t(s)])]),e("td",null,[e("a",T,[A,t(s)])])])])]),C,e("table",null,[D,e("tbody",null,[e("tr",null,[e("td",null,[e("a",J,[a("@faasjs/cli"),t(s)])]),e("td",null,[e("a",O,[F,t(s)])]),e("td",null,[e("a",G,[H,t(s)])])]),e("tr",null,[e("td",null,[e("a",K,[a("create-faas-app"),t(s)])]),e("td",null,[e("a",Q,[U,t(s)])]),e("td",null,[e("a",W,[X,t(s)])])])])]),Y,e("table",null,[Z,e("tbody",null,[e("tr",null,[e("td",null,[e("a",$,[a("@faasjs/deep_merge"),t(s)])]),e("td",null,[e("a",ee,[se,t(s)])]),e("td",null,[e("a",te,[ae,t(s)])])]),e("tr",null,[e("td",null,[e("a",ne,[a("@faasjs/load"),t(s)])]),e("td",null,[e("a",re,[le,t(s)])]),e("td",null,[e("a",oe,[ie,t(s)])])]),e("tr",null,[e("td",null,[e("a",he,[a("@faasjs/logger"),t(s)])]),e("td",null,[e("a",ce,[pe,t(s)])]),e("td",null,[e("a",_e,[de,t(s)])])]),e("tr",null,[e("td",null,[e("a",ge,[a("@faasjs/request"),t(s)])]),e("td",null,[e("a",fe,[me,t(s)])]),e("td",null,[e("a",ue,[je,t(s)])])]),e("tr",null,[e("td",null,[e("a",be,[a("@faasjs/server"),t(s)])]),e("td",null,[e("a",ke,[we,t(s)])]),e("td",null,[e("a",ve,[Ne,t(s)])])])])]),Ve,e("table",null,[Me,e("tbody",null,[e("tr",null,[e("td",null,[e("a",Pe,[a("@faasjs/http"),t(s)])]),e("td",null,[e("a",Be,[Se,t(s)])]),e("td",null,[e("a",xe,[ye,t(s)])])]),e("tr",null,[e("td",null,[e("a",qe,[a("@faasjs/graphql-server"),t(s)])]),e("td",null,[e("a",Ee,[ze,t(s)])]),e("td",null,[e("a",Ie,[Le,t(s)])])])])]),Re,e("table",null,[Te,e("tbody",null,[e("tr",null,[e("td",null,[e("a",Ae,[a("@faasjs/knex"),t(s)])]),e("td",null,[e("a",Ce,[De,t(s)])]),e("td",null,[e("a",Je,[Oe,t(s)])])]),e("tr",null,[e("td",null,[e("a",Fe,[a("@faasjs/mongo"),t(s)])]),e("td",null,[e("a",Ge,[He,t(s)])]),e("td",null,[e("a",Ke,[Qe,t(s)])])]),e("tr",null,[e("td",null,[e("a",Ue,[a("@faasjs/redis"),t(s)])]),e("td",null,[e("a",We,[Xe,t(s)])]),e("td",null,[e("a",Ye,[Ze,t(s)])])])])]),$e,e("table",null,[es,e("tbody",null,[e("tr",null,[e("td",null,[e("a",ss,[a("@faasjs/tencentcloud"),t(s)])]),e("td",null,[e("a",ts,[as,t(s)])]),e("td",null,[e("a",ns,[rs,t(s)])])])])]),ls,e("table",null,[os,e("tbody",null,[e("tr",null,[e("td",null,[e("a",is,[a("@faasjs/browser"),t(s)])]),e("td",null,[e("a",hs,[cs,t(s)])]),e("td",null,[e("a",ps,[_s,t(s)])])]),e("tr",null,[e("td",null,[e("a",ds,[a("@faasjs/react"),t(s)])]),e("td",null,[e("a",gs,[fs,t(s)])]),e("td",null,[e("a",ms,[us,t(s)])])]),e("tr",null,[e("td",null,[e("a",js,[a("@faasjs/vue-plugin"),t(s)])]),e("td",null,[e("a",bs,[ks,t(s)])]),e("td",null,[e("a",ws,[vs,t(s)])])])])])])}const Bs=n(i,[["render",Ns],["__file","index.html.vue"]]),Ss=JSON.parse('{"path":"/zh/doc/","title":"官方插件总览","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"核心插件","slug":"核心插件","link":"#核心插件","children":[]},{"level":2,"title":"命令行插件","slug":"命令行插件","link":"#命令行插件","children":[]},{"level":2,"title":"工具插件","slug":"工具插件","link":"#工具插件","children":[]},{"level":2,"title":"网络插件","slug":"网络插件","link":"#网络插件","children":[]},{"level":2,"title":"数据库插件","slug":"数据库插件","link":"#数据库插件","children":[]},{"level":2,"title":"服务商适配插件","slug":"服务商适配插件","link":"#服务商适配插件","children":[]},{"level":2,"title":"前端插件","slug":"前端插件","link":"#前端插件","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/README.md"}');export{Bs as comp,Ss as data};
    +import{_ as n,r,o as l,c as o,a as e,d as t,b as a}from"./app-COoiSelr.js";const i={},h=e("h1",{id:"官方插件总览",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#官方插件总览"},[e("span",null,"官方插件总览")])],-1),c={href:"https://github.com/faasjs/faasjs/actions/workflows/unit.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/unit.yml/badge.svg",alt:"Build Status"},null,-1),_=e("h2",{id:"核心插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#核心插件"},[e("span",null,"核心插件")])],-1),d=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),g={href:"https://github.com/faasjs/faasjs/tree/main/packages/faasjs",target:"_blank",rel:"noopener noreferrer"},f={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},m=e("img",{src:"https://img.shields.io/npm/v/faasjs/stable.svg",alt:"NPM Stable Version"},null,-1),u={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},j=e("img",{src:"https://img.shields.io/npm/v/faasjs/beta.svg",alt:"NPM Beta Version"},null,-1),b={href:"https://github.com/faasjs/faasjs/tree/main/packages/func",target:"_blank",rel:"noopener noreferrer"},k={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},w=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func/stable.svg",alt:"NPM Stable Version"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},N=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func/beta.svg",alt:"NPM Beta Version"},null,-1),V={href:"https://github.com/faasjs/faasjs/tree/main/packages/cloud_function",target:"_blank",rel:"noopener noreferrer"},M={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},P=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function/stable.svg",alt:"NPM Stable Version"},null,-1),B={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},S=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function/beta.svg",alt:"NPM Beta Version"},null,-1),x={href:"https://github.com/faasjs/faasjs/tree/main/packages/deployer",target:"_blank",rel:"noopener noreferrer"},y={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer/stable.svg",alt:"NPM Stable Version"},null,-1),E={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},z=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer/beta.svg",alt:"NPM Beta Version"},null,-1),I={href:"https://github.com/faasjs/faasjs/tree/main/packages/test",target:"_blank",rel:"noopener noreferrer"},L={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},R=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test/stable.svg",alt:"NPM Stable Version"},null,-1),T={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},A=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test/beta.svg",alt:"NPM Beta Version"},null,-1),C=e("h2",{id:"命令行插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#命令行插件"},[e("span",null,"命令行插件")])],-1),D=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),J={href:"https://github.com/faasjs/faasjs/tree/main/packages/cli",target:"_blank",rel:"noopener noreferrer"},O={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},F=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli/stable.svg",alt:"NPM Stable Version"},null,-1),G={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},H=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli/beta.svg",alt:"NPM Beta Version"},null,-1),K={href:"https://github.com/faasjs/faasjs/tree/main/packages/cli",target:"_blank",rel:"noopener noreferrer"},Q={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},U=e("img",{src:"https://img.shields.io/npm/v/create-faas-app/stable.svg",alt:"NPM Stable Version"},null,-1),W={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},X=e("img",{src:"https://img.shields.io/npm/v/create-faas-app/beta.svg",alt:"NPM Beta Version"},null,-1),Y=e("h2",{id:"工具插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#工具插件"},[e("span",null,"工具插件")])],-1),Z=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),$={href:"https://github.com/faasjs/faasjs/tree/main/packages/deep_merge",target:"_blank",rel:"noopener noreferrer"},ee={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge/stable.svg",alt:"NPM Stable Version"},null,-1),te={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},ae=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge/beta.svg",alt:"NPM Beta Version"},null,-1),ne={href:"https://github.com/faasjs/faasjs/tree/main/packages/load",target:"_blank",rel:"noopener noreferrer"},re={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load/stable.svg",alt:"NPM Stable Version"},null,-1),oe={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},ie=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load/beta.svg",alt:"NPM Beta Version"},null,-1),he={href:"https://github.com/faasjs/faasjs/tree/main/packages/logger",target:"_blank",rel:"noopener noreferrer"},ce={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},pe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger/stable.svg",alt:"NPM Stable Version"},null,-1),_e={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},de=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger/beta.svg",alt:"NPM Beta Version"},null,-1),ge={href:"https://github.com/faasjs/faasjs/tree/main/packages/request",target:"_blank",rel:"noopener noreferrer"},fe={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},me=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request/stable.svg",alt:"NPM Stable Version"},null,-1),ue={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},je=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request/beta.svg",alt:"NPM Beta Version"},null,-1),be={href:"https://github.com/faasjs/faasjs/tree/main/packages/server",target:"_blank",rel:"noopener noreferrer"},ke={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},we=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server/stable.svg",alt:"NPM Stable Version"},null,-1),ve={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},Ne=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server/beta.svg",alt:"NPM Beta Version"},null,-1),Ve=e("h2",{id:"网络插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#网络插件"},[e("span",null,"网络插件")])],-1),Me=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),Pe={href:"https://github.com/faasjs/faasjs/tree/main/packages/http",target:"_blank",rel:"noopener noreferrer"},Be={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},Se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http/stable.svg",alt:"NPM Stable Version"},null,-1),xe={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},ye=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http/beta.svg",alt:"NPM Beta Version"},null,-1),qe={href:"https://github.com/faasjs/faasjs/tree/main/packages/graphql-server",target:"_blank",rel:"noopener noreferrer"},Ee={href:"https://www.npmjs.com/package/@faasjs/graphql-server",target:"_blank",rel:"noopener noreferrer"},ze=e("img",{src:"https://img.shields.io/npm/v/@faasjs/graphql-server/stable.svg",alt:"NPM Stable Version"},null,-1),Ie={href:"https://www.npmjs.com/package/@faasjs/graphql-server",target:"_blank",rel:"noopener noreferrer"},Le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/graphql-server/beta.svg",alt:"NPM Beta Version"},null,-1),Re=e("h2",{id:"数据库插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#数据库插件"},[e("span",null,"数据库插件")])],-1),Te=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),Ae={href:"https://github.com/faasjs/faasjs/tree/main/packages/knex",target:"_blank",rel:"noopener noreferrer"},Ce={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},De=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex/stable.svg",alt:"NPM Stable Version"},null,-1),Je={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},Oe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex/beta.svg",alt:"NPM Beta Version"},null,-1),Fe={href:"https://github.com/faasjs/faasjs/tree/main/packages/mongo",target:"_blank",rel:"noopener noreferrer"},Ge={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},He=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo/stable.svg",alt:"NPM Stable Version"},null,-1),Ke={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},Qe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo/beta.svg",alt:"NPM Beta Version"},null,-1),Ue={href:"https://github.com/faasjs/faasjs/tree/main/packages/redis",target:"_blank",rel:"noopener noreferrer"},We={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},Xe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis/stable.svg",alt:"NPM Stable Version"},null,-1),Ye={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},Ze=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis/beta.svg",alt:"NPM Beta Version"},null,-1),$e=e("h2",{id:"服务商适配插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#服务商适配插件"},[e("span",null,"服务商适配插件")])],-1),es=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),ss={href:"https://github.com/faasjs/faasjs/tree/main/packages/tencentcloud",target:"_blank",rel:"noopener noreferrer"},ts={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},as=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud/stable.svg",alt:"NPM Stable Version"},null,-1),ns={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},rs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud/beta.svg",alt:"NPM Beta Version"},null,-1),ls=e("h2",{id:"前端插件",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#前端插件"},[e("span",null,"前端插件")])],-1),os=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Stable"),e("th",null,"Beta")])],-1),is={href:"https://github.com/faasjs/faasjs/tree/main/packages/browser",target:"_blank",rel:"noopener noreferrer"},hs={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},cs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser/stable.svg",alt:"NPM Stable Version"},null,-1),ps={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},_s=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser/beta.svg",alt:"NPM Beta Version"},null,-1),ds={href:"https://github.com/faasjs/faasjs/tree/main/packages/react",target:"_blank",rel:"noopener noreferrer"},gs={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},fs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react/stable.svg",alt:"NPM Stable Version"},null,-1),ms={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},us=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react/beta.svg",alt:"NPM Beta Version"},null,-1),js={href:"https://github.com/faasjs/faasjs/tree/main/packages/vue-plugin",target:"_blank",rel:"noopener noreferrer"},bs={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},ks=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin/stable.svg",alt:"NPM Stable Version"},null,-1),ws={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},vs=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin/beta.svg",alt:"NPM Beta Version"},null,-1);function Ns(Vs,Ms){const s=r("ExternalLinkIcon");return l(),o("div",null,[h,e("p",null,[e("a",c,[p,t(s)])]),_,e("table",null,[d,e("tbody",null,[e("tr",null,[e("td",null,[e("a",g,[a("faasjs"),t(s)])]),e("td",null,[e("a",f,[m,t(s)])]),e("td",null,[e("a",u,[j,t(s)])])]),e("tr",null,[e("td",null,[e("a",b,[a("@faasjs/func"),t(s)])]),e("td",null,[e("a",k,[w,t(s)])]),e("td",null,[e("a",v,[N,t(s)])])]),e("tr",null,[e("td",null,[e("a",V,[a("@faasjs/cloud_function"),t(s)])]),e("td",null,[e("a",M,[P,t(s)])]),e("td",null,[e("a",B,[S,t(s)])])]),e("tr",null,[e("td",null,[e("a",x,[a("@faasjs/deployer"),t(s)])]),e("td",null,[e("a",y,[q,t(s)])]),e("td",null,[e("a",E,[z,t(s)])])]),e("tr",null,[e("td",null,[e("a",I,[a("@faasjs/test"),t(s)])]),e("td",null,[e("a",L,[R,t(s)])]),e("td",null,[e("a",T,[A,t(s)])])])])]),C,e("table",null,[D,e("tbody",null,[e("tr",null,[e("td",null,[e("a",J,[a("@faasjs/cli"),t(s)])]),e("td",null,[e("a",O,[F,t(s)])]),e("td",null,[e("a",G,[H,t(s)])])]),e("tr",null,[e("td",null,[e("a",K,[a("create-faas-app"),t(s)])]),e("td",null,[e("a",Q,[U,t(s)])]),e("td",null,[e("a",W,[X,t(s)])])])])]),Y,e("table",null,[Z,e("tbody",null,[e("tr",null,[e("td",null,[e("a",$,[a("@faasjs/deep_merge"),t(s)])]),e("td",null,[e("a",ee,[se,t(s)])]),e("td",null,[e("a",te,[ae,t(s)])])]),e("tr",null,[e("td",null,[e("a",ne,[a("@faasjs/load"),t(s)])]),e("td",null,[e("a",re,[le,t(s)])]),e("td",null,[e("a",oe,[ie,t(s)])])]),e("tr",null,[e("td",null,[e("a",he,[a("@faasjs/logger"),t(s)])]),e("td",null,[e("a",ce,[pe,t(s)])]),e("td",null,[e("a",_e,[de,t(s)])])]),e("tr",null,[e("td",null,[e("a",ge,[a("@faasjs/request"),t(s)])]),e("td",null,[e("a",fe,[me,t(s)])]),e("td",null,[e("a",ue,[je,t(s)])])]),e("tr",null,[e("td",null,[e("a",be,[a("@faasjs/server"),t(s)])]),e("td",null,[e("a",ke,[we,t(s)])]),e("td",null,[e("a",ve,[Ne,t(s)])])])])]),Ve,e("table",null,[Me,e("tbody",null,[e("tr",null,[e("td",null,[e("a",Pe,[a("@faasjs/http"),t(s)])]),e("td",null,[e("a",Be,[Se,t(s)])]),e("td",null,[e("a",xe,[ye,t(s)])])]),e("tr",null,[e("td",null,[e("a",qe,[a("@faasjs/graphql-server"),t(s)])]),e("td",null,[e("a",Ee,[ze,t(s)])]),e("td",null,[e("a",Ie,[Le,t(s)])])])])]),Re,e("table",null,[Te,e("tbody",null,[e("tr",null,[e("td",null,[e("a",Ae,[a("@faasjs/knex"),t(s)])]),e("td",null,[e("a",Ce,[De,t(s)])]),e("td",null,[e("a",Je,[Oe,t(s)])])]),e("tr",null,[e("td",null,[e("a",Fe,[a("@faasjs/mongo"),t(s)])]),e("td",null,[e("a",Ge,[He,t(s)])]),e("td",null,[e("a",Ke,[Qe,t(s)])])]),e("tr",null,[e("td",null,[e("a",Ue,[a("@faasjs/redis"),t(s)])]),e("td",null,[e("a",We,[Xe,t(s)])]),e("td",null,[e("a",Ye,[Ze,t(s)])])])])]),$e,e("table",null,[es,e("tbody",null,[e("tr",null,[e("td",null,[e("a",ss,[a("@faasjs/tencentcloud"),t(s)])]),e("td",null,[e("a",ts,[as,t(s)])]),e("td",null,[e("a",ns,[rs,t(s)])])])])]),ls,e("table",null,[os,e("tbody",null,[e("tr",null,[e("td",null,[e("a",is,[a("@faasjs/browser"),t(s)])]),e("td",null,[e("a",hs,[cs,t(s)])]),e("td",null,[e("a",ps,[_s,t(s)])])]),e("tr",null,[e("td",null,[e("a",ds,[a("@faasjs/react"),t(s)])]),e("td",null,[e("a",gs,[fs,t(s)])]),e("td",null,[e("a",ms,[us,t(s)])])]),e("tr",null,[e("td",null,[e("a",js,[a("@faasjs/vue-plugin"),t(s)])]),e("td",null,[e("a",bs,[ks,t(s)])]),e("td",null,[e("a",ws,[vs,t(s)])])])])])])}const Bs=n(i,[["render",Ns],["__file","index.html.vue"]]),Ss=JSON.parse('{"path":"/zh/doc/","title":"官方插件总览","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"核心插件","slug":"核心插件","link":"#核心插件","children":[]},{"level":2,"title":"命令行插件","slug":"命令行插件","link":"#命令行插件","children":[]},{"level":2,"title":"工具插件","slug":"工具插件","link":"#工具插件","children":[]},{"level":2,"title":"网络插件","slug":"网络插件","link":"#网络插件","children":[]},{"level":2,"title":"数据库插件","slug":"数据库插件","link":"#数据库插件","children":[]},{"level":2,"title":"服务商适配插件","slug":"服务商适配插件","link":"#服务商适配插件","children":[]},{"level":2,"title":"前端插件","slug":"前端插件","link":"#前端插件","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/README.md"}');export{Bs as comp,Ss as data};
    diff --git a/assets/index.html-q7YNsz28.js b/assets/index.html-DhuguzkR.js
    similarity index 95%
    rename from assets/index.html-q7YNsz28.js
    rename to assets/index.html-DhuguzkR.js
    index 407d160e70..9752c039bd 100644
    --- a/assets/index.html-q7YNsz28.js
    +++ b/assets/index.html-DhuguzkR.js
    @@ -1,6 +1,6 @@
    -import{_ as s,r as n,o as i,c as r,a as e,b as l,d as c,e as a}from"./app-QyD7034V.js";const d={},h=a(`

    Getting Started

    Quickstart

    Start with Command Line

    # use npm
    +import{_ as s,r as n,o as i,c as r,a as e,b as l,d as c,e as a}from"./app-COoiSelr.js";const d={},h=a(`

    Getting Started

    Quickstart

    Start with Command Line

    # use npm
     npx create-faas-app --name faasjs
     
     # use bun
     bunx create-faas-app --name faasjs
    -

    Start with Codespace

    `,5),o={href:"https://github.com/faasjs/starter",target:"_blank",rel:"noopener noreferrer"},u=a('

    File Structure

    faas.yaml

    This is the configuration file for FaasJS, which records the configuration items of cloud service providers and plugins.

    *.func.ts

    This is the cloud function file. In FaasJS, all cloud function files must end with .func.ts.

    *.test.ts

    This is the unit test file. In FaasJS, all unit test files must end with .test.ts.

    ',7);function p(f,m){const t=n("ExternalLinkIcon");return i(),r("div",null,[h,e("p",null,[e("a",o,[l("FaasJS Stater"),c(t)])]),u])}const g=s(d,[["render",p],["__file","index.html.vue"]]),b=JSON.parse('{"path":"/guide/","title":"Getting Started","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Quickstart","slug":"quickstart","link":"#quickstart","children":[{"level":3,"title":"Start with Command Line","slug":"start-with-command-line","link":"#start-with-command-line","children":[]},{"level":3,"title":"Start with Codespace","slug":"start-with-codespace","link":"#start-with-codespace","children":[]}]},{"level":2,"title":"File Structure","slug":"file-structure","link":"#file-structure","children":[{"level":3,"title":"faas.yaml","slug":"faas-yaml","link":"#faas-yaml","children":[]},{"level":3,"title":"*.func.ts","slug":"func-ts","link":"#func-ts","children":[]},{"level":3,"title":"*.test.ts","slug":"test-ts","link":"#test-ts","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"guide/README.md"}');export{g as comp,b as data}; +

    Start with Codespace

    `,5),o={href:"https://github.com/faasjs/starter",target:"_blank",rel:"noopener noreferrer"},u=a('

    File Structure

    faas.yaml

    This is the configuration file for FaasJS, which records the configuration items of cloud service providers and plugins.

    *.func.ts

    This is the cloud function file. In FaasJS, all cloud function files must end with .func.ts.

    *.test.ts

    This is the unit test file. In FaasJS, all unit test files must end with .test.ts.

    ',7);function p(f,m){const t=n("ExternalLinkIcon");return i(),r("div",null,[h,e("p",null,[e("a",o,[l("FaasJS Stater"),c(t)])]),u])}const g=s(d,[["render",p],["__file","index.html.vue"]]),b=JSON.parse('{"path":"/guide/","title":"Getting Started","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Quickstart","slug":"quickstart","link":"#quickstart","children":[{"level":3,"title":"Start with Command Line","slug":"start-with-command-line","link":"#start-with-command-line","children":[]},{"level":3,"title":"Start with Codespace","slug":"start-with-codespace","link":"#start-with-codespace","children":[]}]},{"level":2,"title":"File Structure","slug":"file-structure","link":"#file-structure","children":[{"level":3,"title":"faas.yaml","slug":"faas-yaml","link":"#faas-yaml","children":[]},{"level":3,"title":"*.func.ts","slug":"func-ts","link":"#func-ts","children":[]},{"level":3,"title":"*.test.ts","slug":"test-ts","link":"#test-ts","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"guide/README.md"}');export{g as comp,b as data}; diff --git a/assets/index.html-BJHA1eaL.js b/assets/index.html-Dr9mAshC.js similarity index 99% rename from assets/index.html-BJHA1eaL.js rename to assets/index.html-Dr9mAshC.js index 505c290cbf..326162df0b 100644 --- a/assets/index.html-BJHA1eaL.js +++ b/assets/index.html-Dr9mAshC.js @@ -1,4 +1,4 @@ -import{_ as i,r as o,o as d,c as r,a as n,d as t,w as a,b as e,e as c}from"./app-QyD7034V.js";const p={},u=n("h1",{id:"faasjs-ant-design",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-ant-design"},[n("span",null,"@faasjs/ant-design")])],-1),f={href:"https://faasjs.com",target:"_blank",rel:"noopener noreferrer"},m={href:"https://ant.design",target:"_blank",rel:"noopener noreferrer"},g={href:"https://reactrouter.com",target:"_blank",rel:"noopener noreferrer"},h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/ant-design/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=n("img",{src:"https://img.shields.io/npm/l/@faasjs/ant-design.svg",alt:"License: MIT"},null,-1),P={href:"https://www.npmjs.com/package/@faasjs/ant-design",target:"_blank",rel:"noopener noreferrer"},b=n("img",{src:"https://img.shields.io/npm/v/@faasjs/ant-design.svg",alt:"NPM Version"},null,-1),k=c(`

    Install

    npm install @faasjs/ant-design
    +import{_ as i,r as o,o as d,c as r,a as n,d as t,w as a,b as e,e as c}from"./app-COoiSelr.js";const p={},u=n("h1",{id:"faasjs-ant-design",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#faasjs-ant-design"},[n("span",null,"@faasjs/ant-design")])],-1),f={href:"https://faasjs.com",target:"_blank",rel:"noopener noreferrer"},m={href:"https://ant.design",target:"_blank",rel:"noopener noreferrer"},g={href:"https://reactrouter.com",target:"_blank",rel:"noopener noreferrer"},h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/ant-design/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=n("img",{src:"https://img.shields.io/npm/l/@faasjs/ant-design.svg",alt:"License: MIT"},null,-1),P={href:"https://www.npmjs.com/package/@faasjs/ant-design",target:"_blank",rel:"noopener noreferrer"},b=n("img",{src:"https://img.shields.io/npm/v/@faasjs/ant-design.svg",alt:"NPM Version"},null,-1),k=c(`

    Install

    npm install @faasjs/ant-design
     

    Usage

    In @faasjs/ant-design, we use FaasItemProps to provide data structures for components.

    type FaasItemType =
       'string' | 'string[]' |
       'number' | 'number[]' |
    diff --git a/assets/index.html-jZL6woxY.js b/assets/index.html-DxyzgCK5.js
    similarity index 98%
    rename from assets/index.html-jZL6woxY.js
    rename to assets/index.html-DxyzgCK5.js
    index 7e2e370a47..72643fd2fc 100644
    --- a/assets/index.html-jZL6woxY.js
    +++ b/assets/index.html-DxyzgCK5.js
    @@ -1,4 +1,4 @@
    -import{_ as s,o as a,c as n,e as t}from"./app-QyD7034V.js";const e={},p=t(`
    一个基于 Typescript 的原子化应用框架

    为什么要使用 FaasJS ?

    开发效率高

    原子化的开发模式,可以让开发和迭代降低到羽量级的程度,对团队开发也更友好。

    FaasJS 官方提供了诸如 HTTP、Knex 等插件,使开发者可以立刻上手开发业务。

    可维护性高

    FaaS 架构保证了云函数之间的独立性,避免单一错误导致整个系统的故障。

    FaasJS 内置自动化测试工具,方便开发者对云函数进行自动化测试。

    可扩展性高

    FaasJS 拥有简单易用的插件机制,可以让开发者可以自由扩展功能和插件。

    代码示例

    云函数文件

    // index.func.ts 文件,云函数文件名都以 .func.ts 结尾
    +import{_ as s,o as a,c as n,e as t}from"./app-COoiSelr.js";const e={},p=t(`
    一个基于 Typescript 的原子化应用框架

    为什么要使用 FaasJS ?

    开发效率高

    原子化的开发模式,可以让开发和迭代降低到羽量级的程度,对团队开发也更友好。

    FaasJS 官方提供了诸如 HTTP、Knex 等插件,使开发者可以立刻上手开发业务。

    可维护性高

    FaaS 架构保证了云函数之间的独立性,避免单一错误导致整个系统的故障。

    FaasJS 内置自动化测试工具,方便开发者对云函数进行自动化测试。

    可扩展性高

    FaasJS 拥有简单易用的插件机制,可以让开发者可以自由扩展功能和插件。

    代码示例

    云函数文件

    // index.func.ts 文件,云函数文件名都以 .func.ts 结尾
     import { useFunc } from '@faasjs/func'
     import { useHttp } from '@faasjs/http'
     
    @@ -28,4 +28,4 @@ import{_ as s,o as a,c as n,e as t}from"./app-QyD7034V.js";const e={},p=t(`
    }); });

    立即开始

    npx create-faas-app --name faasjs --example --noprovider
    -



    欢迎关注 FaasJS 作者的公众号(寂静小站)与我交流:
    公众号 寂静小站

    感谢

    代码贡献者(按字母排序)

    Germini, hiisea, luckyporo, mingkang1993, minzojian, onichandame, Vibutnum, victoryifei, zfben

    FaasJS 基于以下开源项目(按字母排序)

    Apollo, Biome, Jest, Knex, Node.js, Rollup.js, TypeScript, VuePress
    `,18),i=[p];function c(o,l){return a(),n("div",null,i)}const u=s(e,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/zh/","title":"","lang":"zh","frontmatter":{"home":true,"heroImage":"/logo.jpg","heroText":"FaasJS","tagline":null,"footer":"一个基于 Typescript 的原子化应用框架 | MIT Licensed | Copyright © 2019-2024 Zhu Feng"},"headers":[{"level":2,"title":"为什么要使用 FaasJS ?","slug":"为什么要使用-faasjs","link":"#为什么要使用-faasjs","children":[{"level":3,"title":"开发效率高","slug":"开发效率高","link":"#开发效率高","children":[]},{"level":3,"title":"可维护性高","slug":"可维护性高","link":"#可维护性高","children":[]},{"level":3,"title":"可扩展性高","slug":"可扩展性高","link":"#可扩展性高","children":[]}]},{"level":2,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[{"level":3,"title":"云函数文件","slug":"云函数文件","link":"#云函数文件","children":[]}]},{"level":2,"title":"单元测试文件","slug":"单元测试文件","link":"#单元测试文件","children":[]},{"level":2,"title":"立即开始","slug":"立即开始","link":"#立即开始","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/README.md"}');export{u as comp,d as data}; +



    欢迎关注 FaasJS 作者的公众号(寂静小站)与我交流:
    公众号 寂静小站

    感谢

    代码贡献者(按字母排序)

    Germini, hiisea, luckyporo, mingkang1993, minzojian, onichandame, Vibutnum, victoryifei, zfben

    FaasJS 基于以下开源项目(按字母排序)

    Apollo, Biome, Jest, Knex, Node.js, Rollup.js, TypeScript, VuePress
    `,18),i=[p];function c(o,l){return a(),n("div",null,i)}const u=s(e,[["render",c],["__file","index.html.vue"]]),d=JSON.parse('{"path":"/zh/","title":"","lang":"zh","frontmatter":{"home":true,"heroImage":"/logo.jpg","heroText":"FaasJS","tagline":null,"footer":"一个基于 Typescript 的原子化应用框架 | MIT Licensed | Copyright © 2019-2024 Zhu Feng"},"headers":[{"level":2,"title":"为什么要使用 FaasJS ?","slug":"为什么要使用-faasjs","link":"#为什么要使用-faasjs","children":[{"level":3,"title":"开发效率高","slug":"开发效率高","link":"#开发效率高","children":[]},{"level":3,"title":"可维护性高","slug":"可维护性高","link":"#可维护性高","children":[]},{"level":3,"title":"可扩展性高","slug":"可扩展性高","link":"#可扩展性高","children":[]}]},{"level":2,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[{"level":3,"title":"云函数文件","slug":"云函数文件","link":"#云函数文件","children":[]}]},{"level":2,"title":"单元测试文件","slug":"单元测试文件","link":"#单元测试文件","children":[]},{"level":2,"title":"立即开始","slug":"立即开始","link":"#立即开始","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/README.md"}');export{u as comp,d as data}; diff --git a/assets/index.html-fPU20FRE.js b/assets/index.html-DzvmYkIn.js similarity index 97% rename from assets/index.html-fPU20FRE.js rename to assets/index.html-DzvmYkIn.js index 5a94f96736..70a07ce947 100644 --- a/assets/index.html-fPU20FRE.js +++ b/assets/index.html-DzvmYkIn.js @@ -1,4 +1,4 @@ -import{_ as i,r as n,o,c,a as s,d as a,w as r,b as t,e as p}from"./app-QyD7034V.js";const d={},u=s("h1",{id:"faasjs-cli",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-cli"},[s("span",null,"@faasjs/cli")])],-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/cli/LICENSE",target:"_blank",rel:"noopener noreferrer"},m=s("img",{src:"https://img.shields.io/npm/l/@faasjs/cli.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/cli.svg",alt:"NPM Version"},null,-1),_=p(`

    CLI for FaasJS.

    Install

    npm install @faasjs/cli
    +import{_ as i,r as n,o,c,a as s,d as a,w as r,b as t,e as p}from"./app-COoiSelr.js";const d={},u=s("h1",{id:"faasjs-cli",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-cli"},[s("span",null,"@faasjs/cli")])],-1),h={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/cli/LICENSE",target:"_blank",rel:"noopener noreferrer"},m=s("img",{src:"https://img.shields.io/npm/l/@faasjs/cli.svg",alt:"License: MIT"},null,-1),f={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},g=s("img",{src:"https://img.shields.io/npm/v/@faasjs/cli.svg",alt:"NPM Version"},null,-1),_=p(`

    CLI for FaasJS.

    Install

    npm install @faasjs/cli
     

    Usage

    Add script to package.json:

    {
       "scripts": {
         "faas": "faas"
    diff --git a/assets/index.html-CKRhJW2F.js b/assets/index.html-EFJYB1KI.js
    similarity index 98%
    rename from assets/index.html-CKRhJW2F.js
    rename to assets/index.html-EFJYB1KI.js
    index 14bd16d8dc..e5c2a7665c 100644
    --- a/assets/index.html-CKRhJW2F.js
    +++ b/assets/index.html-EFJYB1KI.js
    @@ -1,2 +1,2 @@
    -import{_ as c,r as i,o,c as u,a as e,d as l,w as s,b as n,e as d}from"./app-QyD7034V.js";const f={},r=e("h1",{id:"faasjs-func",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-func"},[e("span",null,"@faasjs/func")])],-1),h=e("p",null,"FaasJS's function module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/func/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/func.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/func
    +import{_ as c,r as i,o,c as u,a as e,d as l,w as s,b as n,e as d}from"./app-COoiSelr.js";const f={},r=e("h1",{id:"faasjs-func",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-func"},[e("span",null,"@faasjs/func")])],-1),h=e("p",null,"FaasJS's function module.",-1),p={href:"https://github.com/faasjs/faasjs/blob/main/packages/faasjs/func/LICENSE",target:"_blank",rel:"noopener noreferrer"},_=e("img",{src:"https://img.shields.io/npm/l/@faasjs/func.svg",alt:"License: MIT"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func.svg",alt:"NPM Version"},null,-1),y=d(`

    Install

    npm install @faasjs/func
     

    Classes

    `,3),v=e("h2",{id:"type-aliases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-aliases"},[e("span",null,"Type Aliases")])],-1),x=e("h2",{id:"functions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#functions"},[e("span",null,"Functions")])],-1);function k(b,j){const a=i("RouteLink"),t=i("ExternalLinkIcon");return o(),u("div",null,[e("p",null,[l(a,{to:"/doc/"},{default:s(()=>[n("Documents")]),_:1}),n(" / @faasjs/func")]),r,h,e("p",null,[e("a",p,[_,l(t)]),e("a",m,[g,l(t)])]),y,e("ul",null,[e("li",null,[l(a,{to:"/doc/func/classes/Func.html"},{default:s(()=>[n("Func")]),_:1})])]),v,e("ul",null,[e("li",null,[l(a,{to:"/doc/func/type-aliases/Config.html"},{default:s(()=>[n("Config")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/DeployData.html"},{default:s(()=>[n("DeployData")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/ExportedHandler.html"},{default:s(()=>[n("ExportedHandler")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/FuncConfig.html"},{default:s(()=>[n("FuncConfig")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/FuncEventType.html"},{default:s(()=>[n("FuncEventType")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/FuncReturnType.html"},{default:s(()=>[n("FuncReturnType")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/Handler.html"},{default:s(()=>[n("Handler")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/InvokeData.html"},{default:s(()=>[n("InvokeData")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/LifeCycleKey.html"},{default:s(()=>[n("LifeCycleKey")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/MountData.html"},{default:s(()=>[n("MountData")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/Next.html"},{default:s(()=>[n("Next")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/Plugin.html"},{default:s(()=>[n("Plugin")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/ProviderConfig.html"},{default:s(()=>[n("ProviderConfig")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:s(()=>[n("UseifyPlugin")]),_:1})])]),x,e("ul",null,[e("li",null,[l(a,{to:"/doc/func/functions/useFunc.html"},{default:s(()=>[n("useFunc")]),_:1})]),e("li",null,[l(a,{to:"/doc/func/functions/usePlugin.html"},{default:s(()=>[n("usePlugin")]),_:1})])])])}const F=c(f,[["render",k],["__file","index.html.vue"]]),E=JSON.parse('{"path":"/doc/func/","title":"@faasjs/func","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Install","slug":"install","link":"#install","children":[]},{"level":2,"title":"Classes","slug":"classes","link":"#classes","children":[]},{"level":2,"title":"Type Aliases","slug":"type-aliases","link":"#type-aliases","children":[]},{"level":2,"title":"Functions","slug":"functions","link":"#functions","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/README.md"}');export{F as comp,E as data}; diff --git a/assets/index.html-ZJ-kYNCy.js b/assets/index.html-FGA5pujt.js similarity index 98% rename from assets/index.html-ZJ-kYNCy.js rename to assets/index.html-FGA5pujt.js index 061d21a3d7..a5fd2ef780 100644 --- a/assets/index.html-ZJ-kYNCy.js +++ b/assets/index.html-FGA5pujt.js @@ -1,4 +1,4 @@ -import{_ as r,r as i,o as l,c as d,a as s,d as e,w as o,e as c,b as t}from"./app-QyD7034V.js";const h={},g=s("h1",{id:"faasjs-s-docker-images",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-s-docker-images"},[s("span",null,"FaasJS's Docker Images")])],-1),f=s("h2",{id:"images",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#images"},[s("span",null,"Images")])],-1),u={id:"faasjs-nginx",tabindex:"-1"},m={class:"header-anchor",href:"#faasjs-nginx"},_=s("p",null,"A Nginx Image for FaasJS projects.",-1),p={href:"https://hub.docker.com/r/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},b=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnginx-blue",alt:"faasjs/nginx"},null,-1),j={href:"https://hub.docker.com/r/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},k=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/nginx/latest",alt:"Image size"},null,-1),v={href:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml",target:"_blank",rel:"noopener noreferrer"},x=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml/badge.svg",alt:"Build faasjs/nginx"},null,-1),y={id:"faasjs-vscode",tabindex:"-1"},w={class:"header-anchor",href:"#faasjs-vscode"},I=s("p",null,"VSCode Container Image for FaasJS projects.",-1),F={href:"https://hub.docker.com/r/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},N=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fvscode-blue",alt:"faasjs/vscode"},null,-1),S={href:"https://hub.docker.com/r/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},z=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/vscode/latest",alt:"Image size"},null,-1),B={href:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml",target:"_blank",rel:"noopener noreferrer"},D=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml/badge.svg",alt:"Build faasjs/vscode"},null,-1),J={id:"faasjs-node",tabindex:"-1"},R={class:"header-anchor",href:"#faasjs-node"},C=s("p",null,"Node Image for FaasJS projects.",-1),E={href:"https://hub.docker.com/r/faasjs/node",target:"_blank",rel:"noopener noreferrer"},U=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnode-blue",alt:"faasjs/node"},null,-1),V={href:"https://hub.docker.com/r/faasjs/node",target:"_blank",rel:"noopener noreferrer"},A=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/node/latest",alt:"Image size"},null,-1),L={href:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml",target:"_blank",rel:"noopener noreferrer"},T=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml/badge.svg",alt:"Build faasjs/node"},null,-1),q={id:"faasjs-bun",tabindex:"-1"},O={class:"header-anchor",href:"#faasjs-bun"},M=s("p",null,"Bun Image for FaasJS projects.",-1),P={href:"https://hub.docker.com/r/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},G=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fbun-blue",alt:"faasjs/bun"},null,-1),H={href:"https://hub.docker.com/r/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},K=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/bun/latest",alt:"Image size"},null,-1),Q={href:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml",target:"_blank",rel:"noopener noreferrer"},W=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml/badge.svg",alt:"Build faasjs/bun"},null,-1),X=c(`

    Tips for using in China

    Use Aliyun mirror

    # For alpine
    +import{_ as r,r as i,o as l,c as d,a as s,d as e,w as o,e as c,b as t}from"./app-COoiSelr.js";const h={},g=s("h1",{id:"faasjs-s-docker-images",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-s-docker-images"},[s("span",null,"FaasJS's Docker Images")])],-1),f=s("h2",{id:"images",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#images"},[s("span",null,"Images")])],-1),u={id:"faasjs-nginx",tabindex:"-1"},m={class:"header-anchor",href:"#faasjs-nginx"},_=s("p",null,"A Nginx Image for FaasJS projects.",-1),p={href:"https://hub.docker.com/r/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},b=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnginx-blue",alt:"faasjs/nginx"},null,-1),j={href:"https://hub.docker.com/r/faasjs/nginx",target:"_blank",rel:"noopener noreferrer"},k=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/nginx/latest",alt:"Image size"},null,-1),v={href:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml",target:"_blank",rel:"noopener noreferrer"},x=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-nginx-image.yml/badge.svg",alt:"Build faasjs/nginx"},null,-1),y={id:"faasjs-vscode",tabindex:"-1"},w={class:"header-anchor",href:"#faasjs-vscode"},I=s("p",null,"VSCode Container Image for FaasJS projects.",-1),F={href:"https://hub.docker.com/r/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},N=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fvscode-blue",alt:"faasjs/vscode"},null,-1),S={href:"https://hub.docker.com/r/faasjs/vscode",target:"_blank",rel:"noopener noreferrer"},z=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/vscode/latest",alt:"Image size"},null,-1),B={href:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml",target:"_blank",rel:"noopener noreferrer"},D=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-vscode-image.yml/badge.svg",alt:"Build faasjs/vscode"},null,-1),J={id:"faasjs-node",tabindex:"-1"},R={class:"header-anchor",href:"#faasjs-node"},C=s("p",null,"Node Image for FaasJS projects.",-1),E={href:"https://hub.docker.com/r/faasjs/node",target:"_blank",rel:"noopener noreferrer"},U=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fnode-blue",alt:"faasjs/node"},null,-1),V={href:"https://hub.docker.com/r/faasjs/node",target:"_blank",rel:"noopener noreferrer"},A=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/node/latest",alt:"Image size"},null,-1),L={href:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml",target:"_blank",rel:"noopener noreferrer"},T=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-node-image.yml/badge.svg",alt:"Build faasjs/node"},null,-1),q={id:"faasjs-bun",tabindex:"-1"},O={class:"header-anchor",href:"#faasjs-bun"},M=s("p",null,"Bun Image for FaasJS projects.",-1),P={href:"https://hub.docker.com/r/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},G=s("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fbun-blue",alt:"faasjs/bun"},null,-1),H={href:"https://hub.docker.com/r/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},K=s("img",{src:"https://img.shields.io/docker/image-size/faasjs/bun/latest",alt:"Image size"},null,-1),Q={href:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml",target:"_blank",rel:"noopener noreferrer"},W=s("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml/badge.svg",alt:"Build faasjs/bun"},null,-1),X=c(`

    Tips for using in China

    Use Aliyun mirror

    # For alpine
     RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
     
     # For npm
    diff --git a/assets/index.html-CuS9Nfx-.js b/assets/index.html-Fga_grSV.js
    similarity index 94%
    rename from assets/index.html-CuS9Nfx-.js
    rename to assets/index.html-Fga_grSV.js
    index dbda752a79..0e3d44d85e 100644
    --- a/assets/index.html-CuS9Nfx-.js
    +++ b/assets/index.html-Fga_grSV.js
    @@ -1,3 +1,3 @@
    -import{_ as n,r as t,o,c as r,a as e,d as s,e as i}from"./app-QyD7034V.js";const l={},d=e("h1",{id:"bun-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#bun-image-for-faasjs-projects"},[e("span",null,"Bun Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fbun-blue",alt:"faasjs/bun"},null,-1),h={href:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml/badge.svg",alt:"Build Status"},null,-1),b={href:"https://hub.docker.com/repository/docker/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/bun/latest",alt:"Image size"},null,-1),g=i(`

    Features

    • Base on oven/bun:alpine with tiny image size and bun lts version. (Also support debian with faasjs/bun:debian)

    Usage

    docker pull faasjs/bun
    +import{_ as n,r as t,o,c as r,a as e,d as s,e as i}from"./app-COoiSelr.js";const l={},d=e("h1",{id:"bun-image-for-faasjs-projects",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#bun-image-for-faasjs-projects"},[e("span",null,"Bun Image for FaasJS projects")])],-1),c={href:"https://hub.docker.com/repository/docker/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},u=e("img",{src:"https://img.shields.io/badge/Docker-faasjs%2Fbun-blue",alt:"faasjs/bun"},null,-1),h={href:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml",target:"_blank",rel:"noopener noreferrer"},p=e("img",{src:"https://github.com/faasjs/faasjs/actions/workflows/build-bun-image.yml/badge.svg",alt:"Build Status"},null,-1),b={href:"https://hub.docker.com/repository/docker/faasjs/bun",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/docker/image-size/faasjs/bun/latest",alt:"Image size"},null,-1),g=i(`

    Features

    • Base on oven/bun:alpine with tiny image size and bun lts version. (Also support debian with faasjs/bun:debian)

    Usage

    docker pull faasjs/bun
     

    Or use the debian version:

    docker pull faasjs/bun:debian
     
    `,6);function m(_,v){const a=t("ExternalLinkIcon");return o(),r("div",null,[d,e("p",null,[e("a",c,[u,s(a)]),e("a",h,[p,s(a)]),e("a",b,[f,s(a)])]),g])}const j=n(l,[["render",m],["__file","index.html.vue"]]),x=JSON.parse('{"path":"/doc/images/bun/","title":"Bun Image for FaasJS projects","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Features","slug":"features","link":"#features","children":[]},{"level":2,"title":"Usage","slug":"usage","link":"#usage","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/images/bun/README.md"}');export{j as comp,x as data}; diff --git a/assets/index.html-NwG18qiC.js b/assets/index.html-ug-u4Oa2.js similarity index 99% rename from assets/index.html-NwG18qiC.js rename to assets/index.html-ug-u4Oa2.js index cb23c46f67..70513e81ab 100644 --- a/assets/index.html-NwG18qiC.js +++ b/assets/index.html-ug-u4Oa2.js @@ -1 +1 @@ -import{_ as r,r as o,o as i,c as d,a as e,d as s,w as n,b as a}from"./app-QyD7034V.js";const c={},h=e("h1",{id:"overview-of-official-plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overview-of-official-plugins"},[e("span",null,"Overview of official plugins")])],-1),u=e("h2",{id:"cores",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#cores"},[e("span",null,"Cores")])],-1),p=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),_={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/faasjs.svg",alt:"NPM Version"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func.svg",alt:"NPM Version"},null,-1),j={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},w=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function.svg",alt:"NPM Version"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},k=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer.svg",alt:"NPM Version"},null,-1),b={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},N=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test.svg",alt:"NPM Version"},null,-1),V=e("h2",{id:"command-lines",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#command-lines"},[e("span",null,"Command Lines")])],-1),P=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),M={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},x=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli.svg",alt:"NPM Version"},null,-1),y={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},C=e("img",{src:"https://img.shields.io/npm/v/create-faas-app.svg",alt:"NPM Version"},null,-1),L=e("h2",{id:"utils",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#utils"},[e("span",null,"Utils")])],-1),B=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),E={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge.svg",alt:"NPM Version"},null,-1),R={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},D=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load.svg",alt:"NPM Version"},null,-1),O={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},H=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger.svg",alt:"NPM Version"},null,-1),I={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},T=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request.svg",alt:"NPM Version"},null,-1),U={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},A=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server.svg",alt:"NPM Version"},null,-1),J={href:"https://www.npmjs.com/package/@faasjs/ts-transform",target:"_blank",rel:"noopener noreferrer"},S=e("img",{src:"https://img.shields.io/npm/v/@faasjs/ts-transform.svg",alt:"NPM Version"},null,-1),z={href:"https://www.npmjs.com/package/@faasjs/jest",target:"_blank",rel:"noopener noreferrer"},F=e("img",{src:"https://img.shields.io/npm/v/@faasjs/jest.svg",alt:"NPM Version"},null,-1),G=e("h2",{id:"http",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#http"},[e("span",null,"Http")])],-1),K=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),Q={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},W=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http.svg",alt:"NPM Version"},null,-1),X=e("h2",{id:"databases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#databases"},[e("span",null,"Databases")])],-1),Y=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),Z={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},$=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex.svg",alt:"NPM Version"},null,-1),ee={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo.svg",alt:"NPM Version"},null,-1),te={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis.svg",alt:"NPM Version"},null,-1),ne=e("h2",{id:"providers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#providers"},[e("span",null,"Providers")])],-1),ae=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),oe={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},re=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud.svg",alt:"NPM Version"},null,-1),ie=e("h2",{id:"browsers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#browsers"},[e("span",null,"Browsers")])],-1),de=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),ce={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},he=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser.svg",alt:"NPM Version"},null,-1),ue={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},pe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react.svg",alt:"NPM Version"},null,-1),_e={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},fe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin.svg",alt:"NPM Version"},null,-1),me={href:"https://www.npmjs.com/package/@faasjs/ant-design",target:"_blank",rel:"noopener noreferrer"},ge=e("img",{src:"https://img.shields.io/npm/v/@faasjs/ant-design.svg",alt:"NPM Version"},null,-1);function je(we,ve){const t=o("RouteLink"),l=o("ExternalLinkIcon");return i(),d("div",null,[h,u,e("table",null,[p,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/faasjs/"},{default:n(()=>[a("faasjs")]),_:1})]),e("td",null,[e("a",_,[f,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/func/"},{default:n(()=>[a("@faasjs/func")]),_:1})]),e("td",null,[e("a",m,[g,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/cloud_function/"},{default:n(()=>[a("@faasjs/cloud_function")]),_:1})]),e("td",null,[e("a",j,[w,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/deployer/"},{default:n(()=>[a("@faasjs/deployer")]),_:1})]),e("td",null,[e("a",v,[k,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/test/"},{default:n(()=>[a("@faasjs/test")]),_:1})]),e("td",null,[e("a",b,[N,s(l)])])])])]),V,e("table",null,[P,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/cli/"},{default:n(()=>[a("@faasjs/cli")]),_:1})]),e("td",null,[e("a",M,[x,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/cli/"},{default:n(()=>[a("create-faas-app")]),_:1})]),e("td",null,[e("a",y,[C,s(l)])])])])]),L,e("table",null,[B,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/deep_merge/"},{default:n(()=>[a("@faasjs/deep_merge")]),_:1})]),e("td",null,[e("a",E,[q,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/load/"},{default:n(()=>[a("@faasjs/load")]),_:1})]),e("td",null,[e("a",R,[D,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/logger/"},{default:n(()=>[a("@faasjs/logger")]),_:1})]),e("td",null,[e("a",O,[H,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/request/"},{default:n(()=>[a("@faasjs/request")]),_:1})]),e("td",null,[e("a",I,[T,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/server/"},{default:n(()=>[a("@faasjs/server")]),_:1})]),e("td",null,[e("a",U,[A,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/ts-transform/"},{default:n(()=>[a("@faasjs/ts-transform")]),_:1})]),e("td",null,[e("a",J,[S,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/jest/"},{default:n(()=>[a("@faasjs/jest")]),_:1})]),e("td",null,[e("a",z,[F,s(l)])])])])]),G,e("table",null,[K,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/http/"},{default:n(()=>[a("@faasjs/http")]),_:1})]),e("td",null,[e("a",Q,[W,s(l)])])])])]),X,e("table",null,[Y,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/knex/"},{default:n(()=>[a("@faasjs/knex")]),_:1})]),e("td",null,[e("a",Z,[$,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/mongo/"},{default:n(()=>[a("@faasjs/mongo")]),_:1})]),e("td",null,[e("a",ee,[se,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/redis/"},{default:n(()=>[a("@faasjs/redis")]),_:1})]),e("td",null,[e("a",te,[le,s(l)])])])])]),ne,e("table",null,[ae,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/tencentcloud/"},{default:n(()=>[a("@faasjs/tencentcloud")]),_:1})]),e("td",null,[e("a",oe,[re,s(l)])])])])]),ie,e("table",null,[de,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/browser/"},{default:n(()=>[a("@faasjs/browser")]),_:1})]),e("td",null,[e("a",ce,[he,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/react/"},{default:n(()=>[a("@faasjs/react")]),_:1})]),e("td",null,[e("a",ue,[pe,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/vue-plugin/"},{default:n(()=>[a("@faasjs/vue-plugin")]),_:1})]),e("td",null,[e("a",_e,[fe,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1})]),e("td",null,[e("a",me,[ge,s(l)])])])])])])}const be=r(c,[["render",je],["__file","index.html.vue"]]),Ne=JSON.parse('{"path":"/doc/","title":"Overview of official plugins","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Cores","slug":"cores","link":"#cores","children":[]},{"level":2,"title":"Command Lines","slug":"command-lines","link":"#command-lines","children":[]},{"level":2,"title":"Utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"Http","slug":"http","link":"#http","children":[]},{"level":2,"title":"Databases","slug":"databases","link":"#databases","children":[]},{"level":2,"title":"Providers","slug":"providers","link":"#providers","children":[]},{"level":2,"title":"Browsers","slug":"browsers","link":"#browsers","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/README.md"}');export{be as comp,Ne as data}; +import{_ as r,r as o,o as i,c as d,a as e,d as s,w as n,b as a}from"./app-COoiSelr.js";const c={},h=e("h1",{id:"overview-of-official-plugins",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#overview-of-official-plugins"},[e("span",null,"Overview of official plugins")])],-1),u=e("h2",{id:"cores",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#cores"},[e("span",null,"Cores")])],-1),p=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),_={href:"https://www.npmjs.com/package/faasjs",target:"_blank",rel:"noopener noreferrer"},f=e("img",{src:"https://img.shields.io/npm/v/faasjs.svg",alt:"NPM Version"},null,-1),m={href:"https://www.npmjs.com/package/@faasjs/func",target:"_blank",rel:"noopener noreferrer"},g=e("img",{src:"https://img.shields.io/npm/v/@faasjs/func.svg",alt:"NPM Version"},null,-1),j={href:"https://www.npmjs.com/package/@faasjs/cloud_function",target:"_blank",rel:"noopener noreferrer"},w=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cloud_function.svg",alt:"NPM Version"},null,-1),v={href:"https://www.npmjs.com/package/@faasjs/deployer",target:"_blank",rel:"noopener noreferrer"},k=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deployer.svg",alt:"NPM Version"},null,-1),b={href:"https://www.npmjs.com/package/@faasjs/test",target:"_blank",rel:"noopener noreferrer"},N=e("img",{src:"https://img.shields.io/npm/v/@faasjs/test.svg",alt:"NPM Version"},null,-1),V=e("h2",{id:"command-lines",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#command-lines"},[e("span",null,"Command Lines")])],-1),P=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),M={href:"https://www.npmjs.com/package/@faasjs/cli",target:"_blank",rel:"noopener noreferrer"},x=e("img",{src:"https://img.shields.io/npm/v/@faasjs/cli.svg",alt:"NPM Version"},null,-1),y={href:"https://www.npmjs.com/package/create-faas-app",target:"_blank",rel:"noopener noreferrer"},C=e("img",{src:"https://img.shields.io/npm/v/create-faas-app.svg",alt:"NPM Version"},null,-1),L=e("h2",{id:"utils",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#utils"},[e("span",null,"Utils")])],-1),B=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),E={href:"https://www.npmjs.com/package/@faasjs/deep_merge",target:"_blank",rel:"noopener noreferrer"},q=e("img",{src:"https://img.shields.io/npm/v/@faasjs/deep_merge.svg",alt:"NPM Version"},null,-1),R={href:"https://www.npmjs.com/package/@faasjs/load",target:"_blank",rel:"noopener noreferrer"},D=e("img",{src:"https://img.shields.io/npm/v/@faasjs/load.svg",alt:"NPM Version"},null,-1),O={href:"https://www.npmjs.com/package/@faasjs/logger",target:"_blank",rel:"noopener noreferrer"},H=e("img",{src:"https://img.shields.io/npm/v/@faasjs/logger.svg",alt:"NPM Version"},null,-1),I={href:"https://www.npmjs.com/package/@faasjs/request",target:"_blank",rel:"noopener noreferrer"},T=e("img",{src:"https://img.shields.io/npm/v/@faasjs/request.svg",alt:"NPM Version"},null,-1),U={href:"https://www.npmjs.com/package/@faasjs/server",target:"_blank",rel:"noopener noreferrer"},A=e("img",{src:"https://img.shields.io/npm/v/@faasjs/server.svg",alt:"NPM Version"},null,-1),J={href:"https://www.npmjs.com/package/@faasjs/ts-transform",target:"_blank",rel:"noopener noreferrer"},S=e("img",{src:"https://img.shields.io/npm/v/@faasjs/ts-transform.svg",alt:"NPM Version"},null,-1),z={href:"https://www.npmjs.com/package/@faasjs/jest",target:"_blank",rel:"noopener noreferrer"},F=e("img",{src:"https://img.shields.io/npm/v/@faasjs/jest.svg",alt:"NPM Version"},null,-1),G=e("h2",{id:"http",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#http"},[e("span",null,"Http")])],-1),K=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),Q={href:"https://www.npmjs.com/package/@faasjs/http",target:"_blank",rel:"noopener noreferrer"},W=e("img",{src:"https://img.shields.io/npm/v/@faasjs/http.svg",alt:"NPM Version"},null,-1),X=e("h2",{id:"databases",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#databases"},[e("span",null,"Databases")])],-1),Y=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),Z={href:"https://www.npmjs.com/package/@faasjs/knex",target:"_blank",rel:"noopener noreferrer"},$=e("img",{src:"https://img.shields.io/npm/v/@faasjs/knex.svg",alt:"NPM Version"},null,-1),ee={href:"https://www.npmjs.com/package/@faasjs/mongo",target:"_blank",rel:"noopener noreferrer"},se=e("img",{src:"https://img.shields.io/npm/v/@faasjs/mongo.svg",alt:"NPM Version"},null,-1),te={href:"https://www.npmjs.com/package/@faasjs/redis",target:"_blank",rel:"noopener noreferrer"},le=e("img",{src:"https://img.shields.io/npm/v/@faasjs/redis.svg",alt:"NPM Version"},null,-1),ne=e("h2",{id:"providers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#providers"},[e("span",null,"Providers")])],-1),ae=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),oe={href:"https://www.npmjs.com/package/@faasjs/tencentcloud",target:"_blank",rel:"noopener noreferrer"},re=e("img",{src:"https://img.shields.io/npm/v/@faasjs/tencentcloud.svg",alt:"NPM Version"},null,-1),ie=e("h2",{id:"browsers",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#browsers"},[e("span",null,"Browsers")])],-1),de=e("thead",null,[e("tr",null,[e("th",null,"Name"),e("th",null,"Version")])],-1),ce={href:"https://www.npmjs.com/package/@faasjs/browser",target:"_blank",rel:"noopener noreferrer"},he=e("img",{src:"https://img.shields.io/npm/v/@faasjs/browser.svg",alt:"NPM Version"},null,-1),ue={href:"https://www.npmjs.com/package/@faasjs/react",target:"_blank",rel:"noopener noreferrer"},pe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/react.svg",alt:"NPM Version"},null,-1),_e={href:"https://www.npmjs.com/package/@faasjs/vue-plugin",target:"_blank",rel:"noopener noreferrer"},fe=e("img",{src:"https://img.shields.io/npm/v/@faasjs/vue-plugin.svg",alt:"NPM Version"},null,-1),me={href:"https://www.npmjs.com/package/@faasjs/ant-design",target:"_blank",rel:"noopener noreferrer"},ge=e("img",{src:"https://img.shields.io/npm/v/@faasjs/ant-design.svg",alt:"NPM Version"},null,-1);function je(we,ve){const t=o("RouteLink"),l=o("ExternalLinkIcon");return i(),d("div",null,[h,u,e("table",null,[p,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/faasjs/"},{default:n(()=>[a("faasjs")]),_:1})]),e("td",null,[e("a",_,[f,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/func/"},{default:n(()=>[a("@faasjs/func")]),_:1})]),e("td",null,[e("a",m,[g,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/cloud_function/"},{default:n(()=>[a("@faasjs/cloud_function")]),_:1})]),e("td",null,[e("a",j,[w,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/deployer/"},{default:n(()=>[a("@faasjs/deployer")]),_:1})]),e("td",null,[e("a",v,[k,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/test/"},{default:n(()=>[a("@faasjs/test")]),_:1})]),e("td",null,[e("a",b,[N,s(l)])])])])]),V,e("table",null,[P,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/cli/"},{default:n(()=>[a("@faasjs/cli")]),_:1})]),e("td",null,[e("a",M,[x,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/cli/"},{default:n(()=>[a("create-faas-app")]),_:1})]),e("td",null,[e("a",y,[C,s(l)])])])])]),L,e("table",null,[B,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/deep_merge/"},{default:n(()=>[a("@faasjs/deep_merge")]),_:1})]),e("td",null,[e("a",E,[q,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/load/"},{default:n(()=>[a("@faasjs/load")]),_:1})]),e("td",null,[e("a",R,[D,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/logger/"},{default:n(()=>[a("@faasjs/logger")]),_:1})]),e("td",null,[e("a",O,[H,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/request/"},{default:n(()=>[a("@faasjs/request")]),_:1})]),e("td",null,[e("a",I,[T,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/server/"},{default:n(()=>[a("@faasjs/server")]),_:1})]),e("td",null,[e("a",U,[A,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/ts-transform/"},{default:n(()=>[a("@faasjs/ts-transform")]),_:1})]),e("td",null,[e("a",J,[S,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/jest/"},{default:n(()=>[a("@faasjs/jest")]),_:1})]),e("td",null,[e("a",z,[F,s(l)])])])])]),G,e("table",null,[K,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/http/"},{default:n(()=>[a("@faasjs/http")]),_:1})]),e("td",null,[e("a",Q,[W,s(l)])])])])]),X,e("table",null,[Y,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/knex/"},{default:n(()=>[a("@faasjs/knex")]),_:1})]),e("td",null,[e("a",Z,[$,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/mongo/"},{default:n(()=>[a("@faasjs/mongo")]),_:1})]),e("td",null,[e("a",ee,[se,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/redis/"},{default:n(()=>[a("@faasjs/redis")]),_:1})]),e("td",null,[e("a",te,[le,s(l)])])])])]),ne,e("table",null,[ae,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/tencentcloud/"},{default:n(()=>[a("@faasjs/tencentcloud")]),_:1})]),e("td",null,[e("a",oe,[re,s(l)])])])])]),ie,e("table",null,[de,e("tbody",null,[e("tr",null,[e("td",null,[s(t,{to:"/doc/browser/"},{default:n(()=>[a("@faasjs/browser")]),_:1})]),e("td",null,[e("a",ce,[he,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/react/"},{default:n(()=>[a("@faasjs/react")]),_:1})]),e("td",null,[e("a",ue,[pe,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/vue-plugin/"},{default:n(()=>[a("@faasjs/vue-plugin")]),_:1})]),e("td",null,[e("a",_e,[fe,s(l)])])]),e("tr",null,[e("td",null,[s(t,{to:"/doc/ant-design/"},{default:n(()=>[a("@faasjs/ant-design")]),_:1})]),e("td",null,[e("a",me,[ge,s(l)])])])])])])}const be=r(c,[["render",je],["__file","index.html.vue"]]),Ne=JSON.parse('{"path":"/doc/","title":"Overview of official plugins","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Cores","slug":"cores","link":"#cores","children":[]},{"level":2,"title":"Command Lines","slug":"command-lines","link":"#command-lines","children":[]},{"level":2,"title":"Utils","slug":"utils","link":"#utils","children":[]},{"level":2,"title":"Http","slug":"http","link":"#http","children":[]},{"level":2,"title":"Databases","slug":"databases","link":"#databases","children":[]},{"level":2,"title":"Providers","slug":"providers","link":"#providers","children":[]},{"level":2,"title":"Browsers","slug":"browsers","link":"#browsers","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/README.md"}');export{be as comp,Ne as data}; diff --git a/assets/invoke.html-DnmDltQ8.js b/assets/invoke.html-C_Hgog3F.js similarity index 96% rename from assets/invoke.html-DnmDltQ8.js rename to assets/invoke.html-C_Hgog3F.js index 244a599b7d..546e3423f6 100644 --- a/assets/invoke.html-DnmDltQ8.js +++ b/assets/invoke.html-C_Hgog3F.js @@ -1 +1 @@ -import{_ as n,r,o as s,c,a as d,d as o,w as a,b as e,e as i}from"./app-QyD7034V.js";const p={},l=i('

    Function: invoke()

    invoke<TData>(name, data?, options?): Promise<void>

    异步触发云函数

    Type parameters

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?

    {object} 额外配置项

    Returns

    Promise<void>

    ',14);function u(h,m){const t=r("RouteLink");return s(),c("div",null,[d("p",null,[o(t,{to:"/doc/cloud_function/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/cloud_function/"},{default:a(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / invoke")]),l])}const _=n(p,[["render",u],["__file","invoke.html.vue"]]),g=JSON.parse('{"path":"/doc/cloud_function/functions/invoke.html","title":"Function: invoke()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/invoke.md"}');export{_ as comp,g as data}; +import{_ as n,r,o as s,c,a as d,d as o,w as a,b as e,e as i}from"./app-COoiSelr.js";const p={},l=i('

    Function: invoke()

    invoke<TData>(name, data?, options?): Promise<void>

    异步触发云函数

    Type parameters

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?

    {object} 额外配置项

    Returns

    Promise<void>

    ',14);function u(h,m){const t=r("RouteLink");return s(),c("div",null,[d("p",null,[o(t,{to:"/doc/cloud_function/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/cloud_function/"},{default:a(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / invoke")]),l])}const _=n(p,[["render",u],["__file","invoke.html.vue"]]),g=JSON.parse('{"path":"/doc/cloud_function/functions/invoke.html","title":"Function: invoke()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/invoke.md"}');export{_ as comp,g as data}; diff --git a/assets/invokeSync.html-KZbms0yr.js b/assets/invokeSync.html-CnjHa0jK.js similarity index 96% rename from assets/invokeSync.html-KZbms0yr.js rename to assets/invokeSync.html-CnjHa0jK.js index eebf34608a..78ddea02fb 100644 --- a/assets/invokeSync.html-KZbms0yr.js +++ b/assets/invokeSync.html-CnjHa0jK.js @@ -1 +1 @@ -import{_ as a,r as c,o as s,c as r,a as d,d as n,w as o,b as e,e as i}from"./app-QyD7034V.js";const p={},l=i('

    Function: invokeSync()

    invokeSync<TResult, TData>(name, data?, options?): Promise<TResult>

    同步触发云函数

    Type parameters

    TResult = any

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?

    {object} 额外配置项

    Returns

    Promise<TResult>

    ',15);function u(h,m){const t=c("RouteLink");return s(),r("div",null,[d("p",null,[n(t,{to:"/doc/cloud_function/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(t,{to:"/doc/cloud_function/"},{default:o(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / invokeSync")]),l])}const _=a(p,[["render",u],["__file","invokeSync.html.vue"]]),g=JSON.parse('{"path":"/doc/cloud_function/functions/invokeSync.html","title":"Function: invokeSync()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/invokeSync.md"}');export{_ as comp,g as data}; +import{_ as a,r as c,o as s,c as r,a as d,d as n,w as o,b as e,e as i}from"./app-COoiSelr.js";const p={},l=i('

    Function: invokeSync()

    invokeSync<TResult, TData>(name, data?, options?): Promise<TResult>

    同步触发云函数

    Type parameters

    TResult = any

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?

    {object} 额外配置项

    Returns

    Promise<TResult>

    ',15);function u(h,m){const t=c("RouteLink");return s(),r("div",null,[d("p",null,[n(t,{to:"/doc/cloud_function/"},{default:o(()=>[e("Documents")]),_:1}),e(" / "),n(t,{to:"/doc/cloud_function/"},{default:o(()=>[e("@faasjs/cloud_function")]),_:1}),e(" / invokeSync")]),l])}const _=a(p,[["render",u],["__file","invokeSync.html.vue"]]),g=JSON.parse('{"path":"/doc/cloud_function/functions/invokeSync.html","title":"Function: invokeSync()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/invokeSync.md"}');export{_ as comp,g as data}; diff --git a/assets/knex.html-BDsbzept.js b/assets/knex.html-D22_ymcn.js similarity index 76% rename from assets/knex.html-BDsbzept.js rename to assets/knex.html-D22_ymcn.js index 70e4d3d9ef..64d4dc4140 100644 --- a/assets/knex.html-BDsbzept.js +++ b/assets/knex.html-D22_ymcn.js @@ -1 +1 @@ -import{_ as a,o as t,c as s,a as e}from"./app-QyD7034V.js";const n={},o=e("h1",{id:"faasjs-knex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-knex"},[e("span",null,"@faasjs/knex")])],-1),c=e("p",null,"待补充",-1),r=[o,c];function l(_,d){return t(),s("div",null,r)}const i=a(n,[["render",l],["__file","knex.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/knex.html","title":"@faasjs/knex","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/knex.md"}');export{i as comp,f as data}; +import{_ as a,o as t,c as s,a as e}from"./app-COoiSelr.js";const n={},o=e("h1",{id:"faasjs-knex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-knex"},[e("span",null,"@faasjs/knex")])],-1),c=e("p",null,"待补充",-1),r=[o,c];function l(_,d){return t(),s("div",null,r)}const i=a(n,[["render",l],["__file","knex.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/knex.html","title":"@faasjs/knex","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/knex.md"}');export{i as comp,f as data}; diff --git a/assets/lifecycle.html-0zb3Mqr0.js b/assets/lifecycle.html-C7V7ZEMy.js similarity index 80% rename from assets/lifecycle.html-0zb3Mqr0.js rename to assets/lifecycle.html-C7V7ZEMy.js index 2fe48e438a..4c756c57f2 100644 --- a/assets/lifecycle.html-0zb3Mqr0.js +++ b/assets/lifecycle.html-C7V7ZEMy.js @@ -1 +1 @@ -import{_ as t,o as c,c as a,a as e}from"./app-QyD7034V.js";const l={},i=e("h1",{id:"优化云函数的初始化",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#优化云函数的初始化"},[e("span",null,"优化云函数的初始化")])],-1),s=e("p",null,"writing..",-1),n=[i,s];function o(r,_){return c(),a("div",null,n)}const h=t(l,[["render",o],["__file","lifecycle.html.vue"]]),f=JSON.parse('{"path":"/zh/guide/best-practice/lifecycle.html","title":"优化云函数的初始化","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/best-practice/lifecycle.md"}');export{h as comp,f as data}; +import{_ as t,o as c,c as a,a as e}from"./app-COoiSelr.js";const l={},i=e("h1",{id:"优化云函数的初始化",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#优化云函数的初始化"},[e("span",null,"优化云函数的初始化")])],-1),s=e("p",null,"writing..",-1),n=[i,s];function o(r,_){return c(),a("div",null,n)}const h=t(l,[["render",o],["__file","lifecycle.html.vue"]]),f=JSON.parse('{"path":"/zh/guide/best-practice/lifecycle.html","title":"优化云函数的初始化","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/best-practice/lifecycle.md"}');export{h as comp,f as data}; diff --git a/assets/load.html-C3ma0jWf.js b/assets/load.html-Dpoq-ibm.js similarity index 76% rename from assets/load.html-C3ma0jWf.js rename to assets/load.html-Dpoq-ibm.js index 9816860a25..aa2da276b9 100644 --- a/assets/load.html-C3ma0jWf.js +++ b/assets/load.html-Dpoq-ibm.js @@ -1 +1 @@ -import{_ as e,o as t,c as o,a}from"./app-QyD7034V.js";const s={},l=a("h1",{id:"faasjs-load",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-load"},[a("span",null,"@faasjs/load")])],-1),d=a("p",null,"待补充",-1),c=[l,d];function n(r,_){return t(),o("div",null,c)}const i=e(s,[["render",n],["__file","load.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/load.html","title":"@faasjs/load","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/load.md"}');export{i as comp,f as data}; +import{_ as e,o as t,c as o,a}from"./app-COoiSelr.js";const s={},l=a("h1",{id:"faasjs-load",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#faasjs-load"},[a("span",null,"@faasjs/load")])],-1),d=a("p",null,"待补充",-1),c=[l,d];function n(r,_){return t(),o("div",null,c)}const i=e(s,[["render",n],["__file","load.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/load.html","title":"@faasjs/load","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/load.md"}');export{i as comp,f as data}; diff --git a/assets/loadConfig.html-Dy9fcIhW.js b/assets/loadConfig.html-Dckj8bir.js similarity index 95% rename from assets/loadConfig.html-Dy9fcIhW.js rename to assets/loadConfig.html-Dckj8bir.js index 4188cbbb65..3dcb66dd33 100644 --- a/assets/loadConfig.html-Dy9fcIhW.js +++ b/assets/loadConfig.html-Dckj8bir.js @@ -1 +1 @@ -import{_ as t,r,o as s,c,a as d,d as a,w as n,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: loadConfig()

    loadConfig(root, filename): Config

    加载配置

    Parameters

    root: string

    {string} 根目录

    filename: string

    {filename} 目标文件,用于读取目录层级

    Returns

    Config

    ',10);function f(u,h){const o=r("RouteLink");return s(),c("div",null,[d("p",null,[a(o,{to:"/doc/load/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/load/"},{default:n(()=>[e("@faasjs/load")]),_:1}),e(" / loadConfig")]),p])}const m=t(i,[["render",f],["__file","loadConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/load/functions/loadConfig.html","title":"Function: loadConfig()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/load/functions/loadConfig.md"}');export{m as comp,_ as data}; +import{_ as t,r,o as s,c,a as d,d as a,w as n,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: loadConfig()

    loadConfig(root, filename): Config

    加载配置

    Parameters

    root: string

    {string} 根目录

    filename: string

    {filename} 目标文件,用于读取目录层级

    Returns

    Config

    ',10);function f(u,h){const o=r("RouteLink");return s(),c("div",null,[d("p",null,[a(o,{to:"/doc/load/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(o,{to:"/doc/load/"},{default:n(()=>[e("@faasjs/load")]),_:1}),e(" / loadConfig")]),p])}const m=t(i,[["render",f],["__file","loadConfig.html.vue"]]),_=JSON.parse('{"path":"/doc/load/functions/loadConfig.html","title":"Function: loadConfig()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/load/functions/loadConfig.md"}');export{m as comp,_ as data}; diff --git a/assets/loadTs.html-BWPkWIMl.js b/assets/loadTs.html-ehveS0hV.js similarity index 97% rename from assets/loadTs.html-BWPkWIMl.js rename to assets/loadTs.html-ehveS0hV.js index 1270b7c8ce..4833778d35 100644 --- a/assets/loadTs.html-BWPkWIMl.js +++ b/assets/loadTs.html-ehveS0hV.js @@ -1 +1 @@ -import{_ as s,r as a,o as d,c,a as r,d as t,w as n,b as e,e as p}from"./app-QyD7034V.js";const l={},i=p('

    Function: loadTs()

    loadTs(filename, options): Promise<Object>

    加载 ts 文件

    Parameters

    filename: string

    {string} 完整源文件路径

    options= undefined

    {object} 配置项

    options.input?

    {object} 读取配置

    options.modules?

    {object} 生成 modules 的配置

    options.modules.additions?: string[]

    options.modules.excludes?: string[]

    options.output?

    {object} 写入配置

    options.tmp?: boolean

    {boolean} 是否为临时文件,true 则生成的文件会被删除,默认为 false

    Returns

    Promise<Object>

    dependencies

    dependencies: Object

    Index signature

    [key: string]: string

    module?

    optional module: Func

    modules?

    optional modules: Object

    Index signature

    [key: string]: string

    ',21);function u(h,g){const o=a("RouteLink");return d(),c("div",null,[r("p",null,[t(o,{to:"/doc/load/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/load/"},{default:n(()=>[e("@faasjs/load")]),_:1}),e(" / loadTs")]),i])}const b=s(l,[["render",u],["__file","loadTs.html.vue"]]),f=JSON.parse('{"path":"/doc/load/functions/loadTs.html","title":"Function: loadTs()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/load/functions/loadTs.md"}');export{b as comp,f as data}; +import{_ as s,r as a,o as d,c,a as r,d as t,w as n,b as e,e as p}from"./app-COoiSelr.js";const l={},i=p('

    Function: loadTs()

    loadTs(filename, options): Promise<Object>

    加载 ts 文件

    Parameters

    filename: string

    {string} 完整源文件路径

    options= undefined

    {object} 配置项

    options.input?

    {object} 读取配置

    options.modules?

    {object} 生成 modules 的配置

    options.modules.additions?: string[]

    options.modules.excludes?: string[]

    options.output?

    {object} 写入配置

    options.tmp?: boolean

    {boolean} 是否为临时文件,true 则生成的文件会被删除,默认为 false

    Returns

    Promise<Object>

    dependencies

    dependencies: Object

    Index signature

    [key: string]: string

    module?

    optional module: Func

    modules?

    optional modules: Object

    Index signature

    [key: string]: string

    ',21);function u(h,g){const o=a("RouteLink");return d(),c("div",null,[r("p",null,[t(o,{to:"/doc/load/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/load/"},{default:n(()=>[e("@faasjs/load")]),_:1}),e(" / loadTs")]),i])}const b=s(l,[["render",u],["__file","loadTs.html.vue"]]),f=JSON.parse('{"path":"/doc/load/functions/loadTs.html","title":"Function: loadTs()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/load/functions/loadTs.md"}');export{b as comp,f as data}; diff --git a/assets/lock.html-D0kAoolE.js b/assets/lock.html-2iwuduwy.js similarity index 95% rename from assets/lock.html-D0kAoolE.js rename to assets/lock.html-2iwuduwy.js index 1badfb88a0..9da6277530 100644 --- a/assets/lock.html-D0kAoolE.js +++ b/assets/lock.html-2iwuduwy.js @@ -1 +1 @@ -import{_ as a,r as n,o as r,c as s,a as d,d as t,w as c,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: lock()

    lock(key, EX): Promise<void>

    Lock by key

    Parameters

    key: string

    EX: number= 10

    expire in seconds, default 10

    Returns

    Promise<void>

    ',9);function u(h,m){const o=n("RouteLink");return r(),s("div",null,[d("p",null,[t(o,{to:"/doc/redis/"},{default:c(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/redis/"},{default:c(()=>[e("@faasjs/redis")]),_:1}),e(" / lock")]),p])}const f=a(i,[["render",u],["__file","lock.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/lock.html","title":"Function: lock()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/lock.md"}');export{f as comp,_ as data}; +import{_ as a,r as n,o as r,c as s,a as d,d as t,w as c,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: lock()

    lock(key, EX): Promise<void>

    Lock by key

    Parameters

    key: string

    EX: number= 10

    expire in seconds, default 10

    Returns

    Promise<void>

    ',9);function u(h,m){const o=n("RouteLink");return r(),s("div",null,[d("p",null,[t(o,{to:"/doc/redis/"},{default:c(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/redis/"},{default:c(()=>[e("@faasjs/redis")]),_:1}),e(" / lock")]),p])}const f=a(i,[["render",u],["__file","lock.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/lock.html","title":"Function: lock()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/lock.md"}');export{f as comp,_ as data}; diff --git a/assets/logger.html-CTLg0yaD.js b/assets/logger.html-D4q_Y28U.js similarity index 77% rename from assets/logger.html-CTLg0yaD.js rename to assets/logger.html-D4q_Y28U.js index 45b61bb526..abfb7e09a1 100644 --- a/assets/logger.html-CTLg0yaD.js +++ b/assets/logger.html-D4q_Y28U.js @@ -1 +1 @@ -import{_ as a,o as t,c as o,a as e}from"./app-QyD7034V.js";const s={},r=e("h1",{id:"faasjs-logger",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-logger"},[e("span",null,"@faasjs/logger")])],-1),l=e("p",null,"待补充",-1),c=[r,l];function n(g,_){return t(),o("div",null,c)}const h=a(s,[["render",n],["__file","logger.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/logger.html","title":"@faasjs/logger","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/logger.md"}');export{h as comp,i as data}; +import{_ as a,o as t,c as o,a as e}from"./app-COoiSelr.js";const s={},r=e("h1",{id:"faasjs-logger",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-logger"},[e("span",null,"@faasjs/logger")])],-1),l=e("p",null,"待补充",-1),c=[r,l];function n(g,_){return t(),o("div",null,c)}const h=a(s,[["render",n],["__file","logger.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/logger.html","title":"@faasjs/logger","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/logger.md"}');export{h as comp,i as data}; diff --git a/assets/mongo.html-DTF1nHKG.js b/assets/mongo.html-Uqj-MzNC.js similarity index 76% rename from assets/mongo.html-DTF1nHKG.js rename to assets/mongo.html-Uqj-MzNC.js index 2860361ffa..bba8e89c49 100644 --- a/assets/mongo.html-DTF1nHKG.js +++ b/assets/mongo.html-Uqj-MzNC.js @@ -1 +1 @@ -import{_ as e,o as a,c as t,a as o}from"./app-QyD7034V.js";const s={},n=o("h1",{id:"faasjs-mongo",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#faasjs-mongo"},[o("span",null,"@faasjs/mongo")])],-1),c=o("p",null,"待处理",-1),m=[n,c];function r(l,_){return a(),t("div",null,m)}const h=e(s,[["render",r],["__file","mongo.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/mongo.html","title":"@faasjs/mongo","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/mongo.md"}');export{h as comp,i as data}; +import{_ as e,o as a,c as t,a as o}from"./app-COoiSelr.js";const s={},n=o("h1",{id:"faasjs-mongo",tabindex:"-1"},[o("a",{class:"header-anchor",href:"#faasjs-mongo"},[o("span",null,"@faasjs/mongo")])],-1),c=o("p",null,"待处理",-1),m=[n,c];function r(l,_){return a(),t("div",null,m)}const h=e(s,[["render",r],["__file","mongo.html.vue"]]),i=JSON.parse('{"path":"/zh/doc/mongo.html","title":"@faasjs/mongo","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/mongo.md"}');export{h as comp,i as data}; diff --git a/assets/multi.html-C0RChLo4.js b/assets/multi.html-B588r2U7.js similarity index 94% rename from assets/multi.html-C0RChLo4.js rename to assets/multi.html-B588r2U7.js index a281f8b67d..4070f74ad1 100644 --- a/assets/multi.html-C0RChLo4.js +++ b/assets/multi.html-B588r2U7.js @@ -1 +1 @@ -import{_ as s,r as a,o as i,c as r,a as e,d as l,w as o,b as t}from"./app-QyD7034V.js";const u={},c=e("h1",{id:"function-multi",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-multi"},[e("span",null,"Function: multi()")])],-1),d=e("blockquote",null,[e("p",null,[e("strong",null,"multi"),t("(): "),e("code",null,"ChainableCommander")])],-1),m=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"ChainableCommander")],-1);function h(f,p){const n=a("RouteLink");return i(),r("div",null,[e("p",null,[l(n,{to:"/doc/redis/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/redis/"},{default:o(()=>[t("@faasjs/redis")]),_:1}),t(" / multi")]),c,d,m,_])}const b=s(u,[["render",h],["__file","multi.html.vue"]]),k=JSON.parse('{"path":"/doc/redis/functions/multi.html","title":"Function: multi()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/multi.md"}');export{b as comp,k as data}; +import{_ as s,r as a,o as i,c as r,a as e,d as l,w as o,b as t}from"./app-COoiSelr.js";const u={},c=e("h1",{id:"function-multi",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-multi"},[e("span",null,"Function: multi()")])],-1),d=e("blockquote",null,[e("p",null,[e("strong",null,"multi"),t("(): "),e("code",null,"ChainableCommander")])],-1),m=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"ChainableCommander")],-1);function h(f,p){const n=a("RouteLink");return i(),r("div",null,[e("p",null,[l(n,{to:"/doc/redis/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),l(n,{to:"/doc/redis/"},{default:o(()=>[t("@faasjs/redis")]),_:1}),t(" / multi")]),c,d,m,_])}const b=s(u,[["render",h],["__file","multi.html.vue"]]),k=JSON.parse('{"path":"/doc/redis/functions/multi.html","title":"Function: multi()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/multi.md"}');export{b as comp,k as data}; diff --git a/assets/originKnex.html-BWxqOJP3.js b/assets/originKnex.html--r2FdPzY.js similarity index 96% rename from assets/originKnex.html-BWxqOJP3.js rename to assets/originKnex.html--r2FdPzY.js index 7a443f0bd7..6fc6497298 100644 --- a/assets/originKnex.html-BWxqOJP3.js +++ b/assets/originKnex.html--r2FdPzY.js @@ -1 +1 @@ -import{_ as d,r,o as i,c as l,a as n,d as t,w as a,b as e,e as c}from"./app-QyD7034V.js";const p={},h=c('

    Function: originKnex()

    originKnex<TRecord, TResult>(config): Knex<TRecord, TResult>

    ',2),u={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"},g=c('

    Type parameters

    TRecord extends Object = any

    TResult = unknown[]

    Parameters

    config: string | Config<any>

    Returns

    Knex<TRecord, TResult>

    ',7);function x(m,_){const o=r("RouteLink"),s=r("ExternalLinkIcon");return i(),l("div",null,[n("p",null,[t(o,{to:"/doc/knex/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/knex/"},{default:a(()=>[e("@faasjs/knex")]),_:1}),e(" / originKnex")]),h,n("p",null,[e("Origin "),n("a",u,[e("knex"),t(s)]),e(" instance.")]),g])}const k=d(p,[["render",x],["__file","originKnex.html.vue"]]),R=JSON.parse('{"path":"/doc/knex/functions/originKnex.html","title":"Function: originKnex()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/originKnex.md"}');export{k as comp,R as data}; +import{_ as d,r,o as i,c as l,a as n,d as t,w as a,b as e,e as c}from"./app-COoiSelr.js";const p={},h=c('

    Function: originKnex()

    originKnex<TRecord, TResult>(config): Knex<TRecord, TResult>

    ',2),u={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"},g=c('

    Type parameters

    TRecord extends Object = any

    TResult = unknown[]

    Parameters

    config: string | Config<any>

    Returns

    Knex<TRecord, TResult>

    ',7);function x(m,_){const o=r("RouteLink"),s=r("ExternalLinkIcon");return i(),l("div",null,[n("p",null,[t(o,{to:"/doc/knex/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(o,{to:"/doc/knex/"},{default:a(()=>[e("@faasjs/knex")]),_:1}),e(" / originKnex")]),h,n("p",null,[e("Origin "),n("a",u,[e("knex"),t(s)]),e(" instance.")]),g])}const k=d(p,[["render",x],["__file","originKnex.html.vue"]]),R=JSON.parse('{"path":"/doc/knex/functions/originKnex.html","title":"Function: originKnex()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/originKnex.md"}');export{k as comp,R as data}; diff --git a/assets/originKnex.html-D9cSqmSL.js b/assets/originKnex.html-DWBBJBhB.js similarity index 92% rename from assets/originKnex.html-D9cSqmSL.js rename to assets/originKnex.html-DWBBJBhB.js index 8273854e1e..98f043c651 100644 --- a/assets/originKnex.html-D9cSqmSL.js +++ b/assets/originKnex.html-DWBBJBhB.js @@ -1 +1 @@ -import{_ as i,r as o,o as s,c,a as e,d as t,w as l,b as n}from"./app-QyD7034V.js";const d={},m=e("h1",{id:"namespace-originknex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-originknex"},[e("span",null,"Namespace: originKnex")])],-1),x={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"};function _(p,h){const a=o("RouteLink"),r=o("ExternalLinkIcon");return s(),c("div",null,[e("p",null,[t(a,{to:"/doc/knex/"},{default:l(()=>[n("Documents")]),_:1}),n(" / Namespace: originKnex")]),m,e("p",null,[n("Origin "),e("a",x,[n("knex"),t(r)]),n(" instance.")])])}const g=i(d,[["render",_],["__file","originKnex.html.vue"]]),k=JSON.parse('{"path":"/doc/knex/modules/originKnex.html","title":"Namespace: originKnex","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/knex/modules/originKnex.md"}');export{g as comp,k as data}; +import{_ as i,r as o,o as s,c,a as e,d as t,w as l,b as n}from"./app-COoiSelr.js";const d={},m=e("h1",{id:"namespace-originknex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#namespace-originknex"},[e("span",null,"Namespace: originKnex")])],-1),x={href:"https://knexjs.org/",target:"_blank",rel:"noopener noreferrer"};function _(p,h){const a=o("RouteLink"),r=o("ExternalLinkIcon");return s(),c("div",null,[e("p",null,[t(a,{to:"/doc/knex/"},{default:l(()=>[n("Documents")]),_:1}),n(" / Namespace: originKnex")]),m,e("p",null,[n("Origin "),e("a",x,[n("knex"),t(r)]),n(" instance.")])])}const g=i(d,[["render",_],["__file","originKnex.html.vue"]]),k=JSON.parse('{"path":"/doc/knex/modules/originKnex.html","title":"Namespace: originKnex","lang":"en","frontmatter":{},"headers":[],"git":{"updatedTime":null},"filePathRelative":"doc/knex/modules/originKnex.md"}');export{g as comp,k as data}; diff --git a/assets/pipeline.html-BHR15iRa.js b/assets/pipeline.html-j_QPj5iM.js similarity index 94% rename from assets/pipeline.html-BHR15iRa.js rename to assets/pipeline.html-j_QPj5iM.js index 45f4108437..0f862137df 100644 --- a/assets/pipeline.html-BHR15iRa.js +++ b/assets/pipeline.html-j_QPj5iM.js @@ -1 +1 @@ -import{_ as o,r as s,o as a,c as r,a as e,d as i,w as l,b as n}from"./app-QyD7034V.js";const c={},d=e("h1",{id:"function-pipeline",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-pipeline"},[e("span",null,"Function: pipeline()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"pipeline"),n("(): "),e("code",null,"ChainableCommander")])],-1),u=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"ChainableCommander")],-1);function h(m,f){const t=s("RouteLink");return a(),r("div",null,[e("p",null,[i(t,{to:"/doc/redis/"},{default:l(()=>[n("Documents")]),_:1}),n(" / "),i(t,{to:"/doc/redis/"},{default:l(()=>[n("@faasjs/redis")]),_:1}),n(" / pipeline")]),d,p,u,_])}const b=o(c,[["render",h],["__file","pipeline.html.vue"]]),k=JSON.parse('{"path":"/doc/redis/functions/pipeline.html","title":"Function: pipeline()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/pipeline.md"}');export{b as comp,k as data}; +import{_ as o,r as s,o as a,c as r,a as e,d as i,w as l,b as n}from"./app-COoiSelr.js";const c={},d=e("h1",{id:"function-pipeline",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-pipeline"},[e("span",null,"Function: pipeline()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"pipeline"),n("(): "),e("code",null,"ChainableCommander")])],-1),u=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"ChainableCommander")],-1);function h(m,f){const t=s("RouteLink");return a(),r("div",null,[e("p",null,[i(t,{to:"/doc/redis/"},{default:l(()=>[n("Documents")]),_:1}),n(" / "),i(t,{to:"/doc/redis/"},{default:l(()=>[n("@faasjs/redis")]),_:1}),n(" / pipeline")]),d,p,u,_])}const b=o(c,[["render",h],["__file","pipeline.html.vue"]]),k=JSON.parse('{"path":"/doc/redis/functions/pipeline.html","title":"Function: pipeline()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/pipeline.md"}');export{b as comp,k as data}; diff --git a/assets/plugin.html-DAbaV5bZ.js b/assets/plugin.html-BiFQ3y-D.js similarity index 98% rename from assets/plugin.html-DAbaV5bZ.js rename to assets/plugin.html-BiFQ3y-D.js index 5a8b28b4e9..f9d687bfc2 100644 --- a/assets/plugin.html-DAbaV5bZ.js +++ b/assets/plugin.html-BiFQ3y-D.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e}from"./app-QyD7034V.js";const p={},t=e(`

    使用插件

    FaasJS 中插件分两类,一类是云函数插件,须在创建云函数时注入才能正常使用,另外一类是非云函数插件,使用方法同普通的 npm 库。

    创建插件实例

    使用默认配置

    # faas.yaml
    +import{_ as n,o as s,c as a,e}from"./app-COoiSelr.js";const p={},t=e(`

    使用插件

    FaasJS 中插件分两类,一类是云函数插件,须在创建云函数时注入才能正常使用,另外一类是非云函数插件,使用方法同普通的 npm 库。

    创建插件实例

    使用默认配置

    # faas.yaml
     defaults:
       plugins:
         fake_plugin:
    @@ -46,4 +46,4 @@ import{_ as n,o as s,c as a,e}from"./app-QyD7034V.js";const p={},t=e(`

    : [plugin], handler(){} }); -

    自定义配置也可以跟指定配置混合使用,覆盖指定配置中部分配置项。

    配置的优先级

    插件的配置可以在引用插件时在代码中直接配置,也可以在 faas.yaml 中配置。

    配置的优先级为:云函数代码中的配置 > 云函数文件所在文件夹的 faas.yaml > 父文件夹的 faas.yaml > 更浅层级文件夹中的 faas.yaml

    最佳实践

    对于共用和常用的配置,建议都配置在 faas.yaml 中。

    仅某个云函数用到的特殊配置,可以直接在云函数的代码中配置。

    `,18),l=[t];function c(i,o){return s(),a("div",null,l)}const d=n(p,[["render",c],["__file","plugin.html.vue"]]),r=JSON.parse('{"path":"/zh/guide/excel/plugin.html","title":"使用插件","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"创建插件实例","slug":"创建插件实例","link":"#创建插件实例","children":[{"level":3,"title":"使用默认配置","slug":"使用默认配置","link":"#使用默认配置","children":[]},{"level":3,"title":"使用指定配置","slug":"使用指定配置","link":"#使用指定配置","children":[]},{"level":3,"title":"自定义配置","slug":"自定义配置","link":"#自定义配置","children":[]}]},{"level":2,"title":"配置的优先级","slug":"配置的优先级","link":"#配置的优先级","children":[{"level":3,"title":"最佳实践","slug":"最佳实践","link":"#最佳实践","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/plugin.md"}');export{d as comp,r as data}; +

    自定义配置也可以跟指定配置混合使用,覆盖指定配置中部分配置项。

    配置的优先级

    插件的配置可以在引用插件时在代码中直接配置,也可以在 faas.yaml 中配置。

    配置的优先级为:云函数代码中的配置 > 云函数文件所在文件夹的 faas.yaml > 父文件夹的 faas.yaml > 更浅层级文件夹中的 faas.yaml

    最佳实践

    对于共用和常用的配置,建议都配置在 faas.yaml 中。

    仅某个云函数用到的特殊配置,可以直接在云函数的代码中配置。

    `,18),l=[t];function c(i,o){return s(),a("div",null,l)}const d=n(p,[["render",c],["__file","plugin.html.vue"]]),r=JSON.parse('{"path":"/zh/guide/excel/plugin.html","title":"使用插件","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"创建插件实例","slug":"创建插件实例","link":"#创建插件实例","children":[{"level":3,"title":"使用默认配置","slug":"使用默认配置","link":"#使用默认配置","children":[]},{"level":3,"title":"使用指定配置","slug":"使用指定配置","link":"#使用指定配置","children":[]},{"level":3,"title":"自定义配置","slug":"自定义配置","link":"#自定义配置","children":[]}]},{"level":2,"title":"配置的优先级","slug":"配置的优先级","link":"#配置的优先级","children":[{"level":3,"title":"最佳实践","slug":"最佳实践","link":"#最佳实践","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/plugin.md"}');export{d as comp,r as data}; diff --git a/assets/publish.html-D2BfiLkD.js b/assets/publish.html-D-wNngzT.js similarity index 95% rename from assets/publish.html-D2BfiLkD.js rename to assets/publish.html-D-wNngzT.js index 2c7e2b54fa..1d2d6a0717 100644 --- a/assets/publish.html-D2BfiLkD.js +++ b/assets/publish.html-D-wNngzT.js @@ -1 +1 @@ -import{_ as n,r as o,o as r,c,a as d,d as t,w as a,b as e,e as i}from"./app-QyD7034V.js";const l={},p=i('

    Function: publish()

    publish(channel, message): Promise<number>

    Publish message

    Parameters

    channel: string

    message: any

    Returns

    Promise<number>

    ',8);function u(h,m){const s=o("RouteLink");return r(),c("div",null,[d("p",null,[t(s,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(s,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / publish")]),p])}const f=n(l,[["render",u],["__file","publish.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/publish.html","title":"Function: publish()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/publish.md"}');export{f as comp,_ as data}; +import{_ as n,r as o,o as r,c,a as d,d as t,w as a,b as e,e as i}from"./app-COoiSelr.js";const l={},p=i('

    Function: publish()

    publish(channel, message): Promise<number>

    Publish message

    Parameters

    channel: string

    message: any

    Returns

    Promise<number>

    ',8);function u(h,m){const s=o("RouteLink");return r(),c("div",null,[d("p",null,[t(s,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),t(s,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / publish")]),p])}const f=n(l,[["render",u],["__file","publish.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/publish.html","title":"Function: publish()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/publish.md"}');export{f as comp,_ as data}; diff --git a/assets/query.html-D8D1s0cD.js b/assets/query.html-C3frNkJu.js similarity index 96% rename from assets/query.html-D8D1s0cD.js rename to assets/query.html-C3frNkJu.js index eb36ff8bb0..b645028464 100644 --- a/assets/query.html-D8D1s0cD.js +++ b/assets/query.html-C3frNkJu.js @@ -1 +1 @@ -import{_ as s,r as o,o as n,c,a as d,d as r,w as a,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: query()

    query<TResult>(command, args): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    command: string

    args: any[]

    Returns

    Promise<TResult>

    ',9);function u(h,m){const t=o("RouteLink");return n(),c("div",null,[d("p",null,[r(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / query")]),p])}const g=s(i,[["render",u],["__file","query.html.vue"]]),y=JSON.parse('{"path":"/doc/redis/functions/query.html","title":"Function: query()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/query.md"}');export{g as comp,y as data}; +import{_ as s,r as o,o as n,c,a as d,d as r,w as a,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: query()

    query<TResult>(command, args): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    command: string

    args: any[]

    Returns

    Promise<TResult>

    ',9);function u(h,m){const t=o("RouteLink");return n(),c("div",null,[d("p",null,[r(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / query")]),p])}const g=s(i,[["render",u],["__file","query.html.vue"]]),y=JSON.parse('{"path":"/doc/redis/functions/query.html","title":"Function: query()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/query.md"}');export{g as comp,y as data}; diff --git a/assets/query.html-CfdQw5jr.js b/assets/query.html-qY3Q6Aje.js similarity index 98% rename from assets/query.html-CfdQw5jr.js rename to assets/query.html-qY3Q6Aje.js index af3553610f..3306ddf055 100644 --- a/assets/query.html-CfdQw5jr.js +++ b/assets/query.html-qY3Q6Aje.js @@ -1 +1 @@ -import{_ as n,r as s,o,c,a as l,d as a,w as r,b as e,e as d}from"./app-QyD7034V.js";const p={},i=d('

    Function: query()

    query(table)

    query<TName>(table): OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    Type parameters

    TName extends "test"

    Parameters

    table: TName

    Returns

    OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    query(table)

    query<TName, TResult>(table): OriginKnex.QueryBuilder<TName, TResult>

    Type parameters

    TName extends Object = any

    TResult = any[]

    Parameters

    table: string

    Returns

    OriginKnex.QueryBuilder<TName, TResult>

    ',18);function u(h,m){const t=s("RouteLink");return o(),c("div",null,[l("p",null,[a(t,{to:"/doc/knex/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:r(()=>[e("@faasjs/knex")]),_:1}),e(" / query")]),i])}const g=n(p,[["render",u],["__file","query.html.vue"]]),b=JSON.parse('{"path":"/doc/knex/functions/query.html","title":"Function: query()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"query(table)","slug":"query-table","link":"#query-table","children":[{"level":3,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":3,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":3,"title":"Returns","slug":"returns","link":"#returns","children":[]}]},{"level":2,"title":"query(table)","slug":"query-table-1","link":"#query-table-1","children":[{"level":3,"title":"Type parameters","slug":"type-parameters-1","link":"#type-parameters-1","children":[]},{"level":3,"title":"Parameters","slug":"parameters-1","link":"#parameters-1","children":[]},{"level":3,"title":"Returns","slug":"returns-1","link":"#returns-1","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/query.md"}');export{g as comp,b as data}; +import{_ as n,r as s,o,c,a as l,d as a,w as r,b as e,e as d}from"./app-COoiSelr.js";const p={},i=d('

    Function: query()

    query(table)

    query<TName>(table): OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    Type parameters

    TName extends "test"

    Parameters

    table: TName

    Returns

    OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    query(table)

    query<TName, TResult>(table): OriginKnex.QueryBuilder<TName, TResult>

    Type parameters

    TName extends Object = any

    TResult = any[]

    Parameters

    table: string

    Returns

    OriginKnex.QueryBuilder<TName, TResult>

    ',18);function u(h,m){const t=s("RouteLink");return o(),c("div",null,[l("p",null,[a(t,{to:"/doc/knex/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:r(()=>[e("@faasjs/knex")]),_:1}),e(" / query")]),i])}const g=n(p,[["render",u],["__file","query.html.vue"]]),b=JSON.parse('{"path":"/doc/knex/functions/query.html","title":"Function: query()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"query(table)","slug":"query-table","link":"#query-table","children":[{"level":3,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":3,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":3,"title":"Returns","slug":"returns","link":"#returns","children":[]}]},{"level":2,"title":"query(table)","slug":"query-table-1","link":"#query-table-1","children":[{"level":3,"title":"Type parameters","slug":"type-parameters-1","link":"#type-parameters-1","children":[]},{"level":3,"title":"Parameters","slug":"parameters-1","link":"#parameters-1","children":[]},{"level":3,"title":"Returns","slug":"returns-1","link":"#returns-1","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/query.md"}');export{g as comp,b as data}; diff --git a/assets/querystringify.html-Cid2c2Gw.js b/assets/querystringify.html-LjqZyqjQ.js similarity index 95% rename from assets/querystringify.html-Cid2c2Gw.js rename to assets/querystringify.html-LjqZyqjQ.js index 25728621e2..f96014c5cd 100644 --- a/assets/querystringify.html-Cid2c2Gw.js +++ b/assets/querystringify.html-LjqZyqjQ.js @@ -1 +1 @@ -import{_ as s,r as a,o,c as i,a as c,d as r,w as n,b as e,e as u}from"./app-QyD7034V.js";const d={},l=u('

    Function: querystringify()

    querystringify(obj): string

    Parameters

    obj: any

    Returns

    string

    ',6);function f(p,h){const t=a("RouteLink");return o(),i("div",null,[c("p",null,[r(t,{to:"/doc/request/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/request/"},{default:n(()=>[e("@faasjs/request")]),_:1}),e(" / querystringify")]),l])}const g=s(d,[["render",f],["__file","querystringify.html.vue"]]),m=JSON.parse('{"path":"/doc/request/functions/querystringify.html","title":"Function: querystringify()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/functions/querystringify.md"}');export{g as comp,m as data}; +import{_ as s,r as a,o,c as i,a as c,d as r,w as n,b as e,e as u}from"./app-COoiSelr.js";const d={},l=u('

    Function: querystringify()

    querystringify(obj): string

    Parameters

    obj: any

    Returns

    string

    ',6);function f(p,h){const t=a("RouteLink");return o(),i("div",null,[c("p",null,[r(t,{to:"/doc/request/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),r(t,{to:"/doc/request/"},{default:n(()=>[e("@faasjs/request")]),_:1}),e(" / querystringify")]),l])}const g=s(d,[["render",f],["__file","querystringify.html.vue"]]),m=JSON.parse('{"path":"/doc/request/functions/querystringify.html","title":"Function: querystringify()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/functions/querystringify.md"}');export{g as comp,m as data}; diff --git a/assets/raw.html-ByWVLBYP.js b/assets/raw.html-W2ytBzEO.js similarity index 96% rename from assets/raw.html-ByWVLBYP.js rename to assets/raw.html-W2ytBzEO.js index 0196fa498c..5c3d482fd3 100644 --- a/assets/raw.html-ByWVLBYP.js +++ b/assets/raw.html-W2ytBzEO.js @@ -1 +1 @@ -import{_ as n,r as o,o as s,c,a as d,d as a,w as r,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: raw()

    raw<TResult>(sql, bindings): Promise<OriginKnex.Raw<TResult>>

    Type parameters

    TResult = any

    Parameters

    sql: string

    bindings: ValueDict | RawBinding[]= []

    Returns

    Promise<OriginKnex.Raw<TResult>>

    ',9);function u(h,m){const t=o("RouteLink");return s(),c("div",null,[d("p",null,[a(t,{to:"/doc/knex/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:r(()=>[e("@faasjs/knex")]),_:1}),e(" / raw")]),p])}const f=n(i,[["render",u],["__file","raw.html.vue"]]),_=JSON.parse('{"path":"/doc/knex/functions/raw.html","title":"Function: raw()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/raw.md"}');export{f as comp,_ as data}; +import{_ as n,r as o,o as s,c,a as d,d as a,w as r,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: raw()

    raw<TResult>(sql, bindings): Promise<OriginKnex.Raw<TResult>>

    Type parameters

    TResult = any

    Parameters

    sql: string

    bindings: ValueDict | RawBinding[]= []

    Returns

    Promise<OriginKnex.Raw<TResult>>

    ',9);function u(h,m){const t=o("RouteLink");return s(),c("div",null,[d("p",null,[a(t,{to:"/doc/knex/"},{default:r(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:r(()=>[e("@faasjs/knex")]),_:1}),e(" / raw")]),p])}const f=n(i,[["render",u],["__file","raw.html.vue"]]),_=JSON.parse('{"path":"/doc/knex/functions/raw.html","title":"Function: raw()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/raw.md"}');export{f as comp,_ as data}; diff --git a/assets/react.html-DvZNicgh.js b/assets/react.html-CGz5yFD9.js similarity index 97% rename from assets/react.html-DvZNicgh.js rename to assets/react.html-CGz5yFD9.js index 89f118c3e0..308e251340 100644 --- a/assets/react.html-DvZNicgh.js +++ b/assets/react.html-CGz5yFD9.js @@ -1,4 +1,4 @@ -import{_ as a,o as s,c as n,e}from"./app-QyD7034V.js";const t={},p=e(`

    @faasjs/react

    React 插件。

    安装方法

    npm

    npm install @faasjs/react --save
    +import{_ as a,o as s,c as n,e}from"./app-COoiSelr.js";const t={},p=e(`

    @faasjs/react

    React 插件。

    安装方法

    npm

    npm install @faasjs/react --save
     

    Webpack 和 CDN

    在 html 中添加如下代码:

    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/@faasjs/react"></script>
     

    在 webpack.config.js 中添加如下代码:

    module.exports = {
       // ...
    @@ -14,4 +14,4 @@ import{_ as a,o as s,c as n,e}from"./app-QyD7034V.js";const t={},p=e(`

    export const faas = client.faas export const useFaas = client.useFaas -

    `,12),c=[p];function l(o,i){return s(),n("div",null,c)}const d=a(t,[["render",l],["__file","react.html.vue"]]),u=JSON.parse('{"path":"/zh/doc/react.html","title":"@faasjs/react","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"初始化","slug":"初始化","link":"#初始化","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/react.md"}');export{d as comp,u as data}; +
    `,12),c=[p];function l(o,i){return s(),n("div",null,c)}const d=a(t,[["render",l],["__file","react.html.vue"]]),u=JSON.parse('{"path":"/zh/doc/react.html","title":"@faasjs/react","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"初始化","slug":"初始化","link":"#初始化","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/react.md"}');export{d as comp,u as data}; diff --git a/assets/react.html-2WLhZutU.js b/assets/react.html-D2xJFk2z.js similarity index 97% rename from assets/react.html-2WLhZutU.js rename to assets/react.html-D2xJFk2z.js index 09b6752e49..12265e0ae8 100644 --- a/assets/react.html-2WLhZutU.js +++ b/assets/react.html-D2xJFk2z.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e as t}from"./app-QyD7034V.js";const e={},p=t(`

    在 React 中使用

    FaasJS 提供了 @faasjs/react 使得你可以在 React 中轻松调用云函数。

    集成步骤

    1. 安装插件 npm install @faasjs/react@beta --save
    2. 引入插件
    // faas.ts
    +import{_ as n,o as s,c as a,e as t}from"./app-COoiSelr.js";const e={},p=t(`

    在 React 中使用

    FaasJS 提供了 @faasjs/react 使得你可以在 React 中轻松调用云函数。

    集成步骤

    1. 安装插件 npm install @faasjs/react@beta --save
    2. 引入插件
    // faas.ts
     import { FaasClient } from '@faasjs/react';
     
     const client = FaasClient({
    @@ -22,4 +22,4 @@ import{_ as n,o as s,c as a,e as t}from"./app-QyD7034V.js";const e={},p=t(`

    return <>ID: {user.data.id}</> } -

    `,7),c=[p];function o(l,i){return s(),a("div",null,c)}const r=n(e,[["render",o],["__file","react.html.vue"]]),d=JSON.parse('{"path":"/zh/guide/excel/react.html","title":"在 React 中使用","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"集成步骤","slug":"集成步骤","link":"#集成步骤","children":[]},{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/react.md"}');export{r as comp,d as data}; +
    `,7),c=[p];function o(l,i){return s(),a("div",null,c)}const r=n(e,[["render",o],["__file","react.html.vue"]]),d=JSON.parse('{"path":"/zh/guide/excel/react.html","title":"在 React 中使用","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"集成步骤","slug":"集成步骤","link":"#集成步骤","children":[]},{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/react.md"}');export{r as comp,d as data}; diff --git a/assets/redis.html-DBvj9uv7.js b/assets/redis.html-DWPdOw0O.js similarity index 97% rename from assets/redis.html-DBvj9uv7.js rename to assets/redis.html-DWPdOw0O.js index ea1e811105..a23d69207c 100644 --- a/assets/redis.html-DBvj9uv7.js +++ b/assets/redis.html-DWPdOw0O.js @@ -1,4 +1,4 @@ -import{_ as t,r as o,o as p,c as i,a as s,b as n,d as e,e as c}from"./app-QyD7034V.js";const r={},l=s("h1",{id:"faasjs-redis",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-redis"},[s("span",null,"@faasjs/redis")])],-1),d=s("p",null,"Redis 插件可以使云函数能够连接 Redis 数据库。",-1),u={href:"https://www.npmjs.com/package/redis",target:"_blank",rel:"noopener noreferrer"},k=c(`

    配置参数

    • host string 主机地址
    • port number 端口号
    • password string 登录密码
    • prefix string 前缀

    实例方法

    query(command: string, args: any[]): Promise<any>

    请求 Redis

    示例代码

    import { Func } from '@faasjs/func';
    +import{_ as t,r as o,o as p,c as i,a as s,b as n,d as e,e as c}from"./app-COoiSelr.js";const r={},l=s("h1",{id:"faasjs-redis",tabindex:"-1"},[s("a",{class:"header-anchor",href:"#faasjs-redis"},[s("span",null,"@faasjs/redis")])],-1),d=s("p",null,"Redis 插件可以使云函数能够连接 Redis 数据库。",-1),u={href:"https://www.npmjs.com/package/redis",target:"_blank",rel:"noopener noreferrer"},k=c(`

    配置参数

    • host string 主机地址
    • port number 端口号
    • password string 登录密码
    • prefix string 前缀

    实例方法

    query(command: string, args: any[]): Promise<any>

    请求 Redis

    示例代码

    import { Func } from '@faasjs/func';
     import { Redis } from '@faasjs/redis';
     
     const redis = new Redis();
    @@ -9,4 +9,4 @@ import{_ as t,r as o,o as p,c as i,a as s,b as n,d as e,e as c}from"./app-QyD703
         return await redis.query('get', ['key']); // 查询数据库
       }
     });
    -

    Github 地址

    `,8),h={href:"https://github.com/faasjs/faasjs/tree/main/packages/redis",target:"_blank",rel:"noopener noreferrer"};function m(g,f){const a=o("ExternalLinkIcon");return p(),i("div",null,[l,d,s("p",null,[n("基于 "),s("a",u,[n("redis"),e(a)]),n("。")]),k,s("p",null,[s("a",h,[n("https://github.com/faasjs/faasjs/tree/main/packages/redis"),e(a)])])])}const y=t(r,[["render",m],["__file","redis.html.vue"]]),b=JSON.parse('{"path":"/zh/doc/redis.html","title":"@faasjs/redis","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"query(command: string, args: any[]): Promise","slug":"query-command-string-args-any-promise-any","link":"#query-command-string-args-any-promise-any","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/redis.md"}');export{y as comp,b as data}; +

    Github 地址

    `,8),h={href:"https://github.com/faasjs/faasjs/tree/main/packages/redis",target:"_blank",rel:"noopener noreferrer"};function m(g,f){const a=o("ExternalLinkIcon");return p(),i("div",null,[l,d,s("p",null,[n("基于 "),s("a",u,[n("redis"),e(a)]),n("。")]),k,s("p",null,[s("a",h,[n("https://github.com/faasjs/faasjs/tree/main/packages/redis"),e(a)])])])}const y=t(r,[["render",m],["__file","redis.html.vue"]]),b=JSON.parse('{"path":"/zh/doc/redis.html","title":"@faasjs/redis","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"配置参数","slug":"配置参数","link":"#配置参数","children":[]},{"level":2,"title":"实例方法","slug":"实例方法","link":"#实例方法","children":[{"level":3,"title":"query(command: string, args: any[]): Promise","slug":"query-command-string-args-any-promise-any","link":"#query-command-string-args-any-promise-any","children":[]}]},{"level":2,"title":"示例代码","slug":"示例代码","link":"#示例代码","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/redis.md"}');export{y as comp,b as data}; diff --git a/assets/request-spec.html-C6XWzBiu.js b/assets/request-spec.html-CPpVhpM0.js similarity index 98% rename from assets/request-spec.html-C6XWzBiu.js rename to assets/request-spec.html-CPpVhpM0.js index befacacb2e..b0d5ce6d32 100644 --- a/assets/request-spec.html-C6XWzBiu.js +++ b/assets/request-spec.html-CPpVhpM0.js @@ -1,4 +1,4 @@ -import{_ as a,o as e,c as s,e as n}from"./app-QyD7034V.js";const l={},t=n(`

    HTTP 请求规范

    为了统一团队协作时请求规范不一致的情况,FaasJS 提供了内置的请求规范和配套的浏览器插件。

    请求

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    统一为 POST

    Path

    请求路径默认与项目中的目录名和文件名一致。

    Query

    不建议使用,入参请通过 Body 传值。

    Body

    为空或 JSON 格式。

    响应

    Headers

    • Content-Type: application/json; charset=UTF-8

    StatusCode

    • 200 请求成功且有返回信息
    • 201 请求成功但没有返回信息
    • 500 请求失败

    其它状态可根据具体业务情况添加。

    Body

    200 状态

    • data 必有,业务信息

    例:

    {
    +import{_ as a,o as e,c as s,e as n}from"./app-COoiSelr.js";const l={},t=n(`

    HTTP 请求规范

    为了统一团队协作时请求规范不一致的情况,FaasJS 提供了内置的请求规范和配套的浏览器插件。

    请求

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    统一为 POST

    Path

    请求路径默认与项目中的目录名和文件名一致。

    Query

    不建议使用,入参请通过 Body 传值。

    Body

    为空或 JSON 格式。

    响应

    Headers

    • Content-Type: application/json; charset=UTF-8

    StatusCode

    • 200 请求成功且有返回信息
    • 201 请求成功但没有返回信息
    • 500 请求失败

    其它状态可根据具体业务情况添加。

    Body

    200 状态

    • data 必有,业务信息

    例:

    {
       "data": "value"
     }
     
    {
    @@ -11,4 +11,4 @@ import{_ as a,o as e,c as s,e as n}from"./app-QyD7034V.js";const l={},t=n(`

    "message": "出错啦" } } -

    常见问题

    为什么不使用表单形式提交数据?

    因为表单提交数据有两个比较大的问题:一是格式只能为字符串,二是层级数据嵌套时,会导致提交的字数过多。

    为什么不使用 Restful 或者 GraphQL?

    Restful 的问题在于需要开发者对动词和名词有较深的理解,GraphQL 的问题在于解析和权限验证较复杂,在 FaaS 的环境中使用 Apollo 之类的框架会显得更重。

    因此 FaasJS 综合了 Restful 和 GraphQL 中易于理解的部分,将请求标准设计为仅 actionparams 的形式。

    `,37),r=[t];function i(d,o){return e(),s("div",null,r)}const c=a(l,[["render",i],["__file","request-spec.html.vue"]]),h=JSON.parse('{"path":"/zh/guide/excel/request-spec.html","title":"HTTP 请求规范","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"请求","slug":"请求","link":"#请求","children":[{"level":3,"title":"Headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"Method","slug":"method","link":"#method","children":[]},{"level":3,"title":"Path","slug":"path","link":"#path","children":[]},{"level":3,"title":"Query","slug":"query","link":"#query","children":[]},{"level":3,"title":"Body","slug":"body","link":"#body","children":[]}]},{"level":2,"title":"响应","slug":"响应","link":"#响应","children":[{"level":3,"title":"Headers","slug":"headers-1","link":"#headers-1","children":[]},{"level":3,"title":"Body","slug":"body-1","link":"#body-1","children":[]},{"level":3,"title":"201 状态","slug":"_201-状态","link":"#_201-状态","children":[]},{"level":3,"title":"500 状态","slug":"_500-状态","link":"#_500-状态","children":[]}]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[{"level":3,"title":"为什么不使用表单形式提交数据?","slug":"为什么不使用表单形式提交数据","link":"#为什么不使用表单形式提交数据","children":[]},{"level":3,"title":"为什么不使用 Restful 或者 GraphQL?","slug":"为什么不使用-restful-或者-graphql","link":"#为什么不使用-restful-或者-graphql","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/request-spec.md"}');export{c as comp,h as data}; +

    常见问题

    为什么不使用表单形式提交数据?

    因为表单提交数据有两个比较大的问题:一是格式只能为字符串,二是层级数据嵌套时,会导致提交的字数过多。

    为什么不使用 Restful 或者 GraphQL?

    Restful 的问题在于需要开发者对动词和名词有较深的理解,GraphQL 的问题在于解析和权限验证较复杂,在 FaaS 的环境中使用 Apollo 之类的框架会显得更重。

    因此 FaasJS 综合了 Restful 和 GraphQL 中易于理解的部分,将请求标准设计为仅 actionparams 的形式。

    `,37),r=[t];function i(d,o){return e(),s("div",null,r)}const c=a(l,[["render",i],["__file","request-spec.html.vue"]]),h=JSON.parse('{"path":"/zh/guide/excel/request-spec.html","title":"HTTP 请求规范","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"请求","slug":"请求","link":"#请求","children":[{"level":3,"title":"Headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"Method","slug":"method","link":"#method","children":[]},{"level":3,"title":"Path","slug":"path","link":"#path","children":[]},{"level":3,"title":"Query","slug":"query","link":"#query","children":[]},{"level":3,"title":"Body","slug":"body","link":"#body","children":[]}]},{"level":2,"title":"响应","slug":"响应","link":"#响应","children":[{"level":3,"title":"Headers","slug":"headers-1","link":"#headers-1","children":[]},{"level":3,"title":"Body","slug":"body-1","link":"#body-1","children":[]},{"level":3,"title":"201 状态","slug":"_201-状态","link":"#_201-状态","children":[]},{"level":3,"title":"500 状态","slug":"_500-状态","link":"#_500-状态","children":[]}]},{"level":2,"title":"常见问题","slug":"常见问题","link":"#常见问题","children":[{"level":3,"title":"为什么不使用表单形式提交数据?","slug":"为什么不使用表单形式提交数据","link":"#为什么不使用表单形式提交数据","children":[]},{"level":3,"title":"为什么不使用 Restful 或者 GraphQL?","slug":"为什么不使用-restful-或者-graphql","link":"#为什么不使用-restful-或者-graphql","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/request-spec.md"}');export{c as comp,h as data}; diff --git a/assets/request-spec.html-_XFlfAED.js b/assets/request-spec.html-DUuoqkI9.js similarity index 98% rename from assets/request-spec.html-_XFlfAED.js rename to assets/request-spec.html-DUuoqkI9.js index e30e60498e..63514dc46f 100644 --- a/assets/request-spec.html-_XFlfAED.js +++ b/assets/request-spec.html-DUuoqkI9.js @@ -1,4 +1,4 @@ -import{_ as e,o as s,c as a,e as n}from"./app-QyD7034V.js";const t={},r=n(`

    FaasJS Request Specifications

    To ensure consistency and avoid confusion during team collaboration, FaasJS offers built-in request specifications and compatible browser plugins.

    Requests

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    Standardized as POST.

    Path

    By default, the request path mirrors the directory and file name within your project.

    Query Parameters

    Discouraged. Use the Body section for parameter transmission instead.

    Body

    Empty or formatted in JSON.

    Responses

    Headers

    • Content-Type: application/json; charset=UTF-8

    Status Codes

    • 200 Request successful with response data.
    • 201 Request successful but without response data.
    • 500 Request failed.

    Additional status codes can be implemented based on specific business needs.

    Body

    200 Status

    • data (Required): Contains business information.

    Examples:

    Returns a string.

    {
    +import{_ as e,o as s,c as a,e as n}from"./app-COoiSelr.js";const t={},r=n(`

    FaasJS Request Specifications

    To ensure consistency and avoid confusion during team collaboration, FaasJS offers built-in request specifications and compatible browser plugins.

    Requests

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    Standardized as POST.

    Path

    By default, the request path mirrors the directory and file name within your project.

    Query Parameters

    Discouraged. Use the Body section for parameter transmission instead.

    Body

    Empty or formatted in JSON.

    Responses

    Headers

    • Content-Type: application/json; charset=UTF-8

    Status Codes

    • 200 Request successful with response data.
    • 201 Request successful but without response data.
    • 500 Request failed.

    Additional status codes can be implemented based on specific business needs.

    Body

    200 Status

    • data (Required): Contains business information.

    Examples:

    Returns a string.

    {
       "data": "value"
     }
     

    Returns an object.

    {
    @@ -11,4 +11,4 @@ import{_ as e,o as s,c as a,e as n}from"./app-QyD7034V.js";const t={},r=n(`

    "message": "An error occurred." } } -

    Frequently Asked Questions

    Why not use form data submissions?

    Form data submissions have two main drawbacks:

    1. Limited format: data can only be submitted as strings.
    2. Nested data limitations: complex nested data structures can lead to excessively large submissions.

    Why not use RESTful or GraphQL APIs?

    RESTful APIs require a deeper understanding of verbs and nouns for developers.

    GraphQL, while powerful, involves complex parsing and authorization processes. Utilizing frameworks like Apollo can be cumbersome within a FaaS environment.

    Therefore, FaasJS adopts a simplified approach, combining the clarity of RESTful with the flexibility of GraphQL.

    Requests are defined solely using action and params.

    `,42),i=[r];function o(l,d){return s(),a("div",null,i)}const u=e(t,[["render",o],["__file","request-spec.html.vue"]]),c=JSON.parse('{"path":"/guide/request-spec.html","title":"FaasJS Request Specifications","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Requests","slug":"requests","link":"#requests","children":[{"level":3,"title":"Headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"Method","slug":"method","link":"#method","children":[]},{"level":3,"title":"Path","slug":"path","link":"#path","children":[]},{"level":3,"title":"Query Parameters","slug":"query-parameters","link":"#query-parameters","children":[]},{"level":3,"title":"Body","slug":"body","link":"#body","children":[]}]},{"level":2,"title":"Responses","slug":"responses","link":"#responses","children":[{"level":3,"title":"Headers","slug":"headers-1","link":"#headers-1","children":[]},{"level":3,"title":"Body","slug":"body-1","link":"#body-1","children":[]}]},{"level":2,"title":"Frequently Asked Questions","slug":"frequently-asked-questions","link":"#frequently-asked-questions","children":[{"level":3,"title":"Why not use form data submissions?","slug":"why-not-use-form-data-submissions","link":"#why-not-use-form-data-submissions","children":[]},{"level":3,"title":"Why not use RESTful or GraphQL APIs?","slug":"why-not-use-restful-or-graphql-apis","link":"#why-not-use-restful-or-graphql-apis","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"guide/request-spec.md"}');export{u as comp,c as data}; +

    Frequently Asked Questions

    Why not use form data submissions?

    Form data submissions have two main drawbacks:

    1. Limited format: data can only be submitted as strings.
    2. Nested data limitations: complex nested data structures can lead to excessively large submissions.

    Why not use RESTful or GraphQL APIs?

    RESTful APIs require a deeper understanding of verbs and nouns for developers.

    GraphQL, while powerful, involves complex parsing and authorization processes. Utilizing frameworks like Apollo can be cumbersome within a FaaS environment.

    Therefore, FaasJS adopts a simplified approach, combining the clarity of RESTful with the flexibility of GraphQL.

    Requests are defined solely using action and params.

    `,42),i=[r];function o(l,d){return s(),a("div",null,i)}const u=e(t,[["render",o],["__file","request-spec.html.vue"]]),c=JSON.parse('{"path":"/guide/request-spec.html","title":"FaasJS Request Specifications","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Requests","slug":"requests","link":"#requests","children":[{"level":3,"title":"Headers","slug":"headers","link":"#headers","children":[]},{"level":3,"title":"Method","slug":"method","link":"#method","children":[]},{"level":3,"title":"Path","slug":"path","link":"#path","children":[]},{"level":3,"title":"Query Parameters","slug":"query-parameters","link":"#query-parameters","children":[]},{"level":3,"title":"Body","slug":"body","link":"#body","children":[]}]},{"level":2,"title":"Responses","slug":"responses","link":"#responses","children":[{"level":3,"title":"Headers","slug":"headers-1","link":"#headers-1","children":[]},{"level":3,"title":"Body","slug":"body-1","link":"#body-1","children":[]}]},{"level":2,"title":"Frequently Asked Questions","slug":"frequently-asked-questions","link":"#frequently-asked-questions","children":[{"level":3,"title":"Why not use form data submissions?","slug":"why-not-use-form-data-submissions","link":"#why-not-use-form-data-submissions","children":[]},{"level":3,"title":"Why not use RESTful or GraphQL APIs?","slug":"why-not-use-restful-or-graphql-apis","link":"#why-not-use-restful-or-graphql-apis","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"guide/request-spec.md"}');export{u as comp,c as data}; diff --git a/assets/request.html-D7UjNveU.js b/assets/request.html-C11KEKqa.js similarity index 97% rename from assets/request.html-D7UjNveU.js rename to assets/request.html-C11KEKqa.js index ff37402efc..eb286bc5f3 100644 --- a/assets/request.html-D7UjNveU.js +++ b/assets/request.html-C11KEKqa.js @@ -1 +1 @@ -import{_ as l,r,o as a,c,a as e,d as n,w as o,b as t,e as u}from"./app-QyD7034V.js";const d={},i=e("h1",{id:"function-request",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-request"},[e("span",null,"Function: request()")])],-1),p=e("strong",null,"request",-1),h=e("code",null,"T",-1),_=e("code",null,"url",-1),m=e("code",null,"options",-1),f=e("code",null,"Promise",-1),q=e("code",null,"Response",-1),g=e("code",null,"T",-1),R=u('

    Request

    Type parameters

    T = any

    Parameters

    url: string

    Url

    ',6),x=e("strong",null,"options?",-1),y=e("code",null,"RequestOptions",-1),k=e("code",null,"undefined",-1),v=e("p",null,"Options",-1),T=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"Promise",-1),N=e("code",null,"Response",-1),P=e("code",null,"T",-1),O=e("h2",{id:"url",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#url"},[e("span",null,"Url")])],-1),V=e("p",null,"https://faasjs.com/doc/request.html",-1);function B(U,j){const s=r("RouteLink");return a(),c("div",null,[e("p",null,[n(s,{to:"/doc/request/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/request/"},{default:o(()=>[t("@faasjs/request")]),_:1}),t(" / request")]),i,e("blockquote",null,[e("p",null,[p,t("<"),h,t(">("),_,t(", "),m,t("?): "),f,t("<"),n(s,{to:"/doc/request/type-aliases/Response.html"},{default:o(()=>[q]),_:1}),t("<"),g,t(">>")])]),R,e("p",null,[t("• "),x,t(": "),n(s,{to:"/doc/request/type-aliases/RequestOptions.html"},{default:o(()=>[y]),_:1}),t("= "),k]),v,T,e("p",null,[b,t("<"),n(s,{to:"/doc/request/type-aliases/Response.html"},{default:o(()=>[N]),_:1}),t("<"),P,t(">>")]),O,V])}const C=l(d,[["render",B],["__file","request.html.vue"]]),F=JSON.parse('{"path":"/doc/request/functions/request.html","title":"Function: request()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Url","slug":"url","link":"#url","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/functions/request.md"}');export{C as comp,F as data}; +import{_ as l,r,o as a,c,a as e,d as n,w as o,b as t,e as u}from"./app-COoiSelr.js";const d={},i=e("h1",{id:"function-request",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-request"},[e("span",null,"Function: request()")])],-1),p=e("strong",null,"request",-1),h=e("code",null,"T",-1),_=e("code",null,"url",-1),m=e("code",null,"options",-1),f=e("code",null,"Promise",-1),q=e("code",null,"Response",-1),g=e("code",null,"T",-1),R=u('

    Request

    Type parameters

    T = any

    Parameters

    url: string

    Url

    ',6),x=e("strong",null,"options?",-1),y=e("code",null,"RequestOptions",-1),k=e("code",null,"undefined",-1),v=e("p",null,"Options",-1),T=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"Promise",-1),N=e("code",null,"Response",-1),P=e("code",null,"T",-1),O=e("h2",{id:"url",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#url"},[e("span",null,"Url")])],-1),V=e("p",null,"https://faasjs.com/doc/request.html",-1);function B(U,j){const s=r("RouteLink");return a(),c("div",null,[e("p",null,[n(s,{to:"/doc/request/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/request/"},{default:o(()=>[t("@faasjs/request")]),_:1}),t(" / request")]),i,e("blockquote",null,[e("p",null,[p,t("<"),h,t(">("),_,t(", "),m,t("?): "),f,t("<"),n(s,{to:"/doc/request/type-aliases/Response.html"},{default:o(()=>[q]),_:1}),t("<"),g,t(">>")])]),R,e("p",null,[t("• "),x,t(": "),n(s,{to:"/doc/request/type-aliases/RequestOptions.html"},{default:o(()=>[y]),_:1}),t("= "),k]),v,T,e("p",null,[b,t("<"),n(s,{to:"/doc/request/type-aliases/Response.html"},{default:o(()=>[N]),_:1}),t("<"),P,t(">>")]),O,V])}const C=l(d,[["render",B],["__file","request.html.vue"]]),F=JSON.parse('{"path":"/doc/request/functions/request.html","title":"Function: request()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Url","slug":"url","link":"#url","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/functions/request.md"}');export{C as comp,F as data}; diff --git a/assets/request.html-_rgkWkFt.js b/assets/request.html-C6-NBAhM.js similarity index 98% rename from assets/request.html-_rgkWkFt.js rename to assets/request.html-C6-NBAhM.js index 077b0a11ff..79962ab744 100644 --- a/assets/request.html-_rgkWkFt.js +++ b/assets/request.html-C6-NBAhM.js @@ -1,4 +1,4 @@ -import{_ as a,r as t,o as e,c as o,a as n,b as p,d as c,e as l}from"./app-QyD7034V.js";const i={},u=l(`

    @faasjs/request

    FaasJS 内置插件,无需额外安装。

    简化版网络请求插件,主要用于请求接口。

    入参

    • url string 请求网址
    • options object 请求配置项
      • method string 请求方法,默认为 GET
      • query object 请求参数
      • headers object 请求头
      • body any 请求体

    出参

    注意:出参为 Promise 对象。

    • request object 请求对象
    • statusCode number 状态码
    • statusMessage string 状态信息
    • headers object 响应头
    • body any 响应内容

    代码示例

    import { request } from '@faasjs/request';
    +import{_ as a,r as t,o as e,c as o,a as n,b as p,d as c,e as l}from"./app-COoiSelr.js";const i={},u=l(`

    @faasjs/request

    FaasJS 内置插件,无需额外安装。

    简化版网络请求插件,主要用于请求接口。

    入参

    • url string 请求网址
    • options object 请求配置项
      • method string 请求方法,默认为 GET
      • query object 请求参数
      • headers object 请求头
      • body any 请求体

    出参

    注意:出参为 Promise 对象。

    • request object 请求对象
    • statusCode number 状态码
    • statusMessage string 状态信息
    • headers object 响应头
    • body any 响应内容

    代码示例

    import { request } from '@faasjs/request';
     
     request('https://google.com', {
       query: {
    @@ -18,4 +18,4 @@ import{_ as a,r as t,o as e,c as o,a as n,b as p,d as c,e as l}from"./app-QyD703
     });
     
     request('https://hello.com').then(console.log); // 必定会返回 body 为 world
    -

    Github 地址

    `,15),r={href:"https://github.com/faasjs/faasjs/tree/main/packages/request",target:"_blank",rel:"noopener noreferrer"};function d(k,h){const s=t("ExternalLinkIcon");return e(),o("div",null,[u,n("p",null,[n("a",r,[p("https://github.com/faasjs/faasjs/tree/main/packages/request"),c(s)])])])}const v=a(i,[["render",d],["__file","request.html.vue"]]),m=JSON.parse('{"path":"/zh/doc/request.html","title":"@faasjs/request","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"入参","slug":"入参","link":"#入参","children":[]},{"level":2,"title":"出参","slug":"出参","link":"#出参","children":[]},{"level":2,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[]},{"level":2,"title":"模拟模式","slug":"模拟模式","link":"#模拟模式","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/request.md"}');export{v as comp,m as data}; +

    Github 地址

    `,15),r={href:"https://github.com/faasjs/faasjs/tree/main/packages/request",target:"_blank",rel:"noopener noreferrer"};function d(k,h){const s=t("ExternalLinkIcon");return e(),o("div",null,[u,n("p",null,[n("a",r,[p("https://github.com/faasjs/faasjs/tree/main/packages/request"),c(s)])])])}const v=a(i,[["render",d],["__file","request.html.vue"]]),m=JSON.parse('{"path":"/zh/doc/request.html","title":"@faasjs/request","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"入参","slug":"入参","link":"#入参","children":[]},{"level":2,"title":"出参","slug":"出参","link":"#出参","children":[]},{"level":2,"title":"代码示例","slug":"代码示例","link":"#代码示例","children":[]},{"level":2,"title":"模拟模式","slug":"模拟模式","link":"#模拟模式","children":[]},{"level":2,"title":"Github 地址","slug":"github-地址","link":"#github-地址","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/request.md"}');export{v as comp,m as data}; diff --git a/assets/request.html-COuqkYSA.js b/assets/request.html-DhbVrMy-.js similarity index 96% rename from assets/request.html-COuqkYSA.js rename to assets/request.html-DhbVrMy-.js index e5d17f66e2..d9a90c1d05 100644 --- a/assets/request.html-COuqkYSA.js +++ b/assets/request.html-DhbVrMy-.js @@ -1 +1 @@ -import{_ as o,r,o as c,c as l,a as e,d as a,w as s,b as t,e as d}from"./app-QyD7034V.js";const u={},i=d('

    Function: request()

    request<T>(__namedParameters): Promise<T>

    腾讯云请求封装

    Type parameters

    T = any

    Parameters

    ',6),p=e("strong",null,"__namedParameters",-1),h=e("code",null,"TencentcloudConfig",-1),m=e("code",null,"Object",-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1);function g(q,T){const n=r("RouteLink");return c(),l("div",null,[e("p",null,[a(n,{to:"/doc/tencentcloud/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/tencentcloud/"},{default:s(()=>[t("@faasjs/tencentcloud")]),_:1}),t(" / request")]),i,e("p",null,[t("• "),p,t(": "),a(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:s(()=>[h]),_:1}),t(" & "),m]),_,f])}const x=o(u,[["render",g],["__file","request.html.vue"]]),b=JSON.parse('{"path":"/doc/tencentcloud/functions/request.html","title":"Function: request()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/functions/request.md"}');export{x as comp,b as data}; +import{_ as o,r,o as c,c as l,a as e,d as a,w as s,b as t,e as d}from"./app-COoiSelr.js";const u={},i=d('

    Function: request()

    request<T>(__namedParameters): Promise<T>

    腾讯云请求封装

    Type parameters

    T = any

    Parameters

    ',6),p=e("strong",null,"__namedParameters",-1),h=e("code",null,"TencentcloudConfig",-1),m=e("code",null,"Object",-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),f=e("p",null,[e("code",null,"Promise"),t("<"),e("code",null,"T"),t(">")],-1);function g(q,T){const n=r("RouteLink");return c(),l("div",null,[e("p",null,[a(n,{to:"/doc/tencentcloud/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),a(n,{to:"/doc/tencentcloud/"},{default:s(()=>[t("@faasjs/tencentcloud")]),_:1}),t(" / request")]),i,e("p",null,[t("• "),p,t(": "),a(n,{to:"/doc/tencentcloud/type-aliases/TencentcloudConfig.html"},{default:s(()=>[h]),_:1}),t(" & "),m]),_,f])}const x=o(u,[["render",g],["__file","request.html.vue"]]),b=JSON.parse('{"path":"/doc/tencentcloud/functions/request.html","title":"Function: request()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/tencentcloud/functions/request.md"}');export{x as comp,b as data}; diff --git a/assets/server.html-DYSi371K.js b/assets/server.html-D0_o9GV2.js similarity index 77% rename from assets/server.html-DYSi371K.js rename to assets/server.html-D0_o9GV2.js index 03251177c0..df971297ff 100644 --- a/assets/server.html-DYSi371K.js +++ b/assets/server.html-D0_o9GV2.js @@ -1 +1 @@ -import{_ as s,o as a,c as r,a as e}from"./app-QyD7034V.js";const t={},o=e("h1",{id:"faasjs-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-server"},[e("span",null,"@faasjs/server")])],-1),c=e("p",null,"待补充",-1),n=[o,c];function l(_,d){return a(),r("div",null,n)}const i=s(t,[["render",l],["__file","server.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/server.html","title":"@faasjs/server","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/server.md"}');export{i as comp,f as data}; +import{_ as s,o as a,c as r,a as e}from"./app-COoiSelr.js";const t={},o=e("h1",{id:"faasjs-server",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-server"},[e("span",null,"@faasjs/server")])],-1),c=e("p",null,"待补充",-1),n=[o,c];function l(_,d){return a(),r("div",null,n)}const i=s(t,[["render",l],["__file","server.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/server.html","title":"@faasjs/server","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/server.md"}');export{i as comp,f as data}; diff --git a/assets/set.html-BdFHpY4c.js b/assets/set.html-DmAR77CS.js similarity index 96% rename from assets/set.html-BdFHpY4c.js rename to assets/set.html-DmAR77CS.js index 679f08152e..f57c6bbd09 100644 --- a/assets/set.html-BdFHpY4c.js +++ b/assets/set.html-DmAR77CS.js @@ -1 +1 @@ -import{_ as o,r,o as n,c,a as d,d as s,w as a,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: set()

    set<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    ',10);function u(h,m){const t=r("RouteLink");return n(),c("div",null,[d("p",null,[s(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / set")]),p])}const g=o(i,[["render",u],["__file","set.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/set.html","title":"Function: set()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/set.md"}');export{g as comp,_ as data}; +import{_ as o,r,o as n,c,a as d,d as s,w as a,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: set()

    set<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    ',10);function u(h,m){const t=r("RouteLink");return n(),c("div",null,[d("p",null,[s(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / set")]),p])}const g=o(i,[["render",u],["__file","set.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/set.html","title":"Function: set()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/set.md"}');export{g as comp,_ as data}; diff --git a/assets/setDrawerProps.html-PAprS9FD.js b/assets/setDrawerProps.html-DCAQJ5DM.js similarity index 96% rename from assets/setDrawerProps.html-PAprS9FD.js rename to assets/setDrawerProps.html-DCAQJ5DM.js index cdc454fad5..b539cecce0 100644 --- a/assets/setDrawerProps.html-PAprS9FD.js +++ b/assets/setDrawerProps.html-DCAQJ5DM.js @@ -1 +1 @@ -import{_ as n,r as o,o as l,c as d,a as e,d as a,w as r,b as t}from"./app-QyD7034V.js";const c={},i=e("h1",{id:"type-alias-setdrawerprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-setdrawerprops"},[e("span",null,"Type alias: setDrawerProps()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"setDrawerProps"),t(": ("),e("code",null,"changes"),t(") => "),e("code",null,"void")])],-1),u=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("strong",null,"changes",-1),h=e("code",null,"Partial",-1),m=e("code",null,"DrawerProps",-1),f=e("code",null,"prev",-1),P=e("code",null,"Partial",-1),w=e("code",null,"DrawerProps",-1),g=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),D=e("p",null,[e("code",null,"void")],-1);function v(x,k){const s=o("RouteLink");return l(),d("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / setDrawerProps")]),i,p,u,e("p",null,[t("• "),_,t(": "),h,t("<"),a(s,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[m]),_:1}),t("> | ("),f,t(") => "),P,t("<"),a(s,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[w]),_:1}),t(">")]),g,D])}const b=n(c,[["render",v],["__file","setDrawerProps.html.vue"]]),R=JSON.parse('{"path":"/doc/ant-design/type-aliases/setDrawerProps.html","title":"Type alias: setDrawerProps()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/setDrawerProps.md"}');export{b as comp,R as data}; +import{_ as n,r as o,o as l,c as d,a as e,d as a,w as r,b as t}from"./app-COoiSelr.js";const c={},i=e("h1",{id:"type-alias-setdrawerprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-setdrawerprops"},[e("span",null,"Type alias: setDrawerProps()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"setDrawerProps"),t(": ("),e("code",null,"changes"),t(") => "),e("code",null,"void")])],-1),u=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("strong",null,"changes",-1),h=e("code",null,"Partial",-1),m=e("code",null,"DrawerProps",-1),f=e("code",null,"prev",-1),P=e("code",null,"Partial",-1),w=e("code",null,"DrawerProps",-1),g=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),D=e("p",null,[e("code",null,"void")],-1);function v(x,k){const s=o("RouteLink");return l(),d("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:r(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:r(()=>[t("@faasjs/ant-design")]),_:1}),t(" / setDrawerProps")]),i,p,u,e("p",null,[t("• "),_,t(": "),h,t("<"),a(s,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[m]),_:1}),t("> | ("),f,t(") => "),P,t("<"),a(s,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:r(()=>[w]),_:1}),t(">")]),g,D])}const b=n(c,[["render",v],["__file","setDrawerProps.html.vue"]]),R=JSON.parse('{"path":"/doc/ant-design/type-aliases/setDrawerProps.html","title":"Type alias: setDrawerProps()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/setDrawerProps.md"}');export{b as comp,R as data}; diff --git a/assets/setJSON.html-Yqy9s-Wr.js b/assets/setJSON.html-BEffoxNH.js similarity index 96% rename from assets/setJSON.html-Yqy9s-Wr.js rename to assets/setJSON.html-BEffoxNH.js index 1ffefd57f5..576a542551 100644 --- a/assets/setJSON.html-Yqy9s-Wr.js +++ b/assets/setJSON.html-BEffoxNH.js @@ -1 +1 @@ -import{_ as o,r,o as n,c,a as d,d as s,w as a,b as e,e as l}from"./app-QyD7034V.js";const i={},p=l('

    Function: setJSON()

    setJSON<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    ',10);function u(h,m){const t=r("RouteLink");return n(),c("div",null,[d("p",null,[s(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / setJSON")]),p])}const g=o(i,[["render",u],["__file","setJSON.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/setJSON.html","title":"Function: setJSON()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/setJSON.md"}');export{g as comp,_ as data}; +import{_ as o,r,o as n,c,a as d,d as s,w as a,b as e,e as l}from"./app-COoiSelr.js";const i={},p=l('

    Function: setJSON()

    setJSON<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    ',10);function u(h,m){const t=r("RouteLink");return n(),c("div",null,[d("p",null,[s(t,{to:"/doc/redis/"},{default:a(()=>[e("Documents")]),_:1}),e(" / "),s(t,{to:"/doc/redis/"},{default:a(()=>[e("@faasjs/redis")]),_:1}),e(" / setJSON")]),p])}const g=o(i,[["render",u],["__file","setJSON.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/setJSON.html","title":"Function: setJSON()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/setJSON.md"}');export{g as comp,_ as data}; diff --git a/assets/setMock.html-BnBFDXWA.js b/assets/setMock.html-Be7SBgiD.js similarity index 97% rename from assets/setMock.html-BnBFDXWA.js rename to assets/setMock.html-Be7SBgiD.js index d70532543e..a9431859f1 100644 --- a/assets/setMock.html-BnBFDXWA.js +++ b/assets/setMock.html-Be7SBgiD.js @@ -1,2 +1,2 @@ -import{_ as t,r as o,o as c,c as p,a as l,d as n,w as e,b as s,e as r}from"./app-QyD7034V.js";const u={},i=r(`

    Function: setMock()

    setMock(handler): void

    Mock requests

    Parameters

    handler: Mock

    {function | null} null to disable mock

    Returns

    void

    Example

    setMock(async (url, options) => Promise.resolve({ headers: {}, statusCode: 200, body: { data: 'ok' } }))
    +import{_ as t,r as o,o as c,c as p,a as l,d as n,w as e,b as s,e as r}from"./app-COoiSelr.js";const u={},i=r(`

    Function: setMock()

    setMock(handler): void

    Mock requests

    Parameters

    handler: Mock

    {function | null} null to disable mock

    Returns

    void

    Example

    setMock(async (url, options) => Promise.resolve({ headers: {}, statusCode: 200, body: { data: 'ok' } }))
     
    `,10);function d(k,h){const a=o("RouteLink");return c(),p("div",null,[l("p",null,[n(a,{to:"/doc/request/"},{default:e(()=>[s("Documents")]),_:1}),s(" / "),n(a,{to:"/doc/request/"},{default:e(()=>[s("@faasjs/request")]),_:1}),s(" / setMock")]),i])}const f=t(u,[["render",d],["__file","setMock.html.vue"]]),_=JSON.parse('{"path":"/doc/request/functions/setMock.html","title":"Function: setMock()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]},{"level":2,"title":"Example","slug":"example","link":"#example","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/request/functions/setMock.md"}');export{f as comp,_ as data}; diff --git a/assets/setMock.html-CPyu5B8I.js b/assets/setMock.html-DhjWbidu.js similarity index 98% rename from assets/setMock.html-CPyu5B8I.js rename to assets/setMock.html-DhjWbidu.js index a7e96e1978..df62ca4f89 100644 --- a/assets/setMock.html-CPyu5B8I.js +++ b/assets/setMock.html-DhjWbidu.js @@ -1,4 +1,4 @@ -import{_ as c,r as p,o as l,c as r,a as s,d as e,w as t,b as n,e as o}from"./app-QyD7034V.js";const i={},d=o('

    Function: setMock()

    setMock(handler): void

    Set mock handler for testing

    Parameters

    ',4),u=s("strong",null,"handler",-1),k=s("code",null,"MockHandler",-1),m=o(`

    mock handler, set undefined to clear mock

    Returns

    void

    Example

    import { setMock } from '@faasjs/browser'
    +import{_ as c,r as p,o as l,c as r,a as s,d as e,w as t,b as n,e as o}from"./app-COoiSelr.js";const i={},d=o('

    Function: setMock()

    setMock(handler): void

    Set mock handler for testing

    Parameters

    ',4),u=s("strong",null,"handler",-1),k=s("code",null,"MockHandler",-1),m=o(`

    mock handler, set undefined to clear mock

    Returns

    void

    Example

    import { setMock } from '@faasjs/browser'
     
     setMock(async ({ action, params, options }) => {
       return new Response({
    diff --git a/assets/setModalProps.html-Dd8qFPOT.js b/assets/setModalProps.html-DT8vLCVA.js
    similarity index 96%
    rename from assets/setModalProps.html-Dd8qFPOT.js
    rename to assets/setModalProps.html-DT8vLCVA.js
    index aeab487faf..80e73dd26d 100644
    --- a/assets/setModalProps.html-Dd8qFPOT.js
    +++ b/assets/setModalProps.html-DT8vLCVA.js
    @@ -1 +1 @@
    -import{_ as l,r as n,o as d,c as r,a as e,d as a,w as o,b as t}from"./app-QyD7034V.js";const c={},i=e("h1",{id:"type-alias-setmodalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-setmodalprops"},[e("span",null,"Type alias: setModalProps()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"setModalProps"),t(": ("),e("code",null,"changes"),t(") => "),e("code",null,"void")])],-1),u=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("strong",null,"changes",-1),h=e("code",null,"Partial",-1),m=e("code",null,"ModalProps",-1),f=e("code",null,"prev",-1),P=e("code",null,"Partial",-1),g=e("code",null,"ModalProps",-1),M=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),v=e("p",null,[e("code",null,"void")],-1);function x(k,y){const s=n("RouteLink");return d(),r("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / setModalProps")]),i,p,u,e("p",null,[t("• "),_,t(": "),h,t("<"),a(s,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:o(()=>[m]),_:1}),t("> | ("),f,t(") => "),P,t("<"),a(s,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:o(()=>[g]),_:1}),t(">")]),M,v])}const R=l(c,[["render",x],["__file","setModalProps.html.vue"]]),N=JSON.parse('{"path":"/doc/ant-design/type-aliases/setModalProps.html","title":"Type alias: setModalProps()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/setModalProps.md"}');export{R as comp,N as data};
    +import{_ as l,r as n,o as d,c as r,a as e,d as a,w as o,b as t}from"./app-COoiSelr.js";const c={},i=e("h1",{id:"type-alias-setmodalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-alias-setmodalprops"},[e("span",null,"Type alias: setModalProps()")])],-1),p=e("blockquote",null,[e("p",null,[e("strong",null,"setModalProps"),t(": ("),e("code",null,"changes"),t(") => "),e("code",null,"void")])],-1),u=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),_=e("strong",null,"changes",-1),h=e("code",null,"Partial",-1),m=e("code",null,"ModalProps",-1),f=e("code",null,"prev",-1),P=e("code",null,"Partial",-1),g=e("code",null,"ModalProps",-1),M=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),v=e("p",null,[e("code",null,"void")],-1);function x(k,y){const s=n("RouteLink");return d(),r("div",null,[e("p",null,[a(s,{to:"/doc/ant-design/"},{default:o(()=>[t("Documents")]),_:1}),t(" / "),a(s,{to:"/doc/ant-design/"},{default:o(()=>[t("@faasjs/ant-design")]),_:1}),t(" / setModalProps")]),i,p,u,e("p",null,[t("• "),_,t(": "),h,t("<"),a(s,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:o(()=>[m]),_:1}),t("> | ("),f,t(") => "),P,t("<"),a(s,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:o(()=>[g]),_:1}),t(">")]),M,v])}const R=l(c,[["render",x],["__file","setModalProps.html.vue"]]),N=JSON.parse('{"path":"/doc/ant-design/type-aliases/setModalProps.html","title":"Type alias: setModalProps()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/type-aliases/setModalProps.md"}');export{R as comp,N as data};
    diff --git a/assets/signal.html-ygEtEmIe.js b/assets/signal.html-C3v-Y47N.js
    similarity index 98%
    rename from assets/signal.html-ygEtEmIe.js
    rename to assets/signal.html-C3v-Y47N.js
    index 1b0d836856..0ac3eb5d3c 100644
    --- a/assets/signal.html-ygEtEmIe.js
    +++ b/assets/signal.html-C3v-Y47N.js
    @@ -1,4 +1,4 @@
    -import{_ as r,r as l,o as i,c as p,a,d as n,w as t,b as e,e as o}from"./app-QyD7034V.js";const d={},u=o('

    Function: signal()

    signal<T>(initialValue, options): Signal<T>

    ',2),h={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},m=o('

    Type parameters

    T = any

    Parameters

    initialValue: any

    ',4),g=a("strong",null,"options",-1),k=a("code",null,"SignalOptions",-1),_=a("code",null,"{}",-1),f=o(`

    Returns

    Signal<T>

    Example

    import { signal } from '@faasjs/react'
    +import{_ as r,r as l,o as i,c as p,a,d as n,w as t,b as e,e as o}from"./app-COoiSelr.js";const d={},u=o('

    Function: signal()

    signal<T>(initialValue, options): Signal<T>

    ',2),h={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},m=o('

    Type parameters

    T = any

    Parameters

    initialValue: any

    ',4),g=a("strong",null,"options",-1),k=a("code",null,"SignalOptions",-1),_=a("code",null,"{}",-1),f=o(`

    Returns

    Signal<T>

    Example

    import { signal } from '@faasjs/react'
     
     const count = signal(0, { debugName: 'count' })
     
    diff --git a/assets/story.html-Yh5nwCeA.js b/assets/story.html-h4HgKXV4.js
    similarity index 98%
    rename from assets/story.html-Yh5nwCeA.js
    rename to assets/story.html-h4HgKXV4.js
    index 793c166b84..6de229c97a 100644
    --- a/assets/story.html-Yh5nwCeA.js
    +++ b/assets/story.html-h4HgKXV4.js
    @@ -1 +1 @@
    -import{_ as e,o as a,c as s,e as l}from"./app-QyD7034V.js";const r={},i=l('

    背景故事

    为什么要创建 FaasJS?

    FaasJS 要解决什么问题?

    自从 AWS Lambda 带来了 Serverless 热潮后,不少公司和个人都尝试了 FaaS 服务,并欣喜于其轻量和易于上手的特点。

    但当使用 FaaS 服务来开发企业级应用时,却遇到了缺乏框架、工具和实践指导的问题。

    所以我打算将我在简单心理实践 FasS 的经验总结和优化,做成一套简单易上手的 FasS 的框架。

    FaasJS 将如何解决问题?

    以下是我在实践过程中遇到的主要问题及解决办法:

    函数随着数量增多而越来越难以管理

    通过对函数名设定命名规则,以多个层级的命名空间来管理函数,并明确每个函数的作用。

    函数之间互相调用导致出故障时难以追查

    1. 在业务流程的起始点设置追踪 ID,并继承和贯穿整个业务流程,以这种方式来查找日志并追查故障;
    2. 使用框架来自动分析所有函数之间的调用关系,直观展示调用流程。

    碎片化的函数难以开发和扩展

    通过使用框架来提供单体应用式的开发体验。

    为什么面向业务流程?

    大部分情况下,业务人员的沟通用的是面向过程的表达方式,比如第一步做什么,第二步做什么等等。

    而传统的技术框架,特别是 MVC 框架,用的是面向对象的表达方式。当翻译业务语言时,需要先构建抽象的对象,然后再构建该对象的行为。当流程复杂时,需要创建一系列的对象和行为。在一个高内聚的复杂应用内,这种抽象形式的确可以大幅简化开发和管理的难度。

    但 FaaS 提供了完全解耦和独立的函数,使得我们可以以更贴近真实业务和人员结构的表达形式来组织代码。

    为什么选择 Serverless?

    什么是 Serverless?

    FasS 示意图

    如上图所示,Serverless 是指由服务商来完全托管服务底层的服务,托管对象可以是函数或者应用。

    FaaS(Function as a Service)是专指 Serverless 服务中的函数服务,开发者上传函数后,由服务商来负责按需执行和横向扩容等事情。

    当托管对象为应用时,我们一般称为 PaaS(Platform as a Service)。

    Serverless 的优势

    • 专注业务逻辑,由服务商全权托管底层和运维
    • 自动伸缩,按使用量计费,节约成本

    为什么选择 FaaS 而不是 PaaS ?

    • PaaS 的应用通常基于各类 MVC 框架,有一定的学习成本和使用门槛
    • PaaS 无法避开随着应用复杂度的提升,导致扩展成本急剧升高的问题
    • FaaS 由于粒度细化到 Function 层级,重构时可以轻易找到最小切入点,进行低成本重构
    • FaaS 的函数互相之间独立运行,极大的降低了单点故障的影响范围
    • FaaS 可以提供更细粒度的自动伸缩和成本优化,并直观体现业务的使用频率等运营数据
    • FaaS 可以极大降低多人同时开发一个应用时导致的代码冲突

    为什么选择 Node.js ?

    什么是 Node.js ?

    Node.js 是一个能够在服务器端运行 JavaScript 的开放源代码、跨平台 JavaScript 运行环境。

    Node.js 的优势

    • JavaScript 是一个通行于前后端的编程语言,且易于上手
    • Node.js 的插件管理工具 npm 已有近百万插件,易于使用和开发

    为什么选择 TypeScript ?

    什么是 TypeScript ?

    TypeScript 是 JavaScript 的一个严格超集,并添加了可选的静态类型和基于类的面向对象编程。

    Typescript 的优势

    • 弥补 JavaScript 的缺陷
    • 提升代码质量
    • 开发时可以享有更好的代码提示及类型检查
    ',38),t=[i];function n(p,h){return a(),s("div",null,t)}const d=e(r,[["render",n],["__file","story.html.vue"]]),o=JSON.parse('{"path":"/zh/guide/story.html","title":"背景故事","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"为什么要创建 FaasJS?","slug":"为什么要创建-faasjs","link":"#为什么要创建-faasjs","children":[{"level":3,"title":"FaasJS 要解决什么问题?","slug":"faasjs-要解决什么问题","link":"#faasjs-要解决什么问题","children":[]},{"level":3,"title":"FaasJS 将如何解决问题?","slug":"faasjs-将如何解决问题","link":"#faasjs-将如何解决问题","children":[]},{"level":3,"title":"为什么面向业务流程?","slug":"为什么面向业务流程","link":"#为什么面向业务流程","children":[]}]},{"level":2,"title":"为什么选择 Serverless?","slug":"为什么选择-serverless","link":"#为什么选择-serverless","children":[{"level":3,"title":"什么是 Serverless?","slug":"什么是-serverless","link":"#什么是-serverless","children":[]},{"level":3,"title":"Serverless 的优势","slug":"serverless-的优势","link":"#serverless-的优势","children":[]},{"level":3,"title":"为什么选择 FaaS 而不是 PaaS ?","slug":"为什么选择-faas-而不是-paas","link":"#为什么选择-faas-而不是-paas","children":[]}]},{"level":2,"title":"为什么选择 Node.js ?","slug":"为什么选择-node-js","link":"#为什么选择-node-js","children":[{"level":3,"title":"什么是 Node.js ?","slug":"什么是-node-js","link":"#什么是-node-js","children":[]},{"level":3,"title":"Node.js 的优势","slug":"node-js-的优势","link":"#node-js-的优势","children":[]}]},{"level":2,"title":"为什么选择 TypeScript ?","slug":"为什么选择-typescript","link":"#为什么选择-typescript","children":[{"level":3,"title":"什么是 TypeScript ?","slug":"什么是-typescript","link":"#什么是-typescript","children":[]},{"level":3,"title":"Typescript 的优势","slug":"typescript-的优势","link":"#typescript-的优势","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/story.md"}');export{d as comp,o as data}; +import{_ as e,o as a,c as s,e as l}from"./app-COoiSelr.js";const r={},i=l('

    背景故事

    为什么要创建 FaasJS?

    FaasJS 要解决什么问题?

    自从 AWS Lambda 带来了 Serverless 热潮后,不少公司和个人都尝试了 FaaS 服务,并欣喜于其轻量和易于上手的特点。

    但当使用 FaaS 服务来开发企业级应用时,却遇到了缺乏框架、工具和实践指导的问题。

    所以我打算将我在简单心理实践 FasS 的经验总结和优化,做成一套简单易上手的 FasS 的框架。

    FaasJS 将如何解决问题?

    以下是我在实践过程中遇到的主要问题及解决办法:

    函数随着数量增多而越来越难以管理

    通过对函数名设定命名规则,以多个层级的命名空间来管理函数,并明确每个函数的作用。

    函数之间互相调用导致出故障时难以追查

    1. 在业务流程的起始点设置追踪 ID,并继承和贯穿整个业务流程,以这种方式来查找日志并追查故障;
    2. 使用框架来自动分析所有函数之间的调用关系,直观展示调用流程。

    碎片化的函数难以开发和扩展

    通过使用框架来提供单体应用式的开发体验。

    为什么面向业务流程?

    大部分情况下,业务人员的沟通用的是面向过程的表达方式,比如第一步做什么,第二步做什么等等。

    而传统的技术框架,特别是 MVC 框架,用的是面向对象的表达方式。当翻译业务语言时,需要先构建抽象的对象,然后再构建该对象的行为。当流程复杂时,需要创建一系列的对象和行为。在一个高内聚的复杂应用内,这种抽象形式的确可以大幅简化开发和管理的难度。

    但 FaaS 提供了完全解耦和独立的函数,使得我们可以以更贴近真实业务和人员结构的表达形式来组织代码。

    为什么选择 Serverless?

    什么是 Serverless?

    FasS 示意图

    如上图所示,Serverless 是指由服务商来完全托管服务底层的服务,托管对象可以是函数或者应用。

    FaaS(Function as a Service)是专指 Serverless 服务中的函数服务,开发者上传函数后,由服务商来负责按需执行和横向扩容等事情。

    当托管对象为应用时,我们一般称为 PaaS(Platform as a Service)。

    Serverless 的优势

    • 专注业务逻辑,由服务商全权托管底层和运维
    • 自动伸缩,按使用量计费,节约成本

    为什么选择 FaaS 而不是 PaaS ?

    • PaaS 的应用通常基于各类 MVC 框架,有一定的学习成本和使用门槛
    • PaaS 无法避开随着应用复杂度的提升,导致扩展成本急剧升高的问题
    • FaaS 由于粒度细化到 Function 层级,重构时可以轻易找到最小切入点,进行低成本重构
    • FaaS 的函数互相之间独立运行,极大的降低了单点故障的影响范围
    • FaaS 可以提供更细粒度的自动伸缩和成本优化,并直观体现业务的使用频率等运营数据
    • FaaS 可以极大降低多人同时开发一个应用时导致的代码冲突

    为什么选择 Node.js ?

    什么是 Node.js ?

    Node.js 是一个能够在服务器端运行 JavaScript 的开放源代码、跨平台 JavaScript 运行环境。

    Node.js 的优势

    • JavaScript 是一个通行于前后端的编程语言,且易于上手
    • Node.js 的插件管理工具 npm 已有近百万插件,易于使用和开发

    为什么选择 TypeScript ?

    什么是 TypeScript ?

    TypeScript 是 JavaScript 的一个严格超集,并添加了可选的静态类型和基于类的面向对象编程。

    Typescript 的优势

    • 弥补 JavaScript 的缺陷
    • 提升代码质量
    • 开发时可以享有更好的代码提示及类型检查
    ',38),t=[i];function n(p,h){return a(),s("div",null,t)}const d=e(r,[["render",n],["__file","story.html.vue"]]),o=JSON.parse('{"path":"/zh/guide/story.html","title":"背景故事","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"为什么要创建 FaasJS?","slug":"为什么要创建-faasjs","link":"#为什么要创建-faasjs","children":[{"level":3,"title":"FaasJS 要解决什么问题?","slug":"faasjs-要解决什么问题","link":"#faasjs-要解决什么问题","children":[]},{"level":3,"title":"FaasJS 将如何解决问题?","slug":"faasjs-将如何解决问题","link":"#faasjs-将如何解决问题","children":[]},{"level":3,"title":"为什么面向业务流程?","slug":"为什么面向业务流程","link":"#为什么面向业务流程","children":[]}]},{"level":2,"title":"为什么选择 Serverless?","slug":"为什么选择-serverless","link":"#为什么选择-serverless","children":[{"level":3,"title":"什么是 Serverless?","slug":"什么是-serverless","link":"#什么是-serverless","children":[]},{"level":3,"title":"Serverless 的优势","slug":"serverless-的优势","link":"#serverless-的优势","children":[]},{"level":3,"title":"为什么选择 FaaS 而不是 PaaS ?","slug":"为什么选择-faas-而不是-paas","link":"#为什么选择-faas-而不是-paas","children":[]}]},{"level":2,"title":"为什么选择 Node.js ?","slug":"为什么选择-node-js","link":"#为什么选择-node-js","children":[{"level":3,"title":"什么是 Node.js ?","slug":"什么是-node-js","link":"#什么是-node-js","children":[]},{"level":3,"title":"Node.js 的优势","slug":"node-js-的优势","link":"#node-js-的优势","children":[]}]},{"level":2,"title":"为什么选择 TypeScript ?","slug":"为什么选择-typescript","link":"#为什么选择-typescript","children":[{"level":3,"title":"什么是 TypeScript ?","slug":"什么是-typescript","link":"#什么是-typescript","children":[]},{"level":3,"title":"Typescript 的优势","slug":"typescript-的优势","link":"#typescript-的优势","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/story.md"}');export{d as comp,o as data}; diff --git a/assets/tencentcloud.html-DInvYp0B.js b/assets/tencentcloud.html-CYAVULbW.js similarity index 78% rename from assets/tencentcloud.html-DInvYp0B.js rename to assets/tencentcloud.html-CYAVULbW.js index 186f744b0a..752db96be3 100644 --- a/assets/tencentcloud.html-DInvYp0B.js +++ b/assets/tencentcloud.html-CYAVULbW.js @@ -1 +1 @@ -import{_ as t,o as c,c as n,a as e}from"./app-QyD7034V.js";const a={},o=e("h1",{id:"faasjs-tencentcloud",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-tencentcloud"},[e("span",null,"@faasjs/tencentcloud")])],-1),s=e("p",null,"待补充",-1),l=[o,s];function d(r,_){return c(),n("div",null,l)}const i=t(a,[["render",d],["__file","tencentcloud.html.vue"]]),u=JSON.parse('{"path":"/zh/doc/tencentcloud.html","title":"@faasjs/tencentcloud","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/tencentcloud.md"}');export{i as comp,u as data}; +import{_ as t,o as c,c as n,a as e}from"./app-COoiSelr.js";const a={},o=e("h1",{id:"faasjs-tencentcloud",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#faasjs-tencentcloud"},[e("span",null,"@faasjs/tencentcloud")])],-1),s=e("p",null,"待补充",-1),l=[o,s];function d(r,_){return c(),n("div",null,l)}const i=t(a,[["render",d],["__file","tencentcloud.html.vue"]]),u=JSON.parse('{"path":"/zh/doc/tencentcloud.html","title":"@faasjs/tencentcloud","lang":"zh","frontmatter":{},"headers":[],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/tencentcloud.md"}');export{i as comp,u as data}; diff --git a/assets/tencentcloud.html-CwEdM7oT.js b/assets/tencentcloud.html-mOWVOwwl.js similarity index 97% rename from assets/tencentcloud.html-CwEdM7oT.js rename to assets/tencentcloud.html-mOWVOwwl.js index d08450c6c1..eea521af20 100644 --- a/assets/tencentcloud.html-CwEdM7oT.js +++ b/assets/tencentcloud.html-mOWVOwwl.js @@ -1,2 +1,2 @@ -import{_ as s,r as i,o as c,c as a,a as e,b as l,d as n,e as t}from"./app-QyD7034V.js";const r={},d=t('

    2 分钟部署到腾讯云

    注:欢迎加入 QQ 群(772109193)与大家一起交流学习。

    在学习本教程前,建议先学习 1 分钟上手

    通过本教程,你将学到:

    • 使用 FaasJS 需要开通哪些云服务?
    • 如何将云函数部署到腾讯云上?

    准备工作

    ',6),h={href:"https://cloud.tencent.com/",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"开通服务",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开通服务"},[e("span",null,"开通服务")])],-1),u=e("p",null,"FaasJS 需要开通以下三个服务,依次点开即可开通:",-1),_=e("strong",null,"云函数",-1),g={href:"https://console.qcloud.com/scf",target:"_blank",rel:"noopener noreferrer"},f=e("strong",null,"API网关",-1),m={href:"https://console.qcloud.com/apigateway/index",target:"_blank",rel:"noopener noreferrer"},k=e("strong",null,"对象存储",-1),x={href:"https://console.qcloud.com/cos5",target:"_blank",rel:"noopener noreferrer"},b=e("h2",{id:"获取腾讯云配置信息",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#获取腾讯云配置信息"},[e("span",null,"获取腾讯云配置信息")])],-1),v=e("p",null,[l("FaasJS 需要将以下 4 个配置信息填写到 "),e("code",null,"faas.yaml"),l(":")],-1),F=e("strong",null,"appId",-1),S={href:"https://console.cloud.tencent.com/developer",target:"_blank",rel:"noopener noreferrer"},y=t("
  • region 可用区,目前腾讯云仅下面 4 个可用区可以完整支持 FaasJS:
    • ap-beijing 华北地区(北京)
    • ap-shanghai 华东地区(上海)
    • ap-guangzhou 华南地区(广州)
    • ap-hongkong 港澳台地区(中国香港)
  • secretIdsecretKey 腾讯云接口密钥信息,获取方式如下:
  • ",2),I={href:"https://console.cloud.tencent.com/cam/capi",target:"_blank",rel:"noopener noreferrer"},B=e("li",null,"创建一个子账号,并给与三个权限:",-1),C=t(`
    • QcloudSCFFullAccess
    • QcloudCOSFullAccess
    • QcloudAPIGWFullAccess
    1. 获取子账号的 secretId 和 secretKey

    完成了 faas.yaml 中配置后,就可以发布到腾讯云了。

    发布到腾讯云

    FaasJS 的发布指令格式为 npm exec faas deploy <env> <file>,示例如下:

    npm exec faas deploy production hello.func.ts
    -

    其中 production 即环境名,hello.func.ts 即要发布的云函数文件名。

    附录

    云函数发布流程

    1. 生成配置项
    2. 生成代码包
    3. 生成 index.js
    4. 生成 package.json
    5. 生成 node_modules
    6. 打包代码包
    7. 创建 Cos Bucket
    8. 检查 Cos Bucket 状态
    9. 创建 Cos Bucket 或跳过
    10. 上传代码包
    11. 创建命名空间
    12. 检查命名空间状态
    13. 创建命名空间或跳过
    14. 创建/更新云函数
    15. 检查云函数状态
    16. 创建/更新云函数
    17. 等待云函数创建/更新完成
    18. 发布版本
    19. 创建/更新触发器
    20. 删除旧触发器
    21. 创建触发器
    22. 清理文件
    23. 清理 Cos Bucket
    24. 清理本地文件
    25. 完成发布
    `,10);function q(A,J){const o=i("ExternalLinkIcon");return c(),a("div",null,[d,e("p",null,[l("注册 "),e("a",h,[l("腾讯云"),n(o)]),l(" 并完成实名验证。")]),p,u,e("ol",null,[e("li",null,[_,l(),e("a",g,[l("https://console.qcloud.com/scf"),n(o)])]),e("li",null,[f,l(),e("a",m,[l("https://console.qcloud.com/apigateway/index"),n(o)])]),e("li",null,[k,l(),e("a",x,[l("https://console.qcloud.com/cos5"),n(o)])])]),b,v,e("ul",null,[e("li",null,[F,l(" 腾讯云的 APPID,在 "),e("a",S,[l("https://console.cloud.tencent.com/developer"),n(o)]),l(" 获取")]),y]),e("ol",null,[e("li",null,[l("打开 "),e("a",I,[l("https://console.cloud.tencent.com/cam/capi"),n(o)])]),B]),C])}const P=s(r,[["render",q],["__file","tencentcloud.html.vue"]]),Q=JSON.parse('{"path":"/zh/guide/tencentcloud.html","title":"2 分钟部署到腾讯云","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"开通服务","slug":"开通服务","link":"#开通服务","children":[]},{"level":2,"title":"获取腾讯云配置信息","slug":"获取腾讯云配置信息","link":"#获取腾讯云配置信息","children":[]},{"level":2,"title":"发布到腾讯云","slug":"发布到腾讯云","link":"#发布到腾讯云","children":[]},{"level":2,"title":"附录","slug":"附录","link":"#附录","children":[{"level":3,"title":"云函数发布流程","slug":"云函数发布流程","link":"#云函数发布流程","children":[]}]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/tencentcloud.md"}');export{P as comp,Q as data}; +import{_ as s,r as i,o as c,c as a,a as e,b as l,d as n,e as t}from"./app-COoiSelr.js";const r={},d=t('

    2 分钟部署到腾讯云

    注:欢迎加入 QQ 群(772109193)与大家一起交流学习。

    在学习本教程前,建议先学习 1 分钟上手

    通过本教程,你将学到:

    • 使用 FaasJS 需要开通哪些云服务?
    • 如何将云函数部署到腾讯云上?

    准备工作

    ',6),h={href:"https://cloud.tencent.com/",target:"_blank",rel:"noopener noreferrer"},p=e("h2",{id:"开通服务",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#开通服务"},[e("span",null,"开通服务")])],-1),u=e("p",null,"FaasJS 需要开通以下三个服务,依次点开即可开通:",-1),_=e("strong",null,"云函数",-1),g={href:"https://console.qcloud.com/scf",target:"_blank",rel:"noopener noreferrer"},f=e("strong",null,"API网关",-1),m={href:"https://console.qcloud.com/apigateway/index",target:"_blank",rel:"noopener noreferrer"},k=e("strong",null,"对象存储",-1),x={href:"https://console.qcloud.com/cos5",target:"_blank",rel:"noopener noreferrer"},b=e("h2",{id:"获取腾讯云配置信息",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#获取腾讯云配置信息"},[e("span",null,"获取腾讯云配置信息")])],-1),v=e("p",null,[l("FaasJS 需要将以下 4 个配置信息填写到 "),e("code",null,"faas.yaml"),l(":")],-1),F=e("strong",null,"appId",-1),S={href:"https://console.cloud.tencent.com/developer",target:"_blank",rel:"noopener noreferrer"},y=t("
  • region 可用区,目前腾讯云仅下面 4 个可用区可以完整支持 FaasJS:
    • ap-beijing 华北地区(北京)
    • ap-shanghai 华东地区(上海)
    • ap-guangzhou 华南地区(广州)
    • ap-hongkong 港澳台地区(中国香港)
  • secretIdsecretKey 腾讯云接口密钥信息,获取方式如下:
  • ",2),I={href:"https://console.cloud.tencent.com/cam/capi",target:"_blank",rel:"noopener noreferrer"},B=e("li",null,"创建一个子账号,并给与三个权限:",-1),C=t(`
    • QcloudSCFFullAccess
    • QcloudCOSFullAccess
    • QcloudAPIGWFullAccess
    1. 获取子账号的 secretId 和 secretKey

    完成了 faas.yaml 中配置后,就可以发布到腾讯云了。

    发布到腾讯云

    FaasJS 的发布指令格式为 npm exec faas deploy <env> <file>,示例如下:

    npm exec faas deploy production hello.func.ts
    +

    其中 production 即环境名,hello.func.ts 即要发布的云函数文件名。

    附录

    云函数发布流程

    1. 生成配置项
    2. 生成代码包
    3. 生成 index.js
    4. 生成 package.json
    5. 生成 node_modules
    6. 打包代码包
    7. 创建 Cos Bucket
    8. 检查 Cos Bucket 状态
    9. 创建 Cos Bucket 或跳过
    10. 上传代码包
    11. 创建命名空间
    12. 检查命名空间状态
    13. 创建命名空间或跳过
    14. 创建/更新云函数
    15. 检查云函数状态
    16. 创建/更新云函数
    17. 等待云函数创建/更新完成
    18. 发布版本
    19. 创建/更新触发器
    20. 删除旧触发器
    21. 创建触发器
    22. 清理文件
    23. 清理 Cos Bucket
    24. 清理本地文件
    25. 完成发布
    `,10);function q(A,J){const o=i("ExternalLinkIcon");return c(),a("div",null,[d,e("p",null,[l("注册 "),e("a",h,[l("腾讯云"),n(o)]),l(" 并完成实名验证。")]),p,u,e("ol",null,[e("li",null,[_,l(),e("a",g,[l("https://console.qcloud.com/scf"),n(o)])]),e("li",null,[f,l(),e("a",m,[l("https://console.qcloud.com/apigateway/index"),n(o)])]),e("li",null,[k,l(),e("a",x,[l("https://console.qcloud.com/cos5"),n(o)])])]),b,v,e("ul",null,[e("li",null,[F,l(" 腾讯云的 APPID,在 "),e("a",S,[l("https://console.cloud.tencent.com/developer"),n(o)]),l(" 获取")]),y]),e("ol",null,[e("li",null,[l("打开 "),e("a",I,[l("https://console.cloud.tencent.com/cam/capi"),n(o)])]),B]),C])}const P=s(r,[["render",q],["__file","tencentcloud.html.vue"]]),Q=JSON.parse('{"path":"/zh/guide/tencentcloud.html","title":"2 分钟部署到腾讯云","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"准备工作","slug":"准备工作","link":"#准备工作","children":[]},{"level":2,"title":"开通服务","slug":"开通服务","link":"#开通服务","children":[]},{"level":2,"title":"获取腾讯云配置信息","slug":"获取腾讯云配置信息","link":"#获取腾讯云配置信息","children":[]},{"level":2,"title":"发布到腾讯云","slug":"发布到腾讯云","link":"#发布到腾讯云","children":[]},{"level":2,"title":"附录","slug":"附录","link":"#附录","children":[{"level":3,"title":"云函数发布流程","slug":"云函数发布流程","link":"#云函数发布流程","children":[]}]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/tencentcloud.md"}');export{P as comp,Q as data}; diff --git a/assets/test.html-By9zFVO6.js b/assets/test.html-BgdyCS4k.js similarity index 98% rename from assets/test.html-By9zFVO6.js rename to assets/test.html-BgdyCS4k.js index 0440a918ce..e15ca7d9b7 100644 --- a/assets/test.html-By9zFVO6.js +++ b/assets/test.html-BgdyCS4k.js @@ -1,4 +1,4 @@ -import{_ as o,r as c,o as l,c as i,a as n,d as e,w as a,b as s,e as p}from"./app-QyD7034V.js";const u={},r=n("h1",{id:"function-test",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-test"},[n("span",null,"Function: test()")])],-1),d=n("strong",null,"test",-1),_=n("code",null,"initBy",-1),h=n("code",null,"FuncWarper",-1),k=n("p",null,"A simple way to warp a FaasJS function.",-1),m=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),f=n("strong",null,"initBy",-1),v=n("code",null,"string",-1),g=n("code",null,"Func",-1),b=n("code",null,"any",-1),y=n("code",null,"any",-1),F=n("code",null,"any",-1),w=p(`

    {string | Func} Full file path or a FaasJs function

    import { test } from '@faasjs/test'
    +import{_ as o,r as c,o as l,c as i,a as n,d as e,w as a,b as s,e as p}from"./app-COoiSelr.js";const u={},r=n("h1",{id:"function-test",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-test"},[n("span",null,"Function: test()")])],-1),d=n("strong",null,"test",-1),_=n("code",null,"initBy",-1),h=n("code",null,"FuncWarper",-1),k=n("p",null,"A simple way to warp a FaasJS function.",-1),m=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),f=n("strong",null,"initBy",-1),v=n("code",null,"string",-1),g=n("code",null,"Func",-1),b=n("code",null,"any",-1),y=n("code",null,"any",-1),F=n("code",null,"any",-1),w=p(`

    {string | Func} Full file path or a FaasJs function

    import { test } from '@faasjs/test'
     
     const func = test(__dirname + '/../demo.func.ts')
     
    diff --git a/assets/test.html-BNptr0lY.js b/assets/test.html-CGc9Djeo.js
    similarity index 98%
    rename from assets/test.html-BNptr0lY.js
    rename to assets/test.html-CGc9Djeo.js
    index 9dd9a3b96f..0c2af52456 100644
    --- a/assets/test.html-BNptr0lY.js
    +++ b/assets/test.html-CGc9Djeo.js
    @@ -1,4 +1,4 @@
    -import{_ as t,r as p,o,c,a as n,b as a,d as e,e as l}from"./app-QyD7034V.js";const i={},u=l(`

    @faasjs/test

    FaasJS 内置插件,无需额外安装。

    此组件用于构建自动化测试。

    package.json 配置

    可以在 package.json 中添加如下配置:

    "jest": {
    +import{_ as t,r as p,o,c,a as n,b as a,d as e,e as l}from"./app-COoiSelr.js";const i={},u=l(`

    @faasjs/test

    FaasJS 内置插件,无需额外安装。

    此组件用于构建自动化测试。

    package.json 配置

    可以在 package.json 中添加如下配置:

    "jest": {
       "verbose": false,
       "transform": {
         ".(jsx|tsx?)": "@faasjs/jest"
    @@ -32,4 +32,4 @@ import{_ as t,r as p,o,c,a as n,b as a,d as e,e as l}from"./app-QyD7034V.js";con
         expect(res.body).toEqual('{"data":"Hello, world"}')
       })
     })
    -

    相关文档

    `,12),r={href:"https://jestjs.io/",target:"_blank",rel:"noopener noreferrer"},d={href:"https://jestjs.io/docs/en/expect",target:"_blank",rel:"noopener noreferrer"};function k(v,m){const s=p("ExternalLinkIcon");return o(),c("div",null,[u,n("ul",null,[n("li",null,[n("a",r,[a("Jest"),e(s)])]),n("li",null,[n("a",d,[a("Jest Expect"),e(s)])])])])}const b=t(i,[["render",k],["__file","test.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/test.html","title":"@faasjs/test","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"package.json 配置","slug":"package-json-配置","link":"#package-json-配置","children":[]},{"level":2,"title":"命令行","slug":"命令行","link":"#命令行","children":[]},{"level":2,"title":"编写测试用例","slug":"编写测试用例","link":"#编写测试用例","children":[]},{"level":2,"title":"相关文档","slug":"相关文档","link":"#相关文档","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/test.md"}');export{b as comp,f as data}; +

    相关文档

    `,12),r={href:"https://jestjs.io/",target:"_blank",rel:"noopener noreferrer"},d={href:"https://jestjs.io/docs/en/expect",target:"_blank",rel:"noopener noreferrer"};function k(v,m){const s=p("ExternalLinkIcon");return o(),c("div",null,[u,n("ul",null,[n("li",null,[n("a",r,[a("Jest"),e(s)])]),n("li",null,[n("a",d,[a("Jest Expect"),e(s)])])])])}const b=t(i,[["render",k],["__file","test.html.vue"]]),f=JSON.parse('{"path":"/zh/doc/test.html","title":"@faasjs/test","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"package.json 配置","slug":"package-json-配置","link":"#package-json-配置","children":[]},{"level":2,"title":"命令行","slug":"命令行","link":"#命令行","children":[]},{"level":2,"title":"编写测试用例","slug":"编写测试用例","link":"#编写测试用例","children":[]},{"level":2,"title":"相关文档","slug":"相关文档","link":"#相关文档","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/test.md"}');export{b as comp,f as data}; diff --git a/assets/transaction.html-CmDeaWux.js b/assets/transaction.html-CRQIQCr4.js similarity index 96% rename from assets/transaction.html-CmDeaWux.js rename to assets/transaction.html-CRQIQCr4.js index f3d5058772..fa8868a313 100644 --- a/assets/transaction.html-CmDeaWux.js +++ b/assets/transaction.html-CRQIQCr4.js @@ -1 +1 @@ -import{_ as o,r as s,o as r,c,a as d,d as a,w as n,b as e,e as i}from"./app-QyD7034V.js";const p={},l=i('

    Function: transaction()

    transaction<TResult>(scope, config?, options?): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    scope

    config?: TransactionConfig

    options?

    options.trx?: Transaction<any, any[]>

    Returns

    Promise<TResult>

    ',11);function u(h,m){const t=s("RouteLink");return r(),c("div",null,[d("p",null,[a(t,{to:"/doc/knex/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:n(()=>[e("@faasjs/knex")]),_:1}),e(" / transaction")]),l])}const f=o(p,[["render",u],["__file","transaction.html.vue"]]),_=JSON.parse('{"path":"/doc/knex/functions/transaction.html","title":"Function: transaction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/transaction.md"}');export{f as comp,_ as data}; +import{_ as o,r as s,o as r,c,a as d,d as a,w as n,b as e,e as i}from"./app-COoiSelr.js";const p={},l=i('

    Function: transaction()

    transaction<TResult>(scope, config?, options?): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    scope

    config?: TransactionConfig

    options?

    options.trx?: Transaction<any, any[]>

    Returns

    Promise<TResult>

    ',11);function u(h,m){const t=s("RouteLink");return r(),c("div",null,[d("p",null,[a(t,{to:"/doc/knex/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/knex/"},{default:n(()=>[e("@faasjs/knex")]),_:1}),e(" / transaction")]),l])}const f=o(p,[["render",u],["__file","transaction.html.vue"]]),_=JSON.parse('{"path":"/doc/knex/functions/transaction.html","title":"Function: transaction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/transaction.md"}');export{f as comp,_ as data}; diff --git a/assets/transferOptions.html-PKeEDXNP.js b/assets/transferOptions.html-CsjST8Lc.js similarity index 96% rename from assets/transferOptions.html-PKeEDXNP.js rename to assets/transferOptions.html-CsjST8Lc.js index e1017110de..beed07cdc7 100644 --- a/assets/transferOptions.html-PKeEDXNP.js +++ b/assets/transferOptions.html-CsjST8Lc.js @@ -1 +1 @@ -import{_ as o,r,o as i,c,a as e,d as s,w as a,b as t,e as l}from"./app-QyD7034V.js";const d={},p=l('

    Function: transferOptions()

    transferOptions(options): Object[]

    convert string[] or number[] to { label, value }[]

    Parameters

    ',4),u=e("strong",null,"options",-1),h=e("code",null,"BaseOption",-1),f=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"Object"),t("[]")],-1);function m(g,O){const n=r("RouteLink");return i(),c("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("@faasjs/ant-design")]),_:1}),t(" / transferOptions")]),p,e("p",null,[t("• "),u,t(": "),s(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:a(()=>[h]),_:1}),t("[]")]),f,_])}const k=o(d,[["render",m],["__file","transferOptions.html.vue"]]),v=JSON.parse('{"path":"/doc/ant-design/functions/transferOptions.html","title":"Function: transferOptions()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/transferOptions.md"}');export{k as comp,v as data}; +import{_ as o,r,o as i,c,a as e,d as s,w as a,b as t,e as l}from"./app-COoiSelr.js";const d={},p=l('

    Function: transferOptions()

    transferOptions(options): Object[]

    convert string[] or number[] to { label, value }[]

    Parameters

    ',4),u=e("strong",null,"options",-1),h=e("code",null,"BaseOption",-1),f=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),_=e("p",null,[e("code",null,"Object"),t("[]")],-1);function m(g,O){const n=r("RouteLink");return i(),c("div",null,[e("p",null,[s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/ant-design/"},{default:a(()=>[t("@faasjs/ant-design")]),_:1}),t(" / transferOptions")]),p,e("p",null,[t("• "),u,t(": "),s(n,{to:"/doc/ant-design/type-aliases/BaseOption.html"},{default:a(()=>[h]),_:1}),t("[]")]),f,_])}const k=o(d,[["render",m],["__file","transferOptions.html.vue"]]),v=JSON.parse('{"path":"/doc/ant-design/functions/transferOptions.html","title":"Function: transferOptions()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/transferOptions.md"}');export{k as comp,v as data}; diff --git a/assets/transferValue.html-BfmnjQma.js b/assets/transferValue.html-DW45SCvu.js similarity index 96% rename from assets/transferValue.html-BfmnjQma.js rename to assets/transferValue.html-DW45SCvu.js index 62cc934284..61d8b55700 100644 --- a/assets/transferValue.html-BfmnjQma.js +++ b/assets/transferValue.html-DW45SCvu.js @@ -1 +1 @@ -import{_ as r,r as o,o as l,c,a as e,d as n,w as s,b as t,e as d}from"./app-QyD7034V.js";const u={},i=d('

    Function: transferValue()

    transferValue(type, value): any

    Parameters

    ',3),h=e("strong",null,"type",-1),p=e("code",null,"FaasItemType",-1),f=e("p",null,[t("• "),e("strong",null,"value"),t(": "),e("code",null,"any")],-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"any")],-1);function g(V,v){const a=o("RouteLink");return l(),c("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:s(()=>[t("@faasjs/ant-design")]),_:1}),t(" / transferValue")]),i,e("p",null,[t("• "),h,t(": "),n(a,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:s(()=>[p]),_:1})]),f,_,m])}const x=r(u,[["render",g],["__file","transferValue.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/functions/transferValue.html","title":"Function: transferValue()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/transferValue.md"}');export{x as comp,y as data}; +import{_ as r,r as o,o as l,c,a as e,d as n,w as s,b as t,e as d}from"./app-COoiSelr.js";const u={},i=d('

    Function: transferValue()

    transferValue(type, value): any

    Parameters

    ',3),h=e("strong",null,"type",-1),p=e("code",null,"FaasItemType",-1),f=e("p",null,[t("• "),e("strong",null,"value"),t(": "),e("code",null,"any")],-1),_=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),m=e("p",null,[e("code",null,"any")],-1);function g(V,v){const a=o("RouteLink");return l(),c("div",null,[e("p",null,[n(a,{to:"/doc/ant-design/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),n(a,{to:"/doc/ant-design/"},{default:s(()=>[t("@faasjs/ant-design")]),_:1}),t(" / transferValue")]),i,e("p",null,[t("• "),h,t(": "),n(a,{to:"/doc/ant-design/type-aliases/FaasItemType.html"},{default:s(()=>[p]),_:1})]),f,_,m])}const x=r(u,[["render",g],["__file","transferValue.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/functions/transferValue.html","title":"Function: transferValue()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/transferValue.md"}');export{x as comp,y as data}; diff --git a/assets/transform.html-Bb2QtX0h.js b/assets/transform.html-BVvQNzAo.js similarity index 96% rename from assets/transform.html-Bb2QtX0h.js rename to assets/transform.html-BVvQNzAo.js index 8b01d26f82..02b0204ef7 100644 --- a/assets/transform.html-Bb2QtX0h.js +++ b/assets/transform.html-BVvQNzAo.js @@ -1 +1 @@ -import{_ as r,r as n,o as a,c,a as d,d as e,w as s,b as t,e as p}from"./app-QyD7034V.js";const i={},l=p('

    Function: transform()

    transform(code, options?): Output

    Parameters

    code: string

    options?

    options.filename?: string

    options.jsc?: JscConfig

    swc compilation

    See https://swc.rs/docs/configuration/compilation

    options.root?: string

    default: process.cwd()

    options.target?: JscTarget

    default: es2019

    Returns

    Output

    ',15);function f(m,u){const o=n("RouteLink");return a(),c("div",null,[d("p",null,[e(o,{to:"/doc/ts-transform/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),e(o,{to:"/doc/ts-transform/"},{default:s(()=>[t("@faasjs/ts-transform")]),_:1}),t(" / transform")]),l])}const h=r(i,[["render",f],["__file","transform.html.vue"]]),_=JSON.parse('{"path":"/doc/ts-transform/functions/transform.html","title":"Function: transform()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/functions/transform.md"}');export{h as comp,_ as data}; +import{_ as r,r as n,o as a,c,a as d,d as e,w as s,b as t,e as p}from"./app-COoiSelr.js";const i={},l=p('

    Function: transform()

    transform(code, options?): Output

    Parameters

    code: string

    options?

    options.filename?: string

    options.jsc?: JscConfig

    swc compilation

    See https://swc.rs/docs/configuration/compilation

    options.root?: string

    default: process.cwd()

    options.target?: JscTarget

    default: es2019

    Returns

    Output

    ',15);function f(m,u){const o=n("RouteLink");return a(),c("div",null,[d("p",null,[e(o,{to:"/doc/ts-transform/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),e(o,{to:"/doc/ts-transform/"},{default:s(()=>[t("@faasjs/ts-transform")]),_:1}),t(" / transform")]),l])}const h=r(i,[["render",f],["__file","transform.html.vue"]]),_=JSON.parse('{"path":"/doc/ts-transform/functions/transform.html","title":"Function: transform()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ts-transform/functions/transform.md"}');export{h as comp,_ as data}; diff --git a/assets/unlock.html-h5RRmLst.js b/assets/unlock.html-BFhDPCJ2.js similarity index 95% rename from assets/unlock.html-h5RRmLst.js rename to assets/unlock.html-BFhDPCJ2.js index dd2451c0e1..de2c529529 100644 --- a/assets/unlock.html-h5RRmLst.js +++ b/assets/unlock.html-BFhDPCJ2.js @@ -1 +1 @@ -import{_ as a,r as c,o as r,c as s,a as d,d as o,w as n,b as e,e as l}from"./app-QyD7034V.js";const i={},u=l('

    Function: unlock()

    unlock(key): Promise<void>

    Unlock by key

    Parameters

    key: string

    Returns

    Promise<void>

    ',7);function p(h,k){const t=c("RouteLink");return r(),s("div",null,[d("p",null,[o(t,{to:"/doc/redis/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/redis/"},{default:n(()=>[e("@faasjs/redis")]),_:1}),e(" / unlock")]),u])}const f=a(i,[["render",p],["__file","unlock.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/unlock.html","title":"Function: unlock()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/unlock.md"}');export{f as comp,_ as data}; +import{_ as a,r as c,o as r,c as s,a as d,d as o,w as n,b as e,e as l}from"./app-COoiSelr.js";const i={},u=l('

    Function: unlock()

    unlock(key): Promise<void>

    Unlock by key

    Parameters

    key: string

    Returns

    Promise<void>

    ',7);function p(h,k){const t=c("RouteLink");return r(),s("div",null,[d("p",null,[o(t,{to:"/doc/redis/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),o(t,{to:"/doc/redis/"},{default:n(()=>[e("@faasjs/redis")]),_:1}),e(" / unlock")]),u])}const f=a(i,[["render",p],["__file","unlock.html.vue"]]),_=JSON.parse('{"path":"/doc/redis/functions/unlock.html","title":"Function: unlock()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/unlock.md"}');export{f as comp,_ as data}; diff --git a/assets/useApp.html-DrDQ9ORn.js b/assets/useApp.html-DC30RqEX.js similarity index 97% rename from assets/useApp.html-DrDQ9ORn.js rename to assets/useApp.html-DC30RqEX.js index 9bad941193..8f5de5c0f5 100644 --- a/assets/useApp.html-DrDQ9ORn.js +++ b/assets/useApp.html-DC30RqEX.js @@ -1,4 +1,4 @@ -import{_ as o,r as p,o as c,c as l,a as n,d as t,w as a,b as s,e as u}from"./app-QyD7034V.js";const i={},d=n("h1",{id:"function-useapp",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-useapp"},[n("span",null,"Function: useApp()")])],-1),r=n("strong",null,"useApp",-1),_=n("code",null,"Readonly",-1),h=n("code",null,"useAppProps",-1),f=u(`

    Get app context.

    import { useApp } from '@faasjs/ant-design'
    +import{_ as o,r as p,o as c,c as l,a as n,d as t,w as a,b as s,e as u}from"./app-COoiSelr.js";const i={},d=n("h1",{id:"function-useapp",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-useapp"},[n("span",null,"Function: useApp()")])],-1),r=n("strong",null,"useApp",-1),_=n("code",null,"Readonly",-1),h=n("code",null,"useAppProps",-1),f=u(`

    Get app context.

    import { useApp } from '@faasjs/ant-design'
     
     const { message, notification, setModalProps, setDrawerProps } = useApp()
     

    Returns

    `,3),m=n("code",null,"Readonly",-1),k=n("code",null,"useAppProps",-1);function g(v,A){const e=p("RouteLink");return c(),l("div",null,[n("p",null,[t(e,{to:"/doc/ant-design/"},{default:a(()=>[s("Documents")]),_:1}),s(" / "),t(e,{to:"/doc/ant-design/"},{default:a(()=>[s("@faasjs/ant-design")]),_:1}),s(" / useApp")]),d,n("blockquote",null,[n("p",null,[r,s("(): "),_,s("<"),t(e,{to:"/doc/ant-design/interfaces/useAppProps.html"},{default:a(()=>[h]),_:1}),s(">")])]),f,n("p",null,[m,s("<"),t(e,{to:"/doc/ant-design/interfaces/useAppProps.html"},{default:a(()=>[k]),_:1}),s(">")])])}const x=o(i,[["render",g],["__file","useApp.html.vue"]]),y=JSON.parse('{"path":"/doc/ant-design/functions/useApp.html","title":"Function: useApp()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/useApp.md"}');export{x as comp,y as data}; diff --git a/assets/useAppProps.html-DLghShjz.js b/assets/useAppProps.html-B1hMWVjr.js similarity index 98% rename from assets/useAppProps.html-DLghShjz.js rename to assets/useAppProps.html-B1hMWVjr.js index d35cb3c3bf..7ee2266959 100644 --- a/assets/useAppProps.html-DLghShjz.js +++ b/assets/useAppProps.html-B1hMWVjr.js @@ -1 +1 @@ -import{_ as l,r as n,o as r,c as p,a as e,d as t,w as a,b as s,e as d}from"./app-QyD7034V.js";const i={},c=d('

    Interface: useAppProps

    Properties

    drawerProps

    ',3),h=e("strong",null,"drawerProps",-1),u=e("code",null,"DrawerProps",-1),_=e("h3",{id:"message",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#message"},[e("span",null,"message")])],-1),f=e("blockquote",null,[e("p",null,[e("strong",null,"message"),s(": "),e("code",null,"MessageInstance")])],-1),m=e("h3",{id:"modalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#modalprops"},[e("span",null,"modalProps")])],-1),g=e("strong",null,"modalProps",-1),P=e("code",null,"ModalProps",-1),w=e("h3",{id:"notification",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#notification"},[e("span",null,"notification")])],-1),k=e("blockquote",null,[e("p",null,[e("strong",null,"notification"),s(": "),e("code",null,"NotificationInstance")])],-1),b=e("h3",{id:"setdrawerprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setdrawerprops"},[e("span",null,"setDrawerProps")])],-1),x=e("strong",null,"setDrawerProps",-1),v=e("code",null,"setDrawerProps",-1),D=e("h3",{id:"setmodalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setmodalprops"},[e("span",null,"setModalProps")])],-1),M=e("strong",null,"setModalProps",-1),A=e("code",null,"setModalProps",-1);function q(N,I){const o=n("RouteLink");return r(),p("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:a(()=>[s("Documents")]),_:1}),s(" / "),t(o,{to:"/doc/ant-design/"},{default:a(()=>[s("@faasjs/ant-design")]),_:1}),s(" / useAppProps")]),c,e("blockquote",null,[e("p",null,[h,s(": "),t(o,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:a(()=>[u]),_:1})])]),_,f,m,e("blockquote",null,[e("p",null,[g,s(": "),t(o,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:a(()=>[P]),_:1})])]),w,k,b,e("blockquote",null,[e("p",null,[x,s(": "),t(o,{to:"/doc/ant-design/type-aliases/setDrawerProps.html"},{default:a(()=>[v]),_:1})])]),D,e("blockquote",null,[e("p",null,[M,s(": "),t(o,{to:"/doc/ant-design/type-aliases/setModalProps.html"},{default:a(()=>[A]),_:1})])])])}const B=l(i,[["render",q],["__file","useAppProps.html.vue"]]),R=JSON.parse('{"path":"/doc/ant-design/interfaces/useAppProps.html","title":"Interface: useAppProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"drawerProps","slug":"drawerprops","link":"#drawerprops","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"modalProps","slug":"modalprops","link":"#modalprops","children":[]},{"level":3,"title":"notification","slug":"notification","link":"#notification","children":[]},{"level":3,"title":"setDrawerProps","slug":"setdrawerprops","link":"#setdrawerprops","children":[]},{"level":3,"title":"setModalProps","slug":"setmodalprops","link":"#setmodalprops","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/useAppProps.md"}');export{B as comp,R as data}; +import{_ as l,r as n,o as r,c as p,a as e,d as t,w as a,b as s,e as d}from"./app-COoiSelr.js";const i={},c=d('

    Interface: useAppProps

    Properties

    drawerProps

    ',3),h=e("strong",null,"drawerProps",-1),u=e("code",null,"DrawerProps",-1),_=e("h3",{id:"message",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#message"},[e("span",null,"message")])],-1),f=e("blockquote",null,[e("p",null,[e("strong",null,"message"),s(": "),e("code",null,"MessageInstance")])],-1),m=e("h3",{id:"modalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#modalprops"},[e("span",null,"modalProps")])],-1),g=e("strong",null,"modalProps",-1),P=e("code",null,"ModalProps",-1),w=e("h3",{id:"notification",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#notification"},[e("span",null,"notification")])],-1),k=e("blockquote",null,[e("p",null,[e("strong",null,"notification"),s(": "),e("code",null,"NotificationInstance")])],-1),b=e("h3",{id:"setdrawerprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setdrawerprops"},[e("span",null,"setDrawerProps")])],-1),x=e("strong",null,"setDrawerProps",-1),v=e("code",null,"setDrawerProps",-1),D=e("h3",{id:"setmodalprops",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#setmodalprops"},[e("span",null,"setModalProps")])],-1),M=e("strong",null,"setModalProps",-1),A=e("code",null,"setModalProps",-1);function q(N,I){const o=n("RouteLink");return r(),p("div",null,[e("p",null,[t(o,{to:"/doc/ant-design/"},{default:a(()=>[s("Documents")]),_:1}),s(" / "),t(o,{to:"/doc/ant-design/"},{default:a(()=>[s("@faasjs/ant-design")]),_:1}),s(" / useAppProps")]),c,e("blockquote",null,[e("p",null,[h,s(": "),t(o,{to:"/doc/ant-design/interfaces/DrawerProps.html"},{default:a(()=>[u]),_:1})])]),_,f,m,e("blockquote",null,[e("p",null,[g,s(": "),t(o,{to:"/doc/ant-design/interfaces/ModalProps.html"},{default:a(()=>[P]),_:1})])]),w,k,b,e("blockquote",null,[e("p",null,[x,s(": "),t(o,{to:"/doc/ant-design/type-aliases/setDrawerProps.html"},{default:a(()=>[v]),_:1})])]),D,e("blockquote",null,[e("p",null,[M,s(": "),t(o,{to:"/doc/ant-design/type-aliases/setModalProps.html"},{default:a(()=>[A]),_:1})])])])}const B=l(i,[["render",q],["__file","useAppProps.html.vue"]]),R=JSON.parse('{"path":"/doc/ant-design/interfaces/useAppProps.html","title":"Interface: useAppProps","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties","link":"#properties","children":[{"level":3,"title":"drawerProps","slug":"drawerprops","link":"#drawerprops","children":[]},{"level":3,"title":"message","slug":"message","link":"#message","children":[]},{"level":3,"title":"modalProps","slug":"modalprops","link":"#modalprops","children":[]},{"level":3,"title":"notification","slug":"notification","link":"#notification","children":[]},{"level":3,"title":"setDrawerProps","slug":"setdrawerprops","link":"#setdrawerprops","children":[]},{"level":3,"title":"setModalProps","slug":"setmodalprops","link":"#setmodalprops","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/interfaces/useAppProps.md"}');export{B as comp,R as data}; diff --git a/assets/useCloudFunction.html-CdaVTfHE.js b/assets/useCloudFunction.html-BJn3B7lL.js similarity index 97% rename from assets/useCloudFunction.html-CdaVTfHE.js rename to assets/useCloudFunction.html-BJn3B7lL.js index 69940fc9d9..8350ea94e6 100644 --- a/assets/useCloudFunction.html-CdaVTfHE.js +++ b/assets/useCloudFunction.html-BJn3B7lL.js @@ -1 +1 @@ -import{_ as l,r as c,o as s,c as d,a as n,d as e,w as u,b as o}from"./app-QyD7034V.js";const i={},a=n("h1",{id:"function-usecloudfunction",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usecloudfunction"},[n("span",null,"Function: useCloudFunction()")])],-1),r=n("strong",null,"useCloudFunction",-1),_=n("code",null,"config",-1),f=n("code",null,"UseifyPlugin",-1),h=n("code",null,"CloudFunction",-1),m=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),p=n("strong",null,"config?",-1),C=n("code",null,"CloudFunctionConfig",-1),F=n("code",null,"CloudFunctionConfig",-1),g=n("h2",{id:"returns",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#returns"},[n("span",null,"Returns")])],-1),x=n("code",null,"UseifyPlugin",-1),k=n("code",null,"CloudFunction",-1);function v(b,P){const t=c("RouteLink");return s(),d("div",null,[n("p",null,[e(t,{to:"/doc/cloud_function/"},{default:u(()=>[o("Documents")]),_:1}),o(" / "),e(t,{to:"/doc/cloud_function/"},{default:u(()=>[o("@faasjs/cloud_function")]),_:1}),o(" / useCloudFunction")]),a,n("blockquote",null,[n("p",null,[r,o("("),_,o("?): "),f,o("<"),e(t,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:u(()=>[h]),_:1}),o(">")])]),m,n("p",null,[o("• "),p,o(": "),e(t,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:u(()=>[C]),_:1}),o(" | () => "),e(t,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:u(()=>[F]),_:1})]),g,n("p",null,[x,o("<"),e(t,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:u(()=>[k]),_:1}),o(">")])])}const y=l(i,[["render",v],["__file","useCloudFunction.html.vue"]]),N=JSON.parse('{"path":"/doc/cloud_function/functions/useCloudFunction.html","title":"Function: useCloudFunction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/useCloudFunction.md"}');export{y as comp,N as data}; +import{_ as l,r as c,o as s,c as d,a as n,d as e,w as u,b as o}from"./app-COoiSelr.js";const i={},a=n("h1",{id:"function-usecloudfunction",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usecloudfunction"},[n("span",null,"Function: useCloudFunction()")])],-1),r=n("strong",null,"useCloudFunction",-1),_=n("code",null,"config",-1),f=n("code",null,"UseifyPlugin",-1),h=n("code",null,"CloudFunction",-1),m=n("h2",{id:"parameters",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#parameters"},[n("span",null,"Parameters")])],-1),p=n("strong",null,"config?",-1),C=n("code",null,"CloudFunctionConfig",-1),F=n("code",null,"CloudFunctionConfig",-1),g=n("h2",{id:"returns",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#returns"},[n("span",null,"Returns")])],-1),x=n("code",null,"UseifyPlugin",-1),k=n("code",null,"CloudFunction",-1);function v(b,P){const t=c("RouteLink");return s(),d("div",null,[n("p",null,[e(t,{to:"/doc/cloud_function/"},{default:u(()=>[o("Documents")]),_:1}),o(" / "),e(t,{to:"/doc/cloud_function/"},{default:u(()=>[o("@faasjs/cloud_function")]),_:1}),o(" / useCloudFunction")]),a,n("blockquote",null,[n("p",null,[r,o("("),_,o("?): "),f,o("<"),e(t,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:u(()=>[h]),_:1}),o(">")])]),m,n("p",null,[o("• "),p,o(": "),e(t,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:u(()=>[C]),_:1}),o(" | () => "),e(t,{to:"/doc/cloud_function/type-aliases/CloudFunctionConfig.html"},{default:u(()=>[F]),_:1})]),g,n("p",null,[x,o("<"),e(t,{to:"/doc/cloud_function/classes/CloudFunction.html"},{default:u(()=>[k]),_:1}),o(">")])])}const y=l(i,[["render",v],["__file","useCloudFunction.html.vue"]]),N=JSON.parse('{"path":"/doc/cloud_function/functions/useCloudFunction.html","title":"Function: useCloudFunction()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/cloud_function/functions/useCloudFunction.md"}');export{y as comp,N as data}; diff --git a/assets/useConfigContext.html-CJCWD5TD.js b/assets/useConfigContext.html-n3cgoyWg.js similarity index 95% rename from assets/useConfigContext.html-CJCWD5TD.js rename to assets/useConfigContext.html-n3cgoyWg.js index 4e4d08b25f..1d9807c93b 100644 --- a/assets/useConfigContext.html-CJCWD5TD.js +++ b/assets/useConfigContext.html-n3cgoyWg.js @@ -1 +1 @@ -import{_ as i,r as a,o as c,c as l,a as e,d as o,w as s,b as t}from"./app-QyD7034V.js";const r={},d=e("h1",{id:"function-useconfigcontext",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useconfigcontext"},[e("span",null,"Function: useConfigContext()")])],-1),u=e("strong",null,"useConfigContext",-1),f=e("code",null,"Partial",-1),_=e("code",null,"ConfigProviderProps",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("code",null,"Partial",-1),C=e("code",null,"ConfigProviderProps",-1);function p(x,m){const n=a("RouteLink");return c(),l("div",null,[e("p",null,[o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("@faasjs/ant-design")]),_:1}),t(" / useConfigContext")]),d,e("blockquote",null,[e("p",null,[u,t("(): "),f,t("<"),o(n,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:s(()=>[_]),_:1}),t(">")])]),h,e("p",null,[g,t("<"),o(n,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:s(()=>[C]),_:1}),t(">")])])}const v=i(r,[["render",p],["__file","useConfigContext.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/functions/useConfigContext.html","title":"Function: useConfigContext()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/useConfigContext.md"}');export{v as comp,k as data}; +import{_ as i,r as a,o as c,c as l,a as e,d as o,w as s,b as t}from"./app-COoiSelr.js";const r={},d=e("h1",{id:"function-useconfigcontext",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useconfigcontext"},[e("span",null,"Function: useConfigContext()")])],-1),u=e("strong",null,"useConfigContext",-1),f=e("code",null,"Partial",-1),_=e("code",null,"ConfigProviderProps",-1),h=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),g=e("code",null,"Partial",-1),C=e("code",null,"ConfigProviderProps",-1);function p(x,m){const n=a("RouteLink");return c(),l("div",null,[e("p",null,[o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("Documents")]),_:1}),t(" / "),o(n,{to:"/doc/ant-design/"},{default:s(()=>[t("@faasjs/ant-design")]),_:1}),t(" / useConfigContext")]),d,e("blockquote",null,[e("p",null,[u,t("(): "),f,t("<"),o(n,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:s(()=>[_]),_:1}),t(">")])]),h,e("p",null,[g,t("<"),o(n,{to:"/doc/ant-design/interfaces/ConfigProviderProps.html"},{default:s(()=>[C]),_:1}),t(">")])])}const v=i(r,[["render",p],["__file","useConfigContext.html.vue"]]),k=JSON.parse('{"path":"/doc/ant-design/functions/useConfigContext.html","title":"Function: useConfigContext()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/ant-design/functions/useConfigContext.md"}');export{v as comp,k as data}; diff --git a/assets/useConstant.html-Cck3RQ5W.js b/assets/useConstant.html-C8rCDox4.js similarity index 96% rename from assets/useConstant.html-Cck3RQ5W.js rename to assets/useConstant.html-C8rCDox4.js index d8fd64295c..206c38017f 100644 --- a/assets/useConstant.html-Cck3RQ5W.js +++ b/assets/useConstant.html-C8rCDox4.js @@ -1 +1 @@ -import{_ as s,r,o,c,a as l,d as a,w as n,b as e,e as p}from"./app-QyD7034V.js";const d={},u=p('

    Function: useConstant()

    useConstant<T>(fn): T

    Returns a constant value that is created by the given function.

    Type parameters

    T

    Parameters

    fn

    Returns

    T

    ',9);function i(h,m){const t=r("RouteLink");return o(),c("div",null,[l("p",null,[a(t,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / useConstant")]),u])}const _=s(d,[["render",i],["__file","useConstant.html.vue"]]),g=JSON.parse('{"path":"/doc/react/functions/useConstant.html","title":"Function: useConstant()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/functions/useConstant.md"}');export{_ as comp,g as data}; +import{_ as s,r,o,c,a as l,d as a,w as n,b as e,e as p}from"./app-COoiSelr.js";const d={},u=p('

    Function: useConstant()

    useConstant<T>(fn): T

    Returns a constant value that is created by the given function.

    Type parameters

    T

    Parameters

    fn

    Returns

    T

    ',9);function i(h,m){const t=r("RouteLink");return o(),c("div",null,[l("p",null,[a(t,{to:"/doc/react/"},{default:n(()=>[e("Documents")]),_:1}),e(" / "),a(t,{to:"/doc/react/"},{default:n(()=>[e("@faasjs/react")]),_:1}),e(" / useConstant")]),u])}const _=s(d,[["render",i],["__file","useConstant.html.vue"]]),g=JSON.parse('{"path":"/doc/react/functions/useConstant.html","title":"Function: useConstant()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/functions/useConstant.md"}');export{_ as comp,g as data}; diff --git a/assets/useDrawer.html-D81lJXOr.js b/assets/useDrawer.html-DqKBzwYc.js similarity index 98% rename from assets/useDrawer.html-D81lJXOr.js rename to assets/useDrawer.html-DqKBzwYc.js index d4f883dacb..aa1b611688 100644 --- a/assets/useDrawer.html-D81lJXOr.js +++ b/assets/useDrawer.html-DqKBzwYc.js @@ -1,4 +1,4 @@ -import{_ as p,r,o as c,c as l,a as n,d as e,w as t,b as s,e as o}from"./app-QyD7034V.js";const i={},u=o(`

    Function: useDrawer()

    useDrawer(init?): Object

    Hook style drawer

    function Example() {
    +import{_ as p,r,o as c,c as l,a as n,d as e,w as t,b as s,e as o}from"./app-COoiSelr.js";const i={},u=o(`

    Function: useDrawer()

    useDrawer(init?): Object

    Hook style drawer

    function Example() {
       const { drawer, setDrawerProps } = useDrawer()
     
       return <>
    diff --git a/assets/useFaas.html-BBeqRjTK.js b/assets/useFaas.html-CXdembYs.js
    similarity index 98%
    rename from assets/useFaas.html-BBeqRjTK.js
    rename to assets/useFaas.html-CXdembYs.js
    index 19cf7fb865..74884cdc3e 100644
    --- a/assets/useFaas.html-BBeqRjTK.js
    +++ b/assets/useFaas.html-CXdembYs.js
    @@ -1,4 +1,4 @@
    -import{_ as c,r as l,o as p,c as i,a,d as n,w as e,b as s,e as o}from"./app-QyD7034V.js";const r={},u=a("h1",{id:"function-usefaas",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#function-usefaas"},[a("span",null,"Function: useFaas()")])],-1),d=a("strong",null,"useFaas",-1),h=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),k=a("code",null,"defaultParams",-1),m=a("code",null,"options",-1),f=a("code",null,"FaasDataInjection",-1),g=a("code",null,"FaasData",-1),F=a("code",null,"PathOrData",-1),x=o('

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    ',6),v=a("strong",null,"defaultParams",-1),y=a("code",null,"FaasParams",-1),D=a("code",null,"PathOrData",-1),b=a("p",null,"{object} initial action params",-1),P=a("strong",null,"options?",-1),O=a("code",null,"useFaasOptions",-1),R=a("code",null,"PathOrData",-1),j=a("h2",{id:"returns",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns"},[a("span",null,"Returns")])],-1),w=a("code",null,"FaasDataInjection",-1),N=a("code",null,"FaasData",-1),I=a("code",null,"PathOrData",-1),T=o(`

    Example

    function Post ({ id }) {
    +import{_ as c,r as l,o as p,c as i,a,d as n,w as e,b as s,e as o}from"./app-COoiSelr.js";const r={},u=a("h1",{id:"function-usefaas",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#function-usefaas"},[a("span",null,"Function: useFaas()")])],-1),d=a("strong",null,"useFaas",-1),h=a("code",null,"PathOrData",-1),_=a("code",null,"action",-1),k=a("code",null,"defaultParams",-1),m=a("code",null,"options",-1),f=a("code",null,"FaasDataInjection",-1),g=a("code",null,"FaasData",-1),F=a("code",null,"PathOrData",-1),x=o('

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    ',6),v=a("strong",null,"defaultParams",-1),y=a("code",null,"FaasParams",-1),D=a("code",null,"PathOrData",-1),b=a("p",null,"{object} initial action params",-1),P=a("strong",null,"options?",-1),O=a("code",null,"useFaasOptions",-1),R=a("code",null,"PathOrData",-1),j=a("h2",{id:"returns",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#returns"},[a("span",null,"Returns")])],-1),w=a("code",null,"FaasDataInjection",-1),N=a("code",null,"FaasData",-1),I=a("code",null,"PathOrData",-1),T=o(`

    Example

    function Post ({ id }) {
       const { data } = useFaas<{ title: string }>('post/get', { id })
       return <h1>{data.title}</h1>
     }
    diff --git a/assets/useFaas.html-CiIPD6Lx.js b/assets/useFaas.html-D6qnfW9g.js
    similarity index 98%
    rename from assets/useFaas.html-CiIPD6Lx.js
    rename to assets/useFaas.html-D6qnfW9g.js
    index 87b804a760..10a3b9c027 100644
    --- a/assets/useFaas.html-CiIPD6Lx.js
    +++ b/assets/useFaas.html-D6qnfW9g.js
    @@ -1,4 +1,4 @@
    -import{_ as e,r as o,o as c,c as p,a as l,d as n,w as t,b as a,e as r}from"./app-QyD7034V.js";const i={},d=r(`

    Function: useFaas()

    useFaas<PathOrData>(action, defaultParams, options?): FaasDataInjection<FaasData<PathOrData>>

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    defaultParams: FaasParams<PathOrData>

    {object} initial action params

    options?: useFaasOptions<PathOrData>

    Returns

    FaasDataInjection<FaasData<PathOrData>>

    Example

    function Post ({ id }) {
    +import{_ as e,r as o,o as c,c as p,a as l,d as n,w as t,b as a,e as r}from"./app-COoiSelr.js";const i={},d=r(`

    Function: useFaas()

    useFaas<PathOrData>(action, defaultParams, options?): FaasDataInjection<FaasData<PathOrData>>

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    defaultParams: FaasParams<PathOrData>

    {object} initial action params

    options?: useFaasOptions<PathOrData>

    Returns

    FaasDataInjection<FaasData<PathOrData>>

    Example

    function Post ({ id }) {
       const { data } = useFaas<{ title: string }>('post/get', { id })
       return <h1>{data.title}</h1>
     }
    diff --git a/assets/useFaasOptions.html-A0I7kaJj.js b/assets/useFaasOptions.html-1HfoYX4D.js
    similarity index 98%
    rename from assets/useFaasOptions.html-A0I7kaJj.js
    rename to assets/useFaasOptions.html-1HfoYX4D.js
    index a4a65daa93..893dee05e1 100644
    --- a/assets/useFaasOptions.html-A0I7kaJj.js
    +++ b/assets/useFaasOptions.html-1HfoYX4D.js
    @@ -1 +1 @@
    -import{_ as s,r as n,o as c,c as r,a as d,d as t,w as o,b as a,e as l}from"./app-QyD7034V.js";const p={},i=l('

    Type alias: useFaasOptions<PathOrData>

    useFaasOptions<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    data?

    optional data: FaasData<PathOrData>

    debounce?

    optional debounce: number

    send the last request after milliseconds

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    skip?

    optional skip: boolean | (params) => boolean

    if skip is true, will not send request

    ',17);function h(u,g){const e=n("RouteLink");return c(),r("div",null,[d("p",null,[t(e,{to:"/doc/react/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:o(()=>[a("@faasjs/react")]),_:1}),a(" / useFaasOptions")]),i])}const k=s(p,[["render",h],["__file","useFaasOptions.html.vue"]]),m=JSON.parse('{"path":"/doc/react/type-aliases/useFaasOptions.html","title":"Type alias: useFaasOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"debounce?","slug":"debounce","link":"#debounce","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"skip?","slug":"skip","link":"#skip","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/useFaasOptions.md"}');export{k as comp,m as data}; +import{_ as s,r as n,o as c,c as r,a as d,d as t,w as o,b as a,e as l}from"./app-COoiSelr.js";const p={},i=l('

    Type alias: useFaasOptions<PathOrData>

    useFaasOptions<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    data?

    optional data: FaasData<PathOrData>

    debounce?

    optional debounce: number

    send the last request after milliseconds

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    skip?

    optional skip: boolean | (params) => boolean

    if skip is true, will not send request

    ',17);function h(u,g){const e=n("RouteLink");return c(),r("div",null,[d("p",null,[t(e,{to:"/doc/react/"},{default:o(()=>[a("Documents")]),_:1}),a(" / "),t(e,{to:"/doc/react/"},{default:o(()=>[a("@faasjs/react")]),_:1}),a(" / useFaasOptions")]),i])}const k=s(p,[["render",h],["__file","useFaasOptions.html.vue"]]),m=JSON.parse('{"path":"/doc/react/type-aliases/useFaasOptions.html","title":"Type alias: useFaasOptions","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Type declaration","slug":"type-declaration","link":"#type-declaration","children":[{"level":3,"title":"data?","slug":"data","link":"#data","children":[]},{"level":3,"title":"debounce?","slug":"debounce","link":"#debounce","children":[]},{"level":3,"title":"params?","slug":"params","link":"#params","children":[]},{"level":3,"title":"setData?","slug":"setdata","link":"#setdata","children":[]},{"level":3,"title":"skip?","slug":"skip","link":"#skip","children":[]}]}],"git":{"updatedTime":null},"filePathRelative":"doc/react/type-aliases/useFaasOptions.md"}');export{k as comp,m as data}; diff --git a/assets/useFunc.html-R2hWUwRl.js b/assets/useFunc.html-DLzU344G.js similarity index 98% rename from assets/useFunc.html-R2hWUwRl.js rename to assets/useFunc.html-DLzU344G.js index b447f21c92..bdff7efb31 100644 --- a/assets/useFunc.html-R2hWUwRl.js +++ b/assets/useFunc.html-DLzU344G.js @@ -1,4 +1,4 @@ -import{_ as o,r as c,o as p,c as l,a as n,d as t,w as e,b as s,e as u}from"./app-QyD7034V.js";const i={},r=n("h1",{id:"function-usefunc",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usefunc"},[n("span",null,"Function: useFunc()")])],-1),d=n("strong",null,"useFunc",-1),k=n("code",null,"TEvent",-1),m=n("code",null,"TContext",-1),h=n("code",null,"TResult",-1),v=n("code",null,"handler",-1),_=n("code",null,"Func",-1),f=n("code",null,"TEvent",-1),g=n("code",null,"TContext",-1),b=n("code",null,"TResult",-1),y=u(`
    // pure function
    +import{_ as o,r as c,o as p,c as l,a as n,d as t,w as e,b as s,e as u}from"./app-COoiSelr.js";const i={},r=n("h1",{id:"function-usefunc",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usefunc"},[n("span",null,"Function: useFunc()")])],-1),d=n("strong",null,"useFunc",-1),k=n("code",null,"TEvent",-1),m=n("code",null,"TContext",-1),h=n("code",null,"TResult",-1),v=n("code",null,"handler",-1),_=n("code",null,"Func",-1),f=n("code",null,"TEvent",-1),g=n("code",null,"TContext",-1),b=n("code",null,"TResult",-1),y=u(`
    // pure function
     export default useFunc(() => {
       return () => {
         return 'Hello World'
    diff --git a/assets/useFunc.html-Cski1qVV.js b/assets/useFunc.html-DwCQxfYD.js
    similarity index 98%
    rename from assets/useFunc.html-Cski1qVV.js
    rename to assets/useFunc.html-DwCQxfYD.js
    index 0b03e81596..753f267202 100644
    --- a/assets/useFunc.html-Cski1qVV.js
    +++ b/assets/useFunc.html-DwCQxfYD.js
    @@ -1,4 +1,4 @@
    -import{_ as o,r as p,o as c,c as l,a as n,d as t,w as e,b as s,e as u}from"./app-QyD7034V.js";const i={},r=n("h1",{id:"function-usefunc",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usefunc"},[n("span",null,"Function: useFunc()")])],-1),d=n("strong",null,"useFunc",-1),k=n("code",null,"TEvent",-1),m=n("code",null,"TContext",-1),h=n("code",null,"TResult",-1),v=n("code",null,"handler",-1),_=n("code",null,"Func",-1),f=n("code",null,"TEvent",-1),g=n("code",null,"TContext",-1),b=n("code",null,"TResult",-1),y=u(`
    // pure function
    +import{_ as o,r as p,o as c,c as l,a as n,d as t,w as e,b as s,e as u}from"./app-COoiSelr.js";const i={},r=n("h1",{id:"function-usefunc",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#function-usefunc"},[n("span",null,"Function: useFunc()")])],-1),d=n("strong",null,"useFunc",-1),k=n("code",null,"TEvent",-1),m=n("code",null,"TContext",-1),h=n("code",null,"TResult",-1),v=n("code",null,"handler",-1),_=n("code",null,"Func",-1),f=n("code",null,"TEvent",-1),g=n("code",null,"TContext",-1),b=n("code",null,"TResult",-1),y=u(`
    // pure function
     export default useFunc(() => {
       return () => {
         return 'Hello World'
    diff --git a/assets/useHttp.html-D1Pa-Bn9.js b/assets/useHttp.html-BepKhnrH.js
    similarity index 97%
    rename from assets/useHttp.html-D1Pa-Bn9.js
    rename to assets/useHttp.html-BepKhnrH.js
    index 57aee49fdb..0a5c4de9b5 100644
    --- a/assets/useHttp.html-D1Pa-Bn9.js
    +++ b/assets/useHttp.html-BepKhnrH.js
    @@ -1 +1 @@
    -import{_ as c,r as d,o as l,c as a,a as e,d as s,w as n,b as t,e as r}from"./app-QyD7034V.js";const i={},u=e("h1",{id:"function-usehttp",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-usehttp"},[e("span",null,"Function: useHttp()")])],-1),p=e("strong",null,"useHttp",-1),h=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),m=e("code",null,"TSession",-1),f=e("code",null,"config",-1),g=e("code",null,"UseifyPlugin",-1),T=e("code",null,"Http",-1),H=e("code",null,"TParams",-1),k=e("code",null,"TCookie",-1),y=e("code",null,"TSession",-1),x=r('

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Parameters

    ',5),P=e("strong",null,"config?",-1),C=e("code",null,"HttpConfig",-1),R=e("code",null,"TParams",-1),v=e("code",null,"TCookie",-1),S=e("code",null,"TSession",-1),b=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),N=e("code",null,"UseifyPlugin",-1),V=e("code",null,"Http",-1),B=e("code",null,"TParams",-1),w=e("code",null,"TCookie",-1),F=e("code",null,"TSession",-1);function L(U,j){const o=d("RouteLink");return l(),a("div",null,[e("p",null,[s(o,{to:"/doc/http/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/http/"},{default:n(()=>[t("@faasjs/http")]),_:1}),t(" / useHttp")]),u,e("blockquote",null,[e("p",null,[p,t("<"),h,t(", "),_,t(", "),m,t(">("),f,t("?): "),g,t("<"),s(o,{to:"/doc/http/classes/Http.html"},{default:n(()=>[T]),_:1}),t("<"),H,t(", "),k,t(", "),y,t(">>")])]),x,e("p",null,[t("• "),P,t(": "),s(o,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[C]),_:1}),t("<"),R,t(", "),v,t(", "),S,t(">")]),b,e("p",null,[N,t("<"),s(o,{to:"/doc/http/classes/Http.html"},{default:n(()=>[V]),_:1}),t("<"),B,t(", "),w,t(", "),F,t(">>")])])}const D=c(i,[["render",L],["__file","useHttp.html.vue"]]),E=JSON.parse('{"path":"/doc/http/functions/useHttp.html","title":"Function: useHttp()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/functions/useHttp.md"}');export{D as comp,E as data}; +import{_ as c,r as d,o as l,c as a,a as e,d as s,w as n,b as t,e as r}from"./app-COoiSelr.js";const i={},u=e("h1",{id:"function-usehttp",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-usehttp"},[e("span",null,"Function: useHttp()")])],-1),p=e("strong",null,"useHttp",-1),h=e("code",null,"TParams",-1),_=e("code",null,"TCookie",-1),m=e("code",null,"TSession",-1),f=e("code",null,"config",-1),g=e("code",null,"UseifyPlugin",-1),T=e("code",null,"Http",-1),H=e("code",null,"TParams",-1),k=e("code",null,"TCookie",-1),y=e("code",null,"TSession",-1),x=r('

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Parameters

    ',5),P=e("strong",null,"config?",-1),C=e("code",null,"HttpConfig",-1),R=e("code",null,"TParams",-1),v=e("code",null,"TCookie",-1),S=e("code",null,"TSession",-1),b=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),N=e("code",null,"UseifyPlugin",-1),V=e("code",null,"Http",-1),B=e("code",null,"TParams",-1),w=e("code",null,"TCookie",-1),F=e("code",null,"TSession",-1);function L(U,j){const o=d("RouteLink");return l(),a("div",null,[e("p",null,[s(o,{to:"/doc/http/"},{default:n(()=>[t("Documents")]),_:1}),t(" / "),s(o,{to:"/doc/http/"},{default:n(()=>[t("@faasjs/http")]),_:1}),t(" / useHttp")]),u,e("blockquote",null,[e("p",null,[p,t("<"),h,t(", "),_,t(", "),m,t(">("),f,t("?): "),g,t("<"),s(o,{to:"/doc/http/classes/Http.html"},{default:n(()=>[T]),_:1}),t("<"),H,t(", "),k,t(", "),y,t(">>")])]),x,e("p",null,[t("• "),P,t(": "),s(o,{to:"/doc/http/type-aliases/HttpConfig.html"},{default:n(()=>[C]),_:1}),t("<"),R,t(", "),v,t(", "),S,t(">")]),b,e("p",null,[N,t("<"),s(o,{to:"/doc/http/classes/Http.html"},{default:n(()=>[V]),_:1}),t("<"),B,t(", "),w,t(", "),F,t(">>")])])}const D=c(i,[["render",L],["__file","useHttp.html.vue"]]),E=JSON.parse('{"path":"/doc/http/functions/useHttp.html","title":"Function: useHttp()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/http/functions/useHttp.md"}');export{D as comp,E as data}; diff --git a/assets/useKnex.html-jSpphGaJ.js b/assets/useKnex.html-OJM6VAVJ.js similarity index 96% rename from assets/useKnex.html-jSpphGaJ.js rename to assets/useKnex.html-OJM6VAVJ.js index 581c8d6d85..f5cd477119 100644 --- a/assets/useKnex.html-jSpphGaJ.js +++ b/assets/useKnex.html-OJM6VAVJ.js @@ -1 +1 @@ -import{_ as l,r as a,o as c,c as u,a as e,d as s,w as o,b as n}from"./app-QyD7034V.js";const r={},d=e("h1",{id:"function-useknex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useknex"},[e("span",null,"Function: useKnex()")])],-1),i=e("strong",null,"useKnex",-1),_=e("code",null,"config",-1),h=e("code",null,"UseifyPlugin",-1),x=e("code",null,"Knex",-1),f=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),m=e("strong",null,"config?",-1),p=e("code",null,"KnexConfig",-1),k=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),K=e("code",null,"UseifyPlugin",-1),g=e("code",null,"Knex",-1);function v(b,P){const t=a("RouteLink");return c(),u("div",null,[e("p",null,[s(t,{to:"/doc/knex/"},{default:o(()=>[n("Documents")]),_:1}),n(" / "),s(t,{to:"/doc/knex/"},{default:o(()=>[n("@faasjs/knex")]),_:1}),n(" / useKnex")]),d,e("blockquote",null,[e("p",null,[i,n("("),_,n("?): "),h,n("<"),s(t,{to:"/doc/knex/classes/Knex.html"},{default:o(()=>[x]),_:1}),n(">")])]),f,e("p",null,[n("• "),m,n(": "),s(t,{to:"/doc/knex/type-aliases/KnexConfig.html"},{default:o(()=>[p]),_:1})]),k,e("p",null,[K,n("<"),s(t,{to:"/doc/knex/classes/Knex.html"},{default:o(()=>[g]),_:1}),n(">")])])}const C=l(r,[["render",v],["__file","useKnex.html.vue"]]),N=JSON.parse('{"path":"/doc/knex/functions/useKnex.html","title":"Function: useKnex()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/useKnex.md"}');export{C as comp,N as data}; +import{_ as l,r as a,o as c,c as u,a as e,d as s,w as o,b as n}from"./app-COoiSelr.js";const r={},d=e("h1",{id:"function-useknex",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useknex"},[e("span",null,"Function: useKnex()")])],-1),i=e("strong",null,"useKnex",-1),_=e("code",null,"config",-1),h=e("code",null,"UseifyPlugin",-1),x=e("code",null,"Knex",-1),f=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),m=e("strong",null,"config?",-1),p=e("code",null,"KnexConfig",-1),k=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),K=e("code",null,"UseifyPlugin",-1),g=e("code",null,"Knex",-1);function v(b,P){const t=a("RouteLink");return c(),u("div",null,[e("p",null,[s(t,{to:"/doc/knex/"},{default:o(()=>[n("Documents")]),_:1}),n(" / "),s(t,{to:"/doc/knex/"},{default:o(()=>[n("@faasjs/knex")]),_:1}),n(" / useKnex")]),d,e("blockquote",null,[e("p",null,[i,n("("),_,n("?): "),h,n("<"),s(t,{to:"/doc/knex/classes/Knex.html"},{default:o(()=>[x]),_:1}),n(">")])]),f,e("p",null,[n("• "),m,n(": "),s(t,{to:"/doc/knex/type-aliases/KnexConfig.html"},{default:o(()=>[p]),_:1})]),k,e("p",null,[K,n("<"),s(t,{to:"/doc/knex/classes/Knex.html"},{default:o(()=>[g]),_:1}),n(">")])])}const C=l(r,[["render",v],["__file","useKnex.html.vue"]]),N=JSON.parse('{"path":"/doc/knex/functions/useKnex.html","title":"Function: useKnex()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/knex/functions/useKnex.md"}');export{C as comp,N as data}; diff --git a/assets/useModal.html-WQf5dhDR.js b/assets/useModal.html-BAfj2WYh.js similarity index 98% rename from assets/useModal.html-WQf5dhDR.js rename to assets/useModal.html-BAfj2WYh.js index b78a221349..138090f748 100644 --- a/assets/useModal.html-WQf5dhDR.js +++ b/assets/useModal.html-BAfj2WYh.js @@ -1,4 +1,4 @@ -import{_ as l,r as p,o as c,c as d,a as s,d as t,w as e,b as n,e as o}from"./app-QyD7034V.js";const i={},u=o(`

    Function: useModal()

    useModal(init?): Object

    Hook style modal

    function Example() {
    +import{_ as l,r as p,o as c,c as d,a as s,d as t,w as e,b as n,e as o}from"./app-COoiSelr.js";const i={},u=o(`

    Function: useModal()

    useModal(init?): Object

    Hook style modal

    function Example() {
       const { modal, setModalProps } = useModal()
     
       return <>
    diff --git a/assets/usePlugin.html-CctwGdgP.js b/assets/usePlugin.html-B4ku4naU.js
    similarity index 97%
    rename from assets/usePlugin.html-CctwGdgP.js
    rename to assets/usePlugin.html-B4ku4naU.js
    index 5004c681f6..ddc41db157 100644
    --- a/assets/usePlugin.html-CctwGdgP.js
    +++ b/assets/usePlugin.html-B4ku4naU.js
    @@ -1 +1 @@
    -import{_ as o,r as a,o as u,c as i,a as e,d as n,w as l,b as t}from"./app-QyD7034V.js";const c={},r=e("h1",{id:"function-useplugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useplugin"},[e("span",null,"Function: usePlugin()")])],-1),d=e("strong",null,"usePlugin",-1),_=e("code",null,"T",-1),h=e("code",null,"plugin",-1),p=e("code",null,"UseifyPlugin",-1),m=e("code",null,"T",-1),f=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),g=e("strong",null,"T",-1),P=e("code",null,"Plugin",-1),y=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),x=e("strong",null,"plugin",-1),T=e("code",null,"UseifyPlugin",-1),k=e("code",null,"T",-1),v=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"UseifyPlugin",-1),U=e("code",null,"T",-1);function R(N,B){const s=a("RouteLink");return u(),i("div",null,[e("p",null,[n(s,{to:"/doc/test/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/test/"},{default:l(()=>[t("@faasjs/test")]),_:1}),t(" / usePlugin")]),r,e("blockquote",null,[e("p",null,[d,t("<"),_,t(">("),h,t("): "),n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[p]),_:1}),t("<"),m,t(">")])]),f,e("p",null,[t("• "),g,t(" extends "),n(s,{to:"/doc/test/type-aliases/Plugin.html"},{default:l(()=>[P]),_:1})]),y,e("p",null,[t("• "),x,t(": "),n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[T]),_:1}),t("<"),k,t(">")]),v,e("p",null,[n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[b]),_:1}),t("<"),U,t(">")])])}const w=o(c,[["render",R],["__file","usePlugin.html.vue"]]),C=JSON.parse('{"path":"/doc/test/functions/usePlugin.html","title":"Function: usePlugin()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/functions/usePlugin.md"}');export{w as comp,C as data};
    +import{_ as o,r as a,o as u,c as i,a as e,d as n,w as l,b as t}from"./app-COoiSelr.js";const c={},r=e("h1",{id:"function-useplugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useplugin"},[e("span",null,"Function: usePlugin()")])],-1),d=e("strong",null,"usePlugin",-1),_=e("code",null,"T",-1),h=e("code",null,"plugin",-1),p=e("code",null,"UseifyPlugin",-1),m=e("code",null,"T",-1),f=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),g=e("strong",null,"T",-1),P=e("code",null,"Plugin",-1),y=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),x=e("strong",null,"plugin",-1),T=e("code",null,"UseifyPlugin",-1),k=e("code",null,"T",-1),v=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"UseifyPlugin",-1),U=e("code",null,"T",-1);function R(N,B){const s=a("RouteLink");return u(),i("div",null,[e("p",null,[n(s,{to:"/doc/test/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),n(s,{to:"/doc/test/"},{default:l(()=>[t("@faasjs/test")]),_:1}),t(" / usePlugin")]),r,e("blockquote",null,[e("p",null,[d,t("<"),_,t(">("),h,t("): "),n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[p]),_:1}),t("<"),m,t(">")])]),f,e("p",null,[t("• "),g,t(" extends "),n(s,{to:"/doc/test/type-aliases/Plugin.html"},{default:l(()=>[P]),_:1})]),y,e("p",null,[t("• "),x,t(": "),n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[T]),_:1}),t("<"),k,t(">")]),v,e("p",null,[n(s,{to:"/doc/test/type-aliases/UseifyPlugin.html"},{default:l(()=>[b]),_:1}),t("<"),U,t(">")])])}const w=o(c,[["render",R],["__file","usePlugin.html.vue"]]),C=JSON.parse('{"path":"/doc/test/functions/usePlugin.html","title":"Function: usePlugin()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/test/functions/usePlugin.md"}');export{w as comp,C as data};
    diff --git a/assets/usePlugin.html-f2Nw1mX6.js b/assets/usePlugin.html-Btvly18O.js
    similarity index 97%
    rename from assets/usePlugin.html-f2Nw1mX6.js
    rename to assets/usePlugin.html-Btvly18O.js
    index 69f99e7a31..95059917f2 100644
    --- a/assets/usePlugin.html-f2Nw1mX6.js
    +++ b/assets/usePlugin.html-Btvly18O.js
    @@ -1 +1 @@
    -import{_ as o,r as u,o as a,c as i,a as e,d as s,w as l,b as t}from"./app-QyD7034V.js";const c={},r=e("h1",{id:"function-useplugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useplugin"},[e("span",null,"Function: usePlugin()")])],-1),d=e("strong",null,"usePlugin",-1),_=e("code",null,"T",-1),h=e("code",null,"plugin",-1),p=e("code",null,"UseifyPlugin",-1),f=e("code",null,"T",-1),m=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),g=e("strong",null,"T",-1),P=e("code",null,"Plugin",-1),y=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),x=e("strong",null,"plugin",-1),T=e("code",null,"UseifyPlugin",-1),k=e("code",null,"T",-1),v=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"UseifyPlugin",-1),U=e("code",null,"T",-1);function R(N,B){const n=u("RouteLink");return a(),i("div",null,[e("p",null,[s(n,{to:"/doc/func/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/func/"},{default:l(()=>[t("@faasjs/func")]),_:1}),t(" / usePlugin")]),r,e("blockquote",null,[e("p",null,[d,t("<"),_,t(">("),h,t("): "),s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[p]),_:1}),t("<"),f,t(">")])]),m,e("p",null,[t("• "),g,t(" extends "),s(n,{to:"/doc/func/type-aliases/Plugin.html"},{default:l(()=>[P]),_:1})]),y,e("p",null,[t("• "),x,t(": "),s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[T]),_:1}),t("<"),k,t(">")]),v,e("p",null,[s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[b]),_:1}),t("<"),U,t(">")])])}const w=o(c,[["render",R],["__file","usePlugin.html.vue"]]),C=JSON.parse('{"path":"/doc/func/functions/usePlugin.html","title":"Function: usePlugin()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/functions/usePlugin.md"}');export{w as comp,C as data};
    +import{_ as o,r as u,o as a,c as i,a as e,d as s,w as l,b as t}from"./app-COoiSelr.js";const c={},r=e("h1",{id:"function-useplugin",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useplugin"},[e("span",null,"Function: usePlugin()")])],-1),d=e("strong",null,"usePlugin",-1),_=e("code",null,"T",-1),h=e("code",null,"plugin",-1),p=e("code",null,"UseifyPlugin",-1),f=e("code",null,"T",-1),m=e("h2",{id:"type-parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#type-parameters"},[e("span",null,"Type parameters")])],-1),g=e("strong",null,"T",-1),P=e("code",null,"Plugin",-1),y=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),x=e("strong",null,"plugin",-1),T=e("code",null,"UseifyPlugin",-1),k=e("code",null,"T",-1),v=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),b=e("code",null,"UseifyPlugin",-1),U=e("code",null,"T",-1);function R(N,B){const n=u("RouteLink");return a(),i("div",null,[e("p",null,[s(n,{to:"/doc/func/"},{default:l(()=>[t("Documents")]),_:1}),t(" / "),s(n,{to:"/doc/func/"},{default:l(()=>[t("@faasjs/func")]),_:1}),t(" / usePlugin")]),r,e("blockquote",null,[e("p",null,[d,t("<"),_,t(">("),h,t("): "),s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[p]),_:1}),t("<"),f,t(">")])]),m,e("p",null,[t("• "),g,t(" extends "),s(n,{to:"/doc/func/type-aliases/Plugin.html"},{default:l(()=>[P]),_:1})]),y,e("p",null,[t("• "),x,t(": "),s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[T]),_:1}),t("<"),k,t(">")]),v,e("p",null,[s(n,{to:"/doc/func/type-aliases/UseifyPlugin.html"},{default:l(()=>[b]),_:1}),t("<"),U,t(">")])])}const w=o(c,[["render",R],["__file","usePlugin.html.vue"]]),C=JSON.parse('{"path":"/doc/func/functions/usePlugin.html","title":"Function: usePlugin()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters","link":"#type-parameters","children":[]},{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/func/functions/usePlugin.md"}');export{w as comp,C as data};
    diff --git a/assets/useRedis.html-8PZizPUM.js b/assets/useRedis.html-BaHYE-xr.js
    similarity index 96%
    rename from assets/useRedis.html-8PZizPUM.js
    rename to assets/useRedis.html-BaHYE-xr.js
    index 932843835f..fb35fc472c 100644
    --- a/assets/useRedis.html-8PZizPUM.js
    +++ b/assets/useRedis.html-BaHYE-xr.js
    @@ -1 +1 @@
    -import{_ as l,r as d,o as i,c as a,a as e,d as n,w as o,b as s}from"./app-QyD7034V.js";const r={},c=e("h1",{id:"function-useredis",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useredis"},[e("span",null,"Function: useRedis()")])],-1),u=e("strong",null,"useRedis",-1),_=e("code",null,"config",-1),h=e("code",null,"UseifyPlugin",-1),f=e("code",null,"Redis",-1),m=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),p=e("strong",null,"config?",-1),R=e("code",null,"RedisConfig",-1),g=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"UseifyPlugin",-1),k=e("code",null,"Redis",-1);function v(b,P){const t=d("RouteLink");return i(),a("div",null,[e("p",null,[n(t,{to:"/doc/redis/"},{default:o(()=>[s("Documents")]),_:1}),s(" / "),n(t,{to:"/doc/redis/"},{default:o(()=>[s("@faasjs/redis")]),_:1}),s(" / useRedis")]),c,e("blockquote",null,[e("p",null,[u,s("("),_,s("?): "),h,s("<"),n(t,{to:"/doc/redis/classes/Redis.html"},{default:o(()=>[f]),_:1}),s(">")])]),m,e("p",null,[s("• "),p,s(": "),n(t,{to:"/doc/redis/type-aliases/RedisConfig.html"},{default:o(()=>[R]),_:1})]),g,e("p",null,[x,s("<"),n(t,{to:"/doc/redis/classes/Redis.html"},{default:o(()=>[k]),_:1}),s(">")])])}const N=l(r,[["render",v],["__file","useRedis.html.vue"]]),y=JSON.parse('{"path":"/doc/redis/functions/useRedis.html","title":"Function: useRedis()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/useRedis.md"}');export{N as comp,y as data};
    +import{_ as l,r as d,o as i,c as a,a as e,d as n,w as o,b as s}from"./app-COoiSelr.js";const r={},c=e("h1",{id:"function-useredis",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#function-useredis"},[e("span",null,"Function: useRedis()")])],-1),u=e("strong",null,"useRedis",-1),_=e("code",null,"config",-1),h=e("code",null,"UseifyPlugin",-1),f=e("code",null,"Redis",-1),m=e("h2",{id:"parameters",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#parameters"},[e("span",null,"Parameters")])],-1),p=e("strong",null,"config?",-1),R=e("code",null,"RedisConfig",-1),g=e("h2",{id:"returns",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#returns"},[e("span",null,"Returns")])],-1),x=e("code",null,"UseifyPlugin",-1),k=e("code",null,"Redis",-1);function v(b,P){const t=d("RouteLink");return i(),a("div",null,[e("p",null,[n(t,{to:"/doc/redis/"},{default:o(()=>[s("Documents")]),_:1}),s(" / "),n(t,{to:"/doc/redis/"},{default:o(()=>[s("@faasjs/redis")]),_:1}),s(" / useRedis")]),c,e("blockquote",null,[e("p",null,[u,s("("),_,s("?): "),h,s("<"),n(t,{to:"/doc/redis/classes/Redis.html"},{default:o(()=>[f]),_:1}),s(">")])]),m,e("p",null,[s("• "),p,s(": "),n(t,{to:"/doc/redis/type-aliases/RedisConfig.html"},{default:o(()=>[R]),_:1})]),g,e("p",null,[x,s("<"),n(t,{to:"/doc/redis/classes/Redis.html"},{default:o(()=>[k]),_:1}),s(">")])])}const N=l(r,[["render",v],["__file","useRedis.html.vue"]]),y=JSON.parse('{"path":"/doc/redis/functions/useRedis.html","title":"Function: useRedis()","lang":"en","frontmatter":{},"headers":[{"level":2,"title":"Parameters","slug":"parameters","link":"#parameters","children":[]},{"level":2,"title":"Returns","slug":"returns","link":"#returns","children":[]}],"git":{"updatedTime":null},"filePathRelative":"doc/redis/functions/useRedis.md"}');export{N as comp,y as data};
    diff --git a/assets/useSignalState.html-BY0VPUlu.js b/assets/useSignalState.html-DAUV_m3M.js
    similarity index 98%
    rename from assets/useSignalState.html-BY0VPUlu.js
    rename to assets/useSignalState.html-DAUV_m3M.js
    index 2702658e23..49e4f98824 100644
    --- a/assets/useSignalState.html-BY0VPUlu.js
    +++ b/assets/useSignalState.html-DAUV_m3M.js
    @@ -1,4 +1,4 @@
    -import{_ as l,r as p,o as i,c as u,a as s,d as a,w as e,b as n,e as o}from"./app-QyD7034V.js";const r={},d=o('

    Function: useSignalState()

    useSignalState<T>(initialValue, options): readonly [T, (changes) => void]

    ',2),k={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},g=o(`
    import { useSignalState, useSignalEffect } from '@faasjs/react'
    +import{_ as l,r as p,o as i,c as u,a as s,d as a,w as e,b as n,e as o}from"./app-COoiSelr.js";const r={},d=o('

    Function: useSignalState()

    useSignalState<T>(initialValue, options): readonly [T, (changes) => void]

    ',2),k={href:"https://preactjs.com/guide/v10/signals",target:"_blank",rel:"noopener noreferrer"},g=o(`
    import { useSignalState, useSignalEffect } from '@faasjs/react'
     
     function App () {
       const [count, setCount] = useSignalState(0, { debugName: 'count' })
    diff --git a/assets/vue-plugin.html-CRgx5f63.js b/assets/vue-plugin.html-Dz6fabXm.js
    similarity index 98%
    rename from assets/vue-plugin.html-CRgx5f63.js
    rename to assets/vue-plugin.html-Dz6fabXm.js
    index 0934bbf330..a03a67a7f8 100644
    --- a/assets/vue-plugin.html-CRgx5f63.js
    +++ b/assets/vue-plugin.html-Dz6fabXm.js
    @@ -1,4 +1,4 @@
    -import{_ as n,o as s,c as a,e as t}from"./app-QyD7034V.js";const p={},e=t(`

    @faasjs/vue-plugin

    Vue 插件。

    安装方法

    npm

    npm install @faasjs/vue-plugin --save
    +import{_ as n,o as s,c as a,e as t}from"./app-COoiSelr.js";const p={},e=t(`

    @faasjs/vue-plugin

    Vue 插件。

    安装方法

    npm

    npm install @faasjs/vue-plugin --save
     

    Webpack 和 CDN

    在 html 中添加如下代码:

    <script type="text/javascript" src="//cdn.jsdelivr.net/npm/@faasjs/vue-plugin"></script>
     

    在 webpack.config.js 中添加如下代码:

    module.exports = {
       // ...
    @@ -21,4 +21,4 @@ Vue.use})
       }
     }
    -
    `,12),c=[e];function o(l,i){return s(),a("div",null,c)}const r=n(p,[["render",o],["__file","vue-plugin.html.vue"]]),d=JSON.parse('{"path":"/zh/doc/vue-plugin.html","title":"@faasjs/vue-plugin","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"在 Vue 中使用","slug":"在-vue-中使用","link":"#在-vue-中使用","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/doc/vue-plugin.md"}');export{r as comp,d as data}; +
    `,12),c=[e];function o(l,i){return s(),a("div",null,c)}const r=n(p,[["render",o],["__file","vue-plugin.html.vue"]]),d=JSON.parse('{"path":"/zh/doc/vue-plugin.html","title":"@faasjs/vue-plugin","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"安装方法","slug":"安装方法","link":"#安装方法","children":[{"level":3,"title":"npm","slug":"npm","link":"#npm","children":[]},{"level":3,"title":"Webpack 和 CDN","slug":"webpack-和-cdn","link":"#webpack-和-cdn","children":[]}]},{"level":2,"title":"在 Vue 中使用","slug":"在-vue-中使用","link":"#在-vue-中使用","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/doc/vue-plugin.md"}');export{r as comp,d as data}; diff --git a/assets/vue.html-BTx1_5QU.js b/assets/vue.html-CM_ia1j0.js similarity index 97% rename from assets/vue.html-BTx1_5QU.js rename to assets/vue.html-CM_ia1j0.js index 391a098802..f7a566b668 100644 --- a/assets/vue.html-BTx1_5QU.js +++ b/assets/vue.html-CM_ia1j0.js @@ -1,4 +1,4 @@ -import{_ as n,o as s,c as a,e as t}from"./app-QyD7034V.js";const e={},p=t(`

    在 Vue 中使用

    FaasJS 提供了 @faasjs/vue-plugin 使得你可以在 Vue 组件中轻松调用云函数。

    集成步骤

    1. 安装插件 npm install @faasjs/vue-plugin@beta --save
    2. 引入插件
    import Faas from '@faasjs/vue-plugin';
    +import{_ as n,o as s,c as a,e as t}from"./app-COoiSelr.js";const e={},p=t(`

    在 Vue 中使用

    FaasJS 提供了 @faasjs/vue-plugin 使得你可以在 Vue 组件中轻松调用云函数。

    集成步骤

    1. 安装插件 npm install @faasjs/vue-plugin@beta --save
    2. 引入插件
    import Faas from '@faasjs/vue-plugin';
     
     Vue.use(Faas, {
       domain: '' // 这里填写云函数的服务地址
    @@ -13,4 +13,4 @@ Vue.use})
       }
     }
    -
    `,7),c=[p];function o(i,l){return s(),a("div",null,c)}const d=n(e,[["render",o],["__file","vue.html.vue"]]),r=JSON.parse('{"path":"/zh/guide/excel/vue.html","title":"在 Vue 中使用","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"集成步骤","slug":"集成步骤","link":"#集成步骤","children":[]},{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715299504000},"filePathRelative":"zh/guide/excel/vue.md"}');export{d as comp,r as data}; +
    `,7),c=[p];function o(i,l){return s(),a("div",null,c)}const d=n(e,[["render",o],["__file","vue.html.vue"]]),r=JSON.parse('{"path":"/zh/guide/excel/vue.html","title":"在 Vue 中使用","lang":"zh","frontmatter":{},"headers":[{"level":2,"title":"集成步骤","slug":"集成步骤","link":"#集成步骤","children":[]},{"level":2,"title":"使用方法","slug":"使用方法","link":"#使用方法","children":[]}],"git":{"updatedTime":1715300691000},"filePathRelative":"zh/guide/excel/vue.md"}');export{d as comp,r as data}; diff --git a/doc/ant-design/classes/ErrorBoundary.html b/doc/ant-design/classes/ErrorBoundary.html index fdc756c018..597ff43264 100644 --- a/doc/ant-design/classes/ErrorBoundary.html +++ b/doc/ant-design/classes/ErrorBoundary.html @@ -27,11 +27,11 @@ Class: ErrorBoundary | FaasJS - - + +

    Documents / Class: ErrorBoundary

    Class: ErrorBoundary

    Hierarchy

    • Component<ErrorBoundaryProps, { error?: Error | null ; info?: { componentStack?: string } }>

      ErrorBoundary

    Table of contents

    Constructors

    Methods

    Constructors

    constructor

    new ErrorBoundary(props)

    Parameters

    NameType
    propsErrorBoundaryProps

    Overrides

    Component<ErrorBoundaryProps, { error?: Error | null info?: { componentStack?: string } }&gt;.constructor

    Methods

    componentDidCatch

    componentDidCatch(error, info): void

    Parameters

    NameType
    errorError
    infoany

    Returns

    void

    Overrides

    Component.componentDidCatch


    render

    render(): string | number | boolean | Iterable<ReactNode> | Element

    Returns

    string | number | boolean | Iterable<ReactNode> | Element

    Overrides

    Component.render

    - + diff --git a/doc/ant-design/functions/App.html b/doc/ant-design/functions/App.html index 85ad8eb4b9..c2ca1dd878 100644 --- a/doc/ant-design/functions/App.html +++ b/doc/ant-design/functions/App.html @@ -27,8 +27,8 @@ Function: App() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Blank.html b/doc/ant-design/functions/Blank.html index b3a752d46b..aeaafd72fe 100644 --- a/doc/ant-design/functions/Blank.html +++ b/doc/ant-design/functions/Blank.html @@ -27,14 +27,14 @@ Function: Blank() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/ConfigProvider.html b/doc/ant-design/functions/ConfigProvider.html index bcb64376b8..788fa13049 100644 --- a/doc/ant-design/functions/ConfigProvider.html +++ b/doc/ant-design/functions/ConfigProvider.html @@ -27,8 +27,8 @@ Function: ConfigProvider() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Description.html b/doc/ant-design/functions/Description.html index 648636d51a..764847bf3b 100644 --- a/doc/ant-design/functions/Description.html +++ b/doc/ant-design/functions/Description.html @@ -27,8 +27,8 @@ Function: Description() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Drawer.html b/doc/ant-design/functions/Drawer.html index e620b52b2e..0c68cea2b0 100644 --- a/doc/ant-design/functions/Drawer.html +++ b/doc/ant-design/functions/Drawer.html @@ -27,11 +27,11 @@ Function: Drawer() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/ErrorBoundary.html b/doc/ant-design/functions/ErrorBoundary.html index c45ebbc7e5..205310d9e8 100644 --- a/doc/ant-design/functions/ErrorBoundary.html +++ b/doc/ant-design/functions/ErrorBoundary.html @@ -27,11 +27,11 @@ Function: ErrorBoundary() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/FaasDataWrapper.html b/doc/ant-design/functions/FaasDataWrapper.html index 852db5ac35..7e8a0987b7 100644 --- a/doc/ant-design/functions/FaasDataWrapper.html +++ b/doc/ant-design/functions/FaasDataWrapper.html @@ -27,8 +27,8 @@ Function: FaasDataWrapper() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Form.html b/doc/ant-design/functions/Form.html index 113146363d..74cd3f59ef 100644 --- a/doc/ant-design/functions/Form.html +++ b/doc/ant-design/functions/Form.html @@ -27,11 +27,11 @@ Function: Form() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/FormItem.html b/doc/ant-design/functions/FormItem.html index 7d133e1d6a..2adc491fa7 100644 --- a/doc/ant-design/functions/FormItem.html +++ b/doc/ant-design/functions/FormItem.html @@ -27,8 +27,8 @@ Function: FormItem() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Link.html b/doc/ant-design/functions/Link.html index acd2fb5637..9af989c5f9 100644 --- a/doc/ant-design/functions/Link.html +++ b/doc/ant-design/functions/Link.html @@ -27,8 +27,8 @@ Function: Link() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Loading.html b/doc/ant-design/functions/Loading.html index 85dbb4c4a8..3bb1ebf608 100644 --- a/doc/ant-design/functions/Loading.html +++ b/doc/ant-design/functions/Loading.html @@ -27,8 +27,8 @@ Function: Loading() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Modal.html b/doc/ant-design/functions/Modal.html index 599905ee00..c7cb89f366 100644 --- a/doc/ant-design/functions/Modal.html +++ b/doc/ant-design/functions/Modal.html @@ -27,11 +27,11 @@ Function: Modal() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/PageNotFound.html b/doc/ant-design/functions/PageNotFound.html index e5a7d8a3ea..d328c88954 100644 --- a/doc/ant-design/functions/PageNotFound.html +++ b/doc/ant-design/functions/PageNotFound.html @@ -27,11 +27,11 @@ Function: PageNotFound() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Routes.html b/doc/ant-design/functions/Routes.html index a5176350e2..4bf7d40666 100644 --- a/doc/ant-design/functions/Routes.html +++ b/doc/ant-design/functions/Routes.html @@ -27,8 +27,8 @@ Function: Routes() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Table.html b/doc/ant-design/functions/Table.html index bc338b6780..feb789bed3 100644 --- a/doc/ant-design/functions/Table.html +++ b/doc/ant-design/functions/Table.html @@ -27,11 +27,11 @@ Function: Table() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Tabs.html b/doc/ant-design/functions/Tabs.html index 35a179a159..7561e28e2b 100644 --- a/doc/ant-design/functions/Tabs.html +++ b/doc/ant-design/functions/Tabs.html @@ -27,8 +27,8 @@ Function: Tabs() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/Title.html b/doc/ant-design/functions/Title.html index c5010a8e7c..eee5d7a8af 100644 --- a/doc/ant-design/functions/Title.html +++ b/doc/ant-design/functions/Title.html @@ -27,8 +27,8 @@ Function: Title() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/faas.html b/doc/ant-design/functions/faas.html index 7ec29e675e..4ac4e21706 100644 --- a/doc/ant-design/functions/faas.html +++ b/doc/ant-design/functions/faas.html @@ -27,14 +27,14 @@ Function: faas() | FaasJS - - + +

    Documents / @faasjs/ant-design / faas

    Function: faas()

    faas<PathOrData>(action, params): Promise<Response<FaasData<PathOrData>>>

    Request faas server

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    params: FaasParams<PathOrData>

    {object} action params

    Returns

    Promise<Response<FaasData<PathOrData>>>

    Example

    faas<{ title: string }>('post/get', { id: 1 }).then(res => {
       console.log(res.data.title)
     })
     
    - + diff --git a/doc/ant-design/functions/transferOptions.html b/doc/ant-design/functions/transferOptions.html index 12cb25e58a..785ccf971f 100644 --- a/doc/ant-design/functions/transferOptions.html +++ b/doc/ant-design/functions/transferOptions.html @@ -27,11 +27,11 @@ Function: transferOptions() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/transferValue.html b/doc/ant-design/functions/transferValue.html index 25bd153150..ec2d66fe83 100644 --- a/doc/ant-design/functions/transferValue.html +++ b/doc/ant-design/functions/transferValue.html @@ -27,11 +27,11 @@ Function: transferValue() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/useApp.html b/doc/ant-design/functions/useApp.html index 4fc913d18a..3b510407dc 100644 --- a/doc/ant-design/functions/useApp.html +++ b/doc/ant-design/functions/useApp.html @@ -27,14 +27,14 @@ Function: useApp() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/useConfigContext.html b/doc/ant-design/functions/useConfigContext.html index de0a5a5622..d3d83ab3c3 100644 --- a/doc/ant-design/functions/useConfigContext.html +++ b/doc/ant-design/functions/useConfigContext.html @@ -27,11 +27,11 @@ Function: useConfigContext() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/useDrawer.html b/doc/ant-design/functions/useDrawer.html index c86d43f6d2..40917f435c 100644 --- a/doc/ant-design/functions/useDrawer.html +++ b/doc/ant-design/functions/useDrawer.html @@ -27,8 +27,8 @@ Function: useDrawer() | FaasJS - - + + - + diff --git a/doc/ant-design/functions/useFaas.html b/doc/ant-design/functions/useFaas.html index 640137a86f..fe1de1304d 100644 --- a/doc/ant-design/functions/useFaas.html +++ b/doc/ant-design/functions/useFaas.html @@ -27,8 +27,8 @@ Function: useFaas() | FaasJS - - + +

    Documents / @faasjs/ant-design / useFaas

    Function: useFaas()

    useFaas<PathOrData>(action, defaultParams, options?): FaasDataInjection<FaasData<PathOrData>>

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    defaultParams: FaasParams<PathOrData>

    {object} initial action params

    options?: useFaasOptions<PathOrData>

    Returns

    FaasDataInjection<FaasData<PathOrData>>

    Example

    function Post ({ id }) {
    @@ -36,6 +36,6 @@
       return <h1>{data.title}</h1>
     }
     
    - + diff --git a/doc/ant-design/functions/useModal.html b/doc/ant-design/functions/useModal.html index 5c43468a2d..e2af2b67ef 100644 --- a/doc/ant-design/functions/useModal.html +++ b/doc/ant-design/functions/useModal.html @@ -27,8 +27,8 @@ Function: useModal() | FaasJS - - + + - + diff --git a/doc/ant-design/index.html b/doc/ant-design/index.html index 6f4cf7abbe..e9e927c050 100644 --- a/doc/ant-design/index.html +++ b/doc/ant-design/index.html @@ -27,8 +27,8 @@ @faasjs/ant-design | FaasJS - - + +
    - + diff --git a/doc/ant-design/interfaces/AppProps.html b/doc/ant-design/interfaces/AppProps.html index 1bac56249a..15b1558924 100644 --- a/doc/ant-design/interfaces/AppProps.html +++ b/doc/ant-design/interfaces/AppProps.html @@ -27,11 +27,11 @@ Interface: AppProps | FaasJS - - + +

    Documents / @faasjs/ant-design / AppProps

    Interface: AppProps

    Properties

    browserRouterProps?

    optional browserRouterProps: BrowserRouterProps

    https://reactrouter.com/en/router-components/browser-router

    children

    children: ReactNode

    configProviderProps?

    optional configProviderProps: ConfigProviderProps

    https://ant.design/components/config-provider/#API

    errorBoundaryProps?

    optional errorBoundaryProps: Omit<ErrorBoundaryProps, "children">

    https://faasjs.com/doc/ant-design/#errorboundary

    faasConfigProviderProps?

    optional faasConfigProviderProps: Omit<ConfigProviderProps, "children">

    https://faasjs.com/doc/ant-design/#configprovider

    styleProviderProps?

    optional styleProviderProps: StyleProviderProps

    https://ant.design/docs/react/compatible-style#styleprovider

    - + diff --git a/doc/ant-design/interfaces/BaseItemProps.html b/doc/ant-design/interfaces/BaseItemProps.html index 878a45e23b..3e8a16d0ed 100644 --- a/doc/ant-design/interfaces/BaseItemProps.html +++ b/doc/ant-design/interfaces/BaseItemProps.html @@ -27,11 +27,11 @@ Interface: BaseItemProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/BlankProps.html b/doc/ant-design/interfaces/BlankProps.html index 81b8f56048..f9cdbaa075 100644 --- a/doc/ant-design/interfaces/BlankProps.html +++ b/doc/ant-design/interfaces/BlankProps.html @@ -27,11 +27,11 @@ Interface: BlankProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/ConfigProviderProps.html b/doc/ant-design/interfaces/ConfigProviderProps.html index d1f1e0d0ee..a0318e450d 100644 --- a/doc/ant-design/interfaces/ConfigProviderProps.html +++ b/doc/ant-design/interfaces/ConfigProviderProps.html @@ -27,11 +27,11 @@ Interface: ConfigProviderProps | FaasJS - - + +

    Documents / @faasjs/ant-design / ConfigProviderProps

    Interface: ConfigProviderProps

    Properties

    children

    children: ReactNode

    faasClientOptions?

    optional faasClientOptions: FaasReactClientOptions

    theme?

    optional theme: Object

    Blank?

    optional Blank: Object

    Blank.text?

    optional text: string

    Form?

    optional Form: Object

    Form.submit?

    optional submit: Object

    Form.submit.text?

    optional text: string

    optional Link: Object

    optional style: CSSProperties

    optional target: string

    '_blank' as default

    Title?

    optional Title: Object

    Title.separator?

    optional separator: string

    ' - ' as default

    Title.suffix?

    optional suffix: string

    common?

    optional common: Object

    common.add?

    optional add: string

    common.all?

    optional all: string

    common.blank?

    optional blank: string

    common.delete?

    optional delete: string

    common.pageNotFound?

    optional pageNotFound: string

    common.required?

    optional required: string

    common.reset?

    optional reset: string

    optional search: string

    common.submit?

    optional submit: string

    lang?

    optional lang: string

    - + diff --git a/doc/ant-design/interfaces/DescriptionItemContentProps.html b/doc/ant-design/interfaces/DescriptionItemContentProps.html index 996be8565e..17c8afe993 100644 --- a/doc/ant-design/interfaces/DescriptionItemContentProps.html +++ b/doc/ant-design/interfaces/DescriptionItemContentProps.html @@ -27,11 +27,11 @@ Interface: DescriptionItemContentProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/DescriptionItemProps.html b/doc/ant-design/interfaces/DescriptionItemProps.html index 350e1dfc72..28ee1d8413 100644 --- a/doc/ant-design/interfaces/DescriptionItemProps.html +++ b/doc/ant-design/interfaces/DescriptionItemProps.html @@ -27,12 +27,12 @@ Interface: DescriptionItemProps<T> | FaasJS - - + +

    Documents / @faasjs/ant-design / DescriptionItemProps

    Interface: DescriptionItemProps<T>

    Extends

    Type parameters

    T = any

    Properties

    children?

    optional children: UnionFaasItemElement<T>

    descriptionChildren?

    optional descriptionChildren: UnionFaasItemElement<T>

    descriptionRender?

    optional descriptionRender: UnionFaasItemRender<T>

    id

    id: string

    Inherited from

    FaasItemProps.id

    if()?

    optional if: (values) => boolean

    Parameters

    values: Record<string, any>

    Returns

    boolean

    object?

    optional object: DescriptionItemProps<T>[]

    options?

    optional options: BaseOption[]

    Inherited from

    FaasItemProps.options

    render?

    optional render: UnionFaasItemRender<T>

    title?

    optional title: string

    Inherited from

    FaasItemProps.title

    type?

    optional type: FaasItemType

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    FaasItemProps.type

    - + diff --git a/doc/ant-design/interfaces/DescriptionProps.html b/doc/ant-design/interfaces/DescriptionProps.html index 87e0cab960..5f2f8fb3cb 100644 --- a/doc/ant-design/interfaces/DescriptionProps.html +++ b/doc/ant-design/interfaces/DescriptionProps.html @@ -27,11 +27,11 @@ Interface: DescriptionProps<T, ExtendItemProps> | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/DrawerProps.html b/doc/ant-design/interfaces/DrawerProps.html index 2c5de69c42..8b90ace54f 100644 --- a/doc/ant-design/interfaces/DrawerProps.html +++ b/doc/ant-design/interfaces/DrawerProps.html @@ -27,11 +27,11 @@ Interface: DrawerProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/ErrorBoundaryProps.html b/doc/ant-design/interfaces/ErrorBoundaryProps.html index 4734e9aabc..20b9712f86 100644 --- a/doc/ant-design/interfaces/ErrorBoundaryProps.html +++ b/doc/ant-design/interfaces/ErrorBoundaryProps.html @@ -27,11 +27,11 @@ Interface: ErrorBoundaryProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html b/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html index 9c64dfc783..4fc2cf05fc 100644 --- a/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html +++ b/doc/ant-design/interfaces/ExtendDescriptionTypeProps.html @@ -27,11 +27,11 @@ Interface: ExtendDescriptionTypeProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/FaasDataInjection.html b/doc/ant-design/interfaces/FaasDataInjection.html index 8097867e2a..525a0ff96f 100644 --- a/doc/ant-design/interfaces/FaasDataInjection.html +++ b/doc/ant-design/interfaces/FaasDataInjection.html @@ -27,11 +27,11 @@ Interface: FaasDataInjection<Data> | FaasJS - - + +

    Documents / Interface: FaasDataInjection<Data>

    Interface: FaasDataInjection<Data>

    Injects FaasData props.

    Type parameters

    NameType
    Dataany

    Table of contents

    Properties

    Methods

    Properties

    action

    action: any


    data

    data: Data


    error

    error: any


    loading

    loading: boolean


    params

    params: Record<string, any>


    promise

    promise: Promise<Response<Data>>


    setData

    setData: Dispatch<SetStateAction<Data>>


    setError

    setError: Dispatch<any>


    setLoading

    setLoading: Dispatch<SetStateAction<boolean>>


    setPromise

    setPromise: Dispatch<SetStateAction<Promise<Response<Data>>>>

    Methods

    reload

    reload(params?): Promise<Response<Data>>

    Parameters

    NameType
    params?Record<string, any>

    Returns

    Promise<Response<Data>>

    - + diff --git a/doc/ant-design/interfaces/FaasDataWrapperProps.html b/doc/ant-design/interfaces/FaasDataWrapperProps.html index 0840e9d8af..4dee44ea6b 100644 --- a/doc/ant-design/interfaces/FaasDataWrapperProps.html +++ b/doc/ant-design/interfaces/FaasDataWrapperProps.html @@ -27,11 +27,11 @@ Interface: FaasDataWrapperProps<T> | FaasJS - - + +

    Documents / @faasjs/ant-design / FaasDataWrapperProps

    Interface: FaasDataWrapperProps<T>

    Extends

    • FaasDataWrapperProps<T>

    Type parameters

    T = any

    Properties

    action

    action: string

    Inherited from

    OriginProps.action

    children?

    optional children: ReactElement<Partial<FaasDataInjection<any>>, string | JSXElementConstructor<any>>

    Inherited from

    OriginProps.children

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    Inherited from

    OriginProps.data

    fallback?

    optional fallback: false | Element

    Inherited from

    OriginProps.fallback

    loading?

    optional loading: Element

    loadingProps?

    optional loadingProps: LoadingProps

    params?

    optional params: FaasParams<PathOrData>

    Inherited from

    OriginProps.params

    setData?

    optional setData: Dispatch<any>

    use custom setData, should work with data

    Inherited from

    OriginProps.setData

    Methods

    onDataChange()?

    optional onDataChange(args): void

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    void

    Inherited from

    OriginProps.onDataChange

    render()?

    optional render(args): Element | Element[]

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    Element | Element[]

    Inherited from

    OriginProps.render

    - + diff --git a/doc/ant-design/interfaces/FaasItemProps.html b/doc/ant-design/interfaces/FaasItemProps.html index e4b2008662..bb919195ab 100644 --- a/doc/ant-design/interfaces/FaasItemProps.html +++ b/doc/ant-design/interfaces/FaasItemProps.html @@ -27,12 +27,12 @@ Interface: FaasItemProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/FormItemProps.html b/doc/ant-design/interfaces/FormItemProps.html index 3d0405ff50..10f848284c 100644 --- a/doc/ant-design/interfaces/FormItemProps.html +++ b/doc/ant-design/interfaces/FormItemProps.html @@ -27,12 +27,12 @@ Interface: FormItemProps<T> | FaasJS - - + +

    Documents / @faasjs/ant-design / FormItemProps

    Interface: FormItemProps<T>

    Extends

    • FaasItemProps.Omit<AntdFormItemProps<T>, "id" | "children" | "render">

    Type parameters

    T = any

    Properties

    children?

    optional children: UnionFaasItemElement<T>

    col?

    optional col: number

    disabled?

    optional disabled: boolean

    extendTypes?

    optional extendTypes: ExtendTypes

    formChildren?

    optional formChildren: UnionFaasItemElement<T>

    formRender?

    optional formRender: UnionFaasItemRender<T>

    id

    id: string

    Inherited from

    FaasItemProps.id

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    input?

    optional input: InputProps | InputNumberProps<ValueType> | SwitchProps | SelectProps<T, DefaultOptionType> | DatePickerProps

    label?

    optional label: string | false

    Overrides

    Omit.label

    maxCount?

    optional maxCount: number

    object?

    optional object: FormItemProps<any>[]

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: T

    values: any

    form: FormInstance<any>

    Returns

    void

    options?

    optional options: BaseOption[]

    Inherited from

    FaasItemProps.options

    render?

    optional render: UnionFaasItemRender<T>

    required?

    optional required: boolean

    Overrides

    Omit.required

    rules?

    optional rules: RuleObject[]

    Overrides

    Omit.rules

    title?

    optional title: string

    Inherited from

    FaasItemProps.title

    type?

    optional type: FaasItemType

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    FaasItemProps.type

    - + diff --git a/doc/ant-design/interfaces/FormProps.html b/doc/ant-design/interfaces/FormProps.html index 9c9df89990..d5a5084c47 100644 --- a/doc/ant-design/interfaces/FormProps.html +++ b/doc/ant-design/interfaces/FormProps.html @@ -27,11 +27,11 @@ Interface: FormProps<Values, ExtendItemProps> | FaasJS - - + +

    Documents / @faasjs/ant-design / FormProps

    Interface: FormProps<Values, ExtendItemProps>

    Extends

    • Omit<AntdFormProps<Values>, "onFinish" | "children" | "initialValues">

    Type parameters

    Values extends Record<string, any> = any

    ExtendItemProps = any

    Properties

    beforeItems?

    optional beforeItems: Element | Element[]

    children?

    optional children: ReactNode

    extendTypes?

    optional extendTypes: ExtendTypes

    optional footer: Element | Element[]

    initialValues?

    optional initialValues: Values

    items?

    optional items: (Element | FormItemProps<any> | ExtendItemProps)[]

    onFinish()?

    optional onFinish: (values, submit?) => Promise<any>

    Parameters

    values: Values

    submit?

    Returns

    Promise<any>

    submit?

    optional submit: false | FormSubmitProps

    Default: { text: 'Submit' }, set false to disable it

    - + diff --git a/doc/ant-design/interfaces/LinkProps.html b/doc/ant-design/interfaces/LinkProps.html index 967768eb10..bd2a2ea42e 100644 --- a/doc/ant-design/interfaces/LinkProps.html +++ b/doc/ant-design/interfaces/LinkProps.html @@ -27,11 +27,11 @@ Interface: LinkProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/ModalProps.html b/doc/ant-design/interfaces/ModalProps.html index f0db87de17..4d7884f44d 100644 --- a/doc/ant-design/interfaces/ModalProps.html +++ b/doc/ant-design/interfaces/ModalProps.html @@ -27,11 +27,11 @@ Interface: ModalProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/RoutesProps.html b/doc/ant-design/interfaces/RoutesProps.html index 3496ebeb34..1b8a718fb2 100644 --- a/doc/ant-design/interfaces/RoutesProps.html +++ b/doc/ant-design/interfaces/RoutesProps.html @@ -27,11 +27,11 @@ Interface: RoutesProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/TabProps.html b/doc/ant-design/interfaces/TabProps.html index 63ad76512a..56a9037f87 100644 --- a/doc/ant-design/interfaces/TabProps.html +++ b/doc/ant-design/interfaces/TabProps.html @@ -27,11 +27,11 @@ Interface: TabProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/TableItemProps.html b/doc/ant-design/interfaces/TableItemProps.html index e38c83bfb4..b588e3ad8a 100644 --- a/doc/ant-design/interfaces/TableItemProps.html +++ b/doc/ant-design/interfaces/TableItemProps.html @@ -27,12 +27,12 @@ Interface: TableItemProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/TabsProps.html b/doc/ant-design/interfaces/TabsProps.html index 3a7ecee149..54799066d9 100644 --- a/doc/ant-design/interfaces/TabsProps.html +++ b/doc/ant-design/interfaces/TabsProps.html @@ -27,11 +27,11 @@ Interface: TabsProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/TitleProps.html b/doc/ant-design/interfaces/TitleProps.html index 9ea981021d..bcaf2ea675 100644 --- a/doc/ant-design/interfaces/TitleProps.html +++ b/doc/ant-design/interfaces/TitleProps.html @@ -27,11 +27,11 @@ Interface: TitleProps | FaasJS - - + + - + diff --git a/doc/ant-design/interfaces/UnionFaasItemProps.html b/doc/ant-design/interfaces/UnionFaasItemProps.html index e76cf11415..963f54d525 100644 --- a/doc/ant-design/interfaces/UnionFaasItemProps.html +++ b/doc/ant-design/interfaces/UnionFaasItemProps.html @@ -27,12 +27,12 @@ Interface: UnionFaasItemProps<Value, Values> | FaasJS - - + +

    Documents / @faasjs/ant-design / UnionFaasItemProps

    Interface: UnionFaasItemProps<Value, Values>

    Extends

    Type parameters

    Value = any

    Values = any

    Properties

    children?

    optional children: ReactElement<UnionFaasItemInjection<UnionFaasItemProps<Value, Values>, any>, string | JSXElementConstructor<any>>

    Overrides

    TableItemProps.children

    col?

    optional col: number

    Inherited from

    FormItemProps.col

    descriptionChildren?

    optional descriptionChildren: UnionFaasItemElement<any>

    Inherited from

    DescriptionItemProps.descriptionChildren

    descriptionRender?

    optional descriptionRender: UnionFaasItemRender<any>

    Inherited from

    DescriptionItemProps.descriptionRender

    disabled?

    optional disabled: boolean

    Inherited from

    FormItemProps.disabled

    extendTypes?

    optional extendTypes: ExtendTypes

    Inherited from

    FormItemProps.extendTypes

    formChildren?

    optional formChildren: UnionFaasItemElement<any>

    Inherited from

    FormItemProps.formChildren

    formRender?

    optional formRender: UnionFaasItemRender<any>

    Inherited from

    FormItemProps.formRender

    id

    id: string

    Inherited from

    TableItemProps.id

    if()?

    optional if: (values) => boolean

    trigger when any item's value changed

    Parameters

    values: Record<string, any>

    Returns

    boolean

    Inherited from

    DescriptionItemProps.if

    input?

    optional input: SelectProps<any, DefaultOptionType> | InputProps | InputNumberProps<ValueType> | SwitchProps | DatePickerProps

    Inherited from

    FormItemProps.input

    label?

    optional label: string | false

    Inherited from

    FormItemProps.label

    maxCount?

    optional maxCount: number

    Inherited from

    FormItemProps.maxCount

    object?

    optional object: UnionFaasItemProps<Value, Values>[]

    Overrides

    TableItemProps.object

    onValueChange()?

    optional onValueChange: (value, values, form) => void

    trigger when current item's value changed

    Parameters

    value: any

    values: any

    form: FormInstance<any>

    Returns

    void

    Inherited from

    FormItemProps.onValueChange

    options?

    optional options: BaseOption[]

    Inherited from

    TableItemProps.options

    optionsType?

    optional optionsType: "auto"

    Inherited from

    TableItemProps.optionsType

    render?

    optional render: UnionFaasItemRender<any, any>

    Overrides

    TableItemProps.render

    required?

    optional required: boolean

    Inherited from

    FormItemProps.required

    rules?

    optional rules: RuleObject[]

    Inherited from

    FormItemProps.rules

    tableChildren?

    optional tableChildren: UnionFaasItemElement<any>

    Inherited from

    TableItemProps.tableChildren

    tableRender?

    optional tableRender: UnionFaasItemRender<any>

    Inherited from

    TableItemProps.tableRender

    title?

    optional title: string

    Inherited from

    TableItemProps.title

    type?

    optional type: FaasItemType

    Support string, string[], number, number[], boolean, date, time, object, object[]

    Default

    'string'
     

    Inherited from

    TableItemProps.type

    - + diff --git a/doc/ant-design/interfaces/useAppProps.html b/doc/ant-design/interfaces/useAppProps.html index 05f36e303c..596c707c68 100644 --- a/doc/ant-design/interfaces/useAppProps.html +++ b/doc/ant-design/interfaces/useAppProps.html @@ -27,11 +27,11 @@ Interface: useAppProps | FaasJS - - + + - + diff --git a/doc/ant-design/modules/App.html b/doc/ant-design/modules/App.html index 77a1bf1516..4775045797 100644 --- a/doc/ant-design/modules/App.html +++ b/doc/ant-design/modules/App.html @@ -27,14 +27,14 @@ Namespace: App | FaasJS - - + + - + diff --git a/doc/ant-design/modules/Form.ErrorList.html b/doc/ant-design/modules/Form.ErrorList.html index 8dafd8e631..6195f67c8e 100644 --- a/doc/ant-design/modules/Form.ErrorList.html +++ b/doc/ant-design/modules/Form.ErrorList.html @@ -27,11 +27,11 @@ Namespace: ErrorList | FaasJS - - + + - + diff --git a/doc/ant-design/modules/Form.Item.html b/doc/ant-design/modules/Form.Item.html index 1d46f95cbf..bd7126a027 100644 --- a/doc/ant-design/modules/Form.Item.html +++ b/doc/ant-design/modules/Form.Item.html @@ -27,11 +27,11 @@ Namespace: Item | FaasJS - - + + - + diff --git a/doc/ant-design/modules/Form.List.html b/doc/ant-design/modules/Form.List.html index a7c0246164..53ee4d5a5c 100644 --- a/doc/ant-design/modules/Form.List.html +++ b/doc/ant-design/modules/Form.List.html @@ -27,11 +27,11 @@ Namespace: List | FaasJS - - + + - + diff --git a/doc/ant-design/modules/Form.Provider.html b/doc/ant-design/modules/Form.Provider.html index 0e3b12a323..7bd9cbae1b 100644 --- a/doc/ant-design/modules/Form.Provider.html +++ b/doc/ant-design/modules/Form.Provider.html @@ -27,11 +27,11 @@ Namespace: Provider | FaasJS - - + + - + diff --git a/doc/ant-design/modules/Form.html b/doc/ant-design/modules/Form.html index 68c6f13f03..794b3c4cdb 100644 --- a/doc/ant-design/modules/Form.html +++ b/doc/ant-design/modules/Form.html @@ -27,8 +27,8 @@ Namespace: Form | FaasJS - - + +

    Documents / Namespace: Form

    Namespace: Form

    Table of contents

    Namespaces

    Functions

    Functions

    ErrorList

    ErrorList(props, context?): ReactNode

    Parameters

    NameType
    propsErrorListProps
    context?any

    Returns

    ReactNode


    Item

    Item<T>(props): Element

    FormItem, can be used without Form.

    // use inline type
    @@ -39,6 +39,6 @@
       <Input.Password />
     </>
     

    Type parameters

    NameType
    Tany

    Parameters

    NameType
    propsFormItemProps<T>

    Returns

    Element


    List

    List(props, context?): ReactNode

    Parameters

    NameType
    propsFormListProps
    context?any

    Returns

    ReactNode


    Provider

    Provider(props, context?): ReactNode

    Parameters

    NameType
    propsFormProviderProps
    context?any

    Returns

    ReactNode


    useForm

    useForm<Values>(form?): [FormInstance<Values>]

    Type parameters

    NameType
    Valuesany

    Parameters

    NameType
    form?FormInstance<Values>

    Returns

    [FormInstance<Values>]


    useFormInstance

    useFormInstance<Value>(): FormInstance<Value>

    Type parameters

    NameType
    Valueany

    Returns

    FormInstance<Value>


    useWatch

    useWatch<TDependencies1, TForm, TDependencies2, TDependencies3, TDependencies4>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3][TDependencies4]

    Type parameters

    NameType
    TDependencies1extends string | number | symbol
    TFormextends FormInstance<any>
    TDependencies2extends string | number | symbol
    TDependencies3extends string | number | symbol
    TDependencies4extends string | number | symbol

    Parameters

    NameType
    dependencies[TDependencies1, TDependencies2, TDependencies3, TDependencies4]
    form?TForm | WatchOptions<TForm>

    Returns

    GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3][TDependencies4]

    useWatch<TDependencies1, TForm, TDependencies2, TDependencies3>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3]

    Type parameters

    NameType
    TDependencies1extends string | number | symbol
    TFormextends FormInstance<any>
    TDependencies2extends string | number | symbol
    TDependencies3extends string | number | symbol

    Parameters

    NameType
    dependencies[TDependencies1, TDependencies2, TDependencies3]
    form?TForm | WatchOptions<TForm>

    Returns

    GetGeneric<TForm>[TDependencies1][TDependencies2][TDependencies3]

    useWatch<TDependencies1, TForm, TDependencies2>(dependencies, form?): GetGeneric<TForm>[TDependencies1][TDependencies2]

    Type parameters

    NameType
    TDependencies1extends string | number | symbol
    TFormextends FormInstance<any>
    TDependencies2extends string | number | symbol

    Parameters

    NameType
    dependencies[TDependencies1, TDependencies2]
    form?TForm | WatchOptions<TForm>

    Returns

    GetGeneric<TForm>[TDependencies1][TDependencies2]

    useWatch<TDependencies, TForm>(dependencies, form?): GetGeneric<TForm>[TDependencies]

    Type parameters

    NameType
    TDependenciesextends string | number | symbol
    TFormextends FormInstance<any>

    Parameters

    NameType
    dependenciesTDependencies | [TDependencies]
    form?TForm | WatchOptions<TForm>

    Returns

    GetGeneric<TForm>[TDependencies]

    useWatch<TForm>(dependencies, form?): GetGeneric<TForm>

    Type parameters

    NameType
    TFormextends FormInstance<any>

    Parameters

    NameType
    dependencies[]
    form?TForm | WatchOptions<TForm>

    Returns

    GetGeneric<TForm>

    useWatch<TForm, TSelected>(selector, form?): TSelected

    Type parameters

    NameType
    TFormextends FormInstance<any>
    TSelectedunknown

    Parameters

    NameType
    selector(values: ReturnPromise<ReturnType<TForm["validateFields"]>>) => TSelected
    form?TForm | WatchOptions<TForm>

    Returns

    TSelected

    useWatch<ValueType, TSelected>(selector, form?): TSelected

    Type parameters

    NameType
    ValueTypeStore
    TSelectedunknown

    Parameters

    NameType
    selector(values: ValueType) => TSelected
    form?FormInstance<any> | WatchOptions<FormInstance<any>>

    Returns

    TSelected

    useWatch<TForm>(dependencies, form?): any

    Type parameters

    NameType
    TFormextends FormInstance<any>

    Parameters

    NameType
    dependenciesany
    form?TForm | WatchOptions<TForm>

    Returns

    any

    useWatch<ValueType>(dependencies, form?): ValueType

    Type parameters

    NameType
    ValueTypeStore

    Parameters

    NameType
    dependenciesany
    form?FormInstance<any> | WatchOptions<FormInstance<any>>

    Returns

    ValueType

    - + diff --git a/doc/ant-design/modules/FormItem.html b/doc/ant-design/modules/FormItem.html index d4249b5a83..28cd08b6d1 100644 --- a/doc/ant-design/modules/FormItem.html +++ b/doc/ant-design/modules/FormItem.html @@ -27,11 +27,11 @@ Namespace: FormItem | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/BaseOption.html b/doc/ant-design/type-aliases/BaseOption.html index b9539970e2..87f0765a7c 100644 --- a/doc/ant-design/type-aliases/BaseOption.html +++ b/doc/ant-design/type-aliases/BaseOption.html @@ -27,11 +27,11 @@ Type alias: BaseOption | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html b/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html index eda2663208..20e7012e74 100644 --- a/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html +++ b/doc/ant-design/type-aliases/ExtendDescriptionItemProps.html @@ -27,11 +27,11 @@ Type alias: ExtendDescriptionItemProps | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendFormItemProps.html b/doc/ant-design/type-aliases/ExtendFormItemProps.html index 763e6cd087..93b6dfc696 100644 --- a/doc/ant-design/type-aliases/ExtendFormItemProps.html +++ b/doc/ant-design/type-aliases/ExtendFormItemProps.html @@ -27,11 +27,11 @@ Type alias: ExtendFormItemProps | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendFormTypeProps.html b/doc/ant-design/type-aliases/ExtendFormTypeProps.html index 123813a9bc..f3abc18f25 100644 --- a/doc/ant-design/type-aliases/ExtendFormTypeProps.html +++ b/doc/ant-design/type-aliases/ExtendFormTypeProps.html @@ -27,11 +27,11 @@ Type alias: ExtendFormTypeProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendTableItemProps.html b/doc/ant-design/type-aliases/ExtendTableItemProps.html index f48dbf92c2..7804ef5d59 100644 --- a/doc/ant-design/type-aliases/ExtendTableItemProps.html +++ b/doc/ant-design/type-aliases/ExtendTableItemProps.html @@ -27,11 +27,11 @@ Type alias: ExtendTableItemProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendTableTypeProps.html b/doc/ant-design/type-aliases/ExtendTableTypeProps.html index 1513959238..5722ef6fb6 100644 --- a/doc/ant-design/type-aliases/ExtendTableTypeProps.html +++ b/doc/ant-design/type-aliases/ExtendTableTypeProps.html @@ -27,11 +27,11 @@ Type alias: ExtendTableTypeProps<T> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/ExtendTypes.html b/doc/ant-design/type-aliases/ExtendTypes.html index 8ab64939dc..449577e6d8 100644 --- a/doc/ant-design/type-aliases/ExtendTypes.html +++ b/doc/ant-design/type-aliases/ExtendTypes.html @@ -27,11 +27,11 @@ Type alias: ExtendTypes | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/FaasDataInjection.html b/doc/ant-design/type-aliases/FaasDataInjection.html index 2b7087e5f7..ca83ff42df 100644 --- a/doc/ant-design/type-aliases/FaasDataInjection.html +++ b/doc/ant-design/type-aliases/FaasDataInjection.html @@ -27,11 +27,11 @@ Type alias: FaasDataInjection<T> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/FaasItemType.html b/doc/ant-design/type-aliases/FaasItemType.html index 5f9c4ee40a..1d4b850536 100644 --- a/doc/ant-design/type-aliases/FaasItemType.html +++ b/doc/ant-design/type-aliases/FaasItemType.html @@ -27,11 +27,11 @@ Type alias: FaasItemType | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/FaasItemTypeValue.html b/doc/ant-design/type-aliases/FaasItemTypeValue.html index c0aef17002..f2c5fdd6c7 100644 --- a/doc/ant-design/type-aliases/FaasItemTypeValue.html +++ b/doc/ant-design/type-aliases/FaasItemTypeValue.html @@ -27,11 +27,11 @@ Type alias: FaasItemTypeValue | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/FormSubmitProps.html b/doc/ant-design/type-aliases/FormSubmitProps.html index 17a9c764c0..79b2b1c541 100644 --- a/doc/ant-design/type-aliases/FormSubmitProps.html +++ b/doc/ant-design/type-aliases/FormSubmitProps.html @@ -27,8 +27,8 @@ Type alias: FormSubmitProps | FaasJS - - + +

    Documents / @faasjs/ant-design / FormSubmitProps

    Type alias: FormSubmitProps

    FormSubmitProps: Object

    Type declaration

    text?

    optional text: string

    Default: Submit

    to?

    optional to: Object

    Submit to FaasJS server.

    If use onFinish, you should call submit manually.

    {
    @@ -50,6 +50,6 @@
       }
     }
     

    to.action

    action: string

    to.catch()?

    optional catch: (error) => void

    Parameters

    error: any

    Returns

    void

    to.finally()?

    optional finally: () => void

    Returns

    void

    to.params?

    optional params: Record<string, any>

    params will overwrite form values before submit

    to.then()?

    optional then: (result) => void

    Parameters

    result: any

    Returns

    void

    - + diff --git a/doc/ant-design/type-aliases/LoadingProps.html b/doc/ant-design/type-aliases/LoadingProps.html index bdc0a495e6..0997055910 100644 --- a/doc/ant-design/type-aliases/LoadingProps.html +++ b/doc/ant-design/type-aliases/LoadingProps.html @@ -27,11 +27,11 @@ Type alias: LoadingProps | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/TableProps.html b/doc/ant-design/type-aliases/TableProps.html index a02cf489f8..8be2199fb0 100644 --- a/doc/ant-design/type-aliases/TableProps.html +++ b/doc/ant-design/type-aliases/TableProps.html @@ -27,11 +27,11 @@ Type alias: TableProps<T, ExtendTypes> | FaasJS - - + +

    Documents / @faasjs/ant-design / TableProps

    Type alias: TableProps<T, ExtendTypes>

    TableProps<T, ExtendTypes>: Object & AntdTableProps<T>

    Type declaration

    extendTypes?

    optional extendTypes: Object

    Index signature

    [key: string]: ExtendTableTypeProps

    faasData?

    optional faasData: FaasDataWrapperProps<T>

    items

    items: (TableItemProps | ExtendTypes & ExtendTableItemProps)[]

    onChange()?

    optional onChange: (pagination, filters, sorter, extra) => Object

    Parameters

    pagination: TablePaginationConfig

    filters: Record<string, FilterValue | null>

    sorter: SorterResult<T> | SorterResult<T>[]

    extra: TableCurrentDataSource<T>

    Returns

    Object

    extra

    extra: TableCurrentDataSource<T>

    filters

    filters: Record<string, FilterValue | null>

    pagination

    pagination: TablePaginationConfig

    sorter

    sorter: SorterResult<T> | SorterResult<T>[]

    Type parameters

    T = any

    ExtendTypes = any

    - + diff --git a/doc/ant-design/type-aliases/UnionFaasItemElement.html b/doc/ant-design/type-aliases/UnionFaasItemElement.html index b28c762dfd..a76fceeca6 100644 --- a/doc/ant-design/type-aliases/UnionFaasItemElement.html +++ b/doc/ant-design/type-aliases/UnionFaasItemElement.html @@ -27,11 +27,11 @@ Type alias: UnionFaasItemElement<Value, Values> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/UnionFaasItemInjection.html b/doc/ant-design/type-aliases/UnionFaasItemInjection.html index f12446c14f..483fd4b7f8 100644 --- a/doc/ant-design/type-aliases/UnionFaasItemInjection.html +++ b/doc/ant-design/type-aliases/UnionFaasItemInjection.html @@ -27,11 +27,11 @@ Type alias: UnionFaasItemInjection<Value, Values> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/UnionFaasItemRender.html b/doc/ant-design/type-aliases/UnionFaasItemRender.html index 3e54516092..1e0561588d 100644 --- a/doc/ant-design/type-aliases/UnionFaasItemRender.html +++ b/doc/ant-design/type-aliases/UnionFaasItemRender.html @@ -27,11 +27,11 @@ Type alias: UnionFaasItemRender()<Value, Values> | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/UnionScene.html b/doc/ant-design/type-aliases/UnionScene.html index ecd77ec235..dc0c3104bc 100644 --- a/doc/ant-design/type-aliases/UnionScene.html +++ b/doc/ant-design/type-aliases/UnionScene.html @@ -27,11 +27,11 @@ Type alias: UnionScene | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/setDrawerProps.html b/doc/ant-design/type-aliases/setDrawerProps.html index 0300b9de16..431781a36b 100644 --- a/doc/ant-design/type-aliases/setDrawerProps.html +++ b/doc/ant-design/type-aliases/setDrawerProps.html @@ -27,11 +27,11 @@ Type alias: setDrawerProps() | FaasJS - - + + - + diff --git a/doc/ant-design/type-aliases/setModalProps.html b/doc/ant-design/type-aliases/setModalProps.html index d6ba33647d..744a0d82ab 100644 --- a/doc/ant-design/type-aliases/setModalProps.html +++ b/doc/ant-design/type-aliases/setModalProps.html @@ -27,11 +27,11 @@ Type alias: setModalProps() | FaasJS - - + + - + diff --git a/doc/ant-design/variables/ConfigContext.html b/doc/ant-design/variables/ConfigContext.html index 6982b56258..e66ecb5c4f 100644 --- a/doc/ant-design/variables/ConfigContext.html +++ b/doc/ant-design/variables/ConfigContext.html @@ -27,11 +27,11 @@ Variable: ConfigContext | FaasJS - - + + - + diff --git a/doc/browser/classes/FaasBrowserClient.html b/doc/browser/classes/FaasBrowserClient.html index f88a9eaa37..0fdf851dc0 100644 --- a/doc/browser/classes/FaasBrowserClient.html +++ b/doc/browser/classes/FaasBrowserClient.html @@ -27,8 +27,8 @@ Class: FaasBrowserClient | FaasJS - - + +

    Documents / @faasjs/browser / FaasBrowserClient

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
    @@ -36,6 +36,6 @@
     await client.action('func', { key: 'value' })
     

    Constructors

    new FaasBrowserClient(baseUrl, options)

    new FaasBrowserClient(baseUrl, options?): FaasBrowserClient

    Parameters

    baseUrl: string

    options?: Options

    Returns

    FaasBrowserClient

    Properties

    defaultOptions

    defaultOptions: Options

    host

    host: string

    id

    readonly id: string

    Methods

    action()

    action<PathOrData>(action, params?, options?): Promise<Response<FaasData<PathOrData>>>

    Request a FaasJS function

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    function path

    params?: FaasParams<PathOrData>

    function params

    options?: Options

    request options

    await client.action('func', { key: 'value' })
     

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/browser/classes/Response.html b/doc/browser/classes/Response.html index f19ae1a6de..0f23d95b4b 100644 --- a/doc/browser/classes/Response.html +++ b/doc/browser/classes/Response.html @@ -27,8 +27,8 @@ Class: Response<T> | FaasJS - - + + - + diff --git a/doc/browser/classes/ResponseError.html b/doc/browser/classes/ResponseError.html index 8962514581..b1b9d3c63e 100644 --- a/doc/browser/classes/ResponseError.html +++ b/doc/browser/classes/ResponseError.html @@ -27,8 +27,8 @@ Class: ResponseError | FaasJS - - + + - + diff --git a/doc/browser/functions/generateId.html b/doc/browser/functions/generateId.html index 3ff92ec9b3..0e1fc4fc3a 100644 --- a/doc/browser/functions/generateId.html +++ b/doc/browser/functions/generateId.html @@ -27,11 +27,11 @@ Function: generateId() | FaasJS - - + + - + diff --git a/doc/browser/functions/setMock.html b/doc/browser/functions/setMock.html index 7cf609a8c5..638a2093f0 100644 --- a/doc/browser/functions/setMock.html +++ b/doc/browser/functions/setMock.html @@ -27,8 +27,8 @@ Function: setMock() | FaasJS - - + + - + diff --git a/doc/browser/index.html b/doc/browser/index.html index e49e66c7df..ad91801e10 100644 --- a/doc/browser/index.html +++ b/doc/browser/index.html @@ -27,8 +27,8 @@ @faasjs/browser | FaasJS - - + + - + diff --git a/doc/browser/type-aliases/FaasBrowserClientAction.html b/doc/browser/type-aliases/FaasBrowserClientAction.html index 2c5a6a50da..2144b9832b 100644 --- a/doc/browser/type-aliases/FaasBrowserClientAction.html +++ b/doc/browser/type-aliases/FaasBrowserClientAction.html @@ -27,11 +27,11 @@ Type alias: FaasBrowserClientAction() | FaasJS - - + + - + diff --git a/doc/browser/type-aliases/MockHandler.html b/doc/browser/type-aliases/MockHandler.html index 3f2f55d661..5ca5adf6c8 100644 --- a/doc/browser/type-aliases/MockHandler.html +++ b/doc/browser/type-aliases/MockHandler.html @@ -27,11 +27,11 @@ Type alias: MockHandler() | FaasJS - - + + - + diff --git a/doc/browser/type-aliases/Options.html b/doc/browser/type-aliases/Options.html index 3e7a2a42a6..b541a2f9a2 100644 --- a/doc/browser/type-aliases/Options.html +++ b/doc/browser/type-aliases/Options.html @@ -27,11 +27,11 @@ Type alias: Options | FaasJS - - + +

    Documents / @faasjs/browser / Options

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    { action, params, options, headers, }.options: Options

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    optional request: <PathOrData>(url, options) => Promise<Response<FaasData<PathOrData>>>

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    options: Options

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/browser/type-aliases/ResponseHeaders.html b/doc/browser/type-aliases/ResponseHeaders.html index d95bf64abb..89a63cefde 100644 --- a/doc/browser/type-aliases/ResponseHeaders.html +++ b/doc/browser/type-aliases/ResponseHeaders.html @@ -27,11 +27,11 @@ Type alias: ResponseHeaders | FaasJS - - + + - + diff --git a/doc/cli/index.html b/doc/cli/index.html index 643e244fd5..1466a4c921 100644 --- a/doc/cli/index.html +++ b/doc/cli/index.html @@ -27,8 +27,8 @@ @faasjs/cli | FaasJS - - + + - + diff --git a/doc/cloud_function/classes/CloudFunction.html b/doc/cloud_function/classes/CloudFunction.html index d4c40c7c6a..842ab4d6f4 100644 --- a/doc/cloud_function/classes/CloudFunction.html +++ b/doc/cloud_function/classes/CloudFunction.html @@ -27,11 +27,11 @@ Class: CloudFunction | FaasJS - - + +

    Documents / @faasjs/cloud_function / CloudFunction

    Class: CloudFunction

    Implements

    • Plugin

    Constructors

    new CloudFunction(config)

    new CloudFunction(config?): CloudFunction

    创建云函数配置

    Parameters

    config?: CloudFunctionConfig

    {object} 配置项,这些配置将强制覆盖默认配置

    Returns

    CloudFunction

    Properties

    config

    config: Object

    Index signature

    [key: string]: any

    memorySize?

    optional memorySize: number

    name?

    optional name: string

    timeout?

    optional timeout: number

    triggers?

    optional triggers: Object[]

    context

    context: any

    event

    event: any

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    invoke()

    invoke<TData>(name, data?, options?): Promise<void>

    异步触发云函数

    Type parameters

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<void>

    invokeSync()

    invokeSync<TResult, TData>(name, data?, options?): Promise<TResult>

    同步调用云函数

    Type parameters

    TResult = any

    TData = any

    Parameters

    name: string

    {string} 云函数文件名或云函数名

    data?: TData

    {any} 参数

    options?: Record<string, any>

    {object} 额外配置项

    Returns

    Promise<TResult>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    - + diff --git a/doc/cloud_function/functions/invoke.html b/doc/cloud_function/functions/invoke.html index 811155b41d..6a2dc940e3 100644 --- a/doc/cloud_function/functions/invoke.html +++ b/doc/cloud_function/functions/invoke.html @@ -27,11 +27,11 @@ Function: invoke() | FaasJS - - + + - + diff --git a/doc/cloud_function/functions/invokeSync.html b/doc/cloud_function/functions/invokeSync.html index 578d8294fd..7d489998a7 100644 --- a/doc/cloud_function/functions/invokeSync.html +++ b/doc/cloud_function/functions/invokeSync.html @@ -27,11 +27,11 @@ Function: invokeSync() | FaasJS - - + + - + diff --git a/doc/cloud_function/functions/useCloudFunction.html b/doc/cloud_function/functions/useCloudFunction.html index b242aa6d98..177a0252c0 100644 --- a/doc/cloud_function/functions/useCloudFunction.html +++ b/doc/cloud_function/functions/useCloudFunction.html @@ -27,11 +27,11 @@ Function: useCloudFunction() | FaasJS - - + + - + diff --git a/doc/cloud_function/index.html b/doc/cloud_function/index.html index 28fd71fe98..12f73845a4 100644 --- a/doc/cloud_function/index.html +++ b/doc/cloud_function/index.html @@ -27,12 +27,12 @@ @faasjs/cloud_function | FaasJS - - + + - + diff --git a/doc/cloud_function/type-aliases/CloudFunctionAdapter.html b/doc/cloud_function/type-aliases/CloudFunctionAdapter.html index 59aca6da96..1f14bda7be 100644 --- a/doc/cloud_function/type-aliases/CloudFunctionAdapter.html +++ b/doc/cloud_function/type-aliases/CloudFunctionAdapter.html @@ -27,11 +27,11 @@ Type alias: CloudFunctionAdapter | FaasJS - - + + - + diff --git a/doc/cloud_function/type-aliases/CloudFunctionConfig.html b/doc/cloud_function/type-aliases/CloudFunctionConfig.html index a45c4f591e..77441fbc44 100644 --- a/doc/cloud_function/type-aliases/CloudFunctionConfig.html +++ b/doc/cloud_function/type-aliases/CloudFunctionConfig.html @@ -27,11 +27,11 @@ Type alias: CloudFunctionConfig | FaasJS - - + +

    Documents / @faasjs/cloud_function / CloudFunctionConfig

    Type alias: CloudFunctionConfig

    CloudFunctionConfig: Object

    云函数配置项

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    配置项

    Index signature

    [key: string]: any

    config.memorySize?

    optional memorySize: 64 | 128 | 256 | 384 | 512 | 640 | 768 | 896 | 1024 | number

    内存大小,单位为MB,默认 64

    config.name?

    optional name: string

    配置名称

    config.provisionedConcurrent?

    optional provisionedConcurrent: Object

    预制并发配置

    config.provisionedConcurrent.executions

    executions: number

    预制并发数量

    config.timeout?

    optional timeout: number

    执行超时时间,单位为秒,默认 30

    config.triggers?

    optional triggers: Object[]

    触发器配置

    name?

    optional name: string

    插件名称

    validator?

    optional validator: Object

    validator.event?

    optional event: ValidatorConfig

    - + diff --git a/doc/create-faas-app/index.html b/doc/create-faas-app/index.html index 8eb5d51fef..ec4c1f8fdc 100644 --- a/doc/create-faas-app/index.html +++ b/doc/create-faas-app/index.html @@ -27,8 +27,8 @@ create-faas-app | FaasJS - - + + - + diff --git a/doc/deep_merge/functions/deepMerge.html b/doc/deep_merge/functions/deepMerge.html index 6485743183..ec159cb71e 100644 --- a/doc/deep_merge/functions/deepMerge.html +++ b/doc/deep_merge/functions/deepMerge.html @@ -27,13 +27,13 @@ Function: deepMerge() | FaasJS - - + +

    Documents / @faasjs/deep_merge / deepMerge

    Function: deepMerge()

    deepMerge(...sources): any

    Deep merge two objects or arrays.

    Features:

    • All objects will be cloned before merging.
    • Merging order is from right to left.
    • If an array include same objects, it will be unique to one.
    deepMerge({ a: 1 }, { a: 2 }) // { a: 2 }
     deepMerge([1, 2], [2, 3]) // [1, 2, 3]
     

    Parameters

    • ...sources: any[]

    Returns

    any

    - + diff --git a/doc/deep_merge/index.html b/doc/deep_merge/index.html index d241819263..e512c2d34d 100644 --- a/doc/deep_merge/index.html +++ b/doc/deep_merge/index.html @@ -27,12 +27,12 @@ @faasjs/deep_merge | FaasJS - - + + - + diff --git a/doc/deployer/classes/Deployer.html b/doc/deployer/classes/Deployer.html index 05ac345fcb..4fb6dad750 100644 --- a/doc/deployer/classes/Deployer.html +++ b/doc/deployer/classes/Deployer.html @@ -27,11 +27,11 @@ Class: Deployer | FaasJS - - + + - + diff --git a/doc/deployer/index.html b/doc/deployer/index.html index 1fc527c0ce..ff45c0ba79 100644 --- a/doc/deployer/index.html +++ b/doc/deployer/index.html @@ -27,12 +27,12 @@ @faasjs/deployer | FaasJS - - + + - + diff --git a/doc/faasjs/index.html b/doc/faasjs/index.html index a20af6513e..640fe19bfd 100644 --- a/doc/faasjs/index.html +++ b/doc/faasjs/index.html @@ -27,11 +27,11 @@ FaasJS | FaasJS - - + + - + diff --git a/doc/func/classes/Func.html b/doc/func/classes/Func.html index cfa4ab2322..5334c2938f 100644 --- a/doc/func/classes/Func.html +++ b/doc/func/classes/Func.html @@ -27,11 +27,11 @@ Class: Func<TEvent, TContext, TResult> | FaasJS - - + +

    Documents / @faasjs/func / Func

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    new Func<TEvent, TContext, TResult>(config): Func<TEvent, TContext, TResult>

    Create a cloud function

    Parameters

    config: FuncConfig<TEvent, TContext, any>

    {object} config

    Returns

    Func<TEvent, TContext, TResult>

    Properties

    config

    config: Config

    filename?

    optional filename: string

    handler?

    optional handler: Handler<TEvent, TContext, TResult>

    mounted

    mounted: boolean

    plugins

    plugins: Plugin[]

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    data: DeployData

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler

    handler: ExportedHandler<TEvent, TContext, TResult>

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    data: InvokeData<TEvent, TContext, TResult>

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    data.config?: Config

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    - + diff --git a/doc/func/functions/useFunc.html b/doc/func/functions/useFunc.html index 71abf52bef..145e81a41c 100644 --- a/doc/func/functions/useFunc.html +++ b/doc/func/functions/useFunc.html @@ -27,8 +27,8 @@ Function: useFunc() | FaasJS - - + + - + diff --git a/doc/func/functions/usePlugin.html b/doc/func/functions/usePlugin.html index 4b487cb71a..465db10471 100644 --- a/doc/func/functions/usePlugin.html +++ b/doc/func/functions/usePlugin.html @@ -27,11 +27,11 @@ Function: usePlugin() | FaasJS - - + + - + diff --git a/doc/func/index.html b/doc/func/index.html index 264fcb914b..585aaafc05 100644 --- a/doc/func/index.html +++ b/doc/func/index.html @@ -27,12 +27,12 @@ @faasjs/func | FaasJS - - + + - + diff --git a/doc/func/type-aliases/Config.html b/doc/func/type-aliases/Config.html index 981fe3f1ff..a08f7f5f7d 100644 --- a/doc/func/type-aliases/Config.html +++ b/doc/func/type-aliases/Config.html @@ -27,11 +27,11 @@ Type alias: Config | FaasJS - - + + - + diff --git a/doc/func/type-aliases/DeployData.html b/doc/func/type-aliases/DeployData.html index 9baa6e661d..e1d7ce5376 100644 --- a/doc/func/type-aliases/DeployData.html +++ b/doc/func/type-aliases/DeployData.html @@ -27,11 +27,11 @@ Type alias: DeployData | FaasJS - - + + - + diff --git a/doc/func/type-aliases/ExportedHandler.html b/doc/func/type-aliases/ExportedHandler.html index be17d16a49..93823fe6a5 100644 --- a/doc/func/type-aliases/ExportedHandler.html +++ b/doc/func/type-aliases/ExportedHandler.html @@ -27,11 +27,11 @@ Type alias: ExportedHandler()<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/FuncConfig.html b/doc/func/type-aliases/FuncConfig.html index e2d69e2387..139490e775 100644 --- a/doc/func/type-aliases/FuncConfig.html +++ b/doc/func/type-aliases/FuncConfig.html @@ -27,11 +27,11 @@ Type alias: FuncConfig<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/FuncEventType.html b/doc/func/type-aliases/FuncEventType.html index 268f840b32..15a757379a 100644 --- a/doc/func/type-aliases/FuncEventType.html +++ b/doc/func/type-aliases/FuncEventType.html @@ -27,8 +27,8 @@ Type alias: FuncEventType<T> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/FuncReturnType.html b/doc/func/type-aliases/FuncReturnType.html index b03de3b549..0fb5d60458 100644 --- a/doc/func/type-aliases/FuncReturnType.html +++ b/doc/func/type-aliases/FuncReturnType.html @@ -27,8 +27,8 @@ Type alias: FuncReturnType<T> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/Handler.html b/doc/func/type-aliases/Handler.html index d68b2ccf8d..552f8b6f6c 100644 --- a/doc/func/type-aliases/Handler.html +++ b/doc/func/type-aliases/Handler.html @@ -27,11 +27,11 @@ Type alias: Handler()<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/InvokeData.html b/doc/func/type-aliases/InvokeData.html index b036ab5520..c61bdd89c3 100644 --- a/doc/func/type-aliases/InvokeData.html +++ b/doc/func/type-aliases/InvokeData.html @@ -27,11 +27,11 @@ Type alias: InvokeData<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/func/type-aliases/LifeCycleKey.html b/doc/func/type-aliases/LifeCycleKey.html index 9e598a7d4a..a2216c6e5d 100644 --- a/doc/func/type-aliases/LifeCycleKey.html +++ b/doc/func/type-aliases/LifeCycleKey.html @@ -27,11 +27,11 @@ Type alias: LifeCycleKey | FaasJS - - + + - + diff --git a/doc/func/type-aliases/MountData.html b/doc/func/type-aliases/MountData.html index 392cef9c78..3ef3be10e3 100644 --- a/doc/func/type-aliases/MountData.html +++ b/doc/func/type-aliases/MountData.html @@ -27,11 +27,11 @@ Type alias: MountData | FaasJS - - + + - + diff --git a/doc/func/type-aliases/Next.html b/doc/func/type-aliases/Next.html index eadec2f3a5..df3e2f02b3 100644 --- a/doc/func/type-aliases/Next.html +++ b/doc/func/type-aliases/Next.html @@ -27,11 +27,11 @@ Type alias: Next() | FaasJS - - + + - + diff --git a/doc/func/type-aliases/Plugin.html b/doc/func/type-aliases/Plugin.html index f4867e1ea9..99a93cd863 100644 --- a/doc/func/type-aliases/Plugin.html +++ b/doc/func/type-aliases/Plugin.html @@ -27,11 +27,11 @@ Type alias: Plugin | FaasJS - - + + - + diff --git a/doc/func/type-aliases/ProviderConfig.html b/doc/func/type-aliases/ProviderConfig.html index d04a1adb47..0a3ca5034a 100644 --- a/doc/func/type-aliases/ProviderConfig.html +++ b/doc/func/type-aliases/ProviderConfig.html @@ -27,11 +27,11 @@ Type alias: ProviderConfig | FaasJS - - + + - + diff --git a/doc/func/type-aliases/UseifyPlugin.html b/doc/func/type-aliases/UseifyPlugin.html index d0967b95b5..2ff5337665 100644 --- a/doc/func/type-aliases/UseifyPlugin.html +++ b/doc/func/type-aliases/UseifyPlugin.html @@ -27,11 +27,11 @@ Type alias: UseifyPlugin<T> | FaasJS - - + + - + diff --git a/doc/http/classes/Cookie.html b/doc/http/classes/Cookie.html index c517230e9f..9c50799e77 100644 --- a/doc/http/classes/Cookie.html +++ b/doc/http/classes/Cookie.html @@ -27,11 +27,11 @@ Class: Cookie<C, S> | FaasJS - - + +

    Documents / @faasjs/http / Cookie

    Class: Cookie<C, S>

    Type parameters

    C extends Record<string, string> = any

    S extends Record<string, string> = any

    Constructors

    new Cookie<C, S>(config, logger?): Cookie<C, S>

    Parameters

    config: CookieOptions

    logger?: Logger

    Returns

    Cookie<C, S>

    Properties

    config

    readonly config: Object

    domain?

    optional domain: string

    expires

    expires: number

    httpOnly

    httpOnly: boolean

    path

    path: string

    sameSite?

    optional sameSite: "Strict" | "Lax" | "None"

    secure

    secure: boolean

    session

    session: SessionOptions

    content

    content: Record<string, string>

    logger

    logger: Logger

    session

    session: Session<S, C>

    Methods

    headers()

    headers(): Object

    Returns

    Object

    optional Set-Cookie: string[]

    invoke()

    invoke(cookie, logger): Cookie<C, S>

    Parameters

    cookie: string

    logger: Logger

    Returns

    Cookie<C, S>

    read()

    read(key): any

    Parameters

    key: string

    Returns

    any

    write()

    write(key, value, opts?): Cookie<C, S>

    Parameters

    key: string

    value: string

    opts?

    opts.domain?: string

    opts.expires?: string | number

    opts.httpOnly?: boolean

    opts.path?: string

    opts.sameSite?: "Strict" | "Lax" | "None"

    opts.secure?: boolean

    Returns

    Cookie<C, S>

    - + diff --git a/doc/http/classes/Http.html b/doc/http/classes/Http.html index e271f7e15c..c64f999b01 100644 --- a/doc/http/classes/Http.html +++ b/doc/http/classes/Http.html @@ -27,11 +27,11 @@ Class: Http<TParams, TCookie, TSession> | FaasJS - - + +

    Documents / @faasjs/http / Http

    Class: Http<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Implements

    • Plugin

    Constructors

    new Http(config)

    new Http<TParams, TCookie, TSession>(config?): Http<TParams, TCookie, TSession>

    Parameters

    config?: HttpConfig<TParams, TCookie, TSession>

    Returns

    Http<TParams, TCookie, TSession>

    Properties

    body

    body: any

    config

    config: HttpConfig<TParams, TCookie, TSession>

    cookie: Cookie<TCookie, TSession>

    headers

    headers: Object

    Index signature

    [key: string]: string

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    params

    params: TParams

    session

    session: Session<TSession, TCookie>

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    setBody()

    setBody(body): Http<TParams, TCookie, TSession>

    set body

    Parameters

    body: string

    {*} 内容

    Returns

    Http<TParams, TCookie, TSession>

    setContentType()

    setContentType(type, charset): Http<TParams, TCookie, TSession>

    set Content-Type

    Parameters

    type: string

    {string} 类型

    charset: string= 'utf-8'

    {string} 编码

    Returns

    Http<TParams, TCookie, TSession>

    setHeader()

    setHeader(key, value): Http<TParams, TCookie, TSession>

    set header

    Parameters

    key: string

    {string} key

    value: string

    {string} value

    Returns

    Http<TParams, TCookie, TSession>

    setStatusCode()

    setStatusCode(code): Http<TParams, TCookie, TSession>

    set status code

    Parameters

    code: number

    {number} 状态码

    Returns

    Http<TParams, TCookie, TSession>

    - + diff --git a/doc/http/classes/HttpError.html b/doc/http/classes/HttpError.html index f0e627eef6..5f181755c9 100644 --- a/doc/http/classes/HttpError.html +++ b/doc/http/classes/HttpError.html @@ -27,11 +27,11 @@ Class: HttpError | FaasJS - - + + - + diff --git a/doc/http/classes/Session.html b/doc/http/classes/Session.html index bf276d4aba..5a81cea4f8 100644 --- a/doc/http/classes/Session.html +++ b/doc/http/classes/Session.html @@ -27,11 +27,11 @@ Class: Session<S, C> | FaasJS - - + +

    Documents / @faasjs/http / Session

    Class: Session<S, C>

    Type parameters

    S extends Record<string, string> = any

    C extends Record<string, string> = any

    Constructors

    new Session<S, C>(cookie, config): Session<S, C>

    Parameters

    cookie: Cookie<C, S>

    config: SessionOptions

    Returns

    Session<S, C>

    Properties

    config

    readonly config: Object

    cipherName

    cipherName: string

    digest

    digest: string

    iterations

    iterations: number

    key

    key: string

    keylen

    keylen: number

    salt

    salt: string

    secret

    secret: string

    signedSalt

    signedSalt: string

    content

    content: Record<string, string | number>

    Methods

    decode()

    decode<TData>(text): SessionContent | TData

    Type parameters

    TData = any

    Parameters

    text: string

    Returns

    SessionContent | TData

    encode()

    encode(text): string

    Parameters

    text: SessionContent

    Returns

    string

    invoke()

    invoke(cookie?, logger?): void

    Parameters

    cookie?: string

    logger?: Logger

    Returns

    void

    read()

    read(key): string | number

    Parameters

    key: string

    Returns

    string | number

    update()

    update(): Session<S, C>

    Returns

    Session<S, C>

    write()

    write(key, value?): Session<S, C>

    Parameters

    key: string

    value?: string | number

    Returns

    Session<S, C>

    - + diff --git a/doc/http/classes/Validator.html b/doc/http/classes/Validator.html index 585e2abd25..48efa4f462 100644 --- a/doc/http/classes/Validator.html +++ b/doc/http/classes/Validator.html @@ -27,11 +27,11 @@ Class: Validator<TParams, TCookie, TSession> | FaasJS - - + +

    Documents / @faasjs/http / Validator

    Class: Validator<TParams, TCookie, TSession>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Constructors

    new Validator(config)

    new Validator<TParams, TCookie, TSession>(config): Validator<TParams, TCookie, TSession>

    Parameters

    config: ValidatorConfig<TParams, TCookie, TSession>

    Returns

    Validator<TParams, TCookie, TSession>

    Properties

    before?

    optional before: BeforeOption<TParams, TCookie, TSession>

    cookieConfig?

    optional cookieConfig: ValidatorOptions<TCookie>

    paramsConfig?

    optional paramsConfig: ValidatorOptions<TParams>

    sessionConfig?

    optional sessionConfig: ValidatorOptions<TSession>

    Methods

    valid()

    valid(request, logger): Promise<void>

    Parameters

    request: Request<TParams, TCookie, TSession>

    logger: Logger

    Returns

    Promise<void>

    validContent()

    validContent(type, params, baseKey, config, logger): void

    Parameters

    type: string

    params

    baseKey: string

    config: ValidatorOptions<Record<string, any>>

    logger: Logger

    Returns

    void

    - + diff --git a/doc/http/functions/useHttp.html b/doc/http/functions/useHttp.html index 871b0372e9..0d2e8f58ea 100644 --- a/doc/http/functions/useHttp.html +++ b/doc/http/functions/useHttp.html @@ -27,11 +27,11 @@ Function: useHttp() | FaasJS - - + +

    Documents / @faasjs/http / useHttp

    Function: useHttp()

    useHttp<TParams, TCookie, TSession>(config?): UseifyPlugin<Http<TParams, TCookie, TSession>>

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Parameters

    config?: HttpConfig<TParams, TCookie, TSession>

    Returns

    UseifyPlugin<Http<TParams, TCookie, TSession>>

    - + diff --git a/doc/http/index.html b/doc/http/index.html index 0bcc5ffe40..b59b630bd3 100644 --- a/doc/http/index.html +++ b/doc/http/index.html @@ -27,12 +27,12 @@ @faasjs/http | FaasJS - - + + - + diff --git a/doc/http/type-aliases/CookieOptions.html b/doc/http/type-aliases/CookieOptions.html index 71c6288d6c..b796e5ea1a 100644 --- a/doc/http/type-aliases/CookieOptions.html +++ b/doc/http/type-aliases/CookieOptions.html @@ -27,11 +27,11 @@ Type alias: CookieOptions | FaasJS - - + + - + diff --git a/doc/http/type-aliases/HttpConfig.html b/doc/http/type-aliases/HttpConfig.html index 63aa661a8d..525be04932 100644 --- a/doc/http/type-aliases/HttpConfig.html +++ b/doc/http/type-aliases/HttpConfig.html @@ -27,11 +27,11 @@ Type alias: HttpConfig<TParams, TCookie, TSession> | FaasJS - - + +

    Documents / @faasjs/http / HttpConfig

    Type alias: HttpConfig<TParams, TCookie, TSession>

    HttpConfig<TParams, TCookie, TSession>: Object

    Type parameters

    TParams extends Record<string, any> = any

    TCookie extends Record<string, string> = any

    TSession extends Record<string, string> = any

    Index signature

    [key: string]: any

    Type declaration

    config?

    optional config: Object

    Index signature

    [key: string]: any

    optional cookie: CookieOptions

    config.functionName?

    optional functionName: string

    config.ignorePathPrefix?

    optional ignorePathPrefix: string

    config.method?

    optional method: "BEGIN" | "GET" | "POST" | "DELETE" | "HEAD" | "PUT" | "OPTIONS" | "TRACE" | "PATCH" | "ANY"

    POST as default

    config.path?

    optional path: string

    file relative path as default

    config.timeout?

    optional timeout: number

    name?

    optional name: string

    validator?

    optional validator: ValidatorConfig<TParams, TCookie, TSession>

    - + diff --git a/doc/http/type-aliases/Response.html b/doc/http/type-aliases/Response.html index 6eac1352fe..5687b93627 100644 --- a/doc/http/type-aliases/Response.html +++ b/doc/http/type-aliases/Response.html @@ -27,11 +27,11 @@ Type alias: Response | FaasJS - - + + - + diff --git a/doc/http/type-aliases/SessionOptions.html b/doc/http/type-aliases/SessionOptions.html index 2be4f65bc4..34cd1ee439 100644 --- a/doc/http/type-aliases/SessionOptions.html +++ b/doc/http/type-aliases/SessionOptions.html @@ -27,11 +27,11 @@ Type alias: SessionOptions | FaasJS - - + + - + diff --git a/doc/http/type-aliases/ValidatorConfig.html b/doc/http/type-aliases/ValidatorConfig.html index 82058e08a7..adbd0ed36a 100644 --- a/doc/http/type-aliases/ValidatorConfig.html +++ b/doc/http/type-aliases/ValidatorConfig.html @@ -27,11 +27,11 @@ Type alias: ValidatorConfig<TParams, TCookie, TSession> | FaasJS - - + + - + diff --git a/doc/http/type-aliases/ValidatorOptions.html b/doc/http/type-aliases/ValidatorOptions.html index a604e75420..44558eb91b 100644 --- a/doc/http/type-aliases/ValidatorOptions.html +++ b/doc/http/type-aliases/ValidatorOptions.html @@ -27,11 +27,11 @@ Type alias: ValidatorOptions<Content> | FaasJS - - + + - + diff --git a/doc/http/type-aliases/ValidatorRuleOptions.html b/doc/http/type-aliases/ValidatorRuleOptions.html index dc5d04fade..7c8b69dbaf 100644 --- a/doc/http/type-aliases/ValidatorRuleOptions.html +++ b/doc/http/type-aliases/ValidatorRuleOptions.html @@ -27,11 +27,11 @@ Type alias: ValidatorRuleOptions | FaasJS - - + + - + diff --git a/doc/http/variables/ContentType.html b/doc/http/variables/ContentType.html index 28a7092c53..4309e519e6 100644 --- a/doc/http/variables/ContentType.html +++ b/doc/http/variables/ContentType.html @@ -27,11 +27,11 @@ Variable: ContentType | FaasJS - - + + - + diff --git a/doc/images/bun/index.html b/doc/images/bun/index.html index bc92d42a7e..d1e0e78363 100644 --- a/doc/images/bun/index.html +++ b/doc/images/bun/index.html @@ -27,13 +27,13 @@ Bun Image for FaasJS projects | FaasJS - - + + - + diff --git a/doc/images/index.html b/doc/images/index.html index 76102f6eb3..b8dbce0444 100644 --- a/doc/images/index.html +++ b/doc/images/index.html @@ -27,8 +27,8 @@ FaasJS's Docker Images | FaasJS - - + + - + diff --git a/doc/images/nginx/index.html b/doc/images/nginx/index.html index f91d05c998..7ad61ca570 100644 --- a/doc/images/nginx/index.html +++ b/doc/images/nginx/index.html @@ -27,8 +27,8 @@ A Nginx Image for FaasJS projects | FaasJS - - + + - + diff --git a/doc/images/node/index.html b/doc/images/node/index.html index 7f0810a5eb..1244866bcf 100644 --- a/doc/images/node/index.html +++ b/doc/images/node/index.html @@ -27,13 +27,13 @@ Node Image for FaasJS projects | FaasJS - - + + - + diff --git a/doc/images/vscode/index.html b/doc/images/vscode/index.html index 2a63e5c2a1..41d2fd124c 100644 --- a/doc/images/vscode/index.html +++ b/doc/images/vscode/index.html @@ -27,8 +27,8 @@ VSCode Container Image for FaasJS projects | FaasJS - - + +

    VSCode Container Image for FaasJS projects

    faasjs/vscodeopen in new windowBuild Statusopen in new windowImage sizeopen in new window

    Features

    Before you use

    Usage

    1. Create a folder .devcontainer in your project root.
    2. Create devcontainer.json in .devcontainer folder.
    3. Copy below code into devcontainer.json:
    {
    @@ -45,6 +45,6 @@
     	}
     }
     
    1. Open your project with VSCode.
    2. Click popup window with Remote-Containers: Reopen in Container.
    - + diff --git a/doc/index.html b/doc/index.html index 25b27f0bd3..54ee5a92e1 100644 --- a/doc/index.html +++ b/doc/index.html @@ -27,11 +27,11 @@ Overview of official plugins | FaasJS - - + +
    - + diff --git a/doc/jest/index.html b/doc/jest/index.html index d5d5df4429..6180ccedae 100644 --- a/doc/jest/index.html +++ b/doc/jest/index.html @@ -27,8 +27,8 @@ @faasjs/jest | FaasJS - - + + - + diff --git a/doc/knex/classes/Knex.html b/doc/knex/classes/Knex.html index a93a284838..3c8195cfe8 100644 --- a/doc/knex/classes/Knex.html +++ b/doc/knex/classes/Knex.html @@ -27,11 +27,11 @@ Class: Knex | FaasJS - - + +

    Documents / @faasjs/knex / Knex

    Class: Knex

    Implements

    • Plugin

    Constructors

    new Knex(config)

    new Knex(config?): Knex

    Parameters

    config?: KnexConfig

    Returns

    Knex

    Properties

    adapter

    adapter: Knex<any, any[]>

    config

    config: Config<any>

    logger

    logger: Logger

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    query

    query: Knex<any, any[]>

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    raw()

    raw<TResult>(sql, bindings): Promise<Raw<TResult>>

    Type parameters

    TResult = any

    Parameters

    sql: string

    bindings: ValueDict | RawBinding[]= []

    Returns

    Promise<Raw<TResult>>

    schema()

    schema(): SchemaBuilder

    Returns

    SchemaBuilder

    transaction()

    transaction<TResult>(scope, config?, options?): Promise<TResult>

    Wraps a transaction, returning a promise that resolves to the return value of the callback.

    • Support 'commit' and 'rollback' event.

    Type parameters

    TResult = any

    Parameters

    scope

    config?: TransactionConfig

    options?

    options.trx?: Transaction<any, any[]>

    Returns

    Promise<TResult>

    - + diff --git a/doc/knex/functions/originKnex.html b/doc/knex/functions/originKnex.html index b9ff06b7b6..1c47ab6093 100644 --- a/doc/knex/functions/originKnex.html +++ b/doc/knex/functions/originKnex.html @@ -27,11 +27,11 @@ Function: originKnex() | FaasJS - - + + - + diff --git a/doc/knex/functions/query.html b/doc/knex/functions/query.html index e7a9ef20a8..3dbfcc9aaa 100644 --- a/doc/knex/functions/query.html +++ b/doc/knex/functions/query.html @@ -27,11 +27,11 @@ Function: query() | FaasJS - - + +

    Documents / @faasjs/knex / query

    Function: query()

    query(table)

    query<TName>(table): OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    Type parameters

    TName extends "test"

    Parameters

    table: TName

    Returns

    OriginKnex.QueryBuilder<OriginKnex.TableType<TName>, Object[]>

    query(table)

    query<TName, TResult>(table): OriginKnex.QueryBuilder<TName, TResult>

    Type parameters

    TName extends Object = any

    TResult = any[]

    Parameters

    table: string

    Returns

    OriginKnex.QueryBuilder<TName, TResult>

    - + diff --git a/doc/knex/functions/raw.html b/doc/knex/functions/raw.html index af97dbfe4c..3124e92475 100644 --- a/doc/knex/functions/raw.html +++ b/doc/knex/functions/raw.html @@ -27,11 +27,11 @@ Function: raw() | FaasJS - - + + - + diff --git a/doc/knex/functions/transaction.html b/doc/knex/functions/transaction.html index 30140b3a47..ccf6ca1679 100644 --- a/doc/knex/functions/transaction.html +++ b/doc/knex/functions/transaction.html @@ -27,11 +27,11 @@ Function: transaction() | FaasJS - - + + - + diff --git a/doc/knex/functions/useKnex.html b/doc/knex/functions/useKnex.html index d3128565b6..62addd6c59 100644 --- a/doc/knex/functions/useKnex.html +++ b/doc/knex/functions/useKnex.html @@ -27,11 +27,11 @@ Function: useKnex() | FaasJS - - + + - + diff --git a/doc/knex/index.html b/doc/knex/index.html index 76d1989af6..bf9372be96 100644 --- a/doc/knex/index.html +++ b/doc/knex/index.html @@ -27,12 +27,12 @@ @faasjs/knex | FaasJS - - + + - + diff --git a/doc/knex/modules/originKnex.html b/doc/knex/modules/originKnex.html index bf6b5c55fb..9bd506ffa0 100644 --- a/doc/knex/modules/originKnex.html +++ b/doc/knex/modules/originKnex.html @@ -27,11 +27,11 @@ Namespace: originKnex | FaasJS - - + + - + diff --git a/doc/knex/type-aliases/KnexConfig.html b/doc/knex/type-aliases/KnexConfig.html index a36ca56364..42a19b6d8a 100644 --- a/doc/knex/type-aliases/KnexConfig.html +++ b/doc/knex/type-aliases/KnexConfig.html @@ -27,11 +27,11 @@ Type alias: KnexConfig | FaasJS - - + + - + diff --git a/doc/load/functions/loadConfig.html b/doc/load/functions/loadConfig.html index 7cbc27294d..182b6f4a55 100644 --- a/doc/load/functions/loadConfig.html +++ b/doc/load/functions/loadConfig.html @@ -27,11 +27,11 @@ Function: loadConfig() | FaasJS - - + + - + diff --git a/doc/load/functions/loadTs.html b/doc/load/functions/loadTs.html index b3d8a8a0f0..e3755a1ef8 100644 --- a/doc/load/functions/loadTs.html +++ b/doc/load/functions/loadTs.html @@ -27,11 +27,11 @@ Function: loadTs() | FaasJS - - + +

    Documents / @faasjs/load / loadTs

    Function: loadTs()

    loadTs(filename, options): Promise<Object>

    加载 ts 文件

    Parameters

    filename: string

    {string} 完整源文件路径

    options= undefined

    {object} 配置项

    options.input?

    {object} 读取配置

    options.modules?

    {object} 生成 modules 的配置

    options.modules.additions?: string[]

    options.modules.excludes?: string[]

    options.output?

    {object} 写入配置

    options.tmp?: boolean

    {boolean} 是否为临时文件,true 则生成的文件会被删除,默认为 false

    Returns

    Promise<Object>

    dependencies

    dependencies: Object

    Index signature

    [key: string]: string

    module?

    optional module: Func

    modules?

    optional modules: Object

    Index signature

    [key: string]: string

    - + diff --git a/doc/load/index.html b/doc/load/index.html index 1382f6bb7d..8025ec07a6 100644 --- a/doc/load/index.html +++ b/doc/load/index.html @@ -27,12 +27,12 @@ @faasjs/load | FaasJS - - + + - + diff --git a/doc/logger/classes/Logger.html b/doc/logger/classes/Logger.html index 0cb2f53835..9fc470b97f 100644 --- a/doc/logger/classes/Logger.html +++ b/doc/logger/classes/Logger.html @@ -27,8 +27,8 @@ Class: Logger | FaasJS - - + +

    Documents / @faasjs/logger / Logger

    Class: Logger

    Logger Class

    Support env:

    • FaasLog: debug, info, warn, error (default: debug)
    • FaasLogSize: 1000 (default: 1000)
    • FaasLogMode: plain, pretty (default: pretty)

    Example

    const logger = new Logger()
    @@ -41,6 +41,6 @@
     logger.time('timer name')
     logger.timeEnd('timer name', 'message') // => 'message +1ms'
     

    Constructors

    new Logger(label)

    new Logger(label?): Logger

    Parameters

    label?: string

    {string} Prefix label

    Returns

    Logger

    Properties

    colorfyOutput

    colorfyOutput: boolean = true

    label?

    optional label: string

    level

    level: number = 0

    silent

    silent: boolean = false

    size

    size: number = 1000

    stderr()

    stderr: (text) => void

    Parameters

    text: string

    Returns

    void

    stdout()

    stdout: (text) => void

    Parameters

    text: string

    Returns

    void

    Methods

    colorfy()

    colorfy(color, message): string

    Parameters

    color: number

    {number} color code

    message: string

    {string} message

    Returns

    string

    debug()

    debug(message, ...args): Logger

    Parameters

    message: string

    {string} message

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    error()

    error(message, ...args): Logger

    Parameters

    message: string | Error

    {any} message or Error object

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    info()

    info(message, ...args): Logger

    Parameters

    message: string

    {string} message

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    raw()

    raw(message, ...args): Logger

    Parameters

    message: string

    {string} message

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    time()

    time(key, level): Logger

    Parameters

    key: string

    {string} timer's label

    level: Level= 'debug'

    [string=debug] 日志级别,支持 debug、info、warn、error

    Returns

    Logger

    timeEnd()

    timeEnd(key, message, ...args): Logger

    Parameters

    key: string

    {string} timer's label

    message: string

    {string} message

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    warn()

    warn(message, ...args): Logger

    Parameters

    message: string

    {string} message

    • ...args: any[]

    {...any=} arguments

    Returns

    Logger

    - + diff --git a/doc/logger/enumerations/Color.html b/doc/logger/enumerations/Color.html index e16d28d59b..d0f8200dc8 100644 --- a/doc/logger/enumerations/Color.html +++ b/doc/logger/enumerations/Color.html @@ -27,11 +27,11 @@ Enumeration: Color | FaasJS - - + + - + diff --git a/doc/logger/enums/Color.html b/doc/logger/enums/Color.html index 453ff668a4..c5eef18630 100644 --- a/doc/logger/enums/Color.html +++ b/doc/logger/enums/Color.html @@ -27,11 +27,11 @@ Enumeration: Color | FaasJS - - + + - + diff --git a/doc/logger/index.html b/doc/logger/index.html index 6017543fbd..9f763fa5cd 100644 --- a/doc/logger/index.html +++ b/doc/logger/index.html @@ -27,12 +27,12 @@ @faasjs/logger | FaasJS - - + + - + diff --git a/doc/logger/type-aliases/Level.html b/doc/logger/type-aliases/Level.html index 929b510d9a..72999b1dff 100644 --- a/doc/logger/type-aliases/Level.html +++ b/doc/logger/type-aliases/Level.html @@ -27,11 +27,11 @@ Type alias: Level | FaasJS - - + + - + diff --git a/doc/mongo/classes/Mongo.html b/doc/mongo/classes/Mongo.html index 9109990ebd..2e8475a514 100644 --- a/doc/mongo/classes/Mongo.html +++ b/doc/mongo/classes/Mongo.html @@ -27,11 +27,11 @@ Class: Mongo | FaasJS - - + +

    Documents / @faasjs/mongo / Mongo

    Class: Mongo

    Implements

    • Plugin

    Constructors

    new Mongo(config)

    new Mongo(config?): Mongo

    Parameters

    config?

    config.config?: MongoConfig

    config.name?: string

    Returns

    Mongo

    Properties

    client

    client: MongoClient

    collection()

    collection: <TSchema>(name, options?, callback?) => Collection<TSchema>

    Type parameters

    TSchema = any

    Parameters

    name: string

    options?: CollectionOptions

    callback?: Callback<Collection<TSchema>>

    Returns

    Collection<TSchema>

    config

    config: MongoConfig

    db

    db: Db

    name

    name: string

    Implementation of

    Plugin.name

    type

    type: string = 'mongo'

    Implementation of

    Plugin.type

    Methods

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    - + diff --git a/doc/mongo/index.html b/doc/mongo/index.html index 6245e9e335..78891dea6d 100644 --- a/doc/mongo/index.html +++ b/doc/mongo/index.html @@ -27,12 +27,12 @@ @faasjs/mongo | FaasJS - - + + - + diff --git a/doc/mongo/interfaces/MongoConfig.html b/doc/mongo/interfaces/MongoConfig.html index acfba78e7a..88296ba786 100644 --- a/doc/mongo/interfaces/MongoConfig.html +++ b/doc/mongo/interfaces/MongoConfig.html @@ -27,11 +27,11 @@ Interface: MongoConfig | FaasJS - - + + - + diff --git a/doc/react/classes/ErrorBoundary.html b/doc/react/classes/ErrorBoundary.html index ad05ed1a2f..89532038c1 100644 --- a/doc/react/classes/ErrorBoundary.html +++ b/doc/react/classes/ErrorBoundary.html @@ -27,11 +27,11 @@ Class: ErrorBoundary | FaasJS - - + + - + diff --git a/doc/react/classes/FaasBrowserClient.html b/doc/react/classes/FaasBrowserClient.html index e5c363bbbc..ddd66ec0b9 100644 --- a/doc/react/classes/FaasBrowserClient.html +++ b/doc/react/classes/FaasBrowserClient.html @@ -27,14 +27,14 @@ Class: FaasBrowserClient | FaasJS - - + +

    Documents / Class: FaasBrowserClient

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
     
     await client.action('func', { key: 'value' })
     

    Table of contents

    Constructors

    Properties

    Methods

    Constructors

    constructor

    new FaasBrowserClient(baseUrl, options?)

    Parameters

    NameType
    baseUrlstring
    options?Options

    Properties

    defaultOptions

    defaultOptions: Options


    host

    host: string

    Methods

    action

    action<PathOrData>(action, params?, options?): Promise<Response<FaasData<PathOrData>>>

    Request a FaasJS function

    Type parameters

    NameType
    PathOrDataextends Record<string, any>

    Parameters

    NameTypeDescription
    actionstring | PathOrDatafunction path
    params?FaasParams<PathOrData>function params
    options?Optionsrequest options ts await client.action('func', { key: 'value' })

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/react/classes/Response.html b/doc/react/classes/Response.html index 18b19a72f6..62a5e89d69 100644 --- a/doc/react/classes/Response.html +++ b/doc/react/classes/Response.html @@ -27,8 +27,8 @@ Class: Response<T> | FaasJS - - + + - + diff --git a/doc/react/classes/ResponseError.html b/doc/react/classes/ResponseError.html index 34c034829a..004da65245 100644 --- a/doc/react/classes/ResponseError.html +++ b/doc/react/classes/ResponseError.html @@ -27,8 +27,8 @@ Class: ResponseError | FaasJS - - + + - + diff --git a/doc/react/functions/FaasDataWrapper.html b/doc/react/functions/FaasDataWrapper.html index 57cba7ce56..efb796b8f0 100644 --- a/doc/react/functions/FaasDataWrapper.html +++ b/doc/react/functions/FaasDataWrapper.html @@ -27,8 +27,8 @@ Function: FaasDataWrapper() | FaasJS - - + + - + diff --git a/doc/react/functions/FaasReactClient.html b/doc/react/functions/FaasReactClient.html index 4822ee02c2..d4ee1c2ee0 100644 --- a/doc/react/functions/FaasReactClient.html +++ b/doc/react/functions/FaasReactClient.html @@ -27,14 +27,14 @@ Function: FaasReactClient() | FaasJS - - + + - + diff --git a/doc/react/functions/createSplitedContext.html b/doc/react/functions/createSplitedContext.html index e3a3754193..734616e1f1 100644 --- a/doc/react/functions/createSplitedContext.html +++ b/doc/react/functions/createSplitedContext.html @@ -27,8 +27,8 @@ Function: createSplitedContext() | FaasJS - - + +

    Documents / @faasjs/react / createSplitedContext

    Function: createSplitedContext()

    createSplitedContext<T>(defaultValue): Object

    Creates a splited context with the given default value.

    Type parameters

    T extends Record<string, any>

    The type of the default value.

    Parameters

    defaultValue: T

    The default value for the split context.

    Returns

    Object

    • An object containing the Provider and use functions.

    Provider()

    Provider: (props) => Element

    Parameters

    props

    props.children: ReactNode

    props.value: T

    Returns

    Element

    Provider.whyDidYouRender

    whyDidYouRender: boolean

    use()

    use: () => Readonly<T>

    Returns

    Readonly<T>

    use.whyDidYouRender

    whyDidYouRender: boolean

    Example

    const { Provider, use } = createSplitedContext({
    @@ -71,6 +71,6 @@
       )
     }
     
    - + diff --git a/doc/react/functions/faas.html b/doc/react/functions/faas.html index 592d35642c..a72ee755bc 100644 --- a/doc/react/functions/faas.html +++ b/doc/react/functions/faas.html @@ -27,14 +27,14 @@ Function: faas() | FaasJS - - + + - + diff --git a/doc/react/functions/getClient.html b/doc/react/functions/getClient.html index c16b4290dc..d525f12bc4 100644 --- a/doc/react/functions/getClient.html +++ b/doc/react/functions/getClient.html @@ -27,14 +27,14 @@ Function: getClient() | FaasJS - - + + - + diff --git a/doc/react/functions/signal.html b/doc/react/functions/signal.html index 55776a5c04..7c263c3aba 100644 --- a/doc/react/functions/signal.html +++ b/doc/react/functions/signal.html @@ -27,8 +27,8 @@ Function: signal() | FaasJS - - + + - + diff --git a/doc/react/functions/useConstant.html b/doc/react/functions/useConstant.html index 4bf1368498..7b52da2efc 100644 --- a/doc/react/functions/useConstant.html +++ b/doc/react/functions/useConstant.html @@ -27,11 +27,11 @@ Function: useConstant() | FaasJS - - + + - + diff --git a/doc/react/functions/useFaas.html b/doc/react/functions/useFaas.html index 5af1538548..bc85d1079f 100644 --- a/doc/react/functions/useFaas.html +++ b/doc/react/functions/useFaas.html @@ -27,8 +27,8 @@ Function: useFaas() | FaasJS - - + +

    Documents / @faasjs/react / useFaas

    Function: useFaas()

    useFaas<PathOrData>(action, defaultParams, options?): FaasDataInjection<FaasData<PathOrData>>

    Request faas server with React hook

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    {string} action name

    defaultParams: FaasParams<PathOrData>

    {object} initial action params

    options?: useFaasOptions<PathOrData>

    Returns

    FaasDataInjection<FaasData<PathOrData>>

    Example

    function Post ({ id }) {
    @@ -36,6 +36,6 @@
       return <h1>{data.title}</h1>
     }
     
    - + diff --git a/doc/react/functions/useSignalState.html b/doc/react/functions/useSignalState.html index e9e83c7d13..b732fcf76a 100644 --- a/doc/react/functions/useSignalState.html +++ b/doc/react/functions/useSignalState.html @@ -27,8 +27,8 @@ Function: useSignalState() | FaasJS - - + + - + diff --git a/doc/react/index.html b/doc/react/index.html index 7585c85fc8..4b5d88057a 100644 --- a/doc/react/index.html +++ b/doc/react/index.html @@ -27,8 +27,8 @@ @faasjs/react | FaasJS - - + +
    - + diff --git a/doc/react/interfaces/ErrorBoundaryProps.html b/doc/react/interfaces/ErrorBoundaryProps.html index add8b6fff6..c842ba1488 100644 --- a/doc/react/interfaces/ErrorBoundaryProps.html +++ b/doc/react/interfaces/ErrorBoundaryProps.html @@ -27,11 +27,11 @@ Interface: ErrorBoundaryProps | FaasJS - - + + - + diff --git a/doc/react/interfaces/FaasDataInjection.html b/doc/react/interfaces/FaasDataInjection.html index 8516a2bed7..2a6f2f1382 100644 --- a/doc/react/interfaces/FaasDataInjection.html +++ b/doc/react/interfaces/FaasDataInjection.html @@ -27,11 +27,11 @@ Interface: FaasDataInjection<Data> | FaasJS - - + + - + diff --git a/doc/react/interfaces/FaasDataWrapperProps.html b/doc/react/interfaces/FaasDataWrapperProps.html index 72229604fb..134ce64678 100644 --- a/doc/react/interfaces/FaasDataWrapperProps.html +++ b/doc/react/interfaces/FaasDataWrapperProps.html @@ -27,11 +27,11 @@ Interface: FaasDataWrapperProps<PathOrData> | FaasJS - - + +

    Documents / Interface: FaasDataWrapperProps<PathOrData>

    Interface: FaasDataWrapperProps<PathOrData>

    Type parameters

    NameType
    PathOrDataextends FaasAction

    Table of contents

    Properties

    Methods

    Properties

    action

    action: string


    children

    Optional children: ReactElement<Partial<FaasDataInjection<any>>, string | JSXElementConstructor<any>>


    data

    Optional data: FaasData<PathOrData>

    use custom data, should work with setData


    fallback

    Optional fallback: false | Element


    params

    Optional params: FaasParams<PathOrData>


    setData

    Optional setData: Dispatch<SetStateAction<FaasData<PathOrData>>>

    use custom setData, should work with data

    Methods

    onDataChange

    Optional onDataChange(args): void

    Parameters

    NameType
    argsFaasDataInjection<FaasData<PathOrData>>

    Returns

    void


    render

    Optional render(args): Element | Element[]

    Parameters

    NameType
    argsFaasDataInjection<FaasData<PathOrData>>

    Returns

    Element | Element[]

    - + diff --git a/doc/react/interfaces/FaasReactClientInstance.html b/doc/react/interfaces/FaasReactClientInstance.html index 7e9b96bacf..e17aeec8bc 100644 --- a/doc/react/interfaces/FaasReactClientInstance.html +++ b/doc/react/interfaces/FaasReactClientInstance.html @@ -27,11 +27,11 @@ Interface: FaasReactClientInstance | FaasJS - - + +

    Documents / Interface: FaasReactClientInstance

    Interface: FaasReactClientInstance

    Table of contents

    Properties

    Methods

    Properties

    faas

    faas: <PathOrData>(action: string | PathOrData, params: FaasParams<PathOrData>) => Promise<Response<FaasData<PathOrData>>>

    Type declaration

    ▸ <PathOrData>(action, params): Promise<Response<FaasData<PathOrData>>>

    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    NameType
    actionstring | PathOrData
    paramsFaasParams<PathOrData>
    Returns

    Promise<Response<FaasData<PathOrData>>>


    useFaas

    useFaas: <PathOrData>(action: string | PathOrData, defaultParams: FaasParams<PathOrData>, options?: { data?: FaasData<PathOrData> ; setData?: Dispatch<SetStateAction<FaasData<PathOrData>>> ; skip?: boolean }) => FaasDataInjection<FaasData<PathOrData>>

    Type declaration

    ▸ <PathOrData>(action, defaultParams, options?): FaasDataInjection<FaasData<PathOrData>>

    Type parameters
    NameType
    PathOrDataextends Record<string, any>
    Parameters
    NameType
    actionstring | PathOrData
    defaultParamsFaasParams<PathOrData>
    options?Object
    options.data?FaasData<PathOrData>
    options.setData?Dispatch<SetStateAction<FaasData<PathOrData>>>
    options.skip?boolean
    Returns

    FaasDataInjection<FaasData<PathOrData>>

    Methods

    FaasDataWrapper

    FaasDataWrapper<PathOrData>(props): Element

    Type parameters

    NameType
    PathOrDataextends Record<string, any>

    Parameters

    NameType
    propsFaasDataWrapperProps<PathOrData>

    Returns

    Element

    - + diff --git a/doc/react/type-aliases/ErrorChildrenProps.html b/doc/react/type-aliases/ErrorChildrenProps.html index 77141563f7..ee9ac89760 100644 --- a/doc/react/type-aliases/ErrorChildrenProps.html +++ b/doc/react/type-aliases/ErrorChildrenProps.html @@ -27,11 +27,11 @@ Type alias: ErrorChildrenProps | FaasJS - - + + - + diff --git a/doc/react/type-aliases/FaasAction.html b/doc/react/type-aliases/FaasAction.html index 89bf64156b..49093dde7d 100644 --- a/doc/react/type-aliases/FaasAction.html +++ b/doc/react/type-aliases/FaasAction.html @@ -27,11 +27,11 @@ Type alias: FaasAction | FaasJS - - + + - + diff --git a/doc/react/type-aliases/FaasData.html b/doc/react/type-aliases/FaasData.html index c0d24cacfe..1c41149fca 100644 --- a/doc/react/type-aliases/FaasData.html +++ b/doc/react/type-aliases/FaasData.html @@ -27,11 +27,11 @@ Type alias: FaasData<T> | FaasJS - - + + - + diff --git a/doc/react/type-aliases/FaasDataInjection.html b/doc/react/type-aliases/FaasDataInjection.html index d5f2d5cfae..022ac05574 100644 --- a/doc/react/type-aliases/FaasDataInjection.html +++ b/doc/react/type-aliases/FaasDataInjection.html @@ -27,11 +27,11 @@ Type alias: FaasDataInjection<Data> | FaasJS - - + +

    Documents / @faasjs/react / FaasDataInjection

    Type alias: FaasDataInjection<Data>

    FaasDataInjection<Data>: Object

    Injects FaasData props.

    Type parameters

    Data = any

    Type declaration

    action

    action: string | any

    data

    data: Data

    error

    error: any

    loading

    loading: boolean

    params

    params: Record<string, any>

    promise

    promise: Promise<Response<Data>>

    reloadTimes

    reloadTimes: number

    setData

    setData: React.Dispatch<React.SetStateAction<Data>>

    setError

    setError: React.Dispatch<React.SetStateAction<any>>

    setLoading

    setLoading: React.Dispatch<React.SetStateAction<boolean>>

    setPromise

    setPromise: React.Dispatch<React.SetStateAction<Promise<Response<Data>>>>

    reload()

    Parameters

    params?: Record<string, any>

    Returns

    Promise<any>

    - + diff --git a/doc/react/type-aliases/FaasDataWrapperProps.html b/doc/react/type-aliases/FaasDataWrapperProps.html index d5eb39ba31..e675adfeac 100644 --- a/doc/react/type-aliases/FaasDataWrapperProps.html +++ b/doc/react/type-aliases/FaasDataWrapperProps.html @@ -27,11 +27,11 @@ Type alias: FaasDataWrapperProps<PathOrData> | FaasJS - - + +

    Documents / @faasjs/react / FaasDataWrapperProps

    Type alias: FaasDataWrapperProps<PathOrData>

    FaasDataWrapperProps<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    action

    action: string

    children?

    optional children: React.ReactElement<Partial<FaasDataInjection>>

    data?

    optional data: FaasData<PathOrData>

    use custom data, should work with setData

    fallback?

    optional fallback: JSX.Element | false

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    use custom setData, should work with data

    onDataChange()?

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    void

    render()?

    Parameters

    args: FaasDataInjection<FaasData<PathOrData>>

    Returns

    Element | Element[]

    - + diff --git a/doc/react/type-aliases/FaasParams.html b/doc/react/type-aliases/FaasParams.html index d6ad8903a8..64f55ebd61 100644 --- a/doc/react/type-aliases/FaasParams.html +++ b/doc/react/type-aliases/FaasParams.html @@ -27,11 +27,11 @@ Type alias: FaasParams<T> | FaasJS - - + + - + diff --git a/doc/react/type-aliases/FaasReactClientInstance.html b/doc/react/type-aliases/FaasReactClientInstance.html index e14bbb092a..c544ee2888 100644 --- a/doc/react/type-aliases/FaasReactClientInstance.html +++ b/doc/react/type-aliases/FaasReactClientInstance.html @@ -27,11 +27,11 @@ Type alias: FaasReactClientInstance | FaasJS - - + +

    Documents / @faasjs/react / FaasReactClientInstance

    Type alias: FaasReactClientInstance

    FaasReactClientInstance: Object

    Type declaration

    faas()

    faas: <PathOrData>(action, params) => Promise<Response<FaasData<PathOrData>>>

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    params: FaasParams<PathOrData>

    Returns

    Promise<Response<FaasData<PathOrData>>>

    id

    id: string

    useFaas()

    useFaas: <PathOrData>(action, defaultParams, options?) => FaasDataInjection<FaasData<PathOrData>>

    Type parameters

    PathOrData extends FaasAction

    Parameters

    action: string | PathOrData

    defaultParams: FaasParams<PathOrData>

    options?: useFaasOptions<PathOrData>

    Returns

    FaasDataInjection<FaasData<PathOrData>>

    FaasDataWrapper()

    Type parameters

    PathOrData extends FaasAction

    Parameters

    props: FaasDataWrapperProps<PathOrData>

    Returns

    Element

    - + diff --git a/doc/react/type-aliases/FaasReactClientOptions.html b/doc/react/type-aliases/FaasReactClientOptions.html index 36e255add0..b165073a00 100644 --- a/doc/react/type-aliases/FaasReactClientOptions.html +++ b/doc/react/type-aliases/FaasReactClientOptions.html @@ -27,11 +27,11 @@ Type alias: FaasReactClientOptions | FaasJS - - + + - + diff --git a/doc/react/type-aliases/Options.html b/doc/react/type-aliases/Options.html index b69ec6e7e2..c74dd23b33 100644 --- a/doc/react/type-aliases/Options.html +++ b/doc/react/type-aliases/Options.html @@ -27,11 +27,11 @@ Type alias: Options | FaasJS - - + +

    Documents / @faasjs/react / Options

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    { action, params, options, headers, }.options: Options

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    optional request: <PathOrData>(url, options) => Promise<Response<FaasData<PathOrData>>>

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    options: Options

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/react/type-aliases/ResponseHeaders.html b/doc/react/type-aliases/ResponseHeaders.html index 6abde0f662..ccbe22169d 100644 --- a/doc/react/type-aliases/ResponseHeaders.html +++ b/doc/react/type-aliases/ResponseHeaders.html @@ -27,11 +27,11 @@ Type alias: ResponseHeaders | FaasJS - - + + - + diff --git a/doc/react/type-aliases/SignalOptions.html b/doc/react/type-aliases/SignalOptions.html index 8c4b082150..e47f12e533 100644 --- a/doc/react/type-aliases/SignalOptions.html +++ b/doc/react/type-aliases/SignalOptions.html @@ -27,11 +27,11 @@ Type alias: SignalOptions | FaasJS - - + + - + diff --git a/doc/react/type-aliases/useFaasOptions.html b/doc/react/type-aliases/useFaasOptions.html index d814e659ec..0d2e552fef 100644 --- a/doc/react/type-aliases/useFaasOptions.html +++ b/doc/react/type-aliases/useFaasOptions.html @@ -27,11 +27,11 @@ Type alias: useFaasOptions<PathOrData> | FaasJS - - + +

    Documents / @faasjs/react / useFaasOptions

    Type alias: useFaasOptions<PathOrData>

    useFaasOptions<PathOrData>: Object

    Type parameters

    PathOrData extends FaasAction

    Type declaration

    data?

    optional data: FaasData<PathOrData>

    debounce?

    optional debounce: number

    send the last request after milliseconds

    params?

    optional params: FaasParams<PathOrData>

    setData?

    optional setData: React.Dispatch<React.SetStateAction<FaasData<PathOrData>>>

    skip?

    optional skip: boolean | (params) => boolean

    if skip is true, will not send request

    - + diff --git a/doc/redis/classes/Redis.html b/doc/redis/classes/Redis.html index d7f1d278df..2e13e7dcf8 100644 --- a/doc/redis/classes/Redis.html +++ b/doc/redis/classes/Redis.html @@ -27,11 +27,11 @@ Class: Redis | FaasJS - - + +

    Documents / @faasjs/redis / Redis

    Class: Redis

    Redis Plugin

    Implements

    • Plugin

    Constructors

    new Redis(config)

    new Redis(config?): Redis

    Parameters

    config?: RedisConfig

    Returns

    Redis

    Properties

    adapter

    adapter: Redis

    config

    config: RedisOptions

    logger

    logger: Logger

    multi()

    multi: (options?) => ChainableCommander

    Parameters

    options?: Object | any[][]

    Returns

    ChainableCommander

    name

    readonly name: string = Name

    Implementation of

    Plugin.name

    pipeline()

    pipeline: (commands?) => ChainableCommander

    Parameters

    commands?: any[][]

    Returns

    ChainableCommander

    type

    readonly type: string = Name

    Implementation of

    Plugin.type

    Methods

    get()

    get<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    getJSON()

    getJSON<TData>(key): Promise<TData>

    Type parameters

    TData = any

    Parameters

    key: string

    Returns

    Promise<TData>

    lock()

    lock(key, EX): Promise<void>

    Lock by key

    Parameters

    key: string

    EX: number= 10

    expire in seconds, default 10

    Returns

    Promise<void>

    onDeploy()

    onDeploy(data, next): Promise<void>

    Parameters

    data: DeployData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onDeploy

    onInvoke()

    onInvoke(data, next): Promise<void>

    Parameters

    data: InvokeData<any, any, any>

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onInvoke

    onMount()

    onMount(data, next): Promise<void>

    Parameters

    data: MountData

    next: Next

    Returns

    Promise<void>

    Implementation of

    Plugin.onMount

    publish()

    publish(channel, message): Promise<number>

    Publish message

    Parameters

    channel: string

    message: any

    Returns

    Promise<number>

    query()

    query<TResult>(command, args): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    command: string

    args: any[]

    Returns

    Promise<TResult>

    quit()

    quit(): Promise<void>

    Returns

    Promise<void>

    set()

    set<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    setJSON()

    setJSON<TResult>(key, value, options?): Promise<TResult>

    Type parameters

    TResult = void

    Parameters

    key: string

    value: any

    options?: SET

    Returns

    Promise<TResult>

    unlock()

    unlock(key): Promise<void>

    Unlock by key

    Parameters

    key: string

    Returns

    Promise<void>

    - + diff --git a/doc/redis/functions/get.html b/doc/redis/functions/get.html index fd4d43e50a..b23e0116b5 100644 --- a/doc/redis/functions/get.html +++ b/doc/redis/functions/get.html @@ -27,11 +27,11 @@ Function: get() | FaasJS - - + + - + diff --git a/doc/redis/functions/getJSON.html b/doc/redis/functions/getJSON.html index 90583f9f6c..71b8d14ffd 100644 --- a/doc/redis/functions/getJSON.html +++ b/doc/redis/functions/getJSON.html @@ -27,11 +27,11 @@ Function: getJSON() | FaasJS - - + + - + diff --git a/doc/redis/functions/lock.html b/doc/redis/functions/lock.html index 791e6d4654..912ddba5fa 100644 --- a/doc/redis/functions/lock.html +++ b/doc/redis/functions/lock.html @@ -27,11 +27,11 @@ Function: lock() | FaasJS - - + + - + diff --git a/doc/redis/functions/multi.html b/doc/redis/functions/multi.html index 969eeb6727..3937387184 100644 --- a/doc/redis/functions/multi.html +++ b/doc/redis/functions/multi.html @@ -27,11 +27,11 @@ Function: multi() | FaasJS - - + + - + diff --git a/doc/redis/functions/pipeline.html b/doc/redis/functions/pipeline.html index 8f834c1787..d332c8f5b7 100644 --- a/doc/redis/functions/pipeline.html +++ b/doc/redis/functions/pipeline.html @@ -27,11 +27,11 @@ Function: pipeline() | FaasJS - - + + - + diff --git a/doc/redis/functions/publish.html b/doc/redis/functions/publish.html index 5eadf653fb..e69a196ae8 100644 --- a/doc/redis/functions/publish.html +++ b/doc/redis/functions/publish.html @@ -27,11 +27,11 @@ Function: publish() | FaasJS - - + + - + diff --git a/doc/redis/functions/query.html b/doc/redis/functions/query.html index 2602649266..fb9bcdc04e 100644 --- a/doc/redis/functions/query.html +++ b/doc/redis/functions/query.html @@ -27,11 +27,11 @@ Function: query() | FaasJS - - + + - + diff --git a/doc/redis/functions/set.html b/doc/redis/functions/set.html index a1fd56f66f..7aadc55305 100644 --- a/doc/redis/functions/set.html +++ b/doc/redis/functions/set.html @@ -27,11 +27,11 @@ Function: set() | FaasJS - - + + - + diff --git a/doc/redis/functions/setJSON.html b/doc/redis/functions/setJSON.html index 5b151c46c0..714b9eee0c 100644 --- a/doc/redis/functions/setJSON.html +++ b/doc/redis/functions/setJSON.html @@ -27,11 +27,11 @@ Function: setJSON() | FaasJS - - + + - + diff --git a/doc/redis/functions/unlock.html b/doc/redis/functions/unlock.html index 13fde119da..70c677ff8b 100644 --- a/doc/redis/functions/unlock.html +++ b/doc/redis/functions/unlock.html @@ -27,11 +27,11 @@ Function: unlock() | FaasJS - - + + - + diff --git a/doc/redis/functions/useRedis.html b/doc/redis/functions/useRedis.html index 27d0f67182..41444e859b 100644 --- a/doc/redis/functions/useRedis.html +++ b/doc/redis/functions/useRedis.html @@ -27,11 +27,11 @@ Function: useRedis() | FaasJS - - + + - + diff --git a/doc/redis/index.html b/doc/redis/index.html index 8e9cc963d4..19d669682c 100644 --- a/doc/redis/index.html +++ b/doc/redis/index.html @@ -27,12 +27,12 @@ @faasjs/redis | FaasJS - - + + - + diff --git a/doc/redis/type-aliases/RedisConfig.html b/doc/redis/type-aliases/RedisConfig.html index 63eb23284a..99b8cd09be 100644 --- a/doc/redis/type-aliases/RedisConfig.html +++ b/doc/redis/type-aliases/RedisConfig.html @@ -27,11 +27,11 @@ Type alias: RedisConfig | FaasJS - - + + - + diff --git a/doc/request/classes/ResponseError.html b/doc/request/classes/ResponseError.html index ce4933c3a1..dfeb6e2205 100644 --- a/doc/request/classes/ResponseError.html +++ b/doc/request/classes/ResponseError.html @@ -27,11 +27,11 @@ Class: ResponseError | FaasJS - - + + - + diff --git a/doc/request/functions/querystringify.html b/doc/request/functions/querystringify.html index 14b05cfb1c..a3e93d58b9 100644 --- a/doc/request/functions/querystringify.html +++ b/doc/request/functions/querystringify.html @@ -27,11 +27,11 @@ Function: querystringify() | FaasJS - - + + - + diff --git a/doc/request/functions/request.html b/doc/request/functions/request.html index fd8f30e687..ef9119c3c8 100644 --- a/doc/request/functions/request.html +++ b/doc/request/functions/request.html @@ -27,11 +27,11 @@ Function: request() | FaasJS - - + + - + diff --git a/doc/request/functions/setMock.html b/doc/request/functions/setMock.html index dd7601fd51..5300d6ab50 100644 --- a/doc/request/functions/setMock.html +++ b/doc/request/functions/setMock.html @@ -27,12 +27,12 @@ Function: setMock() | FaasJS - - + + - + diff --git a/doc/request/index.html b/doc/request/index.html index e303b4944e..7581dedc1a 100644 --- a/doc/request/index.html +++ b/doc/request/index.html @@ -27,12 +27,12 @@ @faasjs/request | FaasJS - - + + - + diff --git a/doc/request/type-aliases/Request.html b/doc/request/type-aliases/Request.html index ad812c30fd..5bb8241619 100644 --- a/doc/request/type-aliases/Request.html +++ b/doc/request/type-aliases/Request.html @@ -27,11 +27,11 @@ Type alias: Request | FaasJS - - + + - + diff --git a/doc/request/type-aliases/RequestOptions.html b/doc/request/type-aliases/RequestOptions.html index 39a6cea9a2..dc0d247e64 100644 --- a/doc/request/type-aliases/RequestOptions.html +++ b/doc/request/type-aliases/RequestOptions.html @@ -27,8 +27,8 @@ Type alias: RequestOptions | FaasJS - - + +

    Documents / @faasjs/request / RequestOptions

    Type alias: RequestOptions

    RequestOptions: Object

    Type declaration

    agent?

    optional agent: boolean

    auth?

    optional auth: string

    The authentication credentials to use for the request.

    Format: username:password

    body?

    optional body: Object | string

    downloadFile?

    optional downloadFile: string

    Path of downloading a file from the server.

    await request('https://example.com', { downloadFile: 'filepath' })
    @@ -39,6 +39,6 @@
     

    file?

    optional file: string

    Path of uploading a file to the server.

    await request('https://example.com', { file: 'filepath' })
     

    headers?

    optional headers: http.OutgoingHttpHeaders

    logger?

    optional logger: Logger

    method?

    optional method: string

    The HTTP method to use when making the request. Defaults to GET.

    parse()?

    optional parse: (body) => any

    Body parser. Defaults to JSON.parse.

    Parameters

    body: string

    Returns

    any

    passphrase?

    optional passphrase: string

    pfx?

    optional pfx: Buffer

    query?

    optional query: Object

    Index signature

    [key: string]: any

    timeout?

    optional timeout: number

    Timeout in milliseconds,

    Default

    5000
     
    - + diff --git a/doc/request/type-aliases/Response.html b/doc/request/type-aliases/Response.html index 09db0fc99a..14764532b9 100644 --- a/doc/request/type-aliases/Response.html +++ b/doc/request/type-aliases/Response.html @@ -27,11 +27,11 @@ Type alias: Response<T> | FaasJS - - + + - + diff --git a/doc/server/classes/Server.html b/doc/server/classes/Server.html index e3b479955e..605d66bab6 100644 --- a/doc/server/classes/Server.html +++ b/doc/server/classes/Server.html @@ -27,8 +27,8 @@ Class: Server | FaasJS - - + +

    Documents / @faasjs/server / Server

    Class: Server

    FaasJS Server.

    const server = new Server(process.cwd(), {
    @@ -38,6 +38,6 @@
     
     server.listen()
     

    Constructors

    new Server(root, opts)

    new Server(root, opts?): Server

    Parameters

    root: string

    Project path

    opts?

    Options

    opts.cache?: boolean

    Enable cache, default is false

    opts.onError?

    opts.port?: number

    Port, default is 3000

    Returns

    Server

    Properties

    logger

    readonly logger: Logger

    onError()?

    optional onError: (error) => void

    Parameters

    error: Error

    Returns

    void

    opts

    readonly opts: Object

    cache

    cache: boolean

    port

    port: number

    root

    readonly root: string

    Methods

    close()

    close(): Promise<void>

    Returns

    Promise<void>

    listen()

    listen(): Server<typeof IncomingMessage, typeof ServerResponse>

    Start server.

    Returns

    Server<typeof IncomingMessage, typeof ServerResponse>

    processRequest()

    processRequest(path, req, res, requestedAt): Promise<void>

    Parameters

    path: string

    req: IncomingMessage

    res: ServerResponse<IncomingMessage> & Object

    requestedAt: number

    Returns

    Promise<void>

    - + diff --git a/doc/server/functions/closeAll.html b/doc/server/functions/closeAll.html index 822da779ef..9c43aaba22 100644 --- a/doc/server/functions/closeAll.html +++ b/doc/server/functions/closeAll.html @@ -27,11 +27,11 @@ Function: closeAll() | FaasJS - - + + - + diff --git a/doc/server/functions/getAll.html b/doc/server/functions/getAll.html index c2ce53ac36..1389950d6f 100644 --- a/doc/server/functions/getAll.html +++ b/doc/server/functions/getAll.html @@ -27,11 +27,11 @@ Function: getAll() | FaasJS - - + + - + diff --git a/doc/server/index.html b/doc/server/index.html index 1b8aa5748d..95c6ca7c39 100644 --- a/doc/server/index.html +++ b/doc/server/index.html @@ -27,12 +27,12 @@ @faasjs/server | FaasJS - - + + - + diff --git a/doc/tencentcloud/classes/Provider.html b/doc/tencentcloud/classes/Provider.html index 2607cdfb46..7c477715d8 100644 --- a/doc/tencentcloud/classes/Provider.html +++ b/doc/tencentcloud/classes/Provider.html @@ -27,11 +27,11 @@ Class: Provider | FaasJS - - + +

    Documents / @faasjs/tencentcloud / Provider

    Class: Provider

    Implements

    • CloudFunctionAdapter

    Constructors

    new Provider(config)

    new Provider(config): Provider

    Parameters

    config: TencentcloudConfig

    Returns

    Provider

    Properties

    config

    config: TencentcloudConfig

    logger

    logger: Logger

    Methods

    deploy()

    deploy(type, data, config): Promise<void>

    部署

    Parameters

    type: "cloud_function" | "http"

    {string} 发布类型

    data: DeployData

    {object} 部署环境配置

    config

    {Logger} 部署对象配置

    Returns

    Promise<void>

    invokeCloudFunction()

    invokeCloudFunction(name, data, options?): Promise<void>

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<void>

    Implementation of

    CloudFunctionAdapter.invokeCloudFunction

    invokeSyncCloudFunction()

    invokeSyncCloudFunction<TResult>(name, data, options?): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    name: string

    data

    data.context: any

    data.event?: any

    options?

    Returns

    Promise<TResult>

    Implementation of

    CloudFunctionAdapter.invokeSyncCloudFunction

    - + diff --git a/doc/tencentcloud/functions/request.html b/doc/tencentcloud/functions/request.html index 2bf8f3aaa0..ffcdb6a260 100644 --- a/doc/tencentcloud/functions/request.html +++ b/doc/tencentcloud/functions/request.html @@ -27,11 +27,11 @@ Function: request() | FaasJS - - + + - + diff --git a/doc/tencentcloud/index.html b/doc/tencentcloud/index.html index 2148984ed2..e73e28afa2 100644 --- a/doc/tencentcloud/index.html +++ b/doc/tencentcloud/index.html @@ -27,12 +27,12 @@ @faasjs/tencentcloud | FaasJS - - + + - + diff --git a/doc/tencentcloud/type-aliases/TencentcloudConfig.html b/doc/tencentcloud/type-aliases/TencentcloudConfig.html index 360c6c3c70..e6fc1b416b 100644 --- a/doc/tencentcloud/type-aliases/TencentcloudConfig.html +++ b/doc/tencentcloud/type-aliases/TencentcloudConfig.html @@ -27,11 +27,11 @@ Type alias: TencentcloudConfig | FaasJS - - + + - + diff --git a/doc/test/classes/Func.html b/doc/test/classes/Func.html index 508bb57797..9a08011ace 100644 --- a/doc/test/classes/Func.html +++ b/doc/test/classes/Func.html @@ -27,11 +27,11 @@ Class: Func<TEvent, TContext, TResult> | FaasJS - - + +

    Documents / @faasjs/test / Func

    Class: Func<TEvent, TContext, TResult>

    Type parameters

    TEvent = any

    TContext = any

    TResult = any

    Indexable

    [key: string]: any

    Constructors

    new Func(config)

    new Func<TEvent, TContext, TResult>(config): Func<TEvent, TContext, TResult>

    Create a cloud function

    Parameters

    config: FuncConfig<TEvent, TContext, any>

    {object} config

    Returns

    Func<TEvent, TContext, TResult>

    Properties

    config

    config: Config

    filename?

    optional filename: string

    handler?

    optional handler: Handler<TEvent, TContext, TResult>

    mounted

    mounted: boolean

    plugins

    plugins: Plugin[]

    Methods

    deploy()

    deploy(data): any

    Deploy the function

    Parameters

    data: DeployData

    {object} data

    Returns

    any

    export()

    export(): Object

    Export the function

    Returns

    Object

    handler

    handler: ExportedHandler<TEvent, TContext, TResult>

    invoke()

    invoke(data): Promise<void>

    Invoke the function

    Parameters

    data: InvokeData<TEvent, TContext, TResult>

    {object} data

    Returns

    Promise<void>

    mount()

    mount(data): Promise<void>

    First time mount the function

    Parameters

    data

    data.config?: Config

    data.context: TContext

    data.event: TEvent

    data.logger?: Logger

    Returns

    Promise<void>

    - + diff --git a/doc/test/classes/FuncWarper.html b/doc/test/classes/FuncWarper.html index c507034f1b..04fbad7242 100644 --- a/doc/test/classes/FuncWarper.html +++ b/doc/test/classes/FuncWarper.html @@ -27,8 +27,8 @@ Class: FuncWarper | FaasJS - - + +

    Documents / @faasjs/test / FuncWarper

    Class: FuncWarper

    Test Wrapper for a func

    import { FuncWarper } from '@faasjs/test'
    @@ -37,6 +37,6 @@
     
     expect(await func.handler()).toEqual('Hello, world')
     

    Indexable

    [key: string]: any

    Constructors

    new FuncWarper(initBy)

    new FuncWarper(initBy): FuncWarper

    Parameters

    initBy: Func<any, any, any>

    Returns

    FuncWarper

    new FuncWarper(initBy)

    new FuncWarper(initBy): FuncWarper

    Parameters

    initBy: string

    Returns

    FuncWarper

    Properties

    config

    readonly config: Config

    file

    readonly file: string

    func

    readonly func: Func<any, any, any>

    logger

    readonly logger: Logger

    plugins

    readonly plugins: Plugin[]

    staging

    readonly staging: string

    Methods

    JSONhandler()

    JSONhandler<TData>(body?, options?): Promise<Object>

    Type parameters

    TData = any

    Parameters

    body?

    options?= undefined

    options.cookie?

    options.headers?

    options.session?

    Returns

    Promise<Object>

    body

    body: any

    optional cookie: Record<string, any>

    data?

    optional data: TData

    error?

    optional error: Object

    error.message

    message: string

    headers

    headers: Object

    Index signature

    [key: string]: string

    session?

    optional session: Record<string, any>

    statusCode

    statusCode: number

    handler()

    handler<TResult>(event, context): Promise<TResult>

    Type parameters

    TResult = any

    Parameters

    event: any= undefined

    context: any= undefined

    Returns

    Promise<TResult>

    mount()

    mount(handler?): Promise<void>

    Parameters

    handler?

    Returns

    Promise<void>

    - + diff --git a/doc/test/functions/test.html b/doc/test/functions/test.html index d8506e5375..928a98a3c0 100644 --- a/doc/test/functions/test.html +++ b/doc/test/functions/test.html @@ -27,8 +27,8 @@ Function: test() | FaasJS - - + + - + diff --git a/doc/test/functions/useFunc.html b/doc/test/functions/useFunc.html index ebea640f81..8bdbed32a6 100644 --- a/doc/test/functions/useFunc.html +++ b/doc/test/functions/useFunc.html @@ -27,8 +27,8 @@ Function: useFunc() | FaasJS - - + + - + diff --git a/doc/test/functions/usePlugin.html b/doc/test/functions/usePlugin.html index bc9c1fe1df..c7848ca075 100644 --- a/doc/test/functions/usePlugin.html +++ b/doc/test/functions/usePlugin.html @@ -27,11 +27,11 @@ Function: usePlugin() | FaasJS - - + + - + diff --git a/doc/test/index.html b/doc/test/index.html index 9de36f6973..c54fef420b 100644 --- a/doc/test/index.html +++ b/doc/test/index.html @@ -27,12 +27,12 @@ @faasjs/test | FaasJS - - + + - + diff --git a/doc/test/type-aliases/Config.html b/doc/test/type-aliases/Config.html index 7cf753ee66..8751700ee4 100644 --- a/doc/test/type-aliases/Config.html +++ b/doc/test/type-aliases/Config.html @@ -27,11 +27,11 @@ Type alias: Config | FaasJS - - + + - + diff --git a/doc/test/type-aliases/DeployData.html b/doc/test/type-aliases/DeployData.html index a7d6f73be9..1dd10bf77e 100644 --- a/doc/test/type-aliases/DeployData.html +++ b/doc/test/type-aliases/DeployData.html @@ -27,11 +27,11 @@ Type alias: DeployData | FaasJS - - + + - + diff --git a/doc/test/type-aliases/ExportedHandler.html b/doc/test/type-aliases/ExportedHandler.html index fb794927a6..b841eb7a1f 100644 --- a/doc/test/type-aliases/ExportedHandler.html +++ b/doc/test/type-aliases/ExportedHandler.html @@ -27,11 +27,11 @@ Type alias: ExportedHandler()<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/FuncConfig.html b/doc/test/type-aliases/FuncConfig.html index db79b17832..b722dc46bb 100644 --- a/doc/test/type-aliases/FuncConfig.html +++ b/doc/test/type-aliases/FuncConfig.html @@ -27,11 +27,11 @@ Type alias: FuncConfig<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/FuncEventType.html b/doc/test/type-aliases/FuncEventType.html index 2e8a5aacfc..00108e8bd0 100644 --- a/doc/test/type-aliases/FuncEventType.html +++ b/doc/test/type-aliases/FuncEventType.html @@ -27,8 +27,8 @@ Type alias: FuncEventType<T> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/FuncReturnType.html b/doc/test/type-aliases/FuncReturnType.html index c5a16a0f5a..993373b3c0 100644 --- a/doc/test/type-aliases/FuncReturnType.html +++ b/doc/test/type-aliases/FuncReturnType.html @@ -27,8 +27,8 @@ Type alias: FuncReturnType<T> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/Handler.html b/doc/test/type-aliases/Handler.html index ed3a497dc3..182de32d65 100644 --- a/doc/test/type-aliases/Handler.html +++ b/doc/test/type-aliases/Handler.html @@ -27,11 +27,11 @@ Type alias: Handler()<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/InvokeData.html b/doc/test/type-aliases/InvokeData.html index 474a9b26ff..f260960a67 100644 --- a/doc/test/type-aliases/InvokeData.html +++ b/doc/test/type-aliases/InvokeData.html @@ -27,11 +27,11 @@ Type alias: InvokeData<TEvent, TContext, TResult> | FaasJS - - + + - + diff --git a/doc/test/type-aliases/LifeCycleKey.html b/doc/test/type-aliases/LifeCycleKey.html index a22f47918f..b92d3e6971 100644 --- a/doc/test/type-aliases/LifeCycleKey.html +++ b/doc/test/type-aliases/LifeCycleKey.html @@ -27,11 +27,11 @@ Type alias: LifeCycleKey | FaasJS - - + + - + diff --git a/doc/test/type-aliases/MountData.html b/doc/test/type-aliases/MountData.html index 37a52232a1..ea42f3b31f 100644 --- a/doc/test/type-aliases/MountData.html +++ b/doc/test/type-aliases/MountData.html @@ -27,11 +27,11 @@ Type alias: MountData | FaasJS - - + + - + diff --git a/doc/test/type-aliases/Next.html b/doc/test/type-aliases/Next.html index a7366656df..d9b085b4c7 100644 --- a/doc/test/type-aliases/Next.html +++ b/doc/test/type-aliases/Next.html @@ -27,11 +27,11 @@ Type alias: Next() | FaasJS - - + + - + diff --git a/doc/test/type-aliases/Plugin.html b/doc/test/type-aliases/Plugin.html index 4930d1bd49..b72099f446 100644 --- a/doc/test/type-aliases/Plugin.html +++ b/doc/test/type-aliases/Plugin.html @@ -27,11 +27,11 @@ Type alias: Plugin | FaasJS - - + + - + diff --git a/doc/test/type-aliases/ProviderConfig.html b/doc/test/type-aliases/ProviderConfig.html index 0c0b682dd1..16c8eeb4d6 100644 --- a/doc/test/type-aliases/ProviderConfig.html +++ b/doc/test/type-aliases/ProviderConfig.html @@ -27,11 +27,11 @@ Type alias: ProviderConfig | FaasJS - - + + - + diff --git a/doc/test/type-aliases/UseifyPlugin.html b/doc/test/type-aliases/UseifyPlugin.html index 4b483799af..fb367f769b 100644 --- a/doc/test/type-aliases/UseifyPlugin.html +++ b/doc/test/type-aliases/UseifyPlugin.html @@ -27,11 +27,11 @@ Type alias: UseifyPlugin<T> | FaasJS - - + + - + diff --git a/doc/ts-transform/functions/bundle.html b/doc/ts-transform/functions/bundle.html index f9c77ed891..fde95f7aee 100644 --- a/doc/ts-transform/functions/bundle.html +++ b/doc/ts-transform/functions/bundle.html @@ -27,11 +27,11 @@ Function: bundle() | FaasJS - - + + - + diff --git a/doc/ts-transform/functions/transform.html b/doc/ts-transform/functions/transform.html index 06879b85d5..1e7b3d0406 100644 --- a/doc/ts-transform/functions/transform.html +++ b/doc/ts-transform/functions/transform.html @@ -27,11 +27,11 @@ Function: transform() | FaasJS - - + + - + diff --git a/doc/ts-transform/index.html b/doc/ts-transform/index.html index a2c237f29d..fa61d71764 100644 --- a/doc/ts-transform/index.html +++ b/doc/ts-transform/index.html @@ -27,8 +27,8 @@ @faasjs/ts-transform | FaasJS - - + + - + diff --git a/doc/ts-transform/variables/NodeBuiltinModules.html b/doc/ts-transform/variables/NodeBuiltinModules.html index f8a96bf660..43f7a4891d 100644 --- a/doc/ts-transform/variables/NodeBuiltinModules.html +++ b/doc/ts-transform/variables/NodeBuiltinModules.html @@ -27,11 +27,11 @@ Variable: NodeBuiltinModules | FaasJS - - + + - + diff --git a/doc/types/index.html b/doc/types/index.html index ec05d7e4f6..4e1ba4b3b9 100644 --- a/doc/types/index.html +++ b/doc/types/index.html @@ -27,12 +27,12 @@ @faasjs/types | FaasJS - - + + - + diff --git a/doc/types/type-aliases/FaasAction.html b/doc/types/type-aliases/FaasAction.html index c4d602c3ee..1828eb322a 100644 --- a/doc/types/type-aliases/FaasAction.html +++ b/doc/types/type-aliases/FaasAction.html @@ -27,11 +27,11 @@ Type alias: FaasAction | FaasJS - - + + - + diff --git a/doc/types/type-aliases/FaasActionPaths.html b/doc/types/type-aliases/FaasActionPaths.html index 92cb65d536..2192150acb 100644 --- a/doc/types/type-aliases/FaasActionPaths.html +++ b/doc/types/type-aliases/FaasActionPaths.html @@ -27,11 +27,11 @@ Type alias: FaasActionPaths | FaasJS - - + + - + diff --git a/doc/types/type-aliases/FaasData.html b/doc/types/type-aliases/FaasData.html index 1ee1e60822..529af415bb 100644 --- a/doc/types/type-aliases/FaasData.html +++ b/doc/types/type-aliases/FaasData.html @@ -27,11 +27,11 @@ Type alias: FaasData<T> | FaasJS - - + + - + diff --git a/doc/types/type-aliases/FaasParams.html b/doc/types/type-aliases/FaasParams.html index b84c72a301..30cfc7bf9a 100644 --- a/doc/types/type-aliases/FaasParams.html +++ b/doc/types/type-aliases/FaasParams.html @@ -27,11 +27,11 @@ Type alias: FaasParams<T> | FaasJS - - + + - + diff --git a/doc/vue-plugin/classes/FaasBrowserClient.html b/doc/vue-plugin/classes/FaasBrowserClient.html index 50b8f00ea8..d3a49ebfb0 100644 --- a/doc/vue-plugin/classes/FaasBrowserClient.html +++ b/doc/vue-plugin/classes/FaasBrowserClient.html @@ -27,8 +27,8 @@ Class: FaasBrowserClient | FaasJS - - + +

    Documents / @faasjs/vue-plugin / FaasBrowserClient

    Class: FaasBrowserClient

    FaasJS browser client

    const client = new FaasBrowserClient('http://localhost:8080')
    @@ -36,6 +36,6 @@
     await client.action('func', { key: 'value' })
     

    Constructors

    new FaasBrowserClient(baseUrl, options)

    new FaasBrowserClient(baseUrl, options?): FaasBrowserClient

    Parameters

    baseUrl: string

    options?: Options

    Returns

    FaasBrowserClient

    Properties

    defaultOptions

    defaultOptions: Options

    host

    host: string

    id

    readonly id: string

    Methods

    action()

    action<PathOrData>(action, params?, options?): Promise<Response<FaasData<PathOrData>>>

    Request a FaasJS function

    Type parameters

    PathOrData extends Record<string, any>

    Parameters

    action: string | PathOrData

    function path

    params?: FaasParams<PathOrData>

    function params

    options?: Options

    request options

    await client.action('func', { key: 'value' })
     

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/vue-plugin/classes/Response.html b/doc/vue-plugin/classes/Response.html index fdfb569cc4..1b6284bd59 100644 --- a/doc/vue-plugin/classes/Response.html +++ b/doc/vue-plugin/classes/Response.html @@ -27,8 +27,8 @@ Class: Response<T> | FaasJS - - + + - + diff --git a/doc/vue-plugin/classes/ResponseError.html b/doc/vue-plugin/classes/ResponseError.html index aa456749f5..4ced427cc4 100644 --- a/doc/vue-plugin/classes/ResponseError.html +++ b/doc/vue-plugin/classes/ResponseError.html @@ -27,8 +27,8 @@ Class: ResponseError | FaasJS - - + + - + diff --git a/doc/vue-plugin/index.html b/doc/vue-plugin/index.html index 5bb1175ec7..b3d23c99de 100644 --- a/doc/vue-plugin/index.html +++ b/doc/vue-plugin/index.html @@ -27,12 +27,12 @@ @faasjs/vue-plugin | FaasJS - - + + - + diff --git a/doc/vue-plugin/interfaces/FaasVuePluginOptions.html b/doc/vue-plugin/interfaces/FaasVuePluginOptions.html index cd9a38678b..e61eda53ca 100644 --- a/doc/vue-plugin/interfaces/FaasVuePluginOptions.html +++ b/doc/vue-plugin/interfaces/FaasVuePluginOptions.html @@ -27,11 +27,11 @@ Interface: FaasVuePluginOptions | FaasJS - - + + - + diff --git a/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html b/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html index 258947f982..f726029793 100644 --- a/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html +++ b/doc/vue-plugin/type-aliases/FaasVuePluginOptions.html @@ -27,11 +27,11 @@ Type alias: FaasVuePluginOptions | FaasJS - - + + - + diff --git a/doc/vue-plugin/type-aliases/Options.html b/doc/vue-plugin/type-aliases/Options.html index f64a9c1cc0..ba9da58260 100644 --- a/doc/vue-plugin/type-aliases/Options.html +++ b/doc/vue-plugin/type-aliases/Options.html @@ -27,11 +27,11 @@ Type alias: Options | FaasJS - - + +

    Documents / @faasjs/vue-plugin / Options

    Type alias: Options

    Options: RequestInit & Object

    Type declaration

    beforeRequest()?

    optional beforeRequest: ({ action, params, options, headers, }) => Promise<void>

    trigger before request

    Parameters

    { action, params, options, headers, }

    { action, params, options, headers, }.action: string

    { action, params, options, headers, }.headers: Record<string, string>

    { action, params, options, headers, }.options: Options

    { action, params, options, headers, }.params: Record<string, any>

    Returns

    Promise<void>

    headers?

    optional headers: Record<string, string>

    request()?

    optional request: <PathOrData>(url, options) => Promise<Response<FaasData<PathOrData>>>

    custom request

    Type parameters

    PathOrData extends FaasAction

    Parameters

    url: string

    options: Options

    Returns

    Promise<Response<FaasData<PathOrData>>>

    - + diff --git a/doc/vue-plugin/type-aliases/ResponseHeaders.html b/doc/vue-plugin/type-aliases/ResponseHeaders.html index baa3d9fbe2..8537959463 100644 --- a/doc/vue-plugin/type-aliases/ResponseHeaders.html +++ b/doc/vue-plugin/type-aliases/ResponseHeaders.html @@ -27,11 +27,11 @@ Type alias: ResponseHeaders | FaasJS - - + + - + diff --git a/doc/vue-plugin/variables/FaasVuePlugin.html b/doc/vue-plugin/variables/FaasVuePlugin.html index 7572daf046..409f7215c7 100644 --- a/doc/vue-plugin/variables/FaasVuePlugin.html +++ b/doc/vue-plugin/variables/FaasVuePlugin.html @@ -27,11 +27,11 @@ Variable: FaasVuePlugin | FaasJS - - + + - + diff --git a/guide/index.html b/guide/index.html index b6a954f75f..5518d07e08 100644 --- a/guide/index.html +++ b/guide/index.html @@ -27,8 +27,8 @@ Getting Started | FaasJS - - + + - + diff --git a/guide/request-spec.html b/guide/request-spec.html index 9c4aee9016..4198f3031e 100644 --- a/guide/request-spec.html +++ b/guide/request-spec.html @@ -27,8 +27,8 @@ FaasJS Request Specifications | FaasJS - - + +

    FaasJS Request Specifications

    To ensure consistency and avoid confusion during team collaboration, FaasJS offers built-in request specifications and compatible browser plugins.

    Requests

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    Standardized as POST.

    Path

    By default, the request path mirrors the directory and file name within your project.

    Query Parameters

    Discouraged. Use the Body section for parameter transmission instead.

    Body

    Empty or formatted in JSON.

    Responses

    Headers

    • Content-Type: application/json; charset=UTF-8

    Status Codes

    • 200 Request successful with response data.
    • 201 Request successful but without response data.
    • 500 Request failed.

    Additional status codes can be implemented based on specific business needs.

    Body

    200 Status

    • data (Required): Contains business information.

    Examples:

    Returns a string.

    {
    @@ -45,6 +45,6 @@
       }
     }
     

    Frequently Asked Questions

    Why not use form data submissions?

    Form data submissions have two main drawbacks:

    1. Limited format: data can only be submitted as strings.
    2. Nested data limitations: complex nested data structures can lead to excessively large submissions.

    Why not use RESTful or GraphQL APIs?

    RESTful APIs require a deeper understanding of verbs and nouns for developers.

    GraphQL, while powerful, involves complex parsing and authorization processes. Utilizing frameworks like Apollo can be cumbersome within a FaaS environment.

    Therefore, FaasJS adopts a simplified approach, combining the clarity of RESTful with the flexibility of GraphQL.

    Requests are defined solely using action and params.

    - + diff --git a/index.html b/index.html index 7f2b1a438b..f059cf383e 100644 --- a/index.html +++ b/index.html @@ -27,8 +27,8 @@ FaasJS - - + +
    🚀 FaasJS

    🚀 FaasJS

    An atomic application framework built for the TypeScript developer.




    Features

    Featherweight Development & Collaboration

    • Break down complex projects into manageable components with the atomized development model.
    • Enjoy fast iterations and seamless team collaboration.
    • Jumpstart development with pre-built plugins for common functionalities like HTTP and Knex.

    High maintainability

    • The FaaS architecture ensures isolated cloud functions, preventing domino-effect errors.
    • Automated testing tools built-in for robust and efficient testing.

    High scalability

    • Extend your application effortlessly with flexible and simple plugin mechanisms.
    • Freely scale your functions up or down based on demand.

    Quickstart

    Start with Codespace

    🔨 FaasJS Stateropen in new window

    Start with Command Line

    # use npm
    @@ -68,6 +68,6 @@
       })
     })
     

    Thanks

    Code contributors (in alphabetical order):

    Open source projects (in alphabetical order):

    - + diff --git a/sitemap.xml b/sitemap.xml index 0d4a910b97..ace56cbd04 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,3 +1,3 @@ -https://faasjs.com/CHANGELOG.htmldailyhttps://faasjs.com/CODE_OF_CONDUCT.htmldailyhttps://faasjs.com/2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/SECURITY.htmldailyhttps://faasjs.com/doc/dailyhttps://faasjs.com/guide/2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/guide/request-spec.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/doc/ant-design/dailyhttps://faasjs.com/doc/browser/dailyhttps://faasjs.com/doc/cli/dailyhttps://faasjs.com/doc/cloud_function/dailyhttps://faasjs.com/doc/create-faas-app/dailyhttps://faasjs.com/doc/deep_merge/dailyhttps://faasjs.com/doc/deployer/dailyhttps://faasjs.com/doc/faasjs/dailyhttps://faasjs.com/doc/func/dailyhttps://faasjs.com/doc/http/dailyhttps://faasjs.com/doc/images/dailyhttps://faasjs.com/doc/jest/dailyhttps://faasjs.com/doc/knex/dailyhttps://faasjs.com/doc/load/dailyhttps://faasjs.com/doc/logger/dailyhttps://faasjs.com/doc/mongo/dailyhttps://faasjs.com/doc/react/dailyhttps://faasjs.com/doc/redis/dailyhttps://faasjs.com/doc/request/dailyhttps://faasjs.com/doc/server/dailyhttps://faasjs.com/doc/tencentcloud/dailyhttps://faasjs.com/doc/test/dailyhttps://faasjs.com/doc/ts-transform/dailyhttps://faasjs.com/doc/types/dailyhttps://faasjs.com/doc/vue-plugin/dailyhttps://faasjs.com/zh/doc/2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/browser.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/cli.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/cloud_function.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/create-faas-app.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/deep_merge.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/deployer.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/develop.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/func.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/http.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/knex.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/load.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/logger.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/mongo.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/react.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/redis.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/request.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/server.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/tencentcloud.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/test.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/doc/vue-plugin.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/auth.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/story.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/tencentcloud.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/doc/ant-design/classes/ErrorBoundary.htmldailyhttps://faasjs.com/doc/ant-design/functions/App.htmldailyhttps://faasjs.com/doc/ant-design/functions/Blank.htmldailyhttps://faasjs.com/doc/ant-design/functions/ConfigProvider.htmldailyhttps://faasjs.com/doc/ant-design/functions/Description.htmldailyhttps://faasjs.com/doc/ant-design/functions/Drawer.htmldailyhttps://faasjs.com/doc/ant-design/functions/ErrorBoundary.htmldailyhttps://faasjs.com/doc/ant-design/functions/FaasDataWrapper.htmldailyhttps://faasjs.com/doc/ant-design/functions/Form.htmldailyhttps://faasjs.com/doc/ant-design/functions/FormItem.htmldailyhttps://faasjs.com/doc/ant-design/functions/Link.htmldailyhttps://faasjs.com/doc/ant-design/functions/Loading.htmldailyhttps://faasjs.com/doc/ant-design/functions/Modal.htmldailyhttps://faasjs.com/doc/ant-design/functions/PageNotFound.htmldailyhttps://faasjs.com/doc/ant-design/functions/Routes.htmldailyhttps://faasjs.com/doc/ant-design/functions/Table.htmldailyhttps://faasjs.com/doc/ant-design/functions/Tabs.htmldailyhttps://faasjs.com/doc/ant-design/functions/Title.htmldailyhttps://faasjs.com/doc/ant-design/functions/faas.htmldailyhttps://faasjs.com/doc/ant-design/functions/transferOptions.htmldailyhttps://faasjs.com/doc/ant-design/functions/transferValue.htmldailyhttps://faasjs.com/doc/ant-design/functions/useApp.htmldailyhttps://faasjs.com/doc/ant-design/functions/useConfigContext.htmldailyhttps://faasjs.com/doc/ant-design/functions/useDrawer.htmldailyhttps://faasjs.com/doc/ant-design/functions/useFaas.htmldailyhttps://faasjs.com/doc/ant-design/functions/useModal.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/AppProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/BaseItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/BlankProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ConfigProviderProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionItemContentProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DrawerProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ErrorBoundaryProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ExtendDescriptionTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasDataInjection.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FormItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FormProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/LinkProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ModalProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/RoutesProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TabProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TableItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TabsProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TitleProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/UnionFaasItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/useAppProps.htmldailyhttps://faasjs.com/doc/ant-design/modules/App.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.ErrorList.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.Item.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.List.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.Provider.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.htmldailyhttps://faasjs.com/doc/ant-design/modules/FormItem.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/BaseOption.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendDescriptionItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendFormItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendFormTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTableItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTableTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTypes.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasDataInjection.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasItemType.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasItemTypeValue.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FormSubmitProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/LoadingProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/TableProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemElement.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemInjection.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemRender.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionScene.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/setDrawerProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/setModalProps.htmldailyhttps://faasjs.com/doc/ant-design/variables/ConfigContext.htmldailyhttps://faasjs.com/doc/browser/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/browser/classes/Response.htmldailyhttps://faasjs.com/doc/browser/classes/ResponseError.htmldailyhttps://faasjs.com/doc/browser/functions/generateId.htmldailyhttps://faasjs.com/doc/browser/functions/setMock.htmldailyhttps://faasjs.com/doc/browser/type-aliases/FaasBrowserClientAction.htmldailyhttps://faasjs.com/doc/browser/type-aliases/MockHandler.htmldailyhttps://faasjs.com/doc/browser/type-aliases/Options.htmldailyhttps://faasjs.com/doc/browser/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/cloud_function/classes/CloudFunction.htmldailyhttps://faasjs.com/doc/cloud_function/functions/invoke.htmldailyhttps://faasjs.com/doc/cloud_function/functions/invokeSync.htmldailyhttps://faasjs.com/doc/cloud_function/functions/useCloudFunction.htmldailyhttps://faasjs.com/doc/cloud_function/type-aliases/CloudFunctionAdapter.htmldailyhttps://faasjs.com/doc/cloud_function/type-aliases/CloudFunctionConfig.htmldailyhttps://faasjs.com/doc/deep_merge/functions/deepMerge.htmldailyhttps://faasjs.com/doc/deployer/classes/Deployer.htmldailyhttps://faasjs.com/doc/func/classes/Func.htmldailyhttps://faasjs.com/doc/func/functions/useFunc.htmldailyhttps://faasjs.com/doc/func/functions/usePlugin.htmldailyhttps://faasjs.com/doc/func/type-aliases/Config.htmldailyhttps://faasjs.com/doc/func/type-aliases/DeployData.htmldailyhttps://faasjs.com/doc/func/type-aliases/ExportedHandler.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncConfig.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncEventType.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncReturnType.htmldailyhttps://faasjs.com/doc/func/type-aliases/Handler.htmldailyhttps://faasjs.com/doc/func/type-aliases/InvokeData.htmldailyhttps://faasjs.com/doc/func/type-aliases/LifeCycleKey.htmldailyhttps://faasjs.com/doc/func/type-aliases/MountData.htmldailyhttps://faasjs.com/doc/func/type-aliases/Next.htmldailyhttps://faasjs.com/doc/func/type-aliases/Plugin.htmldailyhttps://faasjs.com/doc/func/type-aliases/ProviderConfig.htmldailyhttps://faasjs.com/doc/func/type-aliases/UseifyPlugin.htmldailyhttps://faasjs.com/doc/http/classes/Cookie.htmldailyhttps://faasjs.com/doc/http/classes/Http.htmldailyhttps://faasjs.com/doc/http/classes/HttpError.htmldailyhttps://faasjs.com/doc/http/classes/Session.htmldailyhttps://faasjs.com/doc/http/classes/Validator.htmldailyhttps://faasjs.com/doc/http/functions/useHttp.htmldailyhttps://faasjs.com/doc/http/type-aliases/CookieOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/HttpConfig.htmldailyhttps://faasjs.com/doc/http/type-aliases/Response.htmldailyhttps://faasjs.com/doc/http/type-aliases/SessionOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorConfig.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorRuleOptions.htmldailyhttps://faasjs.com/doc/http/variables/ContentType.htmldailyhttps://faasjs.com/doc/images/bun/dailyhttps://faasjs.com/doc/images/nginx/dailyhttps://faasjs.com/doc/images/node/dailyhttps://faasjs.com/doc/images/vscode/dailyhttps://faasjs.com/doc/knex/classes/Knex.htmldailyhttps://faasjs.com/doc/knex/functions/originKnex.htmldailyhttps://faasjs.com/doc/knex/functions/query.htmldailyhttps://faasjs.com/doc/knex/functions/raw.htmldailyhttps://faasjs.com/doc/knex/functions/transaction.htmldailyhttps://faasjs.com/doc/knex/functions/useKnex.htmldailyhttps://faasjs.com/doc/knex/modules/originKnex.htmldailyhttps://faasjs.com/doc/knex/type-aliases/KnexConfig.htmldailyhttps://faasjs.com/doc/load/functions/loadConfig.htmldailyhttps://faasjs.com/doc/load/functions/loadTs.htmldailyhttps://faasjs.com/doc/logger/classes/Logger.htmldailyhttps://faasjs.com/doc/logger/enumerations/Color.htmldailyhttps://faasjs.com/doc/logger/enums/Color.htmldailyhttps://faasjs.com/doc/logger/type-aliases/Level.htmldailyhttps://faasjs.com/doc/mongo/classes/Mongo.htmldailyhttps://faasjs.com/doc/mongo/interfaces/MongoConfig.htmldailyhttps://faasjs.com/doc/react/classes/ErrorBoundary.htmldailyhttps://faasjs.com/doc/react/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/react/classes/Response.htmldailyhttps://faasjs.com/doc/react/classes/ResponseError.htmldailyhttps://faasjs.com/doc/react/functions/FaasDataWrapper.htmldailyhttps://faasjs.com/doc/react/functions/FaasReactClient.htmldailyhttps://faasjs.com/doc/react/functions/createSplitedContext.htmldailyhttps://faasjs.com/doc/react/functions/faas.htmldailyhttps://faasjs.com/doc/react/functions/getClient.htmldailyhttps://faasjs.com/doc/react/functions/signal.htmldailyhttps://faasjs.com/doc/react/functions/useConstant.htmldailyhttps://faasjs.com/doc/react/functions/useFaas.htmldailyhttps://faasjs.com/doc/react/functions/useSignalState.htmldailyhttps://faasjs.com/doc/react/interfaces/ErrorBoundaryProps.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasDataInjection.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasReactClientInstance.htmldailyhttps://faasjs.com/doc/react/type-aliases/ErrorChildrenProps.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasAction.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasData.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasDataInjection.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasParams.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasReactClientInstance.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasReactClientOptions.htmldailyhttps://faasjs.com/doc/react/type-aliases/Options.htmldailyhttps://faasjs.com/doc/react/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/react/type-aliases/SignalOptions.htmldailyhttps://faasjs.com/doc/react/type-aliases/useFaasOptions.htmldailyhttps://faasjs.com/doc/redis/classes/Redis.htmldailyhttps://faasjs.com/doc/redis/functions/get.htmldailyhttps://faasjs.com/doc/redis/functions/getJSON.htmldailyhttps://faasjs.com/doc/redis/functions/lock.htmldailyhttps://faasjs.com/doc/redis/functions/multi.htmldailyhttps://faasjs.com/doc/redis/functions/pipeline.htmldailyhttps://faasjs.com/doc/redis/functions/publish.htmldailyhttps://faasjs.com/doc/redis/functions/query.htmldailyhttps://faasjs.com/doc/redis/functions/set.htmldailyhttps://faasjs.com/doc/redis/functions/setJSON.htmldailyhttps://faasjs.com/doc/redis/functions/unlock.htmldailyhttps://faasjs.com/doc/redis/functions/useRedis.htmldailyhttps://faasjs.com/doc/redis/type-aliases/RedisConfig.htmldailyhttps://faasjs.com/doc/request/classes/ResponseError.htmldailyhttps://faasjs.com/doc/request/functions/querystringify.htmldailyhttps://faasjs.com/doc/request/functions/request.htmldailyhttps://faasjs.com/doc/request/functions/setMock.htmldailyhttps://faasjs.com/doc/request/type-aliases/Request.htmldailyhttps://faasjs.com/doc/request/type-aliases/RequestOptions.htmldailyhttps://faasjs.com/doc/request/type-aliases/Response.htmldailyhttps://faasjs.com/doc/server/classes/Server.htmldailyhttps://faasjs.com/doc/server/functions/closeAll.htmldailyhttps://faasjs.com/doc/server/functions/getAll.htmldailyhttps://faasjs.com/doc/tencentcloud/classes/Provider.htmldailyhttps://faasjs.com/doc/tencentcloud/functions/request.htmldailyhttps://faasjs.com/doc/tencentcloud/type-aliases/TencentcloudConfig.htmldailyhttps://faasjs.com/doc/test/classes/Func.htmldailyhttps://faasjs.com/doc/test/classes/FuncWarper.htmldailyhttps://faasjs.com/doc/test/functions/test.htmldailyhttps://faasjs.com/doc/test/functions/useFunc.htmldailyhttps://faasjs.com/doc/test/functions/usePlugin.htmldailyhttps://faasjs.com/doc/test/type-aliases/Config.htmldailyhttps://faasjs.com/doc/test/type-aliases/DeployData.htmldailyhttps://faasjs.com/doc/test/type-aliases/ExportedHandler.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncConfig.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncEventType.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncReturnType.htmldailyhttps://faasjs.com/doc/test/type-aliases/Handler.htmldailyhttps://faasjs.com/doc/test/type-aliases/InvokeData.htmldailyhttps://faasjs.com/doc/test/type-aliases/LifeCycleKey.htmldailyhttps://faasjs.com/doc/test/type-aliases/MountData.htmldailyhttps://faasjs.com/doc/test/type-aliases/Next.htmldailyhttps://faasjs.com/doc/test/type-aliases/Plugin.htmldailyhttps://faasjs.com/doc/test/type-aliases/ProviderConfig.htmldailyhttps://faasjs.com/doc/test/type-aliases/UseifyPlugin.htmldailyhttps://faasjs.com/doc/ts-transform/functions/bundle.htmldailyhttps://faasjs.com/doc/ts-transform/functions/transform.htmldailyhttps://faasjs.com/doc/ts-transform/variables/NodeBuiltinModules.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasAction.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasActionPaths.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasData.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasParams.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/Response.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/ResponseError.htmldailyhttps://faasjs.com/doc/vue-plugin/interfaces/FaasVuePluginOptions.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/FaasVuePluginOptions.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/Options.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/vue-plugin/variables/FaasVuePlugin.htmldailyhttps://faasjs.com/zh/guide/best-practice/lifecycle.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/db.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/env.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/faas-yaml.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/http.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/plugin.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/react.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/request-spec.html2024-05-10T00:05:04.000Zdailyhttps://faasjs.com/zh/guide/excel/vue.html2024-05-10T00:05:04.000Zdaily \ No newline at end of file +https://faasjs.com/CHANGELOG.htmldailyhttps://faasjs.com/CODE_OF_CONDUCT.htmldailyhttps://faasjs.com/2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/SECURITY.htmldailyhttps://faasjs.com/doc/dailyhttps://faasjs.com/guide/2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/guide/request-spec.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/doc/ant-design/dailyhttps://faasjs.com/doc/browser/dailyhttps://faasjs.com/doc/cli/dailyhttps://faasjs.com/doc/cloud_function/dailyhttps://faasjs.com/doc/create-faas-app/dailyhttps://faasjs.com/doc/deep_merge/dailyhttps://faasjs.com/doc/deployer/dailyhttps://faasjs.com/doc/faasjs/dailyhttps://faasjs.com/doc/func/dailyhttps://faasjs.com/doc/http/dailyhttps://faasjs.com/doc/images/dailyhttps://faasjs.com/doc/jest/dailyhttps://faasjs.com/doc/knex/dailyhttps://faasjs.com/doc/load/dailyhttps://faasjs.com/doc/logger/dailyhttps://faasjs.com/doc/mongo/dailyhttps://faasjs.com/doc/react/dailyhttps://faasjs.com/doc/redis/dailyhttps://faasjs.com/doc/request/dailyhttps://faasjs.com/doc/server/dailyhttps://faasjs.com/doc/tencentcloud/dailyhttps://faasjs.com/doc/test/dailyhttps://faasjs.com/doc/ts-transform/dailyhttps://faasjs.com/doc/types/dailyhttps://faasjs.com/doc/vue-plugin/dailyhttps://faasjs.com/zh/doc/2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/browser.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/cli.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/cloud_function.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/create-faas-app.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/deep_merge.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/deployer.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/develop.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/func.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/http.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/knex.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/load.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/logger.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/mongo.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/react.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/redis.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/request.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/server.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/tencentcloud.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/test.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/doc/vue-plugin.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/auth.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/story.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/tencentcloud.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/doc/ant-design/classes/ErrorBoundary.htmldailyhttps://faasjs.com/doc/ant-design/functions/App.htmldailyhttps://faasjs.com/doc/ant-design/functions/Blank.htmldailyhttps://faasjs.com/doc/ant-design/functions/ConfigProvider.htmldailyhttps://faasjs.com/doc/ant-design/functions/Description.htmldailyhttps://faasjs.com/doc/ant-design/functions/Drawer.htmldailyhttps://faasjs.com/doc/ant-design/functions/ErrorBoundary.htmldailyhttps://faasjs.com/doc/ant-design/functions/FaasDataWrapper.htmldailyhttps://faasjs.com/doc/ant-design/functions/Form.htmldailyhttps://faasjs.com/doc/ant-design/functions/FormItem.htmldailyhttps://faasjs.com/doc/ant-design/functions/Link.htmldailyhttps://faasjs.com/doc/ant-design/functions/Loading.htmldailyhttps://faasjs.com/doc/ant-design/functions/Modal.htmldailyhttps://faasjs.com/doc/ant-design/functions/PageNotFound.htmldailyhttps://faasjs.com/doc/ant-design/functions/Routes.htmldailyhttps://faasjs.com/doc/ant-design/functions/Table.htmldailyhttps://faasjs.com/doc/ant-design/functions/Tabs.htmldailyhttps://faasjs.com/doc/ant-design/functions/Title.htmldailyhttps://faasjs.com/doc/ant-design/functions/faas.htmldailyhttps://faasjs.com/doc/ant-design/functions/transferOptions.htmldailyhttps://faasjs.com/doc/ant-design/functions/transferValue.htmldailyhttps://faasjs.com/doc/ant-design/functions/useApp.htmldailyhttps://faasjs.com/doc/ant-design/functions/useConfigContext.htmldailyhttps://faasjs.com/doc/ant-design/functions/useDrawer.htmldailyhttps://faasjs.com/doc/ant-design/functions/useFaas.htmldailyhttps://faasjs.com/doc/ant-design/functions/useModal.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/AppProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/BaseItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/BlankProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ConfigProviderProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionItemContentProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DescriptionProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/DrawerProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ErrorBoundaryProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ExtendDescriptionTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasDataInjection.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FaasItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FormItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/FormProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/LinkProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/ModalProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/RoutesProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TabProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TableItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TabsProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/TitleProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/UnionFaasItemProps.htmldailyhttps://faasjs.com/doc/ant-design/interfaces/useAppProps.htmldailyhttps://faasjs.com/doc/ant-design/modules/App.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.ErrorList.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.Item.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.List.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.Provider.htmldailyhttps://faasjs.com/doc/ant-design/modules/Form.htmldailyhttps://faasjs.com/doc/ant-design/modules/FormItem.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/BaseOption.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendDescriptionItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendFormItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendFormTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTableItemProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTableTypeProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/ExtendTypes.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasDataInjection.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasItemType.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FaasItemTypeValue.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/FormSubmitProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/LoadingProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/TableProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemElement.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemInjection.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionFaasItemRender.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/UnionScene.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/setDrawerProps.htmldailyhttps://faasjs.com/doc/ant-design/type-aliases/setModalProps.htmldailyhttps://faasjs.com/doc/ant-design/variables/ConfigContext.htmldailyhttps://faasjs.com/doc/browser/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/browser/classes/Response.htmldailyhttps://faasjs.com/doc/browser/classes/ResponseError.htmldailyhttps://faasjs.com/doc/browser/functions/generateId.htmldailyhttps://faasjs.com/doc/browser/functions/setMock.htmldailyhttps://faasjs.com/doc/browser/type-aliases/FaasBrowserClientAction.htmldailyhttps://faasjs.com/doc/browser/type-aliases/MockHandler.htmldailyhttps://faasjs.com/doc/browser/type-aliases/Options.htmldailyhttps://faasjs.com/doc/browser/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/cloud_function/classes/CloudFunction.htmldailyhttps://faasjs.com/doc/cloud_function/functions/invoke.htmldailyhttps://faasjs.com/doc/cloud_function/functions/invokeSync.htmldailyhttps://faasjs.com/doc/cloud_function/functions/useCloudFunction.htmldailyhttps://faasjs.com/doc/cloud_function/type-aliases/CloudFunctionAdapter.htmldailyhttps://faasjs.com/doc/cloud_function/type-aliases/CloudFunctionConfig.htmldailyhttps://faasjs.com/doc/deep_merge/functions/deepMerge.htmldailyhttps://faasjs.com/doc/deployer/classes/Deployer.htmldailyhttps://faasjs.com/doc/func/classes/Func.htmldailyhttps://faasjs.com/doc/func/functions/useFunc.htmldailyhttps://faasjs.com/doc/func/functions/usePlugin.htmldailyhttps://faasjs.com/doc/func/type-aliases/Config.htmldailyhttps://faasjs.com/doc/func/type-aliases/DeployData.htmldailyhttps://faasjs.com/doc/func/type-aliases/ExportedHandler.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncConfig.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncEventType.htmldailyhttps://faasjs.com/doc/func/type-aliases/FuncReturnType.htmldailyhttps://faasjs.com/doc/func/type-aliases/Handler.htmldailyhttps://faasjs.com/doc/func/type-aliases/InvokeData.htmldailyhttps://faasjs.com/doc/func/type-aliases/LifeCycleKey.htmldailyhttps://faasjs.com/doc/func/type-aliases/MountData.htmldailyhttps://faasjs.com/doc/func/type-aliases/Next.htmldailyhttps://faasjs.com/doc/func/type-aliases/Plugin.htmldailyhttps://faasjs.com/doc/func/type-aliases/ProviderConfig.htmldailyhttps://faasjs.com/doc/func/type-aliases/UseifyPlugin.htmldailyhttps://faasjs.com/doc/http/classes/Cookie.htmldailyhttps://faasjs.com/doc/http/classes/Http.htmldailyhttps://faasjs.com/doc/http/classes/HttpError.htmldailyhttps://faasjs.com/doc/http/classes/Session.htmldailyhttps://faasjs.com/doc/http/classes/Validator.htmldailyhttps://faasjs.com/doc/http/functions/useHttp.htmldailyhttps://faasjs.com/doc/http/type-aliases/CookieOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/HttpConfig.htmldailyhttps://faasjs.com/doc/http/type-aliases/Response.htmldailyhttps://faasjs.com/doc/http/type-aliases/SessionOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorConfig.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorOptions.htmldailyhttps://faasjs.com/doc/http/type-aliases/ValidatorRuleOptions.htmldailyhttps://faasjs.com/doc/http/variables/ContentType.htmldailyhttps://faasjs.com/doc/images/bun/dailyhttps://faasjs.com/doc/images/nginx/dailyhttps://faasjs.com/doc/images/node/dailyhttps://faasjs.com/doc/images/vscode/dailyhttps://faasjs.com/doc/knex/classes/Knex.htmldailyhttps://faasjs.com/doc/knex/functions/originKnex.htmldailyhttps://faasjs.com/doc/knex/functions/query.htmldailyhttps://faasjs.com/doc/knex/functions/raw.htmldailyhttps://faasjs.com/doc/knex/functions/transaction.htmldailyhttps://faasjs.com/doc/knex/functions/useKnex.htmldailyhttps://faasjs.com/doc/knex/modules/originKnex.htmldailyhttps://faasjs.com/doc/knex/type-aliases/KnexConfig.htmldailyhttps://faasjs.com/doc/load/functions/loadConfig.htmldailyhttps://faasjs.com/doc/load/functions/loadTs.htmldailyhttps://faasjs.com/doc/logger/classes/Logger.htmldailyhttps://faasjs.com/doc/logger/enumerations/Color.htmldailyhttps://faasjs.com/doc/logger/enums/Color.htmldailyhttps://faasjs.com/doc/logger/type-aliases/Level.htmldailyhttps://faasjs.com/doc/mongo/classes/Mongo.htmldailyhttps://faasjs.com/doc/mongo/interfaces/MongoConfig.htmldailyhttps://faasjs.com/doc/react/classes/ErrorBoundary.htmldailyhttps://faasjs.com/doc/react/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/react/classes/Response.htmldailyhttps://faasjs.com/doc/react/classes/ResponseError.htmldailyhttps://faasjs.com/doc/react/functions/FaasDataWrapper.htmldailyhttps://faasjs.com/doc/react/functions/FaasReactClient.htmldailyhttps://faasjs.com/doc/react/functions/createSplitedContext.htmldailyhttps://faasjs.com/doc/react/functions/faas.htmldailyhttps://faasjs.com/doc/react/functions/getClient.htmldailyhttps://faasjs.com/doc/react/functions/signal.htmldailyhttps://faasjs.com/doc/react/functions/useConstant.htmldailyhttps://faasjs.com/doc/react/functions/useFaas.htmldailyhttps://faasjs.com/doc/react/functions/useSignalState.htmldailyhttps://faasjs.com/doc/react/interfaces/ErrorBoundaryProps.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasDataInjection.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/react/interfaces/FaasReactClientInstance.htmldailyhttps://faasjs.com/doc/react/type-aliases/ErrorChildrenProps.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasAction.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasData.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasDataInjection.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasDataWrapperProps.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasParams.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasReactClientInstance.htmldailyhttps://faasjs.com/doc/react/type-aliases/FaasReactClientOptions.htmldailyhttps://faasjs.com/doc/react/type-aliases/Options.htmldailyhttps://faasjs.com/doc/react/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/react/type-aliases/SignalOptions.htmldailyhttps://faasjs.com/doc/react/type-aliases/useFaasOptions.htmldailyhttps://faasjs.com/doc/redis/classes/Redis.htmldailyhttps://faasjs.com/doc/redis/functions/get.htmldailyhttps://faasjs.com/doc/redis/functions/getJSON.htmldailyhttps://faasjs.com/doc/redis/functions/lock.htmldailyhttps://faasjs.com/doc/redis/functions/multi.htmldailyhttps://faasjs.com/doc/redis/functions/pipeline.htmldailyhttps://faasjs.com/doc/redis/functions/publish.htmldailyhttps://faasjs.com/doc/redis/functions/query.htmldailyhttps://faasjs.com/doc/redis/functions/set.htmldailyhttps://faasjs.com/doc/redis/functions/setJSON.htmldailyhttps://faasjs.com/doc/redis/functions/unlock.htmldailyhttps://faasjs.com/doc/redis/functions/useRedis.htmldailyhttps://faasjs.com/doc/redis/type-aliases/RedisConfig.htmldailyhttps://faasjs.com/doc/request/classes/ResponseError.htmldailyhttps://faasjs.com/doc/request/functions/querystringify.htmldailyhttps://faasjs.com/doc/request/functions/request.htmldailyhttps://faasjs.com/doc/request/functions/setMock.htmldailyhttps://faasjs.com/doc/request/type-aliases/Request.htmldailyhttps://faasjs.com/doc/request/type-aliases/RequestOptions.htmldailyhttps://faasjs.com/doc/request/type-aliases/Response.htmldailyhttps://faasjs.com/doc/server/classes/Server.htmldailyhttps://faasjs.com/doc/server/functions/closeAll.htmldailyhttps://faasjs.com/doc/server/functions/getAll.htmldailyhttps://faasjs.com/doc/tencentcloud/classes/Provider.htmldailyhttps://faasjs.com/doc/tencentcloud/functions/request.htmldailyhttps://faasjs.com/doc/tencentcloud/type-aliases/TencentcloudConfig.htmldailyhttps://faasjs.com/doc/test/classes/Func.htmldailyhttps://faasjs.com/doc/test/classes/FuncWarper.htmldailyhttps://faasjs.com/doc/test/functions/test.htmldailyhttps://faasjs.com/doc/test/functions/useFunc.htmldailyhttps://faasjs.com/doc/test/functions/usePlugin.htmldailyhttps://faasjs.com/doc/test/type-aliases/Config.htmldailyhttps://faasjs.com/doc/test/type-aliases/DeployData.htmldailyhttps://faasjs.com/doc/test/type-aliases/ExportedHandler.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncConfig.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncEventType.htmldailyhttps://faasjs.com/doc/test/type-aliases/FuncReturnType.htmldailyhttps://faasjs.com/doc/test/type-aliases/Handler.htmldailyhttps://faasjs.com/doc/test/type-aliases/InvokeData.htmldailyhttps://faasjs.com/doc/test/type-aliases/LifeCycleKey.htmldailyhttps://faasjs.com/doc/test/type-aliases/MountData.htmldailyhttps://faasjs.com/doc/test/type-aliases/Next.htmldailyhttps://faasjs.com/doc/test/type-aliases/Plugin.htmldailyhttps://faasjs.com/doc/test/type-aliases/ProviderConfig.htmldailyhttps://faasjs.com/doc/test/type-aliases/UseifyPlugin.htmldailyhttps://faasjs.com/doc/ts-transform/functions/bundle.htmldailyhttps://faasjs.com/doc/ts-transform/functions/transform.htmldailyhttps://faasjs.com/doc/ts-transform/variables/NodeBuiltinModules.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasAction.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasActionPaths.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasData.htmldailyhttps://faasjs.com/doc/types/type-aliases/FaasParams.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/FaasBrowserClient.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/Response.htmldailyhttps://faasjs.com/doc/vue-plugin/classes/ResponseError.htmldailyhttps://faasjs.com/doc/vue-plugin/interfaces/FaasVuePluginOptions.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/FaasVuePluginOptions.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/Options.htmldailyhttps://faasjs.com/doc/vue-plugin/type-aliases/ResponseHeaders.htmldailyhttps://faasjs.com/doc/vue-plugin/variables/FaasVuePlugin.htmldailyhttps://faasjs.com/zh/guide/best-practice/lifecycle.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/db.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/env.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/faas-yaml.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/http.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/plugin.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/react.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/request-spec.html2024-05-10T00:24:51.000Zdailyhttps://faasjs.com/zh/guide/excel/vue.html2024-05-10T00:24:51.000Zdaily \ No newline at end of file diff --git a/zh/doc/browser.html b/zh/doc/browser.html index 5fa562ed23..4661e335ec 100644 --- a/zh/doc/browser.html +++ b/zh/doc/browser.html @@ -27,8 +27,8 @@ @faasjs/browser | FaasJS - - + +

    @faasjs/browser

    浏览器插件,用于在浏览器中请求云函数。

    安装方法

    npm

    npm install @faasjs/browser --save
    @@ -40,6 +40,6 @@
       }
     }
     

    FaasBrowserClient 实例方法

    constructor (baseUrl?: string): FaasBrowserClient

    构建插件实例,baseUrl 为云函数网关的网址,若不传值则视为开发环境,会在当前域名下请求 /_faas/ 路径下的接口。

    action (action: string, params?: any): Promise<Response>

    请求云函数,action 为云函数的路径,params 为传递的参数

    Response 实例属性

    • status number 响应状态
    • headers object 响应头
    • data any 响应数据

    ResponseError 实例属性

    • message string 错误提示
    • status number 响应状态
    • headers object 响应头
    • body any 响应体

    在 React 或 Vue 中使用

    - + diff --git a/zh/doc/cli.html b/zh/doc/cli.html index b9fab44a16..5e49228288 100644 --- a/zh/doc/cli.html +++ b/zh/doc/cli.html @@ -27,13 +27,13 @@ @faasjs/cli | FaasJS - - + +

    @faasjs/cli

    发布

    将云函数发布到云服务商。

    命令

    faas deploy <env> [files...]
     

    参数

    env

    发布环境名。

    files

    文件名或文件夹名,如果是文件夹名,会发布该文件夹下全部云函数。

    启动服务器

    • 支持 HTTP 请求模拟
    • 支持热加载云函数代码

    命令

    faas server [options]
     

    参数

    -p

    端口号,默认为 3000

    -cache

    是否开启缓存,开启后不会热读取云函数源代码,默认为热读取

    -v

    是否显示 DEBUG 级别日志,默认不显示

    - + diff --git a/zh/doc/cloud_function.html b/zh/doc/cloud_function.html index 8893c55527..c764bd82a5 100644 --- a/zh/doc/cloud_function.html +++ b/zh/doc/cloud_function.html @@ -27,8 +27,8 @@ @faasjs/cloud_function | FaasJS - - + +

    @faasjs/cloud_function

    FaasJS 内置插件,无需额外安装。

    配置参数

    • name string 云函数名字,默认为文件夹+文件名
    • memorySize number 内存,单位为 MB,默认为 128
    • timeout number 最大执行时长,单位为秒,默认为 30
    • triggers object 触发器配置
      • type string 触发器类型
      • name string 触发器名字
      • value string 触发器设置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobject
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个请求作为入参传入,将函数的返回值赋上
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    import { CloudFunction } from '@faasjs/cloud_function';
    @@ -71,6 +71,6 @@
       }
     });
     

    Github 地址

    https://github.com/faasjs/faasjs/tree/main/packages/cloud_functionopen in new window

    - + diff --git a/zh/doc/create-faas-app.html b/zh/doc/create-faas-app.html index 28c526ed52..c70d9afa7f 100644 --- a/zh/doc/create-faas-app.html +++ b/zh/doc/create-faas-app.html @@ -27,11 +27,11 @@ create-faas-app | FaasJS - - + + - + diff --git a/zh/doc/deep_merge.html b/zh/doc/deep_merge.html index 840e2a5a85..e11c8130e6 100644 --- a/zh/doc/deep_merge.html +++ b/zh/doc/deep_merge.html @@ -27,11 +27,11 @@ @faasjs/deep_merge | FaasJS - - + + - + diff --git a/zh/doc/deployer.html b/zh/doc/deployer.html index b112d0184a..73bc842dd0 100644 --- a/zh/doc/deployer.html +++ b/zh/doc/deployer.html @@ -27,11 +27,11 @@ @faasjs/deployer | FaasJS - - + + - + diff --git a/zh/doc/develop.html b/zh/doc/develop.html index 48f4fbb55c..081af458c5 100644 --- a/zh/doc/develop.html +++ b/zh/doc/develop.html @@ -27,11 +27,11 @@ 开发插件 | FaasJS - - + + - + diff --git a/zh/doc/func.html b/zh/doc/func.html index ff1006e2f3..11a54fdce4 100644 --- a/zh/doc/func.html +++ b/zh/doc/func.html @@ -27,8 +27,8 @@ @faasjs/func | FaasJS - - + + - + diff --git a/zh/doc/http.html b/zh/doc/http.html index 94b442bd1d..beee824652 100644 --- a/zh/doc/http.html +++ b/zh/doc/http.html @@ -27,8 +27,8 @@ @faasjs/http | FaasJS - - + +

    @faasjs/http

    FaasJS 内置插件,无需额外安装。

    Http 插件可以使云函数能够接收和处理网络请求。

    同时还提供 cookie 和基于 cookie 的 seesion 功能。

    此外,强烈建议按 FaasJS 请求规范 进行网络通讯。

    配置参数

    • method string 英文大写的方法名,默认为 POST
    • timeout number 超时时间,单位为秒,默认为 30
    • cookie object cookie 配置项
      • domain string 域名
      • path string 路径,默认为 /
      • expires number 过期时间,默认为 31536000(365天)
      • secure boolean 是否为 secure,默认为 true
      • httpOnly boolean 是否为 httpOnly,默认为 true
      • sameSite string 支持 StrictLaxNone
      • session object session 配置项,必须配置 keysecret 才能启用session 功能
        • key string cookie 中保存 session 信息的 key
        • secret string 加密 session 信息的密钥
        • salt string 加密用的 salt,默认为 salt
        • signedSalt string 加密用的 signedSalt,默认为 signedSalt
        • keylen number 加密用的 keylen,默认为 64
        • iterations number 加密用的 iterations,默认为 100
        • digest string 加密用的 digest,默认为 sha256
        • cipherName string 加密用的 cipherName,默认为 aes-256-cbc

    入参校验

    除了标准的配置参数外,Http 插件还支持入参校验功能。

    配置项

    • params object body 校验配置
    • cookie object cookie 校验配置
    • session object session 校验配置

    校验配置

    • whitelist 'error' | 'ignore' 是否只允许 rules 中声明的入参,当遇到未声明的入参,error 会直接抛异常,ignore 不会报错,但会删除未声明的入参
    • onError function 自定义报错信息,函数入参为 type: string, key: string | string[], value?: any
    • rules object 参数校验规则
      • required boolean 是否必填,设置为 true 时,将不允许值为 undefinednull
      • type string 支持 stringnumberbooleanarrayobjectcookie 不支持此规则
      • in array 判断值是否在列表中
      • default any 若值为 undefined,则会将默认值赋上,若这里配置为函数,则会将整个 params 作为入参传入,将函数的返回值赋上,cookie 和 session 不支持此规则
      • config object 内嵌对象的校验规则,配置项同上

    代码示例

    简单校验

    import { Http } from '@faasjs/http';
    @@ -134,6 +134,6 @@
       }
     });
     

    常见问题

    Path 自动生成的规则是什么?

    Path 会按照文件夹和文件名自动生成,并会去掉 Path 的第一级文件夹的名字和最后的 /index

    如:

    funcs/product/show.func.ts => /product/show

    funcs/product/index.func.ts => /product

    为什么不允许配置 path?

    不允许配置 Path 是为了保证所有云函数文件的目录位置与网关的 Path 完全对应,便于后期维护迭代。

    多个网关如何配置?

    在 faas.yaml 中,可以配置不同的网关,在云函数中初始化插件时,将配置名传入即可。

    若一个云函数需要接收多个网关的请求,可以创建多个插件实例,部署时会逐一部署。

    Github 地址

    https://github.com/faasjs/faasjs/tree/main/packages/httpopen in new window

    - + diff --git a/zh/doc/index.html b/zh/doc/index.html index 55ab5bd3cb..4745776f10 100644 --- a/zh/doc/index.html +++ b/zh/doc/index.html @@ -27,11 +27,11 @@ 官方插件总览 | FaasJS - - + +

    官方插件总览

    Build Statusopen in new window

    核心插件

    NameStableBeta
    faasjsopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/funcopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/cloud_functionopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/deployeropen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/testopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    命令行插件

    NameStableBeta
    @faasjs/cliopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    create-faas-appopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    工具插件

    NameStableBeta
    @faasjs/deep_mergeopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/loadopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/loggeropen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/requestopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/serveropen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    网络插件

    NameStableBeta
    @faasjs/httpopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/graphql-serveropen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    数据库插件

    NameStableBeta
    @faasjs/knexopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/mongoopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/redisopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    服务商适配插件

    NameStableBeta
    @faasjs/tencentcloudopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window

    前端插件

    NameStableBeta
    @faasjs/browseropen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/reactopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    @faasjs/vue-pluginopen in new windowNPM Stable Versionopen in new windowNPM Beta Versionopen in new window
    - + diff --git a/zh/doc/knex.html b/zh/doc/knex.html index 27e4dcdd5c..a63fed9b02 100644 --- a/zh/doc/knex.html +++ b/zh/doc/knex.html @@ -27,11 +27,11 @@ @faasjs/knex | FaasJS - - + + - + diff --git a/zh/doc/load.html b/zh/doc/load.html index 2fe71de880..18e6a4f215 100644 --- a/zh/doc/load.html +++ b/zh/doc/load.html @@ -27,11 +27,11 @@ @faasjs/load | FaasJS - - + + - + diff --git a/zh/doc/logger.html b/zh/doc/logger.html index ebf6534fb0..28b66cb31b 100644 --- a/zh/doc/logger.html +++ b/zh/doc/logger.html @@ -27,11 +27,11 @@ @faasjs/logger | FaasJS - - + + - + diff --git a/zh/doc/mongo.html b/zh/doc/mongo.html index 384498a2d4..94989fcc6f 100644 --- a/zh/doc/mongo.html +++ b/zh/doc/mongo.html @@ -27,11 +27,11 @@ @faasjs/mongo | FaasJS - - + + - + diff --git a/zh/doc/react.html b/zh/doc/react.html index 092cadb58d..729bd371a6 100644 --- a/zh/doc/react.html +++ b/zh/doc/react.html @@ -27,8 +27,8 @@ @faasjs/react | FaasJS - - + +
    - + diff --git a/zh/doc/redis.html b/zh/doc/redis.html index 972073baaa..1201d03538 100644 --- a/zh/doc/redis.html +++ b/zh/doc/redis.html @@ -27,8 +27,8 @@ @faasjs/redis | FaasJS - - + +

    @faasjs/redis

    Redis 插件可以使云函数能够连接 Redis 数据库。

    基于 redisopen in new window

    配置参数

    • host string 主机地址
    • port number 端口号
    • password string 登录密码
    • prefix string 前缀

    实例方法

    query(command: string, args: any[]): Promise<any>

    请求 Redis

    示例代码

    import { Func } from '@faasjs/func';
    @@ -43,6 +43,6 @@
       }
     });
     

    Github 地址

    https://github.com/faasjs/faasjs/tree/main/packages/redisopen in new window

    - + diff --git a/zh/doc/request.html b/zh/doc/request.html index a0be6a5989..4a50cbf2a1 100644 --- a/zh/doc/request.html +++ b/zh/doc/request.html @@ -27,8 +27,8 @@ @faasjs/request | FaasJS - - + +

    @faasjs/request

    FaasJS 内置插件,无需额外安装。

    简化版网络请求插件,主要用于请求接口。

    入参

    • url string 请求网址
    • options object 请求配置项
      • method string 请求方法,默认为 GET
      • query object 请求参数
      • headers object 请求头
      • body any 请求体

    出参

    注意:出参为 Promise 对象。

    • request object 请求对象
    • statusCode number 状态码
    • statusMessage string 状态信息
    • headers object 响应头
    • body any 响应内容

    代码示例

    import { request } from '@faasjs/request';
    @@ -52,6 +52,6 @@
     
     request('https://hello.com').then(console.log); // 必定会返回 body 为 world
     

    Github 地址

    https://github.com/faasjs/faasjs/tree/main/packages/requestopen in new window

    - + diff --git a/zh/doc/server.html b/zh/doc/server.html index 8852e5f29e..d5da3ea04b 100644 --- a/zh/doc/server.html +++ b/zh/doc/server.html @@ -27,11 +27,11 @@ @faasjs/server | FaasJS - - + + - + diff --git a/zh/doc/tencentcloud.html b/zh/doc/tencentcloud.html index 369b5c97d4..9637ecd80b 100644 --- a/zh/doc/tencentcloud.html +++ b/zh/doc/tencentcloud.html @@ -27,11 +27,11 @@ @faasjs/tencentcloud | FaasJS - - + + - + diff --git a/zh/doc/test.html b/zh/doc/test.html index dd74f78dc3..c9ce1a98d4 100644 --- a/zh/doc/test.html +++ b/zh/doc/test.html @@ -27,8 +27,8 @@ @faasjs/test | FaasJS - - + + - + diff --git a/zh/doc/vue-plugin.html b/zh/doc/vue-plugin.html index 26b9f6f9b4..d16e116136 100644 --- a/zh/doc/vue-plugin.html +++ b/zh/doc/vue-plugin.html @@ -27,8 +27,8 @@ @faasjs/vue-plugin | FaasJS - - + +
    - + diff --git a/zh/guide/auth.html b/zh/guide/auth.html index e934d782f7..25fce75516 100644 --- a/zh/guide/auth.html +++ b/zh/guide/auth.html @@ -27,8 +27,8 @@ 5 分钟开发登录注册功能 | FaasJS - - + +

    5 分钟开发登录注册功能

    在学习本教程前,建议先学习 1 分钟上手2 分钟部署到腾讯云

    通过本教程,你将学到:

    • 如何将需求拆解为云函数?
    • 如何使用 Session 来识别用户?
    • 如何使用入参校验来避免恶意攻击?
    • 如何在云函数中使用 Sql?

    梳理需求

    为了简化教程,我们将登陆注册功能,限定为仅支持使用用户名和密码来注册和登录。

    因此把功能点梳理为:

    • 用户可以通过输入用户名和密码,来完成注册;
    • 注册完成后直接成为已登录状态;
    • 在已登录状态下,用户可以修改自己的密码;
    • 用户可以登出;
    • 用户可以登录;

    为了实现需求,我们需要分两步来设计:数据库设计和云函数设计。

    先确定数据库表结构为:

    • users 表名
      • id number 自增主键
      • username string 用户名,不可重复
      • password string 密码(这里为了简化教程,密码采用明码保存,在实际业务中请务必加密保存!!)

    接下来,云函数的设计,需要根据业务流程来梳理,通常来说,有几个业务流程,就创建几个云函数:

    • 注册流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:把用户名和密码保存到数据库中,并在 seesion 中保存用户 ID
    • 登录流程
      • 入参:用户名、密码
      • 出参:在 seesion 中保存用户 ID
      • 业务逻辑:检查用户名和密码是否与数据库中保存的一致,一致则在 seesion 中写入用户 ID
    • 登出流程
      • 入参:seesion 中当前登录用户的 ID
      • 出参:删除 session 的登录用户 ID
      • 业务逻辑:删除 session 中的用户 ID
    • 修改密码:
      • 入参:新密码、旧密码、seesion 中当前登录用户的 ID
      • 出参:无
      • 业务逻辑:检查旧密码是否与数据库中存储的一致,一致的话替换为新密码

    基于以上梳理,我们知道了要完成这个功能,我们需要创建 1 张数据库表和 4 个云函数。

    注册流程

    数据库建表这里就略过了,我们直接从云函数开始写起。

    我们按上面列出的业务逻辑顺序,来写云函数,首先是注册流程。

    我们先通过命令行创建云函数文件:

    npm exec faas new func users/signup http knex
    @@ -220,6 +220,6 @@
       }
     });
     

    完整项目代码

    完整的项目代码在 https://github.com/faasjs/faasjs/examples/tree/main/authopen in new window 其中还包括了完整的测试用例代码。

    - + diff --git a/zh/guide/best-practice/lifecycle.html b/zh/guide/best-practice/lifecycle.html index 7eeb7259eb..6d902bde0e 100644 --- a/zh/guide/best-practice/lifecycle.html +++ b/zh/guide/best-practice/lifecycle.html @@ -27,11 +27,11 @@ 优化云函数的初始化 | FaasJS - - + + - + diff --git a/zh/guide/excel/db.html b/zh/guide/excel/db.html index 0704a1df8b..c44a1240a7 100644 --- a/zh/guide/excel/db.html +++ b/zh/guide/excel/db.html @@ -27,8 +27,8 @@ 数据库操作 | FaasJS - - + +

    数据库操作

    数据库插件没有内置在 faasjs 中,使用前需自行安装依赖。

    FaasJS 目前提供了三个数据库插件:

    • @faasjs/knex 基于 Knex 封装的云函数插件。
    • @faasjs/redis 支持 Redis。
    • @faasjs/mongo 支持 MongoDB。

    Redis 数据库操作示例

    import { Func } from '@faasjs/func';
    @@ -54,6 +54,6 @@
       }
     });
     
    - + diff --git a/zh/guide/excel/env.html b/zh/guide/excel/env.html index 61ceac6799..78a77547d2 100644 --- a/zh/guide/excel/env.html +++ b/zh/guide/excel/env.html @@ -27,11 +27,11 @@ 环境变量 | FaasJS - - + + - + diff --git a/zh/guide/excel/faas-yaml.html b/zh/guide/excel/faas-yaml.html index a9deeef5f7..28e9ff8740 100644 --- a/zh/guide/excel/faas-yaml.html +++ b/zh/guide/excel/faas-yaml.html @@ -27,8 +27,8 @@ faas.yaml | FaasJS - - + +

    faas.yaml

    为了灵活高效的处理简单应用和复杂应用的配置,FaasJS 采用了递归式的配置方式。

    文件名

    配置文件的名字统一为 faas.yaml

    读取顺序

    当编译云函数文件时,会从云函数所在在文件夹开始,逐级向外寻找配置文件并合并配置,合并配置的优先级也以云函数所在文件夹的配置文件为最高优先级。

    比如下面的文件结构:| 表示文件夹,- 表示文件

    | root
    @@ -63,6 +63,6 @@
         config:
           host: 127.0.0.1
     
    - + diff --git a/zh/guide/excel/http.html b/zh/guide/excel/http.html index b2c688d4e6..81ef1c292d 100644 --- a/zh/guide/excel/http.html +++ b/zh/guide/excel/http.html @@ -27,8 +27,8 @@ Http、Cookie 和 Session | FaasJS - - + +

    Http、Cookie 和 Session

    @faasjs/http 提供了以下功能:

    • 网络请求的入参校验
    • 规范化网络响应(基于 HTTP 请求规范
    • Cookie 的校验和读写
    • Session 的校验和读写(Session 被加密储存在 Cookie 中)

    校验示例

    import { Func } from '@faasjs/func';
    @@ -98,6 +98,6 @@
       }
     });
     

    Http 插件文档

    详细文档见 Http 插件

    - + diff --git a/zh/guide/excel/plugin.html b/zh/guide/excel/plugin.html index 2c4936a531..e8c9f75491 100644 --- a/zh/guide/excel/plugin.html +++ b/zh/guide/excel/plugin.html @@ -27,8 +27,8 @@ 使用插件 | FaasJS - - + +

    使用插件

    FaasJS 中插件分两类,一类是云函数插件,须在创建云函数时注入才能正常使用,另外一类是非云函数插件,使用方法同普通的 npm 库。

    创建插件实例

    使用默认配置

    # faas.yaml
    @@ -80,6 +80,6 @@
       handler(){}
     });
     

    自定义配置也可以跟指定配置混合使用,覆盖指定配置中部分配置项。

    配置的优先级

    插件的配置可以在引用插件时在代码中直接配置,也可以在 faas.yaml 中配置。

    配置的优先级为:云函数代码中的配置 > 云函数文件所在文件夹的 faas.yaml > 父文件夹的 faas.yaml > 更浅层级文件夹中的 faas.yaml

    最佳实践

    对于共用和常用的配置,建议都配置在 faas.yaml 中。

    仅某个云函数用到的特殊配置,可以直接在云函数的代码中配置。

    - + diff --git a/zh/guide/excel/react.html b/zh/guide/excel/react.html index cee8b8911a..2418285325 100644 --- a/zh/guide/excel/react.html +++ b/zh/guide/excel/react.html @@ -27,8 +27,8 @@ 在 React 中使用 | FaasJS - - + + - + diff --git a/zh/guide/excel/request-spec.html b/zh/guide/excel/request-spec.html index f7ce289255..415bfa2cb1 100644 --- a/zh/guide/excel/request-spec.html +++ b/zh/guide/excel/request-spec.html @@ -27,8 +27,8 @@ HTTP 请求规范 | FaasJS - - + +

    HTTP 请求规范

    为了统一团队协作时请求规范不一致的情况,FaasJS 提供了内置的请求规范和配套的浏览器插件。

    请求

    Headers

    • Content-Type: application/json; charset=UTF-8

    Method

    统一为 POST

    Path

    请求路径默认与项目中的目录名和文件名一致。

    Query

    不建议使用,入参请通过 Body 传值。

    Body

    为空或 JSON 格式。

    响应

    Headers

    • Content-Type: application/json; charset=UTF-8

    StatusCode

    • 200 请求成功且有返回信息
    • 201 请求成功但没有返回信息
    • 500 请求失败

    其它状态可根据具体业务情况添加。

    Body

    200 状态

    • data 必有,业务信息

    例:

    {
    @@ -45,6 +45,6 @@
       }
     }
     

    常见问题

    为什么不使用表单形式提交数据?

    因为表单提交数据有两个比较大的问题:一是格式只能为字符串,二是层级数据嵌套时,会导致提交的字数过多。

    为什么不使用 Restful 或者 GraphQL?

    Restful 的问题在于需要开发者对动词和名词有较深的理解,GraphQL 的问题在于解析和权限验证较复杂,在 FaaS 的环境中使用 Apollo 之类的框架会显得更重。

    因此 FaasJS 综合了 Restful 和 GraphQL 中易于理解的部分,将请求标准设计为仅 actionparams 的形式。

    - + diff --git a/zh/guide/excel/vue.html b/zh/guide/excel/vue.html index f30ef86217..bb77fc2573 100644 --- a/zh/guide/excel/vue.html +++ b/zh/guide/excel/vue.html @@ -27,8 +27,8 @@ 在 Vue 中使用 | FaasJS - - + + - + diff --git a/zh/guide/index.html b/zh/guide/index.html index 6ead9398c9..3c1e0ee3d6 100644 --- a/zh/guide/index.html +++ b/zh/guide/index.html @@ -27,12 +27,12 @@ 1 分钟上手 | FaasJS - - + +

    1 分钟上手

    通过本教程,你将学到:

    • 如何搭建本地开发环境?
    • FaasJS 项目的基本结构是什么?

    准备工作

    FaasJS 基于 Node.js 构建,因此需要本地环境支持至少 Node.js 12.x。

    若使用的是 OS X,可以使用 brew 来安装:brew install node

    由于 FaasJS 基于 TypeScript,因此建议使用 Visual Studio Codeopen in new window 作为编辑器。

    创建项目

    你可以直接使用 npx 一键创建新项目,初次创建可以先跳过 Provider 配置:

    npx create-faas-app --example --noprovider
     

    启动项目

    执行 npm exec faas server,用浏览器打开 http://localhost:3000/hello 即可看到 hello.func.ts 的执行结果。

    文件结构

    package.json

    这是 Node.js 的项目配置,主要包含了依赖项和 Jest 配置。

    tsconfig.json

    这个文件的内容仅仅为 {},因为 FaasJS 本身对 Typescript 没有特殊的配置需求,你可以根据实际情况进行定制化配置。

    faas.yaml

    这是 FaasJS 的配置文件,记录了云服务商的配置项和插件的配置项。

    *.func.ts

    这是云函数文件,在 FaasJS 中,所有云函数文件都必须以 .func.ts 结尾。

    *.test.ts

    这是单元测试文件,在 FaasJS 中,所有单元测试文件都必须以 .test.ts 结尾。

    完整示例

    https://github.com/faasjs/faasjs/tree/main/examples/simpleopen in new window 可以看到一个包含了代码检查、自动化测试的简单例子。

    - + diff --git a/zh/guide/story.html b/zh/guide/story.html index 988fcd81ca..7d8d2b0d10 100644 --- a/zh/guide/story.html +++ b/zh/guide/story.html @@ -27,11 +27,11 @@ 背景故事 | FaasJS - - + +

    背景故事

    为什么要创建 FaasJS?

    FaasJS 要解决什么问题?

    自从 AWS Lambda 带来了 Serverless 热潮后,不少公司和个人都尝试了 FaaS 服务,并欣喜于其轻量和易于上手的特点。

    但当使用 FaaS 服务来开发企业级应用时,却遇到了缺乏框架、工具和实践指导的问题。

    所以我打算将我在简单心理实践 FasS 的经验总结和优化,做成一套简单易上手的 FasS 的框架。

    FaasJS 将如何解决问题?

    以下是我在实践过程中遇到的主要问题及解决办法:

    函数随着数量增多而越来越难以管理

    通过对函数名设定命名规则,以多个层级的命名空间来管理函数,并明确每个函数的作用。

    函数之间互相调用导致出故障时难以追查

    1. 在业务流程的起始点设置追踪 ID,并继承和贯穿整个业务流程,以这种方式来查找日志并追查故障;
    2. 使用框架来自动分析所有函数之间的调用关系,直观展示调用流程。

    碎片化的函数难以开发和扩展

    通过使用框架来提供单体应用式的开发体验。

    为什么面向业务流程?

    大部分情况下,业务人员的沟通用的是面向过程的表达方式,比如第一步做什么,第二步做什么等等。

    而传统的技术框架,特别是 MVC 框架,用的是面向对象的表达方式。当翻译业务语言时,需要先构建抽象的对象,然后再构建该对象的行为。当流程复杂时,需要创建一系列的对象和行为。在一个高内聚的复杂应用内,这种抽象形式的确可以大幅简化开发和管理的难度。

    但 FaaS 提供了完全解耦和独立的函数,使得我们可以以更贴近真实业务和人员结构的表达形式来组织代码。

    为什么选择 Serverless?

    什么是 Serverless?

    FasS 示意图

    如上图所示,Serverless 是指由服务商来完全托管服务底层的服务,托管对象可以是函数或者应用。

    FaaS(Function as a Service)是专指 Serverless 服务中的函数服务,开发者上传函数后,由服务商来负责按需执行和横向扩容等事情。

    当托管对象为应用时,我们一般称为 PaaS(Platform as a Service)。

    Serverless 的优势

    • 专注业务逻辑,由服务商全权托管底层和运维
    • 自动伸缩,按使用量计费,节约成本

    为什么选择 FaaS 而不是 PaaS ?

    • PaaS 的应用通常基于各类 MVC 框架,有一定的学习成本和使用门槛
    • PaaS 无法避开随着应用复杂度的提升,导致扩展成本急剧升高的问题
    • FaaS 由于粒度细化到 Function 层级,重构时可以轻易找到最小切入点,进行低成本重构
    • FaaS 的函数互相之间独立运行,极大的降低了单点故障的影响范围
    • FaaS 可以提供更细粒度的自动伸缩和成本优化,并直观体现业务的使用频率等运营数据
    • FaaS 可以极大降低多人同时开发一个应用时导致的代码冲突

    为什么选择 Node.js ?

    什么是 Node.js ?

    Node.js 是一个能够在服务器端运行 JavaScript 的开放源代码、跨平台 JavaScript 运行环境。

    Node.js 的优势

    • JavaScript 是一个通行于前后端的编程语言,且易于上手
    • Node.js 的插件管理工具 npm 已有近百万插件,易于使用和开发

    为什么选择 TypeScript ?

    什么是 TypeScript ?

    TypeScript 是 JavaScript 的一个严格超集,并添加了可选的静态类型和基于类的面向对象编程。

    Typescript 的优势

    • 弥补 JavaScript 的缺陷
    • 提升代码质量
    • 开发时可以享有更好的代码提示及类型检查
    - + diff --git a/zh/guide/tencentcloud.html b/zh/guide/tencentcloud.html index b80a94a933..95174380eb 100644 --- a/zh/guide/tencentcloud.html +++ b/zh/guide/tencentcloud.html @@ -27,12 +27,12 @@ 2 分钟部署到腾讯云 | FaasJS - - + +

    2 分钟部署到腾讯云

    注:欢迎加入 QQ 群(772109193)与大家一起交流学习。

    在学习本教程前,建议先学习 1 分钟上手

    通过本教程,你将学到:

    • 使用 FaasJS 需要开通哪些云服务?
    • 如何将云函数部署到腾讯云上?

    准备工作

    注册 腾讯云open in new window 并完成实名验证。

    开通服务

    FaasJS 需要开通以下三个服务,依次点开即可开通:

    1. 云函数 https://console.qcloud.com/scfopen in new window
    2. API网关 https://console.qcloud.com/apigateway/indexopen in new window
    3. 对象存储 https://console.qcloud.com/cos5open in new window

    获取腾讯云配置信息

    FaasJS 需要将以下 4 个配置信息填写到 faas.yaml

    • appId 腾讯云的 APPID,在 https://console.cloud.tencent.com/developeropen in new window 获取
    • region 可用区,目前腾讯云仅下面 4 个可用区可以完整支持 FaasJS:
      • ap-beijing 华北地区(北京)
      • ap-shanghai 华东地区(上海)
      • ap-guangzhou 华南地区(广州)
      • ap-hongkong 港澳台地区(中国香港)
    • secretIdsecretKey 腾讯云接口密钥信息,获取方式如下:
    1. 打开 https://console.cloud.tencent.com/cam/capiopen in new window
    2. 创建一个子账号,并给与三个权限:
    • QcloudSCFFullAccess
    • QcloudCOSFullAccess
    • QcloudAPIGWFullAccess
    1. 获取子账号的 secretId 和 secretKey

    完成了 faas.yaml 中配置后,就可以发布到腾讯云了。

    发布到腾讯云

    FaasJS 的发布指令格式为 npm exec faas deploy <env> <file>,示例如下:

    npm exec faas deploy production hello.func.ts
     

    其中 production 即环境名,hello.func.ts 即要发布的云函数文件名。

    附录

    云函数发布流程

    1. 生成配置项
    2. 生成代码包
    3. 生成 index.js
    4. 生成 package.json
    5. 生成 node_modules
    6. 打包代码包
    7. 创建 Cos Bucket
    8. 检查 Cos Bucket 状态
    9. 创建 Cos Bucket 或跳过
    10. 上传代码包
    11. 创建命名空间
    12. 检查命名空间状态
    13. 创建命名空间或跳过
    14. 创建/更新云函数
    15. 检查云函数状态
    16. 创建/更新云函数
    17. 等待云函数创建/更新完成
    18. 发布版本
    19. 创建/更新触发器
    20. 删除旧触发器
    21. 创建触发器
    22. 清理文件
    23. 清理 Cos Bucket
    24. 清理本地文件
    25. 完成发布
    - + diff --git a/zh/index.html b/zh/index.html index b87a0948c9..ddbeb1b4f6 100644 --- a/zh/index.html +++ b/zh/index.html @@ -27,8 +27,8 @@ FaasJS - - + +
    FaasJS

    FaasJS

    一个基于 Typescript 的原子化应用框架

    为什么要使用 FaasJS ?

    开发效率高

    原子化的开发模式,可以让开发和迭代降低到羽量级的程度,对团队开发也更友好。

    FaasJS 官方提供了诸如 HTTP、Knex 等插件,使开发者可以立刻上手开发业务。

    可维护性高

    FaaS 架构保证了云函数之间的独立性,避免单一错误导致整个系统的故障。

    FaasJS 内置自动化测试工具,方便开发者对云函数进行自动化测试。

    可扩展性高

    FaasJS 拥有简单易用的插件机制,可以让开发者可以自由扩展功能和插件。

    代码示例

    云函数文件

    // index.func.ts 文件,云函数文件名都以 .func.ts 结尾
    @@ -62,6 +62,6 @@
     });
     

    立即开始

    npx create-faas-app --name faasjs --example --noprovider
     



    欢迎关注 FaasJS 作者的公众号(寂静小站)与我交流:
    公众号 寂静小站

    感谢

    代码贡献者(按字母排序)

    Germini, hiisea, luckyporo, mingkang1993, minzojian, onichandame, Vibutnum, victoryifei, zfben

    FaasJS 基于以下开源项目(按字母排序)

    Apollo, Biome, Jest, Knex, Node.js, Rollup.js, TypeScript, VuePress
    - +