@alwaysmeticulous/api 2.280.0 → 2.285.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { Organization } from "./organization.types";
2
2
  export { Project, ProjectSettingsScreenshottingOptions } from "./project.types";
3
- export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotDiffResultDifference, ScreenshotDiffResultNoDifference, ScreenshotIdentifier, ScreenshotVariant, SingleTryScreenshotDiffResult, ScreenshotDiffRetryResult, SingleTryScreenshotDiffRetryResult, RedactedScreenshotIncompatible, RedactedScreenshotsCompared, RedactedScreenshotsComparison, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
3
+ export { EndStateScreenshot, ScreenshotAfterEvent, ScreenshotAuxiliary, ScreenshotDiffResult, ScreenshotDiffResultCompared, ScreenshotDiffResultDifferentSize, ScreenshotDiffResultMissingBase, ScreenshotDiffResultMissingBaseAndHead, ScreenshotDiffResultMissingHead, ScreenshotDiffResultDifference, ScreenshotDiffResultNoDifference, ScreenshotIdentifier, ScreenshotVariant, SingleTryScreenshotDiffResult, ScreenshotDiffRetryResult, SingleTryScreenshotDiffRetryResult, RedactedScreenshotIncompatible, RedactedScreenshotsCompared, RedactedScreenshotsComparison, } from "./sdk-bundle-api/bundle-to-sdk/screenshot-diff-result";
4
4
  export { SessionRelevance, isPrAuthorRelevance, TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCaseResultStatus, AppContainerLogsLocations, TestRunDataLocations, TestRun, ExecuteSecureTunnelTestRunOptions, ExecuteSecureTunnelTestRunResponse, } from "./replay/test-run.types";
5
5
  export { BaseResolutionDetails, FailedForOtherReason, RequiredNewWorkflowRunButFailedDueToNewCommitToBaseBranch, SuitableTestRunAlreadyExisted, TestRunTriggerDebugContext, TriggeredNewWorkflowRunSuccessfully, WaitedForExistingWorkflowRun, } from "./replay/test-run-debug-context.types";
6
6
  export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="241d0bfa-4ceb-5286-b3c4-2a8e60fcaee0")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4d355048-519b-539f-97e2-b08438b0f52c")}catch(e){}}();
3
3
 
4
4
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
5
  if (k2 === undefined) k2 = k;
@@ -25,4 +25,4 @@ var session_data_1 = require("./sdk-bundle-api/sdk-to-bundle/session-data");
25
25
  Object.defineProperty(exports, "CustomDataSingletonInternalKey", { enumerable: true, get: function () { return session_data_1.CustomDataSingletonInternalKey; } });
26
26
  __exportStar(require("./sdk-bundle-api/sdk-to-bundle/event-source-data"), exports);
27
27
  //# sourceMappingURL=index.js.map
28
- //# debugId=241d0bfa-4ceb-5286-b3c4-2a8e60fcaee0
28
+ //# debugId=4d355048-519b-539f-97e2-b08438b0f52c
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAsBA,0DAaiC;AAZ/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAsBrB,sFAAoE;AAQpE,4EAoBqD;AAPnD,8HAAA,8BAA8B,OAAA;AAoBhC,mFAAiE","debugId":"241d0bfa-4ceb-5286-b3c4-2a8e60fcaee0"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourceRoot":"","names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,0DAaiC;AAZ/B,kHAAA,gBAAgB,OAAA;AAChB,qHAAA,mBAAmB,OAAA;AAsBrB,sFAAoE;AAQpE,4EAoBqD;AAPnD,8HAAA,8BAA8B,OAAA;AAoBhC,mFAAiE","debugId":"4d355048-519b-539f-97e2-b08438b0f52c"}
@@ -3,7 +3,7 @@ export type SingleTryScreenshotDiffResult = ScreenshotDiffResultMissingBase | Sc
3
3
  export type ScreenshotDiffResult = {
4
4
  identifier: ScreenshotIdentifier;
5
5
  } & (SingleTryScreenshotDiffResult | ScreenshotDiffResultFlake);
6
- export type ScreenshotIdentifier = EndStateScreenshot | ScreenshotAfterEvent;
6
+ export type ScreenshotIdentifier = EndStateScreenshot | ScreenshotAfterEvent | ScreenshotAuxiliary;
7
7
  export interface LogicVersioned {
8
8
  /**
9
9
  * The version of the logic and environment used to generate the screenshot. This should be bumped
@@ -30,6 +30,17 @@ export interface ScreenshotAfterEvent extends LogicVersioned {
30
30
  /** Optional image hash of the screenshot */
31
31
  imageHash?: string;
32
32
  }
33
+ export interface ScreenshotAuxiliary extends LogicVersioned {
34
+ type: "auxiliary";
35
+ /** 0 indexed */
36
+ eventNumber: number;
37
+ /** Why we took the screenshot, e.g. "exit_animation". Matches /^[a-z_]{1,16}$/. */
38
+ reason: string;
39
+ /** If unset is normal variant */
40
+ variant?: ScreenshotVariant;
41
+ /** Optional image hash of the screenshot */
42
+ imageHash?: string;
43
+ }
33
44
  /**
34
45
  * normal = the original screenshot to be displayed to the user
35
46
  * redacted = after injecting CSS `display: hidden` rules for the CSS selectors to ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.280.0",
3
+ "version": "2.285.0",
4
4
  "description": "Meticulous API types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -8,16 +8,6 @@
8
8
  "files": [
9
9
  "dist"
10
10
  ],
11
- "scripts": {
12
- "clean": "rimraf dist tsconfig.tsbuildinfo",
13
- "build": "tsc --build tsconfig.json",
14
- "dev": "tsc --build tsconfig.json --watch",
15
- "format": "prettier --write src",
16
- "lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
17
- "lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
18
- "lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
19
- "depcheck": "depcheck --ignore-patterns=dist"
20
- },
21
11
  "author": {
22
12
  "name": "The Meticulous Team",
23
13
  "email": "eng@meticulous.ai",
@@ -35,5 +25,14 @@
35
25
  "bugs": {
36
26
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
37
27
  },
38
- "gitHead": "87ca975a232d16ea878caa5649a8b21221ebca02"
39
- }
28
+ "scripts": {
29
+ "clean": "rimraf dist tsconfig.tsbuildinfo",
30
+ "build": "tsc --build tsconfig.json",
31
+ "dev": "tsc --build tsconfig.json --watch",
32
+ "format": "prettier --write src",
33
+ "lint": "eslint \"src/**/*.{js,ts,tsx}\" --cache",
34
+ "lint:commit": "eslint --cache $(git diff --relative --name-only --diff-filter=ACMRTUXB master | grep -E \"(.js$|.ts$|.tsx$)\")",
35
+ "lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" --cache --fix",
36
+ "depcheck": "depcheck --ignore-patterns=dist"
37
+ }
38
+ }