@integration-app/react 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- 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 +14 -38
- 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,572 @@
|
|
1
|
+
declare module 'fs/promises' {
|
2
|
+
import {
|
3
|
+
BaseEncodingOptions,
|
4
|
+
BigIntStats,
|
5
|
+
BufferEncodingOption,
|
6
|
+
constants as fsConstants,
|
7
|
+
Dir,
|
8
|
+
Dirent,
|
9
|
+
MakeDirectoryOptions,
|
10
|
+
Mode,
|
11
|
+
OpenDirOptions,
|
12
|
+
OpenMode,
|
13
|
+
PathLike,
|
14
|
+
ReadVResult,
|
15
|
+
RmDirOptions,
|
16
|
+
RmOptions,
|
17
|
+
StatOptions,
|
18
|
+
Stats,
|
19
|
+
WriteVResult,
|
20
|
+
} from 'fs';
|
21
|
+
|
22
|
+
interface FileHandle {
|
23
|
+
/**
|
24
|
+
* Gets the file descriptor for this file handle.
|
25
|
+
*/
|
26
|
+
readonly fd: number;
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Asynchronously append data to a file, creating the file if it does not exist. The underlying file will _not_ be closed automatically.
|
30
|
+
* The `FileHandle` must have been opened for appending.
|
31
|
+
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
|
32
|
+
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
|
33
|
+
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
34
|
+
* If `mode` is not supplied, the default of `0o666` is used.
|
35
|
+
* If `mode` is a string, it is parsed as an octal integer.
|
36
|
+
* If `flag` is not supplied, the default of `'a'` is used.
|
37
|
+
*/
|
38
|
+
appendFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null): Promise<void>;
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Asynchronous fchown(2) - Change ownership of a file.
|
42
|
+
*/
|
43
|
+
chown(uid: number, gid: number): Promise<void>;
|
44
|
+
|
45
|
+
/**
|
46
|
+
* Asynchronous fchmod(2) - Change permissions of a file.
|
47
|
+
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
|
48
|
+
*/
|
49
|
+
chmod(mode: Mode): Promise<void>;
|
50
|
+
|
51
|
+
/**
|
52
|
+
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
|
53
|
+
*/
|
54
|
+
datasync(): Promise<void>;
|
55
|
+
|
56
|
+
/**
|
57
|
+
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
|
58
|
+
*/
|
59
|
+
sync(): Promise<void>;
|
60
|
+
|
61
|
+
/**
|
62
|
+
* Asynchronously reads data from the file.
|
63
|
+
* The `FileHandle` must have been opened for reading.
|
64
|
+
* @param buffer The buffer that the data will be written to.
|
65
|
+
* @param offset The offset in the buffer at which to start writing.
|
66
|
+
* @param length The number of bytes to read.
|
67
|
+
* @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
|
68
|
+
*/
|
69
|
+
read<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesRead: number, buffer: TBuffer }>;
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
|
73
|
+
* The `FileHandle` must have been opened for reading.
|
74
|
+
* @param options An object that may contain an optional flag.
|
75
|
+
* If a flag is not provided, it defaults to `'r'`.
|
76
|
+
*/
|
77
|
+
readFile(options?: { encoding?: null | undefined, flag?: OpenMode | undefined } | null): Promise<Buffer>;
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
|
81
|
+
* The `FileHandle` must have been opened for reading.
|
82
|
+
* @param options An object that may contain an optional flag.
|
83
|
+
* If a flag is not provided, it defaults to `'r'`.
|
84
|
+
*/
|
85
|
+
readFile(options: { encoding: BufferEncoding, flag?: OpenMode | undefined } | BufferEncoding): Promise<string>;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
|
89
|
+
* The `FileHandle` must have been opened for reading.
|
90
|
+
* @param options An object that may contain an optional flag.
|
91
|
+
* If a flag is not provided, it defaults to `'r'`.
|
92
|
+
*/
|
93
|
+
readFile(options?: BaseEncodingOptions & { flag?: OpenMode | undefined } | BufferEncoding | null): Promise<string | Buffer>;
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Asynchronous fstat(2) - Get file status.
|
97
|
+
*/
|
98
|
+
stat(opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
|
99
|
+
stat(opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
100
|
+
stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
|
101
|
+
|
102
|
+
/**
|
103
|
+
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
104
|
+
* @param len If not specified, defaults to `0`.
|
105
|
+
*/
|
106
|
+
truncate(len?: number): Promise<void>;
|
107
|
+
|
108
|
+
/**
|
109
|
+
* Asynchronously change file timestamps of the file.
|
110
|
+
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
111
|
+
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
112
|
+
*/
|
113
|
+
utimes(atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
114
|
+
|
115
|
+
/**
|
116
|
+
* Asynchronously writes `buffer` to the file.
|
117
|
+
* The `FileHandle` must have been opened for writing.
|
118
|
+
* @param buffer The buffer that the data will be written to.
|
119
|
+
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
120
|
+
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
121
|
+
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
122
|
+
*/
|
123
|
+
write<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
|
124
|
+
|
125
|
+
/**
|
126
|
+
* Asynchronously writes `string` to the file.
|
127
|
+
* The `FileHandle` must have been opened for writing.
|
128
|
+
* It is unsafe to call `write()` multiple times on the same file without waiting for the `Promise`
|
129
|
+
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
|
130
|
+
* @param string A string to write.
|
131
|
+
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
132
|
+
* @param encoding The expected string encoding.
|
133
|
+
*/
|
134
|
+
write(data: string | Uint8Array, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>;
|
135
|
+
|
136
|
+
/**
|
137
|
+
* Asynchronously writes data to a file, replacing the file if it already exists. The underlying file will _not_ be closed automatically.
|
138
|
+
* The `FileHandle` must have been opened for writing.
|
139
|
+
* It is unsafe to call `writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
|
140
|
+
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
|
141
|
+
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
|
142
|
+
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
143
|
+
* If `mode` is not supplied, the default of `0o666` is used.
|
144
|
+
* If `mode` is a string, it is parsed as an octal integer.
|
145
|
+
* If `flag` is not supplied, the default of `'w'` is used.
|
146
|
+
*/
|
147
|
+
writeFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null): Promise<void>;
|
148
|
+
|
149
|
+
/**
|
150
|
+
* See `fs.writev` promisified version.
|
151
|
+
*/
|
152
|
+
writev(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
|
153
|
+
|
154
|
+
/**
|
155
|
+
* See `fs.readv` promisified version.
|
156
|
+
*/
|
157
|
+
readv(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<ReadVResult>;
|
158
|
+
|
159
|
+
/**
|
160
|
+
* Asynchronous close(2) - close a `FileHandle`.
|
161
|
+
*/
|
162
|
+
close(): Promise<void>;
|
163
|
+
}
|
164
|
+
|
165
|
+
const constants: typeof fsConstants;
|
166
|
+
|
167
|
+
/**
|
168
|
+
* Asynchronously tests a user's permissions for the file specified by path.
|
169
|
+
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
|
170
|
+
* URL support is _experimental_.
|
171
|
+
*/
|
172
|
+
function access(path: PathLike, mode?: number): Promise<void>;
|
173
|
+
|
174
|
+
/**
|
175
|
+
* Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it already exists.
|
176
|
+
* Node.js makes no guarantees about the atomicity of the copy operation.
|
177
|
+
* If an error occurs after the destination file has been opened for writing, Node.js will attempt
|
178
|
+
* to remove the destination.
|
179
|
+
* @param src A path to the source file.
|
180
|
+
* @param dest A path to the destination file.
|
181
|
+
* @param flags An optional integer that specifies the behavior of the copy operation. The only
|
182
|
+
* supported flag is `fs.constants.COPYFILE_EXCL`, which causes the copy operation to fail if
|
183
|
+
* `dest` already exists.
|
184
|
+
*/
|
185
|
+
function copyFile(src: PathLike, dest: PathLike, flags?: number): Promise<void>;
|
186
|
+
|
187
|
+
/**
|
188
|
+
* Asynchronous open(2) - open and possibly create a file.
|
189
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
190
|
+
* @param [flags='r'] See `support of file system `flags``.
|
191
|
+
* @param [mode] A file mode. If a string is passed, it is parsed as an octal integer. If not
|
192
|
+
* supplied, defaults to `0o666`.
|
193
|
+
*/
|
194
|
+
function open(path: PathLike, flags?: string | number, mode?: string | number): Promise<FileHandle>;
|
195
|
+
|
196
|
+
/**
|
197
|
+
* Asynchronously reads data from the file referenced by the supplied `FileHandle`.
|
198
|
+
* @param handle A `FileHandle`.
|
199
|
+
* @param buffer The buffer that the data will be written to.
|
200
|
+
* @param offset The offset in the buffer at which to start writing.
|
201
|
+
* @param length The number of bytes to read.
|
202
|
+
* @param position The offset from the beginning of the file from which data should be read. If
|
203
|
+
* `null`, data will be read from the current position.
|
204
|
+
*/
|
205
|
+
function read<TBuffer extends Uint8Array>(
|
206
|
+
handle: FileHandle,
|
207
|
+
buffer: TBuffer,
|
208
|
+
offset?: number | null,
|
209
|
+
length?: number | null,
|
210
|
+
position?: number | null,
|
211
|
+
): Promise<{ bytesRead: number, buffer: TBuffer }>;
|
212
|
+
|
213
|
+
/**
|
214
|
+
* Asynchronously writes `buffer` to the file referenced by the supplied `FileHandle`.
|
215
|
+
* It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
|
216
|
+
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
|
217
|
+
* @param handle A `FileHandle`.
|
218
|
+
* @param buffer The buffer that the data will be written to.
|
219
|
+
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
|
220
|
+
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
|
221
|
+
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
222
|
+
*/
|
223
|
+
function write<TBuffer extends Uint8Array>(
|
224
|
+
handle: FileHandle,
|
225
|
+
buffer: TBuffer,
|
226
|
+
offset?: number | null,
|
227
|
+
length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
|
228
|
+
|
229
|
+
/**
|
230
|
+
* Asynchronously writes `string` to the file referenced by the supplied `FileHandle`.
|
231
|
+
* It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
|
232
|
+
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
|
233
|
+
* @param handle A `FileHandle`.
|
234
|
+
* @param string A string to write.
|
235
|
+
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
|
236
|
+
* @param encoding The expected string encoding.
|
237
|
+
*/
|
238
|
+
function write(handle: FileHandle, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>;
|
239
|
+
|
240
|
+
/**
|
241
|
+
* Asynchronous rename(2) - Change the name or location of a file or directory.
|
242
|
+
* @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
243
|
+
* URL support is _experimental_.
|
244
|
+
* @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
245
|
+
* URL support is _experimental_.
|
246
|
+
*/
|
247
|
+
function rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
|
248
|
+
|
249
|
+
/**
|
250
|
+
* Asynchronous truncate(2) - Truncate a file to a specified length.
|
251
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
252
|
+
* @param len If not specified, defaults to `0`.
|
253
|
+
*/
|
254
|
+
function truncate(path: PathLike, len?: number): Promise<void>;
|
255
|
+
|
256
|
+
/**
|
257
|
+
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
|
258
|
+
* @param handle A `FileHandle`.
|
259
|
+
* @param len If not specified, defaults to `0`.
|
260
|
+
*/
|
261
|
+
function ftruncate(handle: FileHandle, len?: number): Promise<void>;
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Asynchronous rmdir(2) - delete a directory.
|
265
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
266
|
+
*/
|
267
|
+
function rmdir(path: PathLike, options?: RmDirOptions): Promise<void>;
|
268
|
+
|
269
|
+
/**
|
270
|
+
* Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
|
271
|
+
*/
|
272
|
+
function rm(path: PathLike, options?: RmOptions): Promise<void>;
|
273
|
+
|
274
|
+
/**
|
275
|
+
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
|
276
|
+
* @param handle A `FileHandle`.
|
277
|
+
*/
|
278
|
+
function fdatasync(handle: FileHandle): Promise<void>;
|
279
|
+
|
280
|
+
/**
|
281
|
+
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
|
282
|
+
* @param handle A `FileHandle`.
|
283
|
+
*/
|
284
|
+
function fsync(handle: FileHandle): Promise<void>;
|
285
|
+
|
286
|
+
/**
|
287
|
+
* Asynchronous mkdir(2) - create a directory.
|
288
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
289
|
+
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
290
|
+
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
291
|
+
*/
|
292
|
+
function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string | undefined>;
|
293
|
+
|
294
|
+
/**
|
295
|
+
* Asynchronous mkdir(2) - create a directory.
|
296
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
297
|
+
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
298
|
+
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
299
|
+
*/
|
300
|
+
function mkdir(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false | undefined; }) | null): Promise<void>;
|
301
|
+
|
302
|
+
/**
|
303
|
+
* Asynchronous mkdir(2) - create a directory.
|
304
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
305
|
+
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
|
306
|
+
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
|
307
|
+
*/
|
308
|
+
function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise<string | undefined>;
|
309
|
+
|
310
|
+
/**
|
311
|
+
* Asynchronous readdir(3) - read a directory.
|
312
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
313
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
314
|
+
*/
|
315
|
+
function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[]>;
|
316
|
+
|
317
|
+
/**
|
318
|
+
* Asynchronous readdir(3) - read a directory.
|
319
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
320
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
321
|
+
*/
|
322
|
+
function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false | undefined } | "buffer"): Promise<Buffer[]>;
|
323
|
+
|
324
|
+
/**
|
325
|
+
* Asynchronous readdir(3) - read a directory.
|
326
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
327
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
328
|
+
*/
|
329
|
+
function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[] | Buffer[]>;
|
330
|
+
|
331
|
+
/**
|
332
|
+
* Asynchronous readdir(3) - read a directory.
|
333
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
334
|
+
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
|
335
|
+
*/
|
336
|
+
function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise<Dirent[]>;
|
337
|
+
|
338
|
+
/**
|
339
|
+
* Asynchronous readlink(2) - read value of a symbolic link.
|
340
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
341
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
342
|
+
*/
|
343
|
+
function readlink(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
|
344
|
+
|
345
|
+
/**
|
346
|
+
* Asynchronous readlink(2) - read value of a symbolic link.
|
347
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
348
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
349
|
+
*/
|
350
|
+
function readlink(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
|
351
|
+
|
352
|
+
/**
|
353
|
+
* Asynchronous readlink(2) - read value of a symbolic link.
|
354
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
355
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
356
|
+
*/
|
357
|
+
function readlink(path: PathLike, options?: BaseEncodingOptions | string | null): Promise<string | Buffer>;
|
358
|
+
|
359
|
+
/**
|
360
|
+
* Asynchronous symlink(2) - Create a new symbolic link to an existing file.
|
361
|
+
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
|
362
|
+
* @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
|
363
|
+
* @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
|
364
|
+
* When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
|
365
|
+
*/
|
366
|
+
function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
|
367
|
+
|
368
|
+
/**
|
369
|
+
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
|
370
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
371
|
+
*/
|
372
|
+
function lstat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
|
373
|
+
function lstat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
374
|
+
function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
|
375
|
+
|
376
|
+
/**
|
377
|
+
* Asynchronous stat(2) - Get file status.
|
378
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
379
|
+
*/
|
380
|
+
function stat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
|
381
|
+
function stat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
|
382
|
+
function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
|
383
|
+
|
384
|
+
/**
|
385
|
+
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
|
386
|
+
* @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
387
|
+
* @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
|
388
|
+
*/
|
389
|
+
function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
|
390
|
+
|
391
|
+
/**
|
392
|
+
* Asynchronous unlink(2) - delete a name and possibly the file it refers to.
|
393
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
394
|
+
*/
|
395
|
+
function unlink(path: PathLike): Promise<void>;
|
396
|
+
|
397
|
+
/**
|
398
|
+
* Asynchronous fchmod(2) - Change permissions of a file.
|
399
|
+
* @param handle A `FileHandle`.
|
400
|
+
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
|
401
|
+
*/
|
402
|
+
function fchmod(handle: FileHandle, mode: Mode): Promise<void>;
|
403
|
+
|
404
|
+
/**
|
405
|
+
* Asynchronous chmod(2) - Change permissions of a file.
|
406
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
407
|
+
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
|
408
|
+
*/
|
409
|
+
function chmod(path: PathLike, mode: Mode): Promise<void>;
|
410
|
+
|
411
|
+
/**
|
412
|
+
* Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
|
413
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
414
|
+
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
|
415
|
+
*/
|
416
|
+
function lchmod(path: PathLike, mode: Mode): Promise<void>;
|
417
|
+
|
418
|
+
/**
|
419
|
+
* Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
|
420
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
421
|
+
*/
|
422
|
+
function lchown(path: PathLike, uid: number, gid: number): Promise<void>;
|
423
|
+
|
424
|
+
/**
|
425
|
+
* Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
|
426
|
+
* with the difference that if the path refers to a symbolic link, then the link is not
|
427
|
+
* dereferenced: instead, the timestamps of the symbolic link itself are changed.
|
428
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
429
|
+
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
430
|
+
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
431
|
+
*/
|
432
|
+
function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
433
|
+
|
434
|
+
/**
|
435
|
+
* Asynchronous fchown(2) - Change ownership of a file.
|
436
|
+
* @param handle A `FileHandle`.
|
437
|
+
*/
|
438
|
+
function fchown(handle: FileHandle, uid: number, gid: number): Promise<void>;
|
439
|
+
|
440
|
+
/**
|
441
|
+
* Asynchronous chown(2) - Change ownership of a file.
|
442
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
443
|
+
*/
|
444
|
+
function chown(path: PathLike, uid: number, gid: number): Promise<void>;
|
445
|
+
|
446
|
+
/**
|
447
|
+
* Asynchronously change file timestamps of the file referenced by the supplied path.
|
448
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
449
|
+
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
450
|
+
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
451
|
+
*/
|
452
|
+
function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
453
|
+
|
454
|
+
/**
|
455
|
+
* Asynchronously change file timestamps of the file referenced by the supplied `FileHandle`.
|
456
|
+
* @param handle A `FileHandle`.
|
457
|
+
* @param atime The last access time. If a string is provided, it will be coerced to number.
|
458
|
+
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
|
459
|
+
*/
|
460
|
+
function futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
|
461
|
+
|
462
|
+
/**
|
463
|
+
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
464
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
465
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
466
|
+
*/
|
467
|
+
function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
|
468
|
+
|
469
|
+
/**
|
470
|
+
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
471
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
472
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
473
|
+
*/
|
474
|
+
function realpath(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
|
475
|
+
|
476
|
+
/**
|
477
|
+
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
|
478
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
479
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
480
|
+
*/
|
481
|
+
function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
482
|
+
|
483
|
+
/**
|
484
|
+
* Asynchronously creates a unique temporary directory.
|
485
|
+
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
|
486
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
487
|
+
*/
|
488
|
+
function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
|
489
|
+
|
490
|
+
/**
|
491
|
+
* Asynchronously creates a unique temporary directory.
|
492
|
+
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
|
493
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
494
|
+
*/
|
495
|
+
function mkdtemp(prefix: string, options: BufferEncodingOption): Promise<Buffer>;
|
496
|
+
|
497
|
+
/**
|
498
|
+
* Asynchronously creates a unique temporary directory.
|
499
|
+
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
|
500
|
+
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
|
501
|
+
*/
|
502
|
+
function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
|
503
|
+
|
504
|
+
/**
|
505
|
+
* Asynchronously writes data to a file, replacing the file if it already exists.
|
506
|
+
* It is unsafe to call `fsPromises.writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
|
507
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
508
|
+
* URL support is _experimental_.
|
509
|
+
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
|
510
|
+
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
|
511
|
+
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
|
512
|
+
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
513
|
+
* If `mode` is not supplied, the default of `0o666` is used.
|
514
|
+
* If `mode` is a string, it is parsed as an octal integer.
|
515
|
+
* If `flag` is not supplied, the default of `'w'` is used.
|
516
|
+
*/
|
517
|
+
function writeFile(
|
518
|
+
path: PathLike | FileHandle,
|
519
|
+
data: string | Uint8Array,
|
520
|
+
options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null
|
521
|
+
): Promise<void>;
|
522
|
+
|
523
|
+
/**
|
524
|
+
* Asynchronously append data to a file, creating the file if it does not exist.
|
525
|
+
* @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
|
526
|
+
* URL support is _experimental_.
|
527
|
+
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
|
528
|
+
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
|
529
|
+
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
|
530
|
+
* If `encoding` is not supplied, the default of `'utf8'` is used.
|
531
|
+
* If `mode` is not supplied, the default of `0o666` is used.
|
532
|
+
* If `mode` is a string, it is parsed as an octal integer.
|
533
|
+
* If `flag` is not supplied, the default of `'a'` is used.
|
534
|
+
*/
|
535
|
+
function appendFile(
|
536
|
+
path: PathLike | FileHandle,
|
537
|
+
data: string | Uint8Array,
|
538
|
+
options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null
|
539
|
+
): Promise<void>;
|
540
|
+
|
541
|
+
/**
|
542
|
+
* Asynchronously reads the entire contents of a file.
|
543
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
544
|
+
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
|
545
|
+
* @param options An object that may contain an optional flag.
|
546
|
+
* If a flag is not provided, it defaults to `'r'`.
|
547
|
+
*/
|
548
|
+
function readFile(path: PathLike | FileHandle, options?: { encoding?: null | undefined, flag?: OpenMode | undefined } | null): Promise<Buffer>;
|
549
|
+
|
550
|
+
/**
|
551
|
+
* Asynchronously reads the entire contents of a file.
|
552
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
553
|
+
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
|
554
|
+
* @param options An object that may contain an optional flag.
|
555
|
+
* If a flag is not provided, it defaults to `'r'`.
|
556
|
+
*/
|
557
|
+
function readFile(path: PathLike | FileHandle, options: { encoding: BufferEncoding, flag?: OpenMode | undefined } | BufferEncoding): Promise<string>;
|
558
|
+
|
559
|
+
/**
|
560
|
+
* Asynchronously reads the entire contents of a file.
|
561
|
+
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
|
562
|
+
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
|
563
|
+
* @param options An object that may contain an optional flag.
|
564
|
+
* If a flag is not provided, it defaults to `'r'`.
|
565
|
+
*/
|
566
|
+
function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & { flag?: OpenMode | undefined } | BufferEncoding | null): Promise<string | Buffer>;
|
567
|
+
|
568
|
+
function opendir(path: PathLike, options?: OpenDirOptions): Promise<Dir>;
|
569
|
+
}
|
570
|
+
declare module 'node:fs/promises' {
|
571
|
+
export * from 'fs/promises';
|
572
|
+
}
|