@alwaysmeticulous/api 2.276.2 → 2.283.1

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.
@@ -10,6 +10,19 @@ export interface Project {
10
10
  updatedAt: string;
11
11
  isGitHubIntegrationActive?: boolean;
12
12
  isMonitoringEnabled: boolean;
13
+ /**
14
+ * When `true`, the project gets its source code from customer-uploaded
15
+ * archives (via `meticulous project upload-source`) instead of by
16
+ * `git clone`. Consumers that need source code (e.g. the cloud worker's
17
+ * clone-and-parse step) MUST dispatch on this flag — calling
18
+ * `getRepoUrl` on a `usesSourceCodeUploads` project returns 403, and
19
+ * calling `getSourceArchiveUrl` on a non-`usesSourceCodeUploads` project
20
+ * also returns 403.
21
+ *
22
+ * Optional for backward compatibility with older backends that don't
23
+ * populate it (treat absent as `false`).
24
+ */
25
+ usesSourceCodeUploads?: boolean;
13
26
  settings: {
14
27
  networkStubbingMode?: NetworkStubbingMode;
15
28
  defaultScreenshottingOptions?: ProjectSettingsScreenshottingOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.276.2",
3
+ "version": "2.283.1",
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": "01bc1fa14391f4a39322c7a70e5f51b5ebb45032"
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
+ }