@datadog/datadog-ci 3.20.0 → 3.21.2
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/LICENSE +1 -1
- package/README.md +34 -34
- package/dist/cli.d.ts +2 -1
- package/dist/cli.js +11 -19
- package/dist/cli.js.map +1 -1
- package/dist/commands/cli.d.ts +35 -0
- package/dist/commands/cli.js +33 -0
- package/dist/commands/cli.js.map +1 -0
- package/dist/commands/coverage/api.d.ts +2 -2
- package/dist/commands/coverage/api.js +2 -2
- package/dist/commands/coverage/api.js.map +1 -1
- package/dist/commands/coverage/cli.d.ts +2 -1
- package/dist/commands/coverage/cli.js +2 -1
- package/dist/commands/coverage/cli.js.map +1 -1
- package/dist/commands/coverage/interfaces.d.ts +2 -2
- package/dist/commands/coverage/renderer.d.ts +1 -1
- package/dist/commands/coverage/renderer.js.map +1 -1
- package/dist/commands/coverage/upload.js +17 -17
- package/dist/commands/coverage/upload.js.map +1 -1
- package/dist/commands/coverage/utils.d.ts +3 -3
- package/dist/commands/coverage/utils.js +2 -2
- package/dist/commands/coverage/utils.js.map +1 -1
- package/dist/commands/dsyms/cli.d.ts +2 -1
- package/dist/commands/dsyms/cli.js +2 -1
- package/dist/commands/dsyms/cli.js.map +1 -1
- package/dist/commands/dsyms/interfaces.d.ts +1 -1
- package/dist/commands/dsyms/renderer.d.ts +1 -1
- package/dist/commands/dsyms/renderer.js +2 -2
- package/dist/commands/dsyms/renderer.js.map +1 -1
- package/dist/commands/dsyms/upload.d.ts +1 -1
- package/dist/commands/dsyms/upload.js +14 -14
- package/dist/commands/dsyms/upload.js.map +1 -1
- package/dist/commands/dsyms/utils.js +1 -1
- package/dist/commands/dsyms/utils.js.map +1 -1
- package/dist/commands/elf-symbols/cli.d.ts +2 -1
- package/dist/commands/elf-symbols/cli.js +2 -1
- package/dist/commands/elf-symbols/cli.js.map +1 -1
- package/dist/commands/elf-symbols/elf-constants.js +3 -0
- package/dist/commands/elf-symbols/elf-constants.js.map +1 -1
- package/dist/commands/elf-symbols/elf.d.ts +3 -2
- package/dist/commands/elf-symbols/elf.js +7 -4
- package/dist/commands/elf-symbols/elf.js.map +1 -1
- package/dist/commands/elf-symbols/helpers.d.ts +4 -4
- package/dist/commands/elf-symbols/helpers.js +3 -3
- package/dist/commands/elf-symbols/helpers.js.map +1 -1
- package/dist/commands/elf-symbols/renderer.d.ts +1 -1
- package/dist/commands/elf-symbols/renderer.js +3 -3
- package/dist/commands/elf-symbols/renderer.js.map +1 -1
- package/dist/commands/elf-symbols/upload.d.ts +1 -1
- package/dist/commands/elf-symbols/upload.js +14 -17
- package/dist/commands/elf-symbols/upload.js.map +1 -1
- package/dist/commands/flutter-symbols/cli.d.ts +2 -1
- package/dist/commands/flutter-symbols/cli.js +2 -1
- package/dist/commands/flutter-symbols/cli.js.map +1 -1
- package/dist/commands/flutter-symbols/helpers.d.ts +4 -4
- package/dist/commands/flutter-symbols/helpers.js +3 -3
- package/dist/commands/flutter-symbols/helpers.js.map +1 -1
- package/dist/commands/flutter-symbols/renderer.d.ts +1 -1
- package/dist/commands/flutter-symbols/renderer.js +3 -3
- package/dist/commands/flutter-symbols/renderer.js.map +1 -1
- package/dist/commands/flutter-symbols/upload.d.ts +1 -1
- package/dist/commands/flutter-symbols/upload.js +15 -18
- package/dist/commands/flutter-symbols/upload.js.map +1 -1
- package/dist/commands/junit/api.d.ts +2 -2
- package/dist/commands/junit/api.js +1 -1
- package/dist/commands/junit/api.js.map +1 -1
- package/dist/commands/junit/cli.d.ts +2 -1
- package/dist/commands/junit/cli.js +2 -1
- package/dist/commands/junit/cli.js.map +1 -1
- package/dist/commands/junit/interfaces.d.ts +1 -1
- package/dist/commands/junit/renderer.d.ts +1 -1
- package/dist/commands/junit/renderer.js.map +1 -1
- package/dist/commands/junit/upload.js +19 -19
- package/dist/commands/junit/upload.js.map +1 -1
- package/dist/commands/junit/utils.d.ts +1 -2
- package/dist/commands/junit/utils.js +4 -18
- package/dist/commands/junit/utils.js.map +1 -1
- package/dist/commands/measure/cli.d.ts +2 -1
- package/dist/commands/measure/cli.js +2 -1
- package/dist/commands/measure/cli.js.map +1 -1
- package/dist/commands/measure/measure.js +7 -7
- package/dist/commands/measure/measure.js.map +1 -1
- package/dist/commands/pe-symbols/cli.d.ts +2 -1
- package/dist/commands/pe-symbols/cli.js +2 -1
- package/dist/commands/pe-symbols/cli.js.map +1 -1
- package/dist/commands/pe-symbols/helpers.d.ts +4 -4
- package/dist/commands/pe-symbols/helpers.js +3 -3
- package/dist/commands/pe-symbols/helpers.js.map +1 -1
- package/dist/commands/pe-symbols/pe.js +4 -4
- package/dist/commands/pe-symbols/pe.js.map +1 -1
- package/dist/commands/pe-symbols/renderer.d.ts +1 -1
- package/dist/commands/pe-symbols/renderer.js +3 -3
- package/dist/commands/pe-symbols/renderer.js.map +1 -1
- package/dist/commands/pe-symbols/upload.d.ts +1 -1
- package/dist/commands/pe-symbols/upload.js +14 -17
- package/dist/commands/pe-symbols/upload.js.map +1 -1
- package/dist/commands/react-native/cli.d.ts +5 -1
- package/dist/commands/react-native/cli.js +2 -1
- package/dist/commands/react-native/cli.js.map +1 -1
- package/dist/commands/react-native/codepush.js +3 -3
- package/dist/commands/react-native/codepush.js.map +1 -1
- package/dist/commands/react-native/injectDebugId.js +3 -3
- package/dist/commands/react-native/injectDebugId.js.map +1 -1
- package/dist/commands/react-native/interfaces.d.ts +3 -3
- package/dist/commands/react-native/renderer.d.ts +1 -1
- package/dist/commands/react-native/renderer.js +3 -3
- package/dist/commands/react-native/renderer.js.map +1 -1
- package/dist/commands/react-native/upload.d.ts +1 -1
- package/dist/commands/react-native/upload.js +15 -15
- package/dist/commands/react-native/upload.js.map +1 -1
- package/dist/commands/react-native/validation.js +1 -1
- package/dist/commands/react-native/validation.js.map +1 -1
- package/dist/commands/react-native/xcode.js +4 -4
- package/dist/commands/react-native/xcode.js.map +1 -1
- package/dist/commands/sourcemaps/cli.d.ts +2 -1
- package/dist/commands/sourcemaps/cli.js +2 -1
- package/dist/commands/sourcemaps/cli.js.map +1 -1
- package/dist/commands/sourcemaps/interfaces.d.ts +1 -1
- package/dist/commands/sourcemaps/renderer.d.ts +1 -1
- package/dist/commands/sourcemaps/renderer.js +3 -3
- package/dist/commands/sourcemaps/renderer.js.map +1 -1
- package/dist/commands/sourcemaps/upload.d.ts +1 -1
- package/dist/commands/sourcemaps/upload.js +15 -15
- package/dist/commands/sourcemaps/upload.js.map +1 -1
- package/dist/commands/sourcemaps/utils.js +2 -2
- package/dist/commands/sourcemaps/utils.js.map +1 -1
- package/dist/commands/sourcemaps/validation.js +1 -1
- package/dist/commands/sourcemaps/validation.js.map +1 -1
- package/dist/commands/span/cli.d.ts +2 -1
- package/dist/commands/span/cli.js +2 -1
- package/dist/commands/span/cli.js.map +1 -1
- package/dist/commands/span/span.js +1 -1
- package/dist/commands/span/span.js.map +1 -1
- package/dist/commands/trace/api.d.ts +2 -2
- package/dist/commands/trace/api.js +1 -1
- package/dist/commands/trace/api.js.map +1 -1
- package/dist/commands/trace/cli.d.ts +2 -1
- package/dist/commands/trace/cli.js +2 -1
- package/dist/commands/trace/cli.js.map +1 -1
- package/dist/commands/trace/helper.js +8 -8
- package/dist/commands/trace/helper.js.map +1 -1
- package/dist/commands/trace/interfaces.d.ts +1 -1
- package/dist/commands/trace/interfaces.js +1 -1
- package/dist/commands/trace/interfaces.js.map +1 -1
- package/dist/commands/trace/test-utils.d.ts +1 -1
- package/dist/commands/unity-symbols/cli.d.ts +2 -1
- package/dist/commands/unity-symbols/cli.js +2 -1
- package/dist/commands/unity-symbols/cli.js.map +1 -1
- package/dist/commands/unity-symbols/helpers.d.ts +4 -4
- package/dist/commands/unity-symbols/helpers.js +3 -3
- package/dist/commands/unity-symbols/helpers.js.map +1 -1
- package/dist/commands/unity-symbols/renderer.d.ts +1 -1
- package/dist/commands/unity-symbols/renderer.js +3 -3
- package/dist/commands/unity-symbols/renderer.js.map +1 -1
- package/dist/commands/unity-symbols/upload.d.ts +1 -1
- package/dist/commands/unity-symbols/upload.js +14 -14
- package/dist/commands/unity-symbols/upload.js.map +1 -1
- package/dist/commands/version/cli.d.ts +7 -0
- package/dist/commands/version/cli.js +4 -3
- package/dist/commands/version/cli.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +32 -131
- package/dist/commands/aas/cli.d.ts +0 -1
- package/dist/commands/aas/cli.js +0 -6
- package/dist/commands/aas/cli.js.map +0 -1
- package/dist/commands/aas/common.d.ts +0 -48
- package/dist/commands/aas/common.js +0 -282
- package/dist/commands/aas/common.js.map +0 -1
- package/dist/commands/aas/instrument.d.ts +0 -30
- package/dist/commands/aas/instrument.js +0 -239
- package/dist/commands/aas/instrument.js.map +0 -1
- package/dist/commands/aas/interfaces.d.ts +0 -22
- package/dist/commands/aas/interfaces.js +0 -3
- package/dist/commands/aas/interfaces.js.map +0 -1
- package/dist/commands/aas/uninstrument.d.ts +0 -16
- package/dist/commands/aas/uninstrument.js +0 -100
- package/dist/commands/aas/uninstrument.js.map +0 -1
- package/dist/commands/cloud-run/cli.d.ts +0 -1
- package/dist/commands/cloud-run/cli.js +0 -7
- package/dist/commands/cloud-run/cli.js.map +0 -1
- package/dist/commands/cloud-run/constants.d.ts +0 -3
- package/dist/commands/cloud-run/constants.js +0 -24
- package/dist/commands/cloud-run/constants.js.map +0 -1
- package/dist/commands/cloud-run/flare.d.ts +0 -87
- package/dist/commands/cloud-run/flare.js +0 -631
- package/dist/commands/cloud-run/flare.js.map +0 -1
- package/dist/commands/cloud-run/instrument.d.ts +0 -36
- package/dist/commands/cloud-run/instrument.js +0 -383
- package/dist/commands/cloud-run/instrument.js.map +0 -1
- package/dist/commands/cloud-run/interfaces.d.ts +0 -51
- package/dist/commands/cloud-run/interfaces.js +0 -3
- package/dist/commands/cloud-run/interfaces.js.map +0 -1
- package/dist/commands/cloud-run/prompt.d.ts +0 -5
- package/dist/commands/cloud-run/prompt.js +0 -86
- package/dist/commands/cloud-run/prompt.js.map +0 -1
- package/dist/commands/cloud-run/renderer.d.ts +0 -13
- package/dist/commands/cloud-run/renderer.js +0 -86
- package/dist/commands/cloud-run/renderer.js.map +0 -1
- package/dist/commands/cloud-run/types.d.ts +0 -50
- package/dist/commands/cloud-run/types.js +0 -5
- package/dist/commands/cloud-run/types.js.map +0 -1
- package/dist/commands/cloud-run/uninstrument.d.ts +0 -21
- package/dist/commands/cloud-run/uninstrument.js +0 -186
- package/dist/commands/cloud-run/uninstrument.js.map +0 -1
- package/dist/commands/cloud-run/utils.d.ts +0 -15
- package/dist/commands/cloud-run/utils.js +0 -110
- package/dist/commands/cloud-run/utils.js.map +0 -1
- package/dist/commands/deployment/api.d.ts +0 -2
- package/dist/commands/deployment/api.js +0 -46
- package/dist/commands/deployment/api.js.map +0 -1
- package/dist/commands/deployment/cli.d.ts +0 -1
- package/dist/commands/deployment/cli.js +0 -13
- package/dist/commands/deployment/cli.js.map +0 -1
- package/dist/commands/deployment/constants.d.ts +0 -8
- package/dist/commands/deployment/constants.js +0 -12
- package/dist/commands/deployment/constants.js.map +0 -1
- package/dist/commands/deployment/correlate-image.d.ts +0 -15
- package/dist/commands/deployment/correlate-image.js +0 -121
- package/dist/commands/deployment/correlate-image.js.map +0 -1
- package/dist/commands/deployment/correlate.d.ts +0 -22
- package/dist/commands/deployment/correlate.js +0 -185
- package/dist/commands/deployment/correlate.js.map +0 -1
- package/dist/commands/deployment/gate.d.ts +0 -33
- package/dist/commands/deployment/gate.js +0 -340
- package/dist/commands/deployment/gate.js.map +0 -1
- package/dist/commands/deployment/interfaces.d.ts +0 -43
- package/dist/commands/deployment/interfaces.js +0 -3
- package/dist/commands/deployment/interfaces.js.map +0 -1
- package/dist/commands/deployment/mark.d.ts +0 -21
- package/dist/commands/deployment/mark.js +0 -115
- package/dist/commands/deployment/mark.js.map +0 -1
- package/dist/commands/dora/api.d.ts +0 -8
- package/dist/commands/dora/api.js +0 -58
- package/dist/commands/dora/api.js.map +0 -1
- package/dist/commands/dora/cli.d.ts +0 -1
- package/dist/commands/dora/cli.js +0 -5
- package/dist/commands/dora/cli.js.map +0 -1
- package/dist/commands/dora/deployment.d.ts +0 -28
- package/dist/commands/dora/deployment.js +0 -235
- package/dist/commands/dora/deployment.js.map +0 -1
- package/dist/commands/dora/interfaces.d.ts +0 -18
- package/dist/commands/dora/interfaces.js +0 -3
- package/dist/commands/dora/interfaces.js.map +0 -1
- package/dist/commands/dora/renderer.d.ts +0 -8
- package/dist/commands/dora/renderer.js +0 -24
- package/dist/commands/dora/renderer.js.map +0 -1
- package/dist/commands/gate/api.d.ts +0 -7
- package/dist/commands/gate/api.js +0 -49
- package/dist/commands/gate/api.js.map +0 -1
- package/dist/commands/gate/cli.d.ts +0 -1
- package/dist/commands/gate/cli.js +0 -5
- package/dist/commands/gate/cli.js.map +0 -1
- package/dist/commands/gate/evaluate.d.ts +0 -35
- package/dist/commands/gate/evaluate.js +0 -266
- package/dist/commands/gate/evaluate.js.map +0 -1
- package/dist/commands/gate/interfaces.d.ts +0 -40
- package/dist/commands/gate/interfaces.js +0 -3
- package/dist/commands/gate/interfaces.js.map +0 -1
- package/dist/commands/gate/renderer.d.ts +0 -11
- package/dist/commands/gate/renderer.js +0 -126
- package/dist/commands/gate/renderer.js.map +0 -1
- package/dist/commands/gate/utils.d.ts +0 -14
- package/dist/commands/gate/utils.js +0 -71
- package/dist/commands/gate/utils.js.map +0 -1
- package/dist/commands/git-metadata/api.d.ts +0 -3
- package/dist/commands/git-metadata/api.js +0 -13
- package/dist/commands/git-metadata/api.js.map +0 -1
- package/dist/commands/git-metadata/cli.d.ts +0 -1
- package/dist/commands/git-metadata/cli.js +0 -5
- package/dist/commands/git-metadata/cli.js.map +0 -1
- package/dist/commands/git-metadata/git.d.ts +0 -18
- package/dist/commands/git-metadata/git.js +0 -188
- package/dist/commands/git-metadata/git.js.map +0 -1
- package/dist/commands/git-metadata/gitdb.d.ts +0 -7
- package/dist/commands/git-metadata/gitdb.js +0 -334
- package/dist/commands/git-metadata/gitdb.js.map +0 -1
- package/dist/commands/git-metadata/index.d.ts +0 -1
- package/dist/commands/git-metadata/index.js +0 -18
- package/dist/commands/git-metadata/index.js.map +0 -1
- package/dist/commands/git-metadata/interfaces.d.ts +0 -10
- package/dist/commands/git-metadata/interfaces.js +0 -56
- package/dist/commands/git-metadata/interfaces.js.map +0 -1
- package/dist/commands/git-metadata/library.d.ts +0 -7
- package/dist/commands/git-metadata/library.js +0 -102
- package/dist/commands/git-metadata/library.js.map +0 -1
- package/dist/commands/git-metadata/renderer.d.ts +0 -7
- package/dist/commands/git-metadata/renderer.js +0 -29
- package/dist/commands/git-metadata/renderer.js.map +0 -1
- package/dist/commands/git-metadata/upload.d.ts +0 -20
- package/dist/commands/git-metadata/upload.js +0 -209
- package/dist/commands/git-metadata/upload.js.map +0 -1
- package/dist/commands/lambda/cli.d.ts +0 -1
- package/dist/commands/lambda/cli.js +0 -7
- package/dist/commands/lambda/cli.js.map +0 -1
- package/dist/commands/lambda/constants.d.ts +0 -87
- package/dist/commands/lambda/constants.js +0 -159
- package/dist/commands/lambda/constants.js.map +0 -1
- package/dist/commands/lambda/flare.d.ts +0 -102
- package/dist/commands/lambda/flare.js +0 -685
- package/dist/commands/lambda/flare.js.map +0 -1
- package/dist/commands/lambda/functions/commons.d.ts +0 -131
- package/dist/commands/lambda/functions/commons.js +0 -473
- package/dist/commands/lambda/functions/commons.js.map +0 -1
- package/dist/commands/lambda/functions/instrument.d.ts +0 -7
- package/dist/commands/lambda/functions/instrument.js +0 -271
- package/dist/commands/lambda/functions/instrument.js.map +0 -1
- package/dist/commands/lambda/functions/uninstrument.d.ts +0 -7
- package/dist/commands/lambda/functions/uninstrument.js +0 -156
- package/dist/commands/lambda/functions/uninstrument.js.map +0 -1
- package/dist/commands/lambda/functions/versionChecker.d.ts +0 -3
- package/dist/commands/lambda/functions/versionChecker.js +0 -38
- package/dist/commands/lambda/functions/versionChecker.js.map +0 -1
- package/dist/commands/lambda/instrument.d.ts +0 -41
- package/dist/commands/lambda/instrument.js +0 -439
- package/dist/commands/lambda/instrument.js.map +0 -1
- package/dist/commands/lambda/interfaces.d.ts +0 -91
- package/dist/commands/lambda/interfaces.js +0 -3
- package/dist/commands/lambda/interfaces.js.map +0 -1
- package/dist/commands/lambda/loggroup.d.ts +0 -17
- package/dist/commands/lambda/loggroup.js +0 -140
- package/dist/commands/lambda/loggroup.js.map +0 -1
- package/dist/commands/lambda/prompt.d.ts +0 -12
- package/dist/commands/lambda/prompt.js +0 -265
- package/dist/commands/lambda/prompt.js.map +0 -1
- package/dist/commands/lambda/renderers/__mocks__/instrument-uninstrument-renderer.d.ts +0 -2
- package/dist/commands/lambda/renderers/__mocks__/instrument-uninstrument-renderer.js +0 -11
- package/dist/commands/lambda/renderers/__mocks__/instrument-uninstrument-renderer.js.map +0 -1
- package/dist/commands/lambda/renderers/common-renderer.d.ts +0 -16
- package/dist/commands/lambda/renderers/common-renderer.js +0 -23
- package/dist/commands/lambda/renderers/common-renderer.js.map +0 -1
- package/dist/commands/lambda/renderers/instrument-uninstrument-renderer.d.ts +0 -397
- package/dist/commands/lambda/renderers/instrument-uninstrument-renderer.js +0 -506
- package/dist/commands/lambda/renderers/instrument-uninstrument-renderer.js.map +0 -1
- package/dist/commands/lambda/tags.d.ts +0 -8
- package/dist/commands/lambda/tags.js +0 -74
- package/dist/commands/lambda/tags.js.map +0 -1
- package/dist/commands/lambda/uninstrument.d.ts +0 -37
- package/dist/commands/lambda/uninstrument.js +0 -296
- package/dist/commands/lambda/uninstrument.js.map +0 -1
- package/dist/commands/sarif/api.d.ts +0 -7
- package/dist/commands/sarif/api.js +0 -49
- package/dist/commands/sarif/api.js.map +0 -1
- package/dist/commands/sarif/cli.d.ts +0 -1
- package/dist/commands/sarif/cli.js +0 -5
- package/dist/commands/sarif/cli.js.map +0 -1
- package/dist/commands/sarif/interfaces.d.ts +0 -12
- package/dist/commands/sarif/interfaces.js +0 -3
- package/dist/commands/sarif/interfaces.js.map +0 -1
- package/dist/commands/sarif/json-schema/sarif-schema-2.1.0.json +0 -2885
- package/dist/commands/sarif/renderer.d.ts +0 -11
- package/dist/commands/sarif/renderer.js +0 -97
- package/dist/commands/sarif/renderer.js.map +0 -1
- package/dist/commands/sarif/upload.d.ts +0 -22
- package/dist/commands/sarif/upload.js +0 -210
- package/dist/commands/sarif/upload.js.map +0 -1
- package/dist/commands/sarif/utils.d.ts +0 -21
- package/dist/commands/sarif/utils.js +0 -79
- package/dist/commands/sarif/utils.js.map +0 -1
- package/dist/commands/sarif/validation.d.ts +0 -16
- package/dist/commands/sarif/validation.js +0 -102
- package/dist/commands/sarif/validation.js.map +0 -1
- package/dist/commands/sbom/api.d.ts +0 -7
- package/dist/commands/sbom/api.js +0 -54
- package/dist/commands/sbom/api.js.map +0 -1
- package/dist/commands/sbom/cli.d.ts +0 -1
- package/dist/commands/sbom/cli.js +0 -5
- package/dist/commands/sbom/cli.js.map +0 -1
- package/dist/commands/sbom/constants.d.ts +0 -7
- package/dist/commands/sbom/constants.js +0 -11
- package/dist/commands/sbom/constants.js.map +0 -1
- package/dist/commands/sbom/json-schema/cyclonedx/bom-1.4.schema.json +0 -1687
- package/dist/commands/sbom/json-schema/cyclonedx/bom-1.5.schema.json +0 -3799
- package/dist/commands/sbom/json-schema/cyclonedx/bom-1.6.schema.json +0 -5699
- package/dist/commands/sbom/json-schema/jsf/jsf-0.82.schema.json +0 -244
- package/dist/commands/sbom/json-schema/spdx/spdx.schema.json +0 -737
- package/dist/commands/sbom/language.d.ts +0 -2
- package/dist/commands/sbom/language.js +0 -46
- package/dist/commands/sbom/language.js.map +0 -1
- package/dist/commands/sbom/payload.d.ts +0 -3
- package/dist/commands/sbom/payload.js +0 -344
- package/dist/commands/sbom/payload.js.map +0 -1
- package/dist/commands/sbom/renderer.d.ts +0 -9
- package/dist/commands/sbom/renderer.js +0 -99
- package/dist/commands/sbom/renderer.js.map +0 -1
- package/dist/commands/sbom/types.d.ts +0 -135
- package/dist/commands/sbom/types.js +0 -56
- package/dist/commands/sbom/types.js.map +0 -1
- package/dist/commands/sbom/upload.d.ts +0 -21
- package/dist/commands/sbom/upload.js +0 -153
- package/dist/commands/sbom/upload.js.map +0 -1
- package/dist/commands/sbom/validation.d.ts +0 -27
- package/dist/commands/sbom/validation.js +0 -162
- package/dist/commands/sbom/validation.js.map +0 -1
- package/dist/commands/stepfunctions/awsCommands.d.ts +0 -18
- package/dist/commands/stepfunctions/awsCommands.js +0 -244
- package/dist/commands/stepfunctions/awsCommands.js.map +0 -1
- package/dist/commands/stepfunctions/cli.d.ts +0 -1
- package/dist/commands/stepfunctions/cli.js +0 -6
- package/dist/commands/stepfunctions/cli.js.map +0 -1
- package/dist/commands/stepfunctions/constants.d.ts +0 -3
- package/dist/commands/stepfunctions/constants.js +0 -7
- package/dist/commands/stepfunctions/constants.js.map +0 -1
- package/dist/commands/stepfunctions/helpers.d.ts +0 -51
- package/dist/commands/stepfunctions/helpers.js +0 -232
- package/dist/commands/stepfunctions/helpers.js.map +0 -1
- package/dist/commands/stepfunctions/instrument.d.ts +0 -16
- package/dist/commands/stepfunctions/instrument.js +0 -264
- package/dist/commands/stepfunctions/instrument.js.map +0 -1
- package/dist/commands/stepfunctions/uninstrument.d.ts +0 -15
- package/dist/commands/stepfunctions/uninstrument.js +0 -151
- package/dist/commands/stepfunctions/uninstrument.js.map +0 -1
- package/dist/commands/synthetics/api.d.ts +0 -52
- package/dist/commands/synthetics/api.js +0 -333
- package/dist/commands/synthetics/api.js.map +0 -1
- package/dist/commands/synthetics/base-command.d.ts +0 -35
- package/dist/commands/synthetics/base-command.js +0 -132
- package/dist/commands/synthetics/base-command.js.map +0 -1
- package/dist/commands/synthetics/batch.d.ts +0 -9
- package/dist/commands/synthetics/batch.js +0 -325
- package/dist/commands/synthetics/batch.js.map +0 -1
- package/dist/commands/synthetics/build-and-test.d.ts +0 -25
- package/dist/commands/synthetics/build-and-test.js +0 -196
- package/dist/commands/synthetics/build-and-test.js.map +0 -1
- package/dist/commands/synthetics/cli.d.ts +0 -1
- package/dist/commands/synthetics/cli.js +0 -8
- package/dist/commands/synthetics/cli.js.map +0 -1
- package/dist/commands/synthetics/deploy-tests-command.d.ts +0 -15
- package/dist/commands/synthetics/deploy-tests-command.js +0 -78
- package/dist/commands/synthetics/deploy-tests-command.js.map +0 -1
- package/dist/commands/synthetics/deploy-tests-lib.d.ts +0 -2
- package/dist/commands/synthetics/deploy-tests-lib.js +0 -92
- package/dist/commands/synthetics/deploy-tests-lib.js.map +0 -1
- package/dist/commands/synthetics/errors.d.ts +0 -21
- package/dist/commands/synthetics/errors.js +0 -54
- package/dist/commands/synthetics/errors.js.map +0 -1
- package/dist/commands/synthetics/import-tests-command.d.ts +0 -14
- package/dist/commands/synthetics/import-tests-command.js +0 -75
- package/dist/commands/synthetics/import-tests-command.js.map +0 -1
- package/dist/commands/synthetics/import-tests-lib.d.ts +0 -2
- package/dist/commands/synthetics/import-tests-lib.js +0 -71
- package/dist/commands/synthetics/import-tests-lib.js.map +0 -1
- package/dist/commands/synthetics/index.d.ts +0 -7
- package/dist/commands/synthetics/index.js +0 -44
- package/dist/commands/synthetics/index.js.map +0 -1
- package/dist/commands/synthetics/interfaces.d.ts +0 -739
- package/dist/commands/synthetics/interfaces.js +0 -27
- package/dist/commands/synthetics/interfaces.js.map +0 -1
- package/dist/commands/synthetics/local-test-definition.d.ts +0 -2
- package/dist/commands/synthetics/local-test-definition.js +0 -16
- package/dist/commands/synthetics/local-test-definition.js.map +0 -1
- package/dist/commands/synthetics/mobile.d.ts +0 -28
- package/dist/commands/synthetics/mobile.js +0 -275
- package/dist/commands/synthetics/mobile.js.map +0 -1
- package/dist/commands/synthetics/multilocator.d.ts +0 -2
- package/dist/commands/synthetics/multilocator.js +0 -88
- package/dist/commands/synthetics/multilocator.js.map +0 -1
- package/dist/commands/synthetics/reporters/constants.d.ts +0 -6
- package/dist/commands/synthetics/reporters/constants.js +0 -14
- package/dist/commands/synthetics/reporters/constants.js.map +0 -1
- package/dist/commands/synthetics/reporters/default.d.ts +0 -31
- package/dist/commands/synthetics/reporters/default.js +0 -416
- package/dist/commands/synthetics/reporters/default.js.map +0 -1
- package/dist/commands/synthetics/reporters/junit.d.ts +0 -100
- package/dist/commands/synthetics/reporters/junit.js +0 -425
- package/dist/commands/synthetics/reporters/junit.js.map +0 -1
- package/dist/commands/synthetics/reporters/mobile/app-upload.d.ts +0 -15
- package/dist/commands/synthetics/reporters/mobile/app-upload.js +0 -54
- package/dist/commands/synthetics/reporters/mobile/app-upload.js.map +0 -1
- package/dist/commands/synthetics/run-tests-command.d.ts +0 -31
- package/dist/commands/synthetics/run-tests-command.js +0 -335
- package/dist/commands/synthetics/run-tests-command.js.map +0 -1
- package/dist/commands/synthetics/run-tests-lib.d.ts +0 -21
- package/dist/commands/synthetics/run-tests-lib.js +0 -247
- package/dist/commands/synthetics/run-tests-lib.js.map +0 -1
- package/dist/commands/synthetics/test.d.ts +0 -30
- package/dist/commands/synthetics/test.js +0 -204
- package/dist/commands/synthetics/test.js.map +0 -1
- package/dist/commands/synthetics/tunnel/crypto.d.ts +0 -6
- package/dist/commands/synthetics/tunnel/crypto.js +0 -48
- package/dist/commands/synthetics/tunnel/crypto.js.map +0 -1
- package/dist/commands/synthetics/tunnel/index.d.ts +0 -1
- package/dist/commands/synthetics/tunnel/index.js +0 -6
- package/dist/commands/synthetics/tunnel/index.js.map +0 -1
- package/dist/commands/synthetics/tunnel/tunnel.d.ts +0 -49
- package/dist/commands/synthetics/tunnel/tunnel.js +0 -329
- package/dist/commands/synthetics/tunnel/tunnel.js.map +0 -1
- package/dist/commands/synthetics/tunnel/websocket.d.ts +0 -39
- package/dist/commands/synthetics/tunnel/websocket.js +0 -154
- package/dist/commands/synthetics/tunnel/websocket.js.map +0 -1
- package/dist/commands/synthetics/upload-application-command.d.ts +0 -15
- package/dist/commands/synthetics/upload-application-command.js +0 -97
- package/dist/commands/synthetics/upload-application-command.js.map +0 -1
- package/dist/commands/synthetics/utils/internal.d.ts +0 -52
- package/dist/commands/synthetics/utils/internal.js +0 -297
- package/dist/commands/synthetics/utils/internal.js.map +0 -1
- package/dist/commands/synthetics/utils/public.d.ts +0 -76
- package/dist/commands/synthetics/utils/public.js +0 -509
- package/dist/commands/synthetics/utils/public.js.map +0 -1
- package/dist/commands/tag/cli.d.ts +0 -1
- package/dist/commands/tag/cli.js +0 -5
- package/dist/commands/tag/cli.js.map +0 -1
- package/dist/commands/tag/tag.d.ts +0 -20
- package/dist/commands/tag/tag.js +0 -162
- package/dist/commands/tag/tag.js.map +0 -1
- package/dist/constants.d.ts +0 -38
- package/dist/constants.js +0 -104
- package/dist/constants.js.map +0 -1
- package/dist/helpers/api.d.ts +0 -5
- package/dist/helpers/api.js +0 -16
- package/dist/helpers/api.js.map +0 -1
- package/dist/helpers/apikey.d.ts +0 -15
- package/dist/helpers/apikey.js +0 -85
- package/dist/helpers/apikey.js.map +0 -1
- package/dist/helpers/app.d.ts +0 -3
- package/dist/helpers/app.js +0 -23
- package/dist/helpers/app.js.map +0 -1
- package/dist/helpers/base-intake-url.d.ts +0 -1
- package/dist/helpers/base-intake-url.js +0 -14
- package/dist/helpers/base-intake-url.js.map +0 -1
- package/dist/helpers/ci.d.ts +0 -71
- package/dist/helpers/ci.js +0 -671
- package/dist/helpers/ci.js.map +0 -1
- package/dist/helpers/concurrency.d.ts +0 -1
- package/dist/helpers/concurrency.js +0 -45
- package/dist/helpers/concurrency.js.map +0 -1
- package/dist/helpers/config.d.ts +0 -5
- package/dist/helpers/config.js +0 -3
- package/dist/helpers/config.js.map +0 -1
- package/dist/helpers/env.d.ts +0 -6
- package/dist/helpers/env.js +0 -50
- package/dist/helpers/env.js.map +0 -1
- package/dist/helpers/errors.d.ts +0 -2
- package/dist/helpers/errors.js +0 -7
- package/dist/helpers/errors.js.map +0 -1
- package/dist/helpers/file-finder.d.ts +0 -20
- package/dist/helpers/file-finder.js +0 -203
- package/dist/helpers/file-finder.js.map +0 -1
- package/dist/helpers/filereader.d.ts +0 -21
- package/dist/helpers/filereader.js +0 -59
- package/dist/helpers/filereader.js.map +0 -1
- package/dist/helpers/fips.d.ts +0 -1
- package/dist/helpers/fips.js +0 -24
- package/dist/helpers/fips.js.map +0 -1
- package/dist/helpers/flare.d.ts +0 -43
- package/dist/helpers/flare.js +0 -204
- package/dist/helpers/flare.js.map +0 -1
- package/dist/helpers/formatting.d.ts +0 -5
- package/dist/helpers/formatting.js +0 -13
- package/dist/helpers/formatting.js.map +0 -1
- package/dist/helpers/fs.d.ts +0 -31
- package/dist/helpers/fs.js +0 -117
- package/dist/helpers/fs.js.map +0 -1
- package/dist/helpers/git/format-git-sourcemaps-data.d.ts +0 -16
- package/dist/helpers/git/format-git-sourcemaps-data.js +0 -183
- package/dist/helpers/git/format-git-sourcemaps-data.js.map +0 -1
- package/dist/helpers/git/format-git-span-data.d.ts +0 -2
- package/dist/helpers/git/format-git-span-data.js +0 -54
- package/dist/helpers/git/format-git-span-data.js.map +0 -1
- package/dist/helpers/git/get-git-data.d.ts +0 -13
- package/dist/helpers/git/get-git-data.js +0 -86
- package/dist/helpers/git/get-git-data.js.map +0 -1
- package/dist/helpers/git/instrument-helpers.d.ts +0 -10
- package/dist/helpers/git/instrument-helpers.js +0 -79
- package/dist/helpers/git/instrument-helpers.js.map +0 -1
- package/dist/helpers/glob.d.ts +0 -12
- package/dist/helpers/glob.js +0 -70
- package/dist/helpers/glob.js.map +0 -1
- package/dist/helpers/id.d.ts +0 -2
- package/dist/helpers/id.js +0 -53
- package/dist/helpers/id.js.map +0 -1
- package/dist/helpers/interfaces.d.ts +0 -59
- package/dist/helpers/interfaces.js +0 -3
- package/dist/helpers/interfaces.js.map +0 -1
- package/dist/helpers/logger.d.ts +0 -18
- package/dist/helpers/logger.js +0 -52
- package/dist/helpers/logger.js.map +0 -1
- package/dist/helpers/metrics.d.ts +0 -12
- package/dist/helpers/metrics.js +0 -36
- package/dist/helpers/metrics.js.map +0 -1
- package/dist/helpers/plist.d.ts +0 -44
- package/dist/helpers/plist.js +0 -93
- package/dist/helpers/plist.js.map +0 -1
- package/dist/helpers/prompt.d.ts +0 -9
- package/dist/helpers/prompt.js +0 -58
- package/dist/helpers/prompt.js.map +0 -1
- package/dist/helpers/renderer.d.ts +0 -60
- package/dist/helpers/renderer.js +0 -98
- package/dist/helpers/renderer.js.map +0 -1
- package/dist/helpers/retry.d.ts +0 -2
- package/dist/helpers/retry.js +0 -40
- package/dist/helpers/retry.js.map +0 -1
- package/dist/helpers/tags.d.ts +0 -82
- package/dist/helpers/tags.js +0 -244
- package/dist/helpers/tags.js.map +0 -1
- package/dist/helpers/upload.d.ts +0 -51
- package/dist/helpers/upload.js +0 -86
- package/dist/helpers/upload.js.map +0 -1
- package/dist/helpers/user-provided-git.d.ts +0 -2
- package/dist/helpers/user-provided-git.js +0 -49
- package/dist/helpers/user-provided-git.js.map +0 -1
- package/dist/helpers/utils.d.ts +0 -84
- package/dist/helpers/utils.js +0 -340
- package/dist/helpers/utils.js.map +0 -1
- package/dist/helpers/validation.d.ts +0 -19
- package/dist/helpers/validation.js +0 -77
- package/dist/helpers/validation.js.map +0 -1
- package/dist/helpers/version.d.ts +0 -5
- package/dist/helpers/version.js +0 -25
- package/dist/helpers/version.js.map +0 -1
|
@@ -1,739 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
/// <reference types="node" />
|
|
3
|
-
import { Metadata } from '../../helpers/interfaces';
|
|
4
|
-
import { ProxyConfiguration } from '../../helpers/utils';
|
|
5
|
-
import { RecursivePartial } from './base-command';
|
|
6
|
-
import { TunnelInfo } from './tunnel';
|
|
7
|
-
export type SupportedReporter = 'junit' | 'default';
|
|
8
|
-
export interface MainReporter {
|
|
9
|
-
log(log: string): void;
|
|
10
|
-
error(error: string): void;
|
|
11
|
-
initErrors(errors: string[]): void;
|
|
12
|
-
testTrigger(test: Test, testId: string, executionRule: ExecutionRule, testOverrides: UserConfigOverride): void;
|
|
13
|
-
testWait(test: Test): void;
|
|
14
|
-
testsWait(tests: Test[], baseUrl: string, batchId: string, skippedCount?: number): void;
|
|
15
|
-
resultReceived(result: ResultInBatch): void;
|
|
16
|
-
resultEnd(result: Result, baseUrl: string, batchId: string): void;
|
|
17
|
-
reportStart(timings: {
|
|
18
|
-
startTime: number;
|
|
19
|
-
}): void;
|
|
20
|
-
runEnd(summary: Summary, baseUrl: string, orgSettings?: SyntheticsOrgSettings): void;
|
|
21
|
-
}
|
|
22
|
-
export type Reporter = Partial<MainReporter>;
|
|
23
|
-
export interface BaseServerResult {
|
|
24
|
-
id: string;
|
|
25
|
-
status: 'passed' | 'failed' | 'skipped';
|
|
26
|
-
failure?: {
|
|
27
|
-
code: string;
|
|
28
|
-
message: string;
|
|
29
|
-
};
|
|
30
|
-
unhealthy?: boolean;
|
|
31
|
-
finished_at: number;
|
|
32
|
-
}
|
|
33
|
-
export interface Device {
|
|
34
|
-
id: string;
|
|
35
|
-
resolution: {
|
|
36
|
-
width: number;
|
|
37
|
-
height: number;
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export interface BrowserServerResult extends BaseServerResult {
|
|
41
|
-
duration: number;
|
|
42
|
-
start_url: string;
|
|
43
|
-
steps: Step[];
|
|
44
|
-
}
|
|
45
|
-
interface AssertionResult {
|
|
46
|
-
actual: any;
|
|
47
|
-
expected?: any;
|
|
48
|
-
valid: boolean;
|
|
49
|
-
}
|
|
50
|
-
export interface ApiServerResult extends BaseServerResult {
|
|
51
|
-
assertions: AssertionResult[];
|
|
52
|
-
timings: {
|
|
53
|
-
total: number;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export interface MultiStep {
|
|
57
|
-
allow_failure: boolean;
|
|
58
|
-
assertion_results: AssertionResult[];
|
|
59
|
-
failure?: {
|
|
60
|
-
code: string;
|
|
61
|
-
message: string;
|
|
62
|
-
};
|
|
63
|
-
name: string;
|
|
64
|
-
status: 'passed' | 'failed' | 'skipped';
|
|
65
|
-
subtype: string;
|
|
66
|
-
timings: {
|
|
67
|
-
total: number;
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
export interface MultiStepsServerResult extends BaseServerResult {
|
|
71
|
-
duration: number;
|
|
72
|
-
steps: MultiStep[];
|
|
73
|
-
}
|
|
74
|
-
export type ServerResult = BrowserServerResult | ApiServerResult | MultiStepsServerResult;
|
|
75
|
-
export interface RawPollResult {
|
|
76
|
-
data: {
|
|
77
|
-
id: string;
|
|
78
|
-
type: string;
|
|
79
|
-
attributes: Omit<PollResult, 'test'>;
|
|
80
|
-
relationships: {
|
|
81
|
-
test: {
|
|
82
|
-
data: {
|
|
83
|
-
id: string;
|
|
84
|
-
type: string;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
}[];
|
|
89
|
-
included: {
|
|
90
|
-
type: string;
|
|
91
|
-
id: string;
|
|
92
|
-
attributes: Pick<RawPollResultTest, 'type' | 'subtype' | 'config'>;
|
|
93
|
-
}[];
|
|
94
|
-
}
|
|
95
|
-
export interface RawPollResultTest {
|
|
96
|
-
id: string;
|
|
97
|
-
type: 'browser' | 'api' | 'mobile';
|
|
98
|
-
subtype?: string;
|
|
99
|
-
config: {
|
|
100
|
-
request?: {
|
|
101
|
-
dns_server?: string | undefined;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
export type PollResult = {
|
|
106
|
-
test_type: 'api' | 'browser' | 'mobile';
|
|
107
|
-
test: RecursivePartial<Test>;
|
|
108
|
-
result?: ServerResult;
|
|
109
|
-
resultID: string;
|
|
110
|
-
device?: Device;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Information required to convert a `PollResult` to a `Result`.
|
|
114
|
-
*/
|
|
115
|
-
export type ResultDisplayInfo = {
|
|
116
|
-
getLocation: (datacenterId: string, test: Test) => string;
|
|
117
|
-
options: {
|
|
118
|
-
batchTimeout: number;
|
|
119
|
-
datadogSite: string;
|
|
120
|
-
failOnCriticalErrors?: boolean;
|
|
121
|
-
failOnTimeout?: boolean;
|
|
122
|
-
subdomain: string;
|
|
123
|
-
};
|
|
124
|
-
tests: Test[];
|
|
125
|
-
};
|
|
126
|
-
export type SelectiveRerunDecision = {
|
|
127
|
-
decision: 'run';
|
|
128
|
-
reason: 'in_progress';
|
|
129
|
-
} | {
|
|
130
|
-
decision: 'run';
|
|
131
|
-
reason: 'failed';
|
|
132
|
-
linked_result_id: string;
|
|
133
|
-
} | {
|
|
134
|
-
decision: 'run';
|
|
135
|
-
reason: 'edited';
|
|
136
|
-
} | {
|
|
137
|
-
decision: 'run';
|
|
138
|
-
reason: 'new';
|
|
139
|
-
} | {
|
|
140
|
-
decision: 'skip';
|
|
141
|
-
reason: 'passed';
|
|
142
|
-
linked_result_id: string;
|
|
143
|
-
};
|
|
144
|
-
export interface Summary {
|
|
145
|
-
/** The ID of the CI batch that was started by this datadog-ci execution. */
|
|
146
|
-
batchId: string;
|
|
147
|
-
/** The number of critical errors that occurred during the CI batch. */
|
|
148
|
-
criticalErrors: number;
|
|
149
|
-
/** The number of results expected by datadog-ci, prior to any selective rerun. */
|
|
150
|
-
expected: number;
|
|
151
|
-
/** The number of results that failed during the CI batch. */
|
|
152
|
-
failed: number;
|
|
153
|
-
/** The number of results that failed during the CI batch without blocking the CI. */
|
|
154
|
-
failedNonBlocking: number;
|
|
155
|
-
/** The metadata collected for the CI batch. */
|
|
156
|
-
metadata?: Metadata;
|
|
157
|
-
/** The number of results that passed during the CI batch. */
|
|
158
|
-
passed: number;
|
|
159
|
-
/** The number of results that already passed in previous CI batches on the same commit. */
|
|
160
|
-
previouslyPassed: number;
|
|
161
|
-
/** The number of tests that were skipped when starting the CI batch. */
|
|
162
|
-
skipped: number;
|
|
163
|
-
/** The public IDs of tests that could not be accessed due to permissions when starting the CI batch. */
|
|
164
|
-
testsNotAuthorized: Set<string>;
|
|
165
|
-
/** The public IDs of tests that could not be found when starting the CI batch. */
|
|
166
|
-
testsNotFound: Set<string>;
|
|
167
|
-
/** The number of results that failed due to the CI batch timing out. */
|
|
168
|
-
timedOut: number;
|
|
169
|
-
}
|
|
170
|
-
export interface BaseResult {
|
|
171
|
-
/** The device used in this test run. */
|
|
172
|
-
device?: Device;
|
|
173
|
-
/** Duration of this test run in milliseconds. */
|
|
174
|
-
duration: number;
|
|
175
|
-
/** The execution rule that was used for this test run. */
|
|
176
|
-
executionRule: ExecutionRule;
|
|
177
|
-
/** The ID of the initial attempt if this test run is a retry. */
|
|
178
|
-
initialResultId?: string;
|
|
179
|
-
/** Whether this test run is intermediary and expected to be retried. */
|
|
180
|
-
isNonFinal?: boolean;
|
|
181
|
-
/** The location from which this test run was executed. */
|
|
182
|
-
location: string;
|
|
183
|
-
/** Whether this test run passed, taking into account `failOnCriticalErrors` and `failOnTimeout`. */
|
|
184
|
-
passed: boolean;
|
|
185
|
-
/** Raw information about the test run. May not always be present. */
|
|
186
|
-
result?: ServerResult;
|
|
187
|
-
/** The ID of this test run. */
|
|
188
|
-
resultId: string;
|
|
189
|
-
/** The number of retries, including this test run. */
|
|
190
|
-
retries: number;
|
|
191
|
-
/** The maximum number of retries for this test run. */
|
|
192
|
-
maxRetries: number;
|
|
193
|
-
/** Information about the selective rerun that was applied to this test run. */
|
|
194
|
-
selectiveRerun?: SelectiveRerunDecision;
|
|
195
|
-
/** The test that was run, including any overrides. */
|
|
196
|
-
test: Test;
|
|
197
|
-
/** Whether this test run timed out. */
|
|
198
|
-
timedOut: boolean;
|
|
199
|
-
/** The timestamp of this test run. */
|
|
200
|
-
timestamp: number;
|
|
201
|
-
}
|
|
202
|
-
export type ResultSkippedBySelectiveRerun = Omit<BaseResult, 'duration' | 'location' | 'result' | 'retries' | 'maxRetries' | 'timestamp'> & {
|
|
203
|
-
executionRule: ExecutionRule.SKIPPED;
|
|
204
|
-
selectiveRerun: Extract<SelectiveRerunDecision, {
|
|
205
|
-
decision: 'skip';
|
|
206
|
-
}>;
|
|
207
|
-
};
|
|
208
|
-
export type Result = BaseResult | ResultSkippedBySelectiveRerun;
|
|
209
|
-
type Status = 'passed' | 'failed' | 'in_progress' | 'skipped';
|
|
210
|
-
type BatchStatus = 'passed' | 'failed' | 'in_progress';
|
|
211
|
-
export interface BaseResultInBatch {
|
|
212
|
-
duration: number;
|
|
213
|
-
execution_rule: ExecutionRule;
|
|
214
|
-
initial_result_id?: string;
|
|
215
|
-
location: string;
|
|
216
|
-
result_id: string;
|
|
217
|
-
retries: number | null;
|
|
218
|
-
max_retries: number | null;
|
|
219
|
-
selective_rerun?: SelectiveRerunDecision;
|
|
220
|
-
status: Status;
|
|
221
|
-
test_public_id: string;
|
|
222
|
-
timed_out: boolean | null;
|
|
223
|
-
}
|
|
224
|
-
type SkippedResultInBatch = Omit<BaseResultInBatch, 'duration' | 'location' | 'result_id'> & {
|
|
225
|
-
execution_rule: ExecutionRule.SKIPPED;
|
|
226
|
-
status: 'skipped';
|
|
227
|
-
};
|
|
228
|
-
export type ResultInBatchSkippedBySelectiveRerun = SkippedResultInBatch & {
|
|
229
|
-
selective_rerun: Extract<SelectiveRerunDecision, {
|
|
230
|
-
decision: 'skip';
|
|
231
|
-
}>;
|
|
232
|
-
};
|
|
233
|
-
export type ResultInBatch = BaseResultInBatch | ResultInBatchSkippedBySelectiveRerun;
|
|
234
|
-
export interface Batch {
|
|
235
|
-
results: ResultInBatch[];
|
|
236
|
-
status: BatchStatus;
|
|
237
|
-
}
|
|
238
|
-
type ServerResultInBatch = BaseResultInBatch | SkippedResultInBatch;
|
|
239
|
-
export interface ServerBatch {
|
|
240
|
-
results: ServerResultInBatch[];
|
|
241
|
-
status: BatchStatus;
|
|
242
|
-
}
|
|
243
|
-
export interface Vitals {
|
|
244
|
-
cls?: number;
|
|
245
|
-
lcp?: number;
|
|
246
|
-
url: string;
|
|
247
|
-
}
|
|
248
|
-
export interface BrowserError {
|
|
249
|
-
description: string;
|
|
250
|
-
name: string;
|
|
251
|
-
type: string;
|
|
252
|
-
}
|
|
253
|
-
export interface Step {
|
|
254
|
-
allow_failure: boolean;
|
|
255
|
-
browser_errors: BrowserError[];
|
|
256
|
-
description: string;
|
|
257
|
-
duration: number;
|
|
258
|
-
failure?: {
|
|
259
|
-
code?: string;
|
|
260
|
-
message: string;
|
|
261
|
-
};
|
|
262
|
-
public_id?: string;
|
|
263
|
-
status: string;
|
|
264
|
-
id?: number;
|
|
265
|
-
element_updates?: {
|
|
266
|
-
multi_locator?: MultiLocator;
|
|
267
|
-
};
|
|
268
|
-
sub_test_public_id?: string;
|
|
269
|
-
sub_test_step_details?: Step[];
|
|
270
|
-
type: string;
|
|
271
|
-
url: string;
|
|
272
|
-
value?: string | number;
|
|
273
|
-
vitals_metrics: Vitals[];
|
|
274
|
-
warnings?: {
|
|
275
|
-
message: string;
|
|
276
|
-
type: string;
|
|
277
|
-
}[];
|
|
278
|
-
}
|
|
279
|
-
export interface MultiLocator {
|
|
280
|
-
[key: string]: unknown;
|
|
281
|
-
}
|
|
282
|
-
export interface TestStepWithUnsupportedFields {
|
|
283
|
-
public_id?: string;
|
|
284
|
-
params: {
|
|
285
|
-
element?: {
|
|
286
|
-
multiLocator?: MultiLocator;
|
|
287
|
-
userLocator?: unknown;
|
|
288
|
-
};
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
export interface TestRequest {
|
|
292
|
-
dnsServer?: string;
|
|
293
|
-
dnsServerPort?: number;
|
|
294
|
-
headers: {
|
|
295
|
-
[key: string]: string;
|
|
296
|
-
};
|
|
297
|
-
host?: string;
|
|
298
|
-
method: string;
|
|
299
|
-
port?: number;
|
|
300
|
-
timeout: number;
|
|
301
|
-
url: string;
|
|
302
|
-
}
|
|
303
|
-
export interface LocalTestDefinition {
|
|
304
|
-
config: {
|
|
305
|
-
assertions: Assertion[];
|
|
306
|
-
request?: TestRequest;
|
|
307
|
-
steps?: {
|
|
308
|
-
subtype: string;
|
|
309
|
-
}[];
|
|
310
|
-
variables: string[];
|
|
311
|
-
};
|
|
312
|
-
locations: string[];
|
|
313
|
-
name: string;
|
|
314
|
-
options: OptionsWithUnsupportedFields;
|
|
315
|
-
/** Can be used to link to an existing remote test. */
|
|
316
|
-
public_id?: string;
|
|
317
|
-
subtype?: string;
|
|
318
|
-
steps?: TestStepWithUnsupportedFields[];
|
|
319
|
-
type: 'api' | 'browser' | 'mobile';
|
|
320
|
-
}
|
|
321
|
-
interface Options {
|
|
322
|
-
ci?: {
|
|
323
|
-
executionRule: ExecutionRule;
|
|
324
|
-
};
|
|
325
|
-
device_ids?: string[];
|
|
326
|
-
mobileApplication?: MobileApplication;
|
|
327
|
-
retry?: {
|
|
328
|
-
count?: number;
|
|
329
|
-
};
|
|
330
|
-
}
|
|
331
|
-
export interface OptionsWithUnsupportedFields extends Options {
|
|
332
|
-
bindings?: null | unknown[];
|
|
333
|
-
min_failure_duration?: number;
|
|
334
|
-
min_location_failed?: any;
|
|
335
|
-
monitor_name?: string;
|
|
336
|
-
monitor_options?: any;
|
|
337
|
-
monitor_priority?: number;
|
|
338
|
-
tick_every?: number;
|
|
339
|
-
}
|
|
340
|
-
interface LocalTestDefinitionWithUnsupportedFields extends LocalTestDefinition {
|
|
341
|
-
created_at?: any;
|
|
342
|
-
created_by?: any;
|
|
343
|
-
creator?: any;
|
|
344
|
-
creation_source?: string;
|
|
345
|
-
message?: string;
|
|
346
|
-
modified_at?: any;
|
|
347
|
-
modified_by?: any;
|
|
348
|
-
monitor_id?: number;
|
|
349
|
-
overall_state?: any;
|
|
350
|
-
overall_state_modified?: any;
|
|
351
|
-
status?: string;
|
|
352
|
-
stepCount?: any;
|
|
353
|
-
tags?: string[];
|
|
354
|
-
version?: any;
|
|
355
|
-
version_uuid?: any;
|
|
356
|
-
}
|
|
357
|
-
export interface ServerTest extends LocalTestDefinitionWithUnsupportedFields {
|
|
358
|
-
monitor_id: number;
|
|
359
|
-
status: 'live' | 'paused';
|
|
360
|
-
public_id: string;
|
|
361
|
-
}
|
|
362
|
-
export type Test = (ServerTest | LocalTestDefinitionWithUnsupportedFields) & {
|
|
363
|
-
suite?: string;
|
|
364
|
-
};
|
|
365
|
-
export interface Assertion {
|
|
366
|
-
actual: string | number | Date | {
|
|
367
|
-
[key: string]: any;
|
|
368
|
-
};
|
|
369
|
-
errorMessage?: string;
|
|
370
|
-
operator: Operator;
|
|
371
|
-
property?: string;
|
|
372
|
-
target: string | number | Date | {
|
|
373
|
-
[key: string]: any;
|
|
374
|
-
};
|
|
375
|
-
type: string;
|
|
376
|
-
valid: boolean;
|
|
377
|
-
}
|
|
378
|
-
export declare enum Operator {
|
|
379
|
-
contains = "contains",
|
|
380
|
-
doesNotContain = "doesNotContain",
|
|
381
|
-
is = "is",
|
|
382
|
-
isNot = "isNot",
|
|
383
|
-
isInLessThan = "isInLessThan",
|
|
384
|
-
isInMoreThan = "isInMoreThan",
|
|
385
|
-
lessThan = "lessThan",
|
|
386
|
-
lessThanOrEqual = "lessThanOrEqual",
|
|
387
|
-
moreThan = "moreThan",
|
|
388
|
-
moreThanOrEqual = "moreThanOrEqual",
|
|
389
|
-
matches = "matches",
|
|
390
|
-
doesNotMatch = "doesNotMatch",
|
|
391
|
-
validatesJSONPath = "validatesJSONPath",
|
|
392
|
-
validatesXPath = "validatesXPath"
|
|
393
|
-
}
|
|
394
|
-
export interface Location {
|
|
395
|
-
display_name: string;
|
|
396
|
-
id: number;
|
|
397
|
-
is_active: boolean;
|
|
398
|
-
name: string;
|
|
399
|
-
region: string;
|
|
400
|
-
}
|
|
401
|
-
export interface LocationsMapping {
|
|
402
|
-
[key: string]: string;
|
|
403
|
-
}
|
|
404
|
-
export interface ServerTrigger {
|
|
405
|
-
batch_id: string;
|
|
406
|
-
locations: Location[];
|
|
407
|
-
selective_rerun_rate_limited?: boolean;
|
|
408
|
-
}
|
|
409
|
-
export interface TriggerInfo {
|
|
410
|
-
batchId: string;
|
|
411
|
-
locations: Location[];
|
|
412
|
-
selectiveRerunRateLimited?: boolean;
|
|
413
|
-
testsNotAuthorized: Set<string>;
|
|
414
|
-
}
|
|
415
|
-
export interface RetryConfig {
|
|
416
|
-
/** The number of attempts to perform in case of test failure. */
|
|
417
|
-
count: number;
|
|
418
|
-
/** The interval between attempts in milliseconds. */
|
|
419
|
-
interval: number;
|
|
420
|
-
}
|
|
421
|
-
export interface MobileApplication {
|
|
422
|
-
applicationId: string;
|
|
423
|
-
referenceId: string;
|
|
424
|
-
referenceType: 'latest' | 'version' | 'temporary';
|
|
425
|
-
}
|
|
426
|
-
export interface CookiesObject {
|
|
427
|
-
/** Whether to append or replace the original cookies. */
|
|
428
|
-
append?: boolean;
|
|
429
|
-
/** Cookie header to add or replace (e.g. `name1=value1;name2=value2;`). */
|
|
430
|
-
value: string;
|
|
431
|
-
}
|
|
432
|
-
export interface BaseConfigOverride {
|
|
433
|
-
/** Override the certificate checks in Synthetic API and Browser tests. */
|
|
434
|
-
allowInsecureCertificates?: boolean;
|
|
435
|
-
/** Override the credentials for basic authentication. */
|
|
436
|
-
basicAuth?: BasicAuthCredentials;
|
|
437
|
-
/** Override the data to send in API tests. */
|
|
438
|
-
body?: string;
|
|
439
|
-
/** Override the content type for the data to send in API tests. */
|
|
440
|
-
bodyType?: string;
|
|
441
|
-
/**
|
|
442
|
-
* Override the cookies for API and browser tests.
|
|
443
|
-
* - If this is a string, it is used to replace the original cookies.
|
|
444
|
-
* - If this is an object, the format must be `{append?: boolean, value: string}`, and depending on the value of `append`, it is appended or replaces the original cookies.
|
|
445
|
-
*/
|
|
446
|
-
cookies?: string | CookiesObject;
|
|
447
|
-
/**
|
|
448
|
-
* Override the `Set-Cookie` headers in browser tests only.
|
|
449
|
-
* - If this is a string, it is used to replace the original `Set-Cookie` headers.
|
|
450
|
-
* - If this is an object, the format must be `{append?: boolean, value: string}`, and depending on the value of `append`, it is appended or replaces the original `Set-Cookie` headers.
|
|
451
|
-
*/
|
|
452
|
-
setCookies?: string | CookiesObject;
|
|
453
|
-
/**
|
|
454
|
-
* Override the maximum duration of steps in seconds for browser tests. This does not override individually set step timeouts.
|
|
455
|
-
*/
|
|
456
|
-
defaultStepTimeout?: number;
|
|
457
|
-
/** Override the list of devices on which to run the Synthetic tests. */
|
|
458
|
-
deviceIds?: string[];
|
|
459
|
-
/**
|
|
460
|
-
* Override the execution rule for Synthetic tests.
|
|
461
|
-
*
|
|
462
|
-
* The execution rule for the test defines the behavior of the CI batch in case of a failing test. It accepts one of the following values:
|
|
463
|
-
*
|
|
464
|
-
* - `blocking`: A failed test causes the CI batch to fail.
|
|
465
|
-
* - `non_blocking`: A failed test does not cause the CI batch to fail.
|
|
466
|
-
* - `skipped`: The test is not run at all.
|
|
467
|
-
*/
|
|
468
|
-
executionRule?: ExecutionRule;
|
|
469
|
-
/** Override whether or not to follow HTTP redirections in API tests. */
|
|
470
|
-
followRedirects?: boolean;
|
|
471
|
-
/**
|
|
472
|
-
* Override the headers in the API and browser tests.
|
|
473
|
-
*
|
|
474
|
-
* This object specifies the headers to be replaced in the test. It should have keys representing the names of the headers to be replaced, and values indicating the new header values.
|
|
475
|
-
*/
|
|
476
|
-
headers?: {
|
|
477
|
-
[key: string]: string;
|
|
478
|
-
};
|
|
479
|
-
/** Override the list of locations to run the test from. The possible values are listed [in this API response](https://app.datadoghq.com/api/v1/synthetics/locations?only_public=true). */
|
|
480
|
-
locations?: string[];
|
|
481
|
-
/**
|
|
482
|
-
* An array of regex patterns to modify resource URLs in the test. This can be useful for dynamically changing resource URLs during test execution.
|
|
483
|
-
*
|
|
484
|
-
* Each regex pattern should be in the format:
|
|
485
|
-
*
|
|
486
|
-
* - **`your_regex|your_substitution`**: The pipe-based syntax, to avoid any conflicts with / characters in URLs.
|
|
487
|
-
* - For example, `https://example.com(.*)|http://subdomain.example.com$1` to transform `https://example.com/resource` to `http://subdomain.example.com/resource`.
|
|
488
|
-
* - **`s/your_regex/your_substitution/modifiers`**: The slash syntax, which supports modifiers.
|
|
489
|
-
* - For example, `s/(https://www.)(.*)/$1staging-$2/` to transform `https://www.example.com/resource` into `https://www.staging-example.com/resource`.
|
|
490
|
-
*/
|
|
491
|
-
resourceUrlSubstitutionRegexes?: string[];
|
|
492
|
-
/** Override the retry policy for the test. */
|
|
493
|
-
retry?: RetryConfig;
|
|
494
|
-
/**
|
|
495
|
-
* Override the start URL for API and browser tests.
|
|
496
|
-
*
|
|
497
|
-
* Local and [global variables](https://docs.datadoghq.com/synthetics/platform/settings/?tab=specifyvalue#global-variables) specified in the URL (for example, `{{ URL }}`) are replaced when the test is run.
|
|
498
|
-
*
|
|
499
|
-
* You can combine this with the `variables` override to override both the start URL and the variable values. For example:
|
|
500
|
-
*
|
|
501
|
-
* ```bash
|
|
502
|
-
* --override startUrl="{{ URL }}?static_hash={{ STATIC_HASH }}" --override variables.STATIC_HASH=abcdef
|
|
503
|
-
* ```
|
|
504
|
-
*/
|
|
505
|
-
startUrl?: string;
|
|
506
|
-
/**
|
|
507
|
-
* A regex to modify the starting URL of browser and HTTP tests, whether it comes from the original test or the `startUrl` override.
|
|
508
|
-
*
|
|
509
|
-
* If the URL contains variables, this regex applies after the interpolation of the variables.
|
|
510
|
-
*
|
|
511
|
-
* There are two possible formats:
|
|
512
|
-
*
|
|
513
|
-
* - **`your_regex|your_substitution`**: The pipe-based syntax, to avoid any conflicts with `/` characters in URLs.
|
|
514
|
-
* - For example, `https://example.com(.*)|http://subdomain.example.com$1` to transform `https://example.com/test` to `http://subdomain.example.com/test`.
|
|
515
|
-
* - **`s/your_regex/your_substitution/modifiers`**: The slash syntax, which supports modifiers.
|
|
516
|
-
* - For example, `s/(https://www.)(.*)/$1extra-$2/` to transform `https://www.example.com` into `https://www.extra-example.com`.
|
|
517
|
-
*/
|
|
518
|
-
startUrlSubstitutionRegex?: string;
|
|
519
|
-
/** Override the maximum duration in seconds for browser tests. */
|
|
520
|
-
testTimeout?: number;
|
|
521
|
-
/**
|
|
522
|
-
* Override existing or inject new local and [global variables](https://docs.datadoghq.com/synthetics/platform/settings/?tab=specifyvalue#global-variables) in Synthetic tests.
|
|
523
|
-
*
|
|
524
|
-
* This object should include keys corresponding to the names of the variables to be replaced, and values representing the new values for these variables.
|
|
525
|
-
*/
|
|
526
|
-
variables?: {
|
|
527
|
-
[key: string]: string;
|
|
528
|
-
};
|
|
529
|
-
}
|
|
530
|
-
export interface UserConfigOverride extends BaseConfigOverride {
|
|
531
|
-
/** Override the mobile application version for Synthetic mobile application tests. The version must be uploaded and available within Datadog. */
|
|
532
|
-
mobileApplicationVersion?: string;
|
|
533
|
-
/** Override the application version for Synthetic mobile application tests. */
|
|
534
|
-
mobileApplicationVersionFilePath?: string;
|
|
535
|
-
}
|
|
536
|
-
export interface ServerConfigOverride extends BaseConfigOverride {
|
|
537
|
-
appExtractedMetadata?: MobileAppExtractedMetadata;
|
|
538
|
-
mobileApplication?: MobileApplication;
|
|
539
|
-
tunnel?: TunnelInfo;
|
|
540
|
-
}
|
|
541
|
-
export interface BatchOptions {
|
|
542
|
-
batch_timeout?: number;
|
|
543
|
-
selective_rerun?: boolean;
|
|
544
|
-
}
|
|
545
|
-
export interface Payload {
|
|
546
|
-
metadata?: Metadata;
|
|
547
|
-
tests: TestPayload[];
|
|
548
|
-
options?: BatchOptions;
|
|
549
|
-
}
|
|
550
|
-
export interface LocalTestPayload extends ServerConfigOverride {
|
|
551
|
-
local_test_definition: LocalTestDefinition;
|
|
552
|
-
}
|
|
553
|
-
export interface RemoteTestPayload extends ServerConfigOverride {
|
|
554
|
-
public_id: string;
|
|
555
|
-
version?: number;
|
|
556
|
-
}
|
|
557
|
-
export type TestPayload = LocalTestPayload | RemoteTestPayload;
|
|
558
|
-
/** Missing test, either because it's not found, or because it could not be read. */
|
|
559
|
-
export interface TestMissing {
|
|
560
|
-
errorMessage: string;
|
|
561
|
-
}
|
|
562
|
-
export interface TestSkipped {
|
|
563
|
-
overriddenConfig: TestPayload;
|
|
564
|
-
}
|
|
565
|
-
export interface TestWithOverride {
|
|
566
|
-
test: Test;
|
|
567
|
-
overriddenConfig: TestPayload;
|
|
568
|
-
}
|
|
569
|
-
export interface MobileTestWithOverride extends TestWithOverride {
|
|
570
|
-
test: Test & {
|
|
571
|
-
type: 'mobile';
|
|
572
|
-
options: {
|
|
573
|
-
mobileApplication: MobileApplication;
|
|
574
|
-
};
|
|
575
|
-
};
|
|
576
|
-
}
|
|
577
|
-
export interface BasicAuthCredentials {
|
|
578
|
-
password: string;
|
|
579
|
-
username: string;
|
|
580
|
-
}
|
|
581
|
-
interface BaseTriggerConfig {
|
|
582
|
-
/** Overrides for this Synthetic test only. This takes precedence over all other overrides. */
|
|
583
|
-
testOverrides?: UserConfigOverride;
|
|
584
|
-
/** Name of a test suite (for JUnit reports). */
|
|
585
|
-
suite?: string;
|
|
586
|
-
}
|
|
587
|
-
export interface RemoteTriggerConfig extends BaseTriggerConfig {
|
|
588
|
-
/**
|
|
589
|
-
* Public ID of a test (e.g. `abc-def-ghi`), or its full URL (e.g. `https://app.datadoghq.com/synthetics/details/abc-def-ghi`).
|
|
590
|
-
*
|
|
591
|
-
* @pattern ^(https://.*)?([a-z2-9]{3}-[a-z2-9]{3}-[a-z2-9]{3})$
|
|
592
|
-
*/
|
|
593
|
-
id: string;
|
|
594
|
-
version?: number;
|
|
595
|
-
}
|
|
596
|
-
export interface LocalTriggerConfig extends BaseTriggerConfig {
|
|
597
|
-
localTestDefinition: LocalTestDefinition;
|
|
598
|
-
}
|
|
599
|
-
export type TriggerConfig = RemoteTriggerConfig | LocalTriggerConfig;
|
|
600
|
-
export declare enum ExecutionRule {
|
|
601
|
-
BLOCKING = "blocking",
|
|
602
|
-
NON_BLOCKING = "non_blocking",
|
|
603
|
-
SKIPPED = "skipped"
|
|
604
|
-
}
|
|
605
|
-
export interface Suite {
|
|
606
|
-
content: TestConfig;
|
|
607
|
-
name?: string;
|
|
608
|
-
}
|
|
609
|
-
export interface TestConfig {
|
|
610
|
-
tests: TriggerConfig[];
|
|
611
|
-
}
|
|
612
|
-
export interface TestSearchResult {
|
|
613
|
-
tests: {
|
|
614
|
-
public_id: string;
|
|
615
|
-
}[];
|
|
616
|
-
}
|
|
617
|
-
export interface APIConfiguration {
|
|
618
|
-
apiKey: string;
|
|
619
|
-
appKey: string;
|
|
620
|
-
baseIntakeUrl: string;
|
|
621
|
-
baseUnstableUrl: string;
|
|
622
|
-
baseV1Url: string;
|
|
623
|
-
baseV2Url: string;
|
|
624
|
-
proxyOpts: ProxyConfiguration;
|
|
625
|
-
}
|
|
626
|
-
export interface APIHelperConfig {
|
|
627
|
-
apiKey: string;
|
|
628
|
-
appKey: string;
|
|
629
|
-
datadogSite: string;
|
|
630
|
-
proxy: ProxyConfiguration;
|
|
631
|
-
}
|
|
632
|
-
export interface DatadogCIConfig extends APIHelperConfig {
|
|
633
|
-
configPath: string;
|
|
634
|
-
}
|
|
635
|
-
export interface SyntheticsCIConfig extends DatadogCIConfig {
|
|
636
|
-
}
|
|
637
|
-
export interface RunTestsCommandConfig extends SyntheticsCIConfig {
|
|
638
|
-
batchTimeout?: number;
|
|
639
|
-
buildCommand?: string;
|
|
640
|
-
defaultTestOverrides?: UserConfigOverride;
|
|
641
|
-
failOnCriticalErrors: boolean;
|
|
642
|
-
failOnMissingTests: boolean;
|
|
643
|
-
failOnTimeout: boolean;
|
|
644
|
-
files: string[];
|
|
645
|
-
jUnitReport?: string;
|
|
646
|
-
mobileApplicationVersionFilePath?: string;
|
|
647
|
-
publicIds: string[];
|
|
648
|
-
/** Whether to only run the tests which failed in the previous test batches. By default, the organization default setting is used. */
|
|
649
|
-
selectiveRerun?: boolean;
|
|
650
|
-
/** Used to create URLs to the Datadog UI. */
|
|
651
|
-
subdomain: string;
|
|
652
|
-
testSearchQuery?: string;
|
|
653
|
-
tunnel: boolean;
|
|
654
|
-
}
|
|
655
|
-
export type WrapperConfig = Partial<RunTestsCommandConfig>;
|
|
656
|
-
export interface UploadApplicationCommandConfig extends SyntheticsCIConfig {
|
|
657
|
-
configPath: string;
|
|
658
|
-
mobileApplicationVersionFilePath?: string;
|
|
659
|
-
mobileApplicationId?: string;
|
|
660
|
-
versionName?: string;
|
|
661
|
-
latest?: boolean;
|
|
662
|
-
}
|
|
663
|
-
export interface MobileApplicationUploadPart {
|
|
664
|
-
partNumber: number;
|
|
665
|
-
md5: string;
|
|
666
|
-
blob: Buffer;
|
|
667
|
-
}
|
|
668
|
-
export interface MobileApplicationUploadPartResponse {
|
|
669
|
-
PartNumber: number;
|
|
670
|
-
ETag: string;
|
|
671
|
-
}
|
|
672
|
-
export interface MultipartPresignedUrlsResponse {
|
|
673
|
-
file_name: string;
|
|
674
|
-
multipart_presigned_urls_params: {
|
|
675
|
-
key: string;
|
|
676
|
-
upload_id: string;
|
|
677
|
-
urls: {
|
|
678
|
-
[key: string]: string;
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
|
-
}
|
|
682
|
-
export type MobileApplicationNewVersionParams = {
|
|
683
|
-
originalFileName: string;
|
|
684
|
-
versionName: string;
|
|
685
|
-
isLatest: boolean;
|
|
686
|
-
};
|
|
687
|
-
export type AppUploadDetails = {
|
|
688
|
-
appId: string;
|
|
689
|
-
appPath: string;
|
|
690
|
-
versionName?: string;
|
|
691
|
-
};
|
|
692
|
-
type MobileAppValidationStatus = 'pending' | 'complete' | 'error' | 'user_error';
|
|
693
|
-
type MobileInvalidAppResult = {
|
|
694
|
-
invalid_reason: string;
|
|
695
|
-
invalid_message: string;
|
|
696
|
-
};
|
|
697
|
-
export type MobileAppExtractedMetadata = Record<string, unknown>;
|
|
698
|
-
type MobileValidAppResult = {
|
|
699
|
-
extracted_metadata: MobileAppExtractedMetadata;
|
|
700
|
-
app_version_uuid: string;
|
|
701
|
-
};
|
|
702
|
-
type MobileUserErrorResult = {
|
|
703
|
-
user_error_reason: string;
|
|
704
|
-
user_error_message: string;
|
|
705
|
-
};
|
|
706
|
-
export type MobileAppUploadResult = {
|
|
707
|
-
status: MobileAppValidationStatus;
|
|
708
|
-
is_valid?: boolean;
|
|
709
|
-
org_uuid?: string;
|
|
710
|
-
invalid_app_result?: MobileInvalidAppResult;
|
|
711
|
-
valid_app_result?: MobileValidAppResult;
|
|
712
|
-
user_error_result?: MobileUserErrorResult;
|
|
713
|
-
};
|
|
714
|
-
export interface SyntheticsOrgSettings {
|
|
715
|
-
onDemandConcurrencyCap: number;
|
|
716
|
-
}
|
|
717
|
-
export interface MobileApplicationVersion {
|
|
718
|
-
id?: string;
|
|
719
|
-
application_id: string;
|
|
720
|
-
file_name: string;
|
|
721
|
-
original_file_name: string;
|
|
722
|
-
is_latest: boolean;
|
|
723
|
-
version_name: string;
|
|
724
|
-
created_at?: string;
|
|
725
|
-
}
|
|
726
|
-
export interface ImportTestsCommandConfig extends SyntheticsCIConfig {
|
|
727
|
-
configPath: string;
|
|
728
|
-
files: string[];
|
|
729
|
-
publicIds: string[];
|
|
730
|
-
testSearchQuery?: string;
|
|
731
|
-
}
|
|
732
|
-
export interface DeployTestsCommandConfig extends SyntheticsCIConfig {
|
|
733
|
-
configPath: string;
|
|
734
|
-
excludeFields?: string[];
|
|
735
|
-
files: string[];
|
|
736
|
-
publicIds: string[];
|
|
737
|
-
subdomain: string;
|
|
738
|
-
}
|
|
739
|
-
export {};
|