@integration-app/react 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/contexts → contexts}/integration-app-context.d.ts +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js +0 -0
- package/{dist/contexts → contexts}/integration-app-context.js.map +0 -0
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/index.js.map → index.js.map} +0 -0
- package/{dist/integrations → integrations}/index.d.ts +0 -0
- package/{dist/integrations → integrations}/index.js +0 -0
- package/{dist/integrations → integrations}/index.js.map +0 -0
- package/{dist/node_modules/scheduler → node_modules/@compwright/namecase}/LICENSE +8 -3
- package/node_modules/@compwright/namecase/README.md +49 -0
- package/node_modules/@compwright/namecase/bin/namecase +28 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js +4 -0
- package/node_modules/@compwright/namecase/dist/namecase.min.js.map +1 -0
- package/node_modules/@compwright/namecase/package.json +46 -0
- package/node_modules/@compwright/namecase/src/index.js +146 -0
- package/node_modules/@integration-app/sdk/accessors.d.ts +56 -0
- package/node_modules/@integration-app/sdk/accessors.js +104 -0
- package/node_modules/@integration-app/sdk/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-collections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.d.ts +26 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-collections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.d.ts +21 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-data-schemas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.d.ts +16 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js +38 -0
- package/node_modules/@integration-app/sdk/app-events/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/api.d.ts +18 -0
- package/node_modules/@integration-app/sdk/app-events/api.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/app-events/index.d.ts +46 -0
- package/node_modules/@integration-app/sdk/app-events/index.js +3 -0
- package/node_modules/@integration-app/sdk/app-events/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/accessors.d.ts +7 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js +13 -0
- package/node_modules/@integration-app/sdk/auth/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/auth/index.d.ts +6 -0
- package/node_modules/@integration-app/sdk/auth/index.js +3 -0
- package/node_modules/@integration-app/sdk/auth/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.d.ts +1 -0
- package/node_modules/@integration-app/sdk/bundle-index.js +5 -0
- package/node_modules/@integration-app/sdk/bundle-index.js.map +1 -0
- package/node_modules/@integration-app/sdk/bundle.js +30163 -0
- package/node_modules/@integration-app/sdk/bundle.js.map +1 -0
- package/node_modules/@integration-app/sdk/client.d.ts +108 -0
- package/node_modules/@integration-app/sdk/client.js +248 -0
- package/node_modules/@integration-app/sdk/client.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/accessors.d.ts +13 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js +39 -0
- package/node_modules/@integration-app/sdk/connections/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/api.d.ts +20 -0
- package/node_modules/@integration-app/sdk/connections/api.js +17 -0
- package/node_modules/@integration-app/sdk/connections/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/connections/index.d.ts +39 -0
- package/node_modules/@integration-app/sdk/connections/index.js +13 -0
- package/node_modules/@integration-app/sdk/connections/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/connector-api/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js +9 -0
- package/node_modules/@integration-app/sdk/connector-api/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/context.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js +32 -0
- package/node_modules/@integration-app/sdk/data-builder/context.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.d.ts +9 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js +59 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.d.ts +14 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js +45 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/case.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.d.ts +18 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js +36 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/concat.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/copy.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractDate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.d.ts +11 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/extractTime.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findAppRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/findExternalRecordId.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/first-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js +177 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js +41 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/iterate.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js +25 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/last-name.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js +24 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/lookup.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.d.ts +17 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js +34 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/map.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.d.ts +7 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js +20 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/plain.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js +23 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/record.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js +22 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/schemaOption.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.d.ts +15 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js +31 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/tpl.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.d.ts +8 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js +21 -0
- package/node_modules/@integration-app/sdk/data-builder/formulas/var.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/index.d.ts +2 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-builder/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.d.ts +56 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js +560 -0
- package/node_modules/@integration-app/sdk/data-builder/locators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-collections.d.ts +36 -0
- package/node_modules/@integration-app/sdk/data-collections.js +16 -0
- package/node_modules/@integration-app/sdk/data-collections.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/index.d.ts +12 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js +104 -0
- package/node_modules/@integration-app/sdk/data-filter/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.d.ts +13 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js +140 -0
- package/node_modules/@integration-app/sdk/data-filter/operators.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.d.ts +20 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js +65 -0
- package/node_modules/@integration-app/sdk/data-links/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/api.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-links/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-links/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-links/index.d.ts +35 -0
- package/node_modules/@integration-app/sdk/data-links/index.js +10 -0
- package/node_modules/@integration-app/sdk/data-links/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js +22 -0
- package/node_modules/@integration-app/sdk/data-locations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/api.d.ts +4 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-locations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-locations/index.d.ts +138 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js +17 -0
- package/node_modules/@integration-app/sdk/data-locations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-schema/index.d.ts +49 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js +88 -0
- package/node_modules/@integration-app/sdk/data-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.d.ts +29 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js +71 -0
- package/node_modules/@integration-app/sdk/data-sources/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/api.d.ts +37 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/data-sources/index.d.ts +55 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js +3 -0
- package/node_modules/@integration-app/sdk/data-sources/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/datetime.d.ts +1 -0
- package/node_modules/@integration-app/sdk/datetime.js +15 -0
- package/node_modules/@integration-app/sdk/datetime.js.map +1 -0
- package/node_modules/@integration-app/sdk/entity-repository.d.ts +11 -0
- package/node_modules/@integration-app/sdk/entity-repository.js +10 -0
- package/node_modules/@integration-app/sdk/entity-repository.js.map +1 -0
- package/node_modules/@integration-app/sdk/errors.d.ts +64 -0
- package/node_modules/@integration-app/sdk/errors.js +141 -0
- package/node_modules/@integration-app/sdk/errors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.d.ts +25 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js +60 -0
- package/node_modules/@integration-app/sdk/field-mappings/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.d.ts +34 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js +3 -0
- package/node_modules/@integration-app/sdk/field-mappings/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.d.ts +90 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js +195 -0
- package/node_modules/@integration-app/sdk/field-mappings/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.d.ts +30 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js +11 -0
- package/node_modules/@integration-app/sdk/flow-runs/flow-node-runs.js.map +1 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.d.ts +59 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js +44 -0
- package/node_modules/@integration-app/sdk/flow-runs/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/accessors.d.ts +37 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js +167 -0
- package/node_modules/@integration-app/sdk/flows/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/api.d.ts +55 -0
- package/node_modules/@integration-app/sdk/flows/api.js +8 -0
- package/node_modules/@integration-app/sdk/flows/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/index.d.ts +84 -0
- package/node_modules/@integration-app/sdk/flows/index.js +26 -0
- package/node_modules/@integration-app/sdk/flows/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/api-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/app-event-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/create-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-created-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-deleted-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/data-record-updated-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/delete-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/filter.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-link.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-record-by-id.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/find-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/http-request.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.d.ts +28 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js +50 -0
- package/node_modules/@integration-app/sdk/flows/nodes/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/list-data-records.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js +9 -0
- package/node_modules/@integration-app/sdk/flows/nodes/schedule-trigger.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/transform-data.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.d.ts +3 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js +8 -0
- package/node_modules/@integration-app/sdk/flows/nodes/update-data-record.js.map +1 -0
- package/node_modules/@integration-app/sdk/flows/utils.d.ts +10 -0
- package/node_modules/@integration-app/sdk/flows/utils.js +72 -0
- package/node_modules/@integration-app/sdk/flows/utils.js.map +1 -0
- package/node_modules/@integration-app/sdk/http-requests.d.ts +37 -0
- package/node_modules/@integration-app/sdk/http-requests.js +33 -0
- package/node_modules/@integration-app/sdk/http-requests.js.map +1 -0
- package/node_modules/@integration-app/sdk/iframe.d.ts +9 -0
- package/node_modules/@integration-app/sdk/iframe.js +112 -0
- package/node_modules/@integration-app/sdk/iframe.js.map +1 -0
- package/node_modules/@integration-app/sdk/index.d.ts +4 -0
- package/node_modules/@integration-app/sdk/index.js +8 -0
- package/node_modules/@integration-app/sdk/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.d.ts +22 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js +15 -0
- package/node_modules/@integration-app/sdk/integration-elements/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.d.ts +17 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js +36 -0
- package/node_modules/@integration-app/sdk/integrations/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/api.d.ts +10 -0
- package/node_modules/@integration-app/sdk/integrations/api.js +3 -0
- package/node_modules/@integration-app/sdk/integrations/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/integrations/index.d.ts +27 -0
- package/node_modules/@integration-app/sdk/integrations/index.js +16 -0
- package/node_modules/@integration-app/sdk/integrations/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/index.d.ts +32 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js +207 -0
- package/node_modules/@integration-app/sdk/json-schema/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.d.ts +7 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js +232 -0
- package/node_modules/@integration-app/sdk/json-schema/schema-builder.js.map +1 -0
- package/node_modules/@integration-app/sdk/jwt.d.ts +1 -0
- package/node_modules/@integration-app/sdk/jwt.js +37 -0
- package/node_modules/@integration-app/sdk/jwt.js.map +1 -0
- package/node_modules/@integration-app/sdk/package.json +63 -0
- package/node_modules/@integration-app/sdk/rollup.config.js +23 -0
- package/node_modules/@integration-app/sdk/src/accessors.ts +150 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/api.ts +31 -0
- package/node_modules/@integration-app/sdk/src/app-data-collections/index.ts +46 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-data-schemas/index.ts +35 -0
- package/node_modules/@integration-app/sdk/src/app-events/accessors.ts +69 -0
- package/node_modules/@integration-app/sdk/src/app-events/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/app-events/index.ts +75 -0
- package/node_modules/@integration-app/sdk/src/auth/accessors.ts +10 -0
- package/node_modules/@integration-app/sdk/src/auth/index.ts +7 -0
- package/node_modules/@integration-app/sdk/src/bundle-index.ts +6 -0
- package/node_modules/@integration-app/sdk/src/client.ts +417 -0
- package/node_modules/@integration-app/sdk/src/connections/accessors.ts +58 -0
- package/node_modules/@integration-app/sdk/src/connections/api.ts +28 -0
- package/node_modules/@integration-app/sdk/src/connections/index.ts +70 -0
- package/node_modules/@integration-app/sdk/src/connector-api/index.ts +44 -0
- package/node_modules/@integration-app/sdk/src/data-builder/context.ts +40 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.test.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/base.ts +95 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.test.ts +158 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/case.ts +53 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.test.ts +117 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/concat.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.test.ts +70 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/copy.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractDate.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.test.ts +49 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/extractTime.ts +28 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findAppRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.test.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/findExternalRecordId.ts +30 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/first-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.test.ts +83 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/index.ts +190 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.test.ts +154 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/iterate.ts +46 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/last-name.ts +21 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.test.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/lookup.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.test.ts +125 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/map.ts +42 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/plain.ts +17 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/record.ts +20 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/schemaOption.ts +26 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.test.ts +51 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/tpl.ts +33 -0
- package/node_modules/@integration-app/sdk/src/data-builder/formulas/var.ts +19 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.test.ts +372 -0
- package/node_modules/@integration-app/sdk/src/data-builder/index.ts +16 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.test.ts +1045 -0
- package/node_modules/@integration-app/sdk/src/data-builder/locators.ts +702 -0
- package/node_modules/@integration-app/sdk/src/data-collections.ts +74 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.test.ts +48 -0
- package/node_modules/@integration-app/sdk/src/data-filter/index.ts +127 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.test.ts +694 -0
- package/node_modules/@integration-app/sdk/src/data-filter/operators.ts +163 -0
- package/node_modules/@integration-app/sdk/src/data-links/accessors.ts +108 -0
- package/node_modules/@integration-app/sdk/src/data-links/api.ts +75 -0
- package/node_modules/@integration-app/sdk/src/data-links/index.ts +55 -0
- package/node_modules/@integration-app/sdk/src/data-locations/accessors.ts +24 -0
- package/node_modules/@integration-app/sdk/src/data-locations/api.ts +5 -0
- package/node_modules/@integration-app/sdk/src/data-locations/index.ts +209 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.test.ts +90 -0
- package/node_modules/@integration-app/sdk/src/data-schema/index.ts +185 -0
- package/node_modules/@integration-app/sdk/src/data-sources/accessors.ts +133 -0
- package/node_modules/@integration-app/sdk/src/data-sources/api.ts +59 -0
- package/node_modules/@integration-app/sdk/src/data-sources/index.ts +103 -0
- package/node_modules/@integration-app/sdk/src/datetime.ts +16 -0
- package/node_modules/@integration-app/sdk/src/entity-repository.ts +12 -0
- package/node_modules/@integration-app/sdk/src/errors.ts +154 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/accessors.ts +100 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/api.ts +61 -0
- package/node_modules/@integration-app/sdk/src/field-mappings/index.ts +341 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/flow-node-runs.ts +53 -0
- package/node_modules/@integration-app/sdk/src/flow-runs/index.ts +102 -0
- package/node_modules/@integration-app/sdk/src/flows/accessors.ts +246 -0
- package/node_modules/@integration-app/sdk/src/flows/api.ts +71 -0
- package/node_modules/@integration-app/sdk/src/flows/index.ts +233 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/api-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/app-event-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/create-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-created-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-deleted-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/data-record-updated-trigger.ts +8 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/delete-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/filter.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-link.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-record-by-id.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/find-data-records.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/http-request.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/index.ts +60 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/list-data-records.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/schedule-trigger.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/transform-data.ts +7 -0
- package/node_modules/@integration-app/sdk/src/flows/nodes/update-data-record.ts +6 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.test.ts +63 -0
- package/node_modules/@integration-app/sdk/src/flows/utils.ts +110 -0
- package/node_modules/@integration-app/sdk/src/http-requests.ts +41 -0
- package/node_modules/@integration-app/sdk/src/iframe.ts +142 -0
- package/node_modules/@integration-app/sdk/src/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/integration-elements/index.ts +24 -0
- package/node_modules/@integration-app/sdk/src/integrations/accessors.ts +42 -0
- package/node_modules/@integration-app/sdk/src/integrations/api.ts +13 -0
- package/node_modules/@integration-app/sdk/src/integrations/index.ts +50 -0
- package/node_modules/@integration-app/sdk/src/json-schema/__snapshots__/schema-builder.test.ts.snap +167 -0
- package/node_modules/@integration-app/sdk/src/json-schema/index.ts +251 -0
- package/node_modules/@integration-app/sdk/src/json-schema/json-schema.test.ts +246 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.test.ts +396 -0
- package/node_modules/@integration-app/sdk/src/json-schema/schema-builder.ts +258 -0
- package/node_modules/@integration-app/sdk/src/jwt.test.ts +11 -0
- package/node_modules/@integration-app/sdk/src/jwt.ts +40 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.test.ts +43 -0
- package/node_modules/@integration-app/sdk/src/udm/activities.ts +83 -0
- package/node_modules/@integration-app/sdk/src/udm/base.ts +88 -0
- package/node_modules/@integration-app/sdk/src/udm/campaigns.ts +72 -0
- package/node_modules/@integration-app/sdk/src/udm/companies.ts +80 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.test.ts +147 -0
- package/node_modules/@integration-app/sdk/src/udm/contacts.ts +106 -0
- package/node_modules/@integration-app/sdk/src/udm/deals.ts +90 -0
- package/node_modules/@integration-app/sdk/src/udm/index.ts +28 -0
- package/node_modules/@integration-app/sdk/src/udm/leads.ts +113 -0
- package/node_modules/@integration-app/sdk/src/udm/users.ts +92 -0
- package/node_modules/@integration-app/sdk/src/users/accessors.ts +28 -0
- package/node_modules/@integration-app/sdk/src/users/api.ts +8 -0
- package/node_modules/@integration-app/sdk/src/users/index.ts +5 -0
- package/node_modules/@integration-app/sdk/src/variables.ts +33 -0
- package/node_modules/@integration-app/sdk/src/workspaces/index.ts +5 -0
- package/node_modules/@integration-app/sdk/tsconfig.build.json +10 -0
- package/node_modules/@integration-app/sdk/tsconfig.json +19 -0
- package/node_modules/@integration-app/sdk/udm/activities.d.ts +30 -0
- package/node_modules/@integration-app/sdk/udm/activities.js +70 -0
- package/node_modules/@integration-app/sdk/udm/activities.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/base.d.ts +27 -0
- package/node_modules/@integration-app/sdk/udm/base.js +62 -0
- package/node_modules/@integration-app/sdk/udm/base.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.d.ts +25 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js +66 -0
- package/node_modules/@integration-app/sdk/udm/campaigns.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/companies.d.ts +42 -0
- package/node_modules/@integration-app/sdk/udm/companies.js +69 -0
- package/node_modules/@integration-app/sdk/udm/companies.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/contacts.d.ts +49 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js +94 -0
- package/node_modules/@integration-app/sdk/udm/contacts.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/deals.d.ts +26 -0
- package/node_modules/@integration-app/sdk/udm/deals.js +84 -0
- package/node_modules/@integration-app/sdk/udm/deals.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/index.d.ts +11 -0
- package/node_modules/@integration-app/sdk/udm/index.js +31 -0
- package/node_modules/@integration-app/sdk/udm/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/leads.d.ts +52 -0
- package/node_modules/@integration-app/sdk/udm/leads.js +101 -0
- package/node_modules/@integration-app/sdk/udm/leads.js.map +1 -0
- package/node_modules/@integration-app/sdk/udm/users.d.ts +31 -0
- package/node_modules/@integration-app/sdk/udm/users.js +81 -0
- package/node_modules/@integration-app/sdk/udm/users.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/accessors.d.ts +10 -0
- package/node_modules/@integration-app/sdk/users/accessors.js +21 -0
- package/node_modules/@integration-app/sdk/users/accessors.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/api.d.ts +6 -0
- package/node_modules/@integration-app/sdk/users/api.js +3 -0
- package/node_modules/@integration-app/sdk/users/api.js.map +1 -0
- package/node_modules/@integration-app/sdk/users/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/users/index.js +3 -0
- package/node_modules/@integration-app/sdk/users/index.js.map +1 -0
- package/node_modules/@integration-app/sdk/variables.d.ts +3 -0
- package/node_modules/@integration-app/sdk/variables.js +30 -0
- package/node_modules/@integration-app/sdk/variables.js.map +1 -0
- package/node_modules/@integration-app/sdk/workspaces/index.d.ts +5 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js +3 -0
- package/node_modules/@integration-app/sdk/workspaces/index.js.map +1 -0
- package/node_modules/@sinclair/typebox/package.json +40 -0
- package/node_modules/@sinclair/typebox/readme.md +740 -0
- package/node_modules/@sinclair/typebox/typebox.d.ts +351 -0
- package/node_modules/@sinclair/typebox/typebox.js +345 -0
- package/node_modules/@types/node/README.md +16 -0
- package/node_modules/@types/node/assert.d.ts +128 -0
- package/node_modules/@types/node/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/buffer.d.ts +89 -0
- package/node_modules/@types/node/child_process.d.ts +514 -0
- package/node_modules/@types/node/cluster.d.ts +265 -0
- package/node_modules/@types/node/console.d.ts +142 -0
- package/node_modules/@types/node/constants.d.ts +18 -0
- package/node_modules/@types/node/crypto.d.ts +1283 -0
- package/node_modules/@types/node/dgram.d.ts +144 -0
- package/node_modules/@types/node/dns.d.ts +387 -0
- package/node_modules/@types/node/domain.d.ts +27 -0
- package/node_modules/@types/node/events.d.ts +82 -0
- package/node_modules/@types/node/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/fs.d.ts +2281 -0
- package/node_modules/@types/node/globals.d.ts +747 -0
- package/node_modules/@types/node/globals.global.d.ts +1 -0
- package/node_modules/@types/node/http.d.ts +580 -0
- package/node_modules/@types/node/http2.d.ts +962 -0
- package/node_modules/@types/node/https.d.ts +271 -0
- package/node_modules/@types/node/index.d.ts +98 -0
- package/node_modules/@types/node/inspector.d.ts +3051 -0
- package/node_modules/@types/node/module.d.ts +56 -0
- package/node_modules/@types/node/net.d.ts +308 -0
- package/node_modules/@types/node/os.d.ts +243 -0
- package/node_modules/@types/node/package.json +232 -0
- package/node_modules/@types/node/path.d.ts +168 -0
- package/node_modules/@types/node/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/process.d.ts +413 -0
- package/node_modules/@types/node/punycode.d.ts +78 -0
- package/node_modules/@types/node/querystring.d.ts +31 -0
- package/node_modules/@types/node/readline.d.ts +174 -0
- package/node_modules/@types/node/repl.d.ts +398 -0
- package/node_modules/@types/node/stream.d.ts +359 -0
- package/node_modules/@types/node/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/timers.d.ts +19 -0
- package/node_modules/@types/node/tls.d.ts +784 -0
- package/node_modules/@types/node/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/assert.d.ts +128 -0
- package/node_modules/@types/node/ts4.8/async_hooks.d.ts +229 -0
- package/node_modules/@types/node/ts4.8/buffer.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/child_process.d.ts +514 -0
- package/node_modules/@types/node/ts4.8/cluster.d.ts +265 -0
- package/node_modules/@types/node/ts4.8/console.d.ts +142 -0
- package/node_modules/@types/node/ts4.8/constants.d.ts +18 -0
- package/node_modules/@types/node/ts4.8/crypto.d.ts +1283 -0
- package/node_modules/@types/node/ts4.8/dgram.d.ts +144 -0
- package/node_modules/@types/node/ts4.8/dns.d.ts +387 -0
- package/node_modules/@types/node/ts4.8/domain.d.ts +27 -0
- package/node_modules/@types/node/ts4.8/events.d.ts +82 -0
- package/node_modules/@types/node/ts4.8/fs/promises.d.ts +572 -0
- package/node_modules/@types/node/ts4.8/fs.d.ts +2281 -0
- package/node_modules/@types/node/ts4.8/globals.d.ts +746 -0
- package/node_modules/@types/node/ts4.8/globals.global.d.ts +1 -0
- package/node_modules/@types/node/ts4.8/http.d.ts +580 -0
- package/node_modules/@types/node/ts4.8/http2.d.ts +962 -0
- package/node_modules/@types/node/ts4.8/https.d.ts +271 -0
- package/node_modules/@types/node/ts4.8/index.d.ts +53 -0
- package/node_modules/@types/node/ts4.8/inspector.d.ts +3051 -0
- package/node_modules/@types/node/ts4.8/module.d.ts +56 -0
- package/node_modules/@types/node/ts4.8/net.d.ts +308 -0
- package/node_modules/@types/node/ts4.8/os.d.ts +243 -0
- package/node_modules/@types/node/ts4.8/path.d.ts +168 -0
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +274 -0
- package/node_modules/@types/node/ts4.8/process.d.ts +413 -0
- package/node_modules/@types/node/ts4.8/punycode.d.ts +78 -0
- package/node_modules/@types/node/ts4.8/querystring.d.ts +31 -0
- package/node_modules/@types/node/ts4.8/readline.d.ts +174 -0
- package/node_modules/@types/node/ts4.8/repl.d.ts +398 -0
- package/node_modules/@types/node/ts4.8/stream.d.ts +359 -0
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +10 -0
- package/node_modules/@types/node/ts4.8/timers.d.ts +19 -0
- package/node_modules/@types/node/ts4.8/tls.d.ts +784 -0
- package/node_modules/@types/node/ts4.8/trace_events.d.ts +64 -0
- package/node_modules/@types/node/ts4.8/tty.d.ts +69 -0
- package/node_modules/@types/node/ts4.8/url.d.ts +149 -0
- package/node_modules/@types/node/ts4.8/util.d.ts +216 -0
- package/node_modules/@types/node/ts4.8/v8.d.ts +190 -0
- package/node_modules/@types/node/ts4.8/vm.d.ts +155 -0
- package/node_modules/@types/node/ts4.8/wasi.d.ts +89 -0
- package/node_modules/@types/node/ts4.8/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/ts4.8/zlib.d.ts +364 -0
- package/node_modules/@types/node/tty.d.ts +69 -0
- package/node_modules/@types/node/url.d.ts +149 -0
- package/node_modules/@types/node/util.d.ts +216 -0
- package/node_modules/@types/node/v8.d.ts +190 -0
- package/node_modules/@types/node/vm.d.ts +155 -0
- package/node_modules/@types/node/wasi.d.ts +89 -0
- package/node_modules/@types/node/worker_threads.d.ts +241 -0
- package/node_modules/@types/node/zlib.d.ts +364 -0
- package/package.json +16 -40
- package/dist/node_modules/.package-lock.json +0 -111
- package/dist/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/dist/node_modules/js-tokens/LICENSE +0 -21
- package/dist/node_modules/js-tokens/README.md +0 -240
- package/dist/node_modules/js-tokens/index.js +0 -23
- package/dist/node_modules/js-tokens/package.json +0 -30
- package/dist/node_modules/loose-envify/LICENSE +0 -21
- package/dist/node_modules/loose-envify/README.md +0 -45
- package/dist/node_modules/loose-envify/cli.js +0 -16
- package/dist/node_modules/loose-envify/custom.js +0 -4
- package/dist/node_modules/loose-envify/index.js +0 -3
- package/dist/node_modules/loose-envify/loose-envify.js +0 -36
- package/dist/node_modules/loose-envify/package.json +0 -36
- package/dist/node_modules/loose-envify/replace.js +0 -65
- package/dist/node_modules/object-assign/index.js +0 -90
- package/dist/node_modules/object-assign/license +0 -21
- package/dist/node_modules/object-assign/package.json +0 -42
- package/dist/node_modules/object-assign/readme.md +0 -61
- package/dist/node_modules/scheduler/README.md +0 -9
- package/dist/node_modules/scheduler/build-info.json +0 -8
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.development.js +0 -347
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.production.min.js +0 -9
- package/dist/node_modules/scheduler/cjs/scheduler-tracing.profiling.min.js +0 -16
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.development.js +0 -665
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_mock.production.min.js +0 -19
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.development.js +0 -206
- package/dist/node_modules/scheduler/cjs/scheduler-unstable_post_task.production.min.js +0 -13
- package/dist/node_modules/scheduler/cjs/scheduler.development.js +0 -646
- package/dist/node_modules/scheduler/cjs/scheduler.production.min.js +0 -20
- package/dist/node_modules/scheduler/index.js +0 -7
- package/dist/node_modules/scheduler/package.json +0 -40
- package/dist/node_modules/scheduler/tracing-profiling.js +0 -7
- package/dist/node_modules/scheduler/tracing.js +0 -7
- package/dist/node_modules/scheduler/umd/scheduler-tracing.development.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.production.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-tracing.profiling.min.js +0 -80
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.development.js +0 -664
- package/dist/node_modules/scheduler/umd/scheduler-unstable_mock.production.min.js +0 -18
- package/dist/node_modules/scheduler/umd/scheduler.development.js +0 -152
- package/dist/node_modules/scheduler/umd/scheduler.production.min.js +0 -146
- package/dist/node_modules/scheduler/umd/scheduler.profiling.min.js +0 -146
- package/dist/node_modules/scheduler/unstable_mock.js +0 -7
- package/dist/node_modules/scheduler/unstable_post_task.js +0 -7
- package/dist/package.json +0 -26
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
declare module 'util' {
|
|
2
|
+
interface InspectOptions extends NodeJS.InspectOptions { }
|
|
3
|
+
type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module';
|
|
4
|
+
type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string;
|
|
5
|
+
interface InspectOptionsStylized extends InspectOptions {
|
|
6
|
+
stylize(text: string, styleType: Style): string;
|
|
7
|
+
}
|
|
8
|
+
function format(format?: any, ...param: any[]): string;
|
|
9
|
+
function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
|
|
10
|
+
function getSystemErrorName(err: number): string;
|
|
11
|
+
/** @deprecated since v0.11.3 - use a third party module instead. */
|
|
12
|
+
function log(string: string): void;
|
|
13
|
+
function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
|
|
14
|
+
function inspect(object: any, options: InspectOptions): string;
|
|
15
|
+
namespace inspect {
|
|
16
|
+
let colors: NodeJS.Dict<[number, number]>;
|
|
17
|
+
let styles: {
|
|
18
|
+
[K in Style]: string
|
|
19
|
+
};
|
|
20
|
+
let defaultOptions: InspectOptions;
|
|
21
|
+
/**
|
|
22
|
+
* Allows changing inspect settings from the repl.
|
|
23
|
+
*/
|
|
24
|
+
let replDefaults: InspectOptions;
|
|
25
|
+
const custom: unique symbol;
|
|
26
|
+
}
|
|
27
|
+
/** @deprecated since v4.0.0 - use `Array.isArray()` instead. */
|
|
28
|
+
function isArray(object: any): object is any[];
|
|
29
|
+
/** @deprecated since v4.0.0 - use `util.types.isRegExp()` instead. */
|
|
30
|
+
function isRegExp(object: any): object is RegExp;
|
|
31
|
+
/** @deprecated since v4.0.0 - use `util.types.isDate()` instead. */
|
|
32
|
+
function isDate(object: any): object is Date;
|
|
33
|
+
/** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
|
|
34
|
+
function isError(object: any): object is Error;
|
|
35
|
+
function inherits(constructor: any, superConstructor: any): void;
|
|
36
|
+
type DebugLoggerFunction = (msg: string, ...param: any[]) => void;
|
|
37
|
+
interface DebugLogger extends DebugLoggerFunction {
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
}
|
|
40
|
+
function debuglog(key: string, callback?: (fn: DebugLoggerFunction) => void): DebugLogger;
|
|
41
|
+
const debug: typeof debuglog;
|
|
42
|
+
/** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
|
|
43
|
+
function isBoolean(object: any): object is boolean;
|
|
44
|
+
/** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
|
|
45
|
+
function isBuffer(object: any): object is Buffer;
|
|
46
|
+
/** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */
|
|
47
|
+
function isFunction(object: any): boolean;
|
|
48
|
+
/** @deprecated since v4.0.0 - use `value === null` instead. */
|
|
49
|
+
function isNull(object: any): object is null;
|
|
50
|
+
/** @deprecated since v4.0.0 - use `value === null || value === undefined` instead. */
|
|
51
|
+
function isNullOrUndefined(object: any): object is null | undefined;
|
|
52
|
+
/** @deprecated since v4.0.0 - use `typeof value === 'number'` instead. */
|
|
53
|
+
function isNumber(object: any): object is number;
|
|
54
|
+
/** @deprecated since v4.0.0 - use `value !== null && typeof value === 'object'` instead. */
|
|
55
|
+
function isObject(object: any): boolean;
|
|
56
|
+
/** @deprecated since v4.0.0 - use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. */
|
|
57
|
+
function isPrimitive(object: any): boolean;
|
|
58
|
+
/** @deprecated since v4.0.0 - use `typeof value === 'string'` instead. */
|
|
59
|
+
function isString(object: any): object is string;
|
|
60
|
+
/** @deprecated since v4.0.0 - use `typeof value === 'symbol'` instead. */
|
|
61
|
+
function isSymbol(object: any): object is symbol;
|
|
62
|
+
/** @deprecated since v4.0.0 - use `value === undefined` instead. */
|
|
63
|
+
function isUndefined(object: any): object is undefined;
|
|
64
|
+
function deprecate<T extends Function>(fn: T, message: string, code?: string): T;
|
|
65
|
+
function isDeepStrictEqual(val1: any, val2: any): boolean;
|
|
66
|
+
|
|
67
|
+
function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
68
|
+
function callbackify<TResult>(fn: () => Promise<TResult>): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
|
|
69
|
+
function callbackify<T1>(fn: (arg1: T1) => Promise<void>): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
70
|
+
function callbackify<T1, TResult>(fn: (arg1: T1) => Promise<TResult>): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
|
|
71
|
+
function callbackify<T1, T2>(fn: (arg1: T1, arg2: T2) => Promise<void>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
72
|
+
function callbackify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2) => Promise<TResult>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
73
|
+
function callbackify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
74
|
+
function callbackify<T1, T2, T3, TResult>(
|
|
75
|
+
fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
76
|
+
function callbackify<T1, T2, T3, T4>(
|
|
77
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
78
|
+
function callbackify<T1, T2, T3, T4, TResult>(
|
|
79
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
80
|
+
function callbackify<T1, T2, T3, T4, T5>(
|
|
81
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
82
|
+
function callbackify<T1, T2, T3, T4, T5, TResult>(
|
|
83
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
|
|
84
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
85
|
+
function callbackify<T1, T2, T3, T4, T5, T6>(
|
|
86
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
|
|
87
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void;
|
|
88
|
+
function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
|
|
89
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>
|
|
90
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
|
|
91
|
+
|
|
92
|
+
interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
|
|
93
|
+
__promisify__: TCustom;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
interface CustomPromisifySymbol<TCustom extends Function> extends Function {
|
|
97
|
+
[promisify.custom]: TCustom;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
type CustomPromisify<TCustom extends Function> = CustomPromisifySymbol<TCustom> | CustomPromisifyLegacy<TCustom>;
|
|
101
|
+
|
|
102
|
+
function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
|
|
103
|
+
function promisify<TResult>(fn: (callback: (err: any, result: TResult) => void) => void): () => Promise<TResult>;
|
|
104
|
+
function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
|
|
105
|
+
function promisify<T1, TResult>(fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void): (arg1: T1) => Promise<TResult>;
|
|
106
|
+
function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
|
|
107
|
+
function promisify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void): (arg1: T1, arg2: T2) => Promise<TResult>;
|
|
108
|
+
function promisify<T1, T2>(fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2) => Promise<void>;
|
|
109
|
+
function promisify<T1, T2, T3, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void):
|
|
110
|
+
(arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
|
|
111
|
+
function promisify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
|
|
112
|
+
function promisify<T1, T2, T3, T4, TResult>(
|
|
113
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
|
|
114
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
|
|
115
|
+
function promisify<T1, T2, T3, T4>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void):
|
|
116
|
+
(arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
|
|
117
|
+
function promisify<T1, T2, T3, T4, T5, TResult>(
|
|
118
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
|
|
119
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
|
|
120
|
+
function promisify<T1, T2, T3, T4, T5>(
|
|
121
|
+
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
|
|
122
|
+
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
|
|
123
|
+
function promisify(fn: Function): Function;
|
|
124
|
+
namespace promisify {
|
|
125
|
+
const custom: unique symbol;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
namespace types {
|
|
129
|
+
function isAnyArrayBuffer(object: any): object is ArrayBufferLike;
|
|
130
|
+
function isArgumentsObject(object: any): object is IArguments;
|
|
131
|
+
function isArrayBuffer(object: any): object is ArrayBuffer;
|
|
132
|
+
function isArrayBufferView(object: any): object is NodeJS.ArrayBufferView;
|
|
133
|
+
function isAsyncFunction(object: any): boolean;
|
|
134
|
+
function isBigInt64Array(value: any): value is BigInt64Array;
|
|
135
|
+
function isBigUint64Array(value: any): value is BigUint64Array;
|
|
136
|
+
function isBooleanObject(object: any): object is Boolean;
|
|
137
|
+
function isBoxedPrimitive(object: any): object is String | Number | BigInt | Boolean | Symbol;
|
|
138
|
+
function isDataView(object: any): object is DataView;
|
|
139
|
+
function isDate(object: any): object is Date;
|
|
140
|
+
function isExternal(object: any): boolean;
|
|
141
|
+
function isFloat32Array(object: any): object is Float32Array;
|
|
142
|
+
function isFloat64Array(object: any): object is Float64Array;
|
|
143
|
+
function isGeneratorFunction(object: any): object is GeneratorFunction;
|
|
144
|
+
function isGeneratorObject(object: any): object is Generator;
|
|
145
|
+
function isInt8Array(object: any): object is Int8Array;
|
|
146
|
+
function isInt16Array(object: any): object is Int16Array;
|
|
147
|
+
function isInt32Array(object: any): object is Int32Array;
|
|
148
|
+
function isMap<T>(
|
|
149
|
+
object: T | {},
|
|
150
|
+
): object is T extends ReadonlyMap<any, any>
|
|
151
|
+
? unknown extends T
|
|
152
|
+
? never
|
|
153
|
+
: ReadonlyMap<any, any>
|
|
154
|
+
: Map<any, any>;
|
|
155
|
+
function isMapIterator(object: any): boolean;
|
|
156
|
+
function isModuleNamespaceObject(value: any): boolean;
|
|
157
|
+
function isNativeError(object: any): object is Error;
|
|
158
|
+
function isNumberObject(object: any): object is Number;
|
|
159
|
+
function isPromise(object: any): object is Promise<any>;
|
|
160
|
+
function isProxy(object: any): boolean;
|
|
161
|
+
function isRegExp(object: any): object is RegExp;
|
|
162
|
+
function isSet<T>(
|
|
163
|
+
object: T | {},
|
|
164
|
+
): object is T extends ReadonlySet<any>
|
|
165
|
+
? unknown extends T
|
|
166
|
+
? never
|
|
167
|
+
: ReadonlySet<any>
|
|
168
|
+
: Set<any>;
|
|
169
|
+
function isSetIterator(object: any): boolean;
|
|
170
|
+
function isSharedArrayBuffer(object: any): object is SharedArrayBuffer;
|
|
171
|
+
function isStringObject(object: any): object is String;
|
|
172
|
+
function isSymbolObject(object: any): object is Symbol;
|
|
173
|
+
function isTypedArray(object: any): object is NodeJS.TypedArray;
|
|
174
|
+
function isUint8Array(object: any): object is Uint8Array;
|
|
175
|
+
function isUint8ClampedArray(object: any): object is Uint8ClampedArray;
|
|
176
|
+
function isUint16Array(object: any): object is Uint16Array;
|
|
177
|
+
function isUint32Array(object: any): object is Uint32Array;
|
|
178
|
+
function isWeakMap(object: any): object is WeakMap<any, any>;
|
|
179
|
+
function isWeakSet(object: any): object is WeakSet<any>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
class TextDecoder {
|
|
183
|
+
readonly encoding: string;
|
|
184
|
+
readonly fatal: boolean;
|
|
185
|
+
readonly ignoreBOM: boolean;
|
|
186
|
+
constructor(
|
|
187
|
+
encoding?: string,
|
|
188
|
+
options?: { fatal?: boolean | undefined; ignoreBOM?: boolean | undefined }
|
|
189
|
+
);
|
|
190
|
+
decode(
|
|
191
|
+
input?: NodeJS.ArrayBufferView | ArrayBuffer | null,
|
|
192
|
+
options?: { stream?: boolean | undefined }
|
|
193
|
+
): string;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
interface EncodeIntoResult {
|
|
197
|
+
/**
|
|
198
|
+
* The read Unicode code units of input.
|
|
199
|
+
*/
|
|
200
|
+
|
|
201
|
+
read: number;
|
|
202
|
+
/**
|
|
203
|
+
* The written UTF-8 bytes of output.
|
|
204
|
+
*/
|
|
205
|
+
written: number;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
class TextEncoder {
|
|
209
|
+
readonly encoding: string;
|
|
210
|
+
encode(input?: string): Uint8Array;
|
|
211
|
+
encodeInto(input: string, output: Uint8Array): EncodeIntoResult;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
declare module 'node:util' {
|
|
215
|
+
export * from 'util';
|
|
216
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
declare module 'v8' {
|
|
2
|
+
import { Readable } from 'stream';
|
|
3
|
+
|
|
4
|
+
interface HeapSpaceInfo {
|
|
5
|
+
space_name: string;
|
|
6
|
+
space_size: number;
|
|
7
|
+
space_used_size: number;
|
|
8
|
+
space_available_size: number;
|
|
9
|
+
physical_space_size: number;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
// ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */
|
|
13
|
+
type DoesZapCodeSpaceFlag = 0 | 1;
|
|
14
|
+
|
|
15
|
+
interface HeapInfo {
|
|
16
|
+
total_heap_size: number;
|
|
17
|
+
total_heap_size_executable: number;
|
|
18
|
+
total_physical_size: number;
|
|
19
|
+
total_available_size: number;
|
|
20
|
+
used_heap_size: number;
|
|
21
|
+
heap_size_limit: number;
|
|
22
|
+
malloced_memory: number;
|
|
23
|
+
peak_malloced_memory: number;
|
|
24
|
+
does_zap_garbage: DoesZapCodeSpaceFlag;
|
|
25
|
+
number_of_native_contexts: number;
|
|
26
|
+
number_of_detached_contexts: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface HeapCodeStatistics {
|
|
30
|
+
code_and_metadata_size: number;
|
|
31
|
+
bytecode_and_metadata_size: number;
|
|
32
|
+
external_script_source_size: number;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features.
|
|
37
|
+
* This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8.
|
|
38
|
+
*/
|
|
39
|
+
function cachedDataVersionTag(): number;
|
|
40
|
+
|
|
41
|
+
function getHeapStatistics(): HeapInfo;
|
|
42
|
+
function getHeapSpaceStatistics(): HeapSpaceInfo[];
|
|
43
|
+
function setFlagsFromString(flags: string): void;
|
|
44
|
+
/**
|
|
45
|
+
* Generates a snapshot of the current V8 heap and returns a Readable
|
|
46
|
+
* Stream that may be used to read the JSON serialized representation.
|
|
47
|
+
* This conversation was marked as resolved by joyeecheung
|
|
48
|
+
* This JSON stream format is intended to be used with tools such as
|
|
49
|
+
* Chrome DevTools. The JSON schema is undocumented and specific to the
|
|
50
|
+
* V8 engine, and may change from one version of V8 to the next.
|
|
51
|
+
*/
|
|
52
|
+
function getHeapSnapshot(): Readable;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @param fileName The file path where the V8 heap snapshot is to be
|
|
57
|
+
* saved. If not specified, a file name with the pattern
|
|
58
|
+
* `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be
|
|
59
|
+
* generated, where `{pid}` will be the PID of the Node.js process,
|
|
60
|
+
* `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from
|
|
61
|
+
* the main Node.js thread or the id of a worker thread.
|
|
62
|
+
*/
|
|
63
|
+
function writeHeapSnapshot(fileName?: string): string;
|
|
64
|
+
|
|
65
|
+
function getHeapCodeStatistics(): HeapCodeStatistics;
|
|
66
|
+
|
|
67
|
+
class Serializer {
|
|
68
|
+
/**
|
|
69
|
+
* Writes out a header, which includes the serialization format version.
|
|
70
|
+
*/
|
|
71
|
+
writeHeader(): void;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Serializes a JavaScript value and adds the serialized representation to the internal buffer.
|
|
75
|
+
* This throws an error if value cannot be serialized.
|
|
76
|
+
*/
|
|
77
|
+
writeValue(val: any): boolean;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Returns the stored internal buffer.
|
|
81
|
+
* This serializer should not be used once the buffer is released.
|
|
82
|
+
* Calling this method results in undefined behavior if a previous write has failed.
|
|
83
|
+
*/
|
|
84
|
+
releaseBuffer(): Buffer;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Marks an ArrayBuffer as having its contents transferred out of band.\
|
|
88
|
+
* Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer().
|
|
89
|
+
*/
|
|
90
|
+
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Write a raw 32-bit unsigned integer.
|
|
94
|
+
*/
|
|
95
|
+
writeUint32(value: number): void;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.
|
|
99
|
+
*/
|
|
100
|
+
writeUint64(hi: number, lo: number): void;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Write a JS number value.
|
|
104
|
+
*/
|
|
105
|
+
writeDouble(value: number): void;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Write raw bytes into the serializer’s internal buffer.
|
|
109
|
+
* The deserializer will require a way to compute the length of the buffer.
|
|
110
|
+
*/
|
|
111
|
+
writeRawBytes(buffer: NodeJS.TypedArray): void;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects,
|
|
116
|
+
* and only stores the part of their underlying `ArrayBuffers` that they are referring to.
|
|
117
|
+
*/
|
|
118
|
+
class DefaultSerializer extends Serializer {
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class Deserializer {
|
|
122
|
+
constructor(data: NodeJS.TypedArray);
|
|
123
|
+
/**
|
|
124
|
+
* Reads and validates a header (including the format version).
|
|
125
|
+
* May, for example, reject an invalid or unsupported wire format.
|
|
126
|
+
* In that case, an Error is thrown.
|
|
127
|
+
*/
|
|
128
|
+
readHeader(): boolean;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Deserializes a JavaScript value from the buffer and returns it.
|
|
132
|
+
*/
|
|
133
|
+
readValue(): any;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Marks an ArrayBuffer as having its contents transferred out of band.
|
|
137
|
+
* Pass the corresponding `ArrayBuffer` in the serializing context to serializer.transferArrayBuffer()
|
|
138
|
+
* (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers).
|
|
139
|
+
*/
|
|
140
|
+
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Reads the underlying wire format version.
|
|
144
|
+
* Likely mostly to be useful to legacy code reading old wire format versions.
|
|
145
|
+
* May not be called before .readHeader().
|
|
146
|
+
*/
|
|
147
|
+
getWireFormatVersion(): number;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Read a raw 32-bit unsigned integer and return it.
|
|
151
|
+
*/
|
|
152
|
+
readUint32(): number;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries.
|
|
156
|
+
*/
|
|
157
|
+
readUint64(): [number, number];
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Read a JS number value.
|
|
161
|
+
*/
|
|
162
|
+
readDouble(): number;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Read raw bytes from the deserializer’s internal buffer.
|
|
166
|
+
* The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes().
|
|
167
|
+
*/
|
|
168
|
+
readRawBytes(length: number): Buffer;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects,
|
|
173
|
+
* and only stores the part of their underlying `ArrayBuffers` that they are referring to.
|
|
174
|
+
*/
|
|
175
|
+
class DefaultDeserializer extends Deserializer {
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Uses a `DefaultSerializer` to serialize value into a buffer.
|
|
180
|
+
*/
|
|
181
|
+
function serialize(value: any): Buffer;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Uses a `DefaultDeserializer` with default options to read a JS value from a buffer.
|
|
185
|
+
*/
|
|
186
|
+
function deserialize(data: NodeJS.TypedArray): any;
|
|
187
|
+
}
|
|
188
|
+
declare module 'node:v8' {
|
|
189
|
+
export * from 'v8';
|
|
190
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
declare module 'vm' {
|
|
2
|
+
interface Context extends NodeJS.Dict<any> { }
|
|
3
|
+
interface BaseOptions {
|
|
4
|
+
/**
|
|
5
|
+
* Specifies the filename used in stack traces produced by this script.
|
|
6
|
+
* Default: `''`.
|
|
7
|
+
*/
|
|
8
|
+
filename?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* Specifies the line number offset that is displayed in stack traces produced by this script.
|
|
11
|
+
* Default: `0`.
|
|
12
|
+
*/
|
|
13
|
+
lineOffset?: number | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* Specifies the column number offset that is displayed in stack traces produced by this script.
|
|
16
|
+
* @default 0
|
|
17
|
+
*/
|
|
18
|
+
columnOffset?: number | undefined;
|
|
19
|
+
}
|
|
20
|
+
interface ScriptOptions extends BaseOptions {
|
|
21
|
+
displayErrors?: boolean | undefined;
|
|
22
|
+
timeout?: number | undefined;
|
|
23
|
+
cachedData?: Buffer | undefined;
|
|
24
|
+
/** @deprecated in favor of `script.createCachedData()` */
|
|
25
|
+
produceCachedData?: boolean | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface RunningScriptOptions extends BaseOptions {
|
|
28
|
+
/**
|
|
29
|
+
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
|
|
30
|
+
* Default: `true`.
|
|
31
|
+
*/
|
|
32
|
+
displayErrors?: boolean | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the number of milliseconds to execute code before terminating execution.
|
|
35
|
+
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
|
|
36
|
+
*/
|
|
37
|
+
timeout?: number | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
|
|
40
|
+
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
|
|
41
|
+
* If execution is terminated, an `Error` will be thrown.
|
|
42
|
+
* Default: `false`.
|
|
43
|
+
*/
|
|
44
|
+
breakOnSigint?: boolean | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
47
|
+
*/
|
|
48
|
+
microtaskMode?: 'afterEvaluate' | undefined;
|
|
49
|
+
}
|
|
50
|
+
interface CompileFunctionOptions extends BaseOptions {
|
|
51
|
+
/**
|
|
52
|
+
* Provides an optional data with V8's code cache data for the supplied source.
|
|
53
|
+
*/
|
|
54
|
+
cachedData?: Buffer | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Specifies whether to produce new cache data.
|
|
57
|
+
* Default: `false`,
|
|
58
|
+
*/
|
|
59
|
+
produceCachedData?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* The sandbox/context in which the said function should be compiled in.
|
|
62
|
+
*/
|
|
63
|
+
parsingContext?: Context | undefined;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
|
|
67
|
+
*/
|
|
68
|
+
contextExtensions?: Object[] | undefined;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
interface CreateContextOptions {
|
|
72
|
+
/**
|
|
73
|
+
* Human-readable name of the newly created context.
|
|
74
|
+
* @default 'VM Context i' Where i is an ascending numerical index of the created context.
|
|
75
|
+
*/
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Corresponds to the newly created context for display purposes.
|
|
79
|
+
* The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary),
|
|
80
|
+
* like the value of the `url.origin` property of a URL object.
|
|
81
|
+
* Most notably, this string should omit the trailing slash, as that denotes a path.
|
|
82
|
+
* @default ''
|
|
83
|
+
*/
|
|
84
|
+
origin?: string | undefined;
|
|
85
|
+
codeGeneration?: {
|
|
86
|
+
/**
|
|
87
|
+
* If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc)
|
|
88
|
+
* will throw an EvalError.
|
|
89
|
+
* @default true
|
|
90
|
+
*/
|
|
91
|
+
strings?: boolean | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError.
|
|
94
|
+
* @default true
|
|
95
|
+
*/
|
|
96
|
+
wasm?: boolean | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
100
|
+
*/
|
|
101
|
+
microtaskMode?: 'afterEvaluate' | undefined;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
type MeasureMemoryMode = 'summary' | 'detailed';
|
|
105
|
+
|
|
106
|
+
interface MeasureMemoryOptions {
|
|
107
|
+
/**
|
|
108
|
+
* @default 'summary'
|
|
109
|
+
*/
|
|
110
|
+
mode?: MeasureMemoryMode | undefined;
|
|
111
|
+
context?: Context | undefined;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
interface MemoryMeasurement {
|
|
115
|
+
total: {
|
|
116
|
+
jsMemoryEstimate: number;
|
|
117
|
+
jsMemoryRange: [number, number];
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
class Script {
|
|
122
|
+
constructor(code: string, options?: ScriptOptions);
|
|
123
|
+
runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
|
|
124
|
+
runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
|
|
125
|
+
runInThisContext(options?: RunningScriptOptions): any;
|
|
126
|
+
createCachedData(): Buffer;
|
|
127
|
+
cachedDataRejected?: boolean | undefined;
|
|
128
|
+
}
|
|
129
|
+
function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
|
|
130
|
+
function isContext(sandbox: Context): boolean;
|
|
131
|
+
function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
|
|
132
|
+
function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
|
|
133
|
+
function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
|
|
134
|
+
function compileFunction(code: string, params?: ReadonlyArray<string>, options?: CompileFunctionOptions): Function;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Measure the memory known to V8 and used by the current execution context or a specified context.
|
|
138
|
+
*
|
|
139
|
+
* The format of the object that the returned Promise may resolve with is
|
|
140
|
+
* specific to the V8 engine and may change from one version of V8 to the next.
|
|
141
|
+
*
|
|
142
|
+
* The returned result is different from the statistics returned by
|
|
143
|
+
* `v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measures
|
|
144
|
+
* the memory reachable by V8 from a specific context, while
|
|
145
|
+
* `v8.getHeapSpaceStatistics()` measures the memory used by an instance
|
|
146
|
+
* of V8 engine, which can switch among multiple contexts that reference
|
|
147
|
+
* objects in the heap of one engine.
|
|
148
|
+
*
|
|
149
|
+
* @experimental
|
|
150
|
+
*/
|
|
151
|
+
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
152
|
+
}
|
|
153
|
+
declare module 'node:vm' {
|
|
154
|
+
export * from 'vm';
|
|
155
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare module 'wasi' {
|
|
2
|
+
interface WASIOptions {
|
|
3
|
+
/**
|
|
4
|
+
* An array of strings that the WebAssembly application will
|
|
5
|
+
* see as command line arguments. The first argument is the virtual path to the
|
|
6
|
+
* WASI command itself.
|
|
7
|
+
*/
|
|
8
|
+
args?: string[] | undefined;
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* An object similar to `process.env` that the WebAssembly
|
|
12
|
+
* application will see as its environment.
|
|
13
|
+
*/
|
|
14
|
+
env?: object | undefined;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This object represents the WebAssembly application's
|
|
18
|
+
* sandbox directory structure. The string keys of `preopens` are treated as
|
|
19
|
+
* directories within the sandbox. The corresponding values in `preopens` are
|
|
20
|
+
* the real paths to those directories on the host machine.
|
|
21
|
+
*/
|
|
22
|
+
preopens?: NodeJS.Dict<string> | undefined;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* By default, WASI applications terminate the Node.js
|
|
26
|
+
* process via the `__wasi_proc_exit()` function. Setting this option to `true`
|
|
27
|
+
* causes `wasi.start()` to return the exit code rather than terminate the
|
|
28
|
+
* process.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
returnOnExit?: boolean | undefined;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* The file descriptor used as standard input in the WebAssembly application.
|
|
35
|
+
* @default 0
|
|
36
|
+
*/
|
|
37
|
+
stdin?: number | undefined;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The file descriptor used as standard output in the WebAssembly application.
|
|
41
|
+
* @default 1
|
|
42
|
+
*/
|
|
43
|
+
stdout?: number | undefined;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The file descriptor used as standard error in the WebAssembly application.
|
|
47
|
+
* @default 2
|
|
48
|
+
*/
|
|
49
|
+
stderr?: number | undefined;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
class WASI {
|
|
53
|
+
constructor(options?: WASIOptions);
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* Attempt to begin execution of `instance` by invoking its `_start()` export.
|
|
57
|
+
* If `instance` does not contain a `_start()` export, then `start()` attempts to
|
|
58
|
+
* invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports
|
|
59
|
+
* is present on `instance`, then `start()` does nothing.
|
|
60
|
+
*
|
|
61
|
+
* `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
|
|
62
|
+
* `memory`. If `instance` does not have a `memory` export an exception is thrown.
|
|
63
|
+
*
|
|
64
|
+
* If `start()` is called more than once, an exception is thrown.
|
|
65
|
+
*/
|
|
66
|
+
start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present.
|
|
70
|
+
* If `instance` contains a `_start()` export, then an exception is thrown.
|
|
71
|
+
*
|
|
72
|
+
* `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
|
|
73
|
+
* `memory`. If `instance` does not have a `memory` export an exception is thrown.
|
|
74
|
+
*
|
|
75
|
+
* If `initialize()` is called more than once, an exception is thrown.
|
|
76
|
+
*/
|
|
77
|
+
initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Is an object that implements the WASI system call API. This object
|
|
81
|
+
* should be passed as the `wasi_snapshot_preview1` import during the instantiation of a
|
|
82
|
+
* [`WebAssembly.Instance`][].
|
|
83
|
+
*/
|
|
84
|
+
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
declare module 'node:wasi' {
|
|
88
|
+
export * from 'wasi';
|
|
89
|
+
}
|