@volter/twin-sentry 0.1.36 → 1.0.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/README.md +21 -134
- package/api/spec/SOURCE.md +15 -0
- package/api/spec/doc-examples.json +12 -0
- package/api/spec/openapi.json.gz +0 -0
- package/api/spec/patches.json +5350 -0
- package/api/spec/sources.json +122 -0
- package/api/src/fetch.ts +18 -0
- package/api/src/generated/surface.gen.json +1 -0
- package/api/src/generated/ui.gen.json +1 -0
- package/api/src/index.ts +3 -0
- package/api/src/manifest.ts +136 -0
- package/api/src/semantics/api.ts +246 -0
- package/api/src/semantics/around.ts +36 -0
- package/api/src/semantics/doors.ts +50 -0
- package/api/src/semantics/index.ts +19 -0
- package/api/src/semantics/shared.ts +35 -0
- package/api/src/semantics/states.ts +17 -0
- package/dist/api/spec/SOURCE.md +15 -0
- package/dist/api/spec/doc-examples.json +12 -0
- package/dist/api/spec/openapi.json.gz +0 -0
- package/dist/api/spec/patches.json +5350 -0
- package/dist/api/spec/sources.json +122 -0
- package/dist/api/src/fetch.d.ts +2 -0
- package/dist/api/src/fetch.js +17 -0
- package/dist/api/src/fetch.ts +18 -0
- package/dist/api/src/generated/surface.gen.json +1 -0
- package/dist/api/src/generated/ui.gen.json +1 -0
- package/dist/api/src/index.d.ts +2 -0
- package/dist/api/src/index.js +3 -0
- package/dist/api/src/index.ts +3 -0
- package/dist/api/src/manifest.d.ts +2 -0
- package/dist/api/src/manifest.js +135 -0
- package/dist/api/src/manifest.ts +136 -0
- package/dist/api/src/semantics/api.d.ts +13 -0
- package/dist/api/src/semantics/api.js +267 -0
- package/dist/api/src/semantics/api.ts +246 -0
- package/dist/api/src/semantics/around.d.ts +2 -0
- package/dist/api/src/semantics/around.js +41 -0
- package/dist/api/src/semantics/around.ts +36 -0
- package/dist/api/src/semantics/doors.d.ts +8 -0
- package/dist/api/src/semantics/doors.js +39 -0
- package/dist/api/src/semantics/doors.ts +50 -0
- package/dist/api/src/semantics/index.d.ts +2 -0
- package/dist/api/src/semantics/index.js +15 -0
- package/dist/api/src/semantics/index.ts +19 -0
- package/dist/api/src/semantics/shared.d.ts +15 -0
- package/dist/api/src/semantics/shared.js +27 -0
- package/dist/api/src/semantics/shared.ts +35 -0
- package/dist/api/src/semantics/states.d.ts +24 -0
- package/dist/api/src/semantics/states.js +17 -0
- package/dist/api/src/semantics/states.ts +17 -0
- package/dist/generated/pack-facts.json +87 -0
- package/dist/ingest/spec/SOURCE.md +30 -0
- package/dist/ingest/spec/authentication.mdx.gz +0 -0
- package/dist/ingest/spec/compression.mdx.gz +0 -0
- package/dist/ingest/spec/doc-examples.json +216 -0
- package/dist/ingest/spec/envelope-items.mdx.gz +0 -0
- package/dist/ingest/spec/envelopes.mdx.gz +0 -0
- package/dist/ingest/spec/openapi.json +178 -0
- package/dist/ingest/spec/rate-limiting.mdx.gz +0 -0
- package/dist/ingest/spec/sources.json +25 -0
- package/dist/ingest/spec/transport.mdx.gz +0 -0
- package/dist/ingest/spec/write-spec.ts +192 -0
- package/dist/ingest/src/fetch.d.ts +2 -0
- package/dist/ingest/src/fetch.js +15 -0
- package/dist/ingest/src/fetch.ts +16 -0
- package/dist/ingest/src/generated/surface.gen.json +1 -0
- package/dist/ingest/src/generated/ui.gen.json +1 -0
- package/dist/ingest/src/index.d.ts +2 -0
- package/dist/ingest/src/index.js +3 -0
- package/dist/ingest/src/index.ts +3 -0
- package/dist/ingest/src/manifest.d.ts +2 -0
- package/dist/ingest/src/manifest.js +34 -0
- package/dist/ingest/src/manifest.ts +39 -0
- package/dist/ingest/src/semantics/api.d.ts +2 -0
- package/dist/ingest/src/semantics/api.js +240 -0
- package/dist/ingest/src/semantics/api.ts +188 -0
- package/dist/ingest/src/semantics/around.d.ts +2 -0
- package/dist/ingest/src/semantics/around.js +6 -0
- package/dist/ingest/src/semantics/around.ts +7 -0
- package/dist/ingest/src/semantics/index.d.ts +2 -0
- package/dist/ingest/src/semantics/index.js +4 -0
- package/dist/ingest/src/semantics/index.ts +8 -0
- package/dist/ingest/src/semantics/shared.d.ts +4 -0
- package/dist/ingest/src/semantics/shared.js +2 -0
- package/dist/ingest/src/semantics/shared.ts +7 -0
- package/dist/ingest/src/semantics/states.d.ts +1 -0
- package/dist/ingest/src/semantics/states.js +2 -0
- package/dist/ingest/src/semantics/states.ts +2 -0
- package/dist/journeys/coverage.json +205 -0
- package/dist/journeys/customer-life.json +923 -0
- package/dist/journeys/customer-life.outline.md +51 -0
- package/dist/journeys/decisions.json +170 -0
- package/dist/journeys/demand.json +136 -0
- package/dist/journeys/score.json +231 -0
- package/dist/journeys/unreachable.json +29 -0
- package/dist/journeys/vendor-examples.json +474 -0
- package/dist/spec/sources.json +76 -0
- package/dist/src/cli.js +12 -27
- package/dist/src/fetch.d.ts +2 -0
- package/dist/src/fetch.js +9 -0
- package/dist/src/index.d.ts +5 -15
- package/dist/src/index.js +12 -75
- package/dist/src/manifest.d.ts +2 -0
- package/dist/src/manifest.js +34 -0
- package/dist/src/semantics/shared.d.ts +87 -0
- package/dist/src/semantics/shared.js +411 -0
- package/dist/src/server.d.ts +7 -0
- package/dist/src/server.js +7 -0
- package/generated/pack-facts.json +87 -0
- package/ingest/spec/SOURCE.md +30 -0
- package/ingest/spec/authentication.mdx.gz +0 -0
- package/ingest/spec/compression.mdx.gz +0 -0
- package/ingest/spec/doc-examples.json +216 -0
- package/ingest/spec/envelope-items.mdx.gz +0 -0
- package/ingest/spec/envelopes.mdx.gz +0 -0
- package/ingest/spec/openapi.json +178 -0
- package/ingest/spec/rate-limiting.mdx.gz +0 -0
- package/ingest/spec/sources.json +25 -0
- package/ingest/spec/transport.mdx.gz +0 -0
- package/ingest/spec/write-spec.ts +192 -0
- package/ingest/src/fetch.ts +16 -0
- package/ingest/src/generated/surface.gen.json +1 -0
- package/ingest/src/generated/ui.gen.json +1 -0
- package/ingest/src/index.ts +3 -0
- package/ingest/src/manifest.ts +39 -0
- package/ingest/src/semantics/api.ts +188 -0
- package/ingest/src/semantics/around.ts +7 -0
- package/ingest/src/semantics/index.ts +8 -0
- package/ingest/src/semantics/shared.ts +7 -0
- package/ingest/src/semantics/states.ts +2 -0
- package/journeys/coverage.json +205 -0
- package/journeys/customer-life.json +923 -0
- package/journeys/customer-life.outline.md +51 -0
- package/journeys/decisions.json +170 -0
- package/journeys/demand.json +136 -0
- package/journeys/score.json +231 -0
- package/journeys/unreachable.json +29 -0
- package/journeys/vendor-examples.json +474 -0
- package/package.json +16 -42
- package/spec/sources.json +76 -0
- package/src/cli.ts +12 -24
- package/src/fetch.ts +10 -0
- package/src/index.ts +12 -143
- package/src/manifest.ts +40 -0
- package/src/semantics/shared.ts +443 -0
- package/src/server.ts +8 -0
- package/client/sentry-mirror.css +0 -99
- package/client/sentry-mirror.tsx +0 -352
- package/dist/client/sentry-mirror.bundle.js +0 -388
- package/dist/client/sentry-mirror.css +0 -99
- package/dist/client/sentry-mirror.d.ts +0 -17
- package/dist/client/sentry-mirror.js +0 -156
- package/dist/client/sentry-mirror.tsx +0 -352
- package/dist/src/sentry-budget.d.ts +0 -50
- package/dist/src/sentry-budget.js +0 -145
- package/dist/src/sentry-capabilities.d.ts +0 -3
- package/dist/src/sentry-capabilities.js +0 -1180
- package/dist/src/sentry-conformance.d.ts +0 -22
- package/dist/src/sentry-conformance.js +0 -97
- package/dist/src/sentry-connector.d.ts +0 -77
- package/dist/src/sentry-connector.js +0 -226
- package/dist/src/sentry-events.d.ts +0 -54
- package/dist/src/sentry-events.js +0 -132
- package/dist/src/sentry-ingest.d.ts +0 -137
- package/dist/src/sentry-ingest.js +0 -387
- package/dist/src/sentry-mirror-ui.d.ts +0 -38
- package/dist/src/sentry-mirror-ui.js +0 -162
- package/dist/src/sentry-perform-harness.d.ts +0 -9
- package/dist/src/sentry-perform-harness.js +0 -20
- package/dist/src/sentry-server.d.ts +0 -14
- package/dist/src/sentry-server.js +0 -27
- package/dist/src/sentry-twin.d.ts +0 -17
- package/dist/src/sentry-twin.js +0 -1739
- package/dist/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
- package/dist/test-fixtures/sentry-openapi-operations.json +0 -1837
- package/src/sentry-budget.ts +0 -171
- package/src/sentry-capabilities.ts +0 -1222
- package/src/sentry-conformance.ts +0 -110
- package/src/sentry-connector.ts +0 -260
- package/src/sentry-events.ts +0 -172
- package/src/sentry-ingest.ts +0 -471
- package/src/sentry-mirror-ui.ts +0 -162
- package/src/sentry-perform-harness.ts +0 -19
- package/src/sentry-server.ts +0 -35
- package/src/sentry-twin.ts +0 -1615
- package/test-fixtures/sentry-openapi-operations.SOURCE.md +0 -24
- package/test-fixtures/sentry-openapi-operations.json +0 -1837
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
{
|
|
2
|
+
"https://docs.sentry.io/api/pagination/": {
|
|
3
|
+
"status": 200,
|
|
4
|
+
"checked": "2026-10-03",
|
|
5
|
+
"quotes": {
|
|
6
|
+
"row offset": true,
|
|
7
|
+
"Pagination in the API is handled via the Link header standard:": true
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"https://docs.sentry.io/api/permissions/": {
|
|
11
|
+
"status": 200,
|
|
12
|
+
"checked": "2026-10-03",
|
|
13
|
+
"quotes": {
|
|
14
|
+
"Scopes": true
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"https://docs.sentry.io/api/projects/create-a-new-project/": {
|
|
18
|
+
"status": 200,
|
|
19
|
+
"checked": "2026-10-03",
|
|
20
|
+
"quotes": {
|
|
21
|
+
"6758470122493650": true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"https://docs.sentry.io/api/ratelimits/": {
|
|
25
|
+
"status": 200,
|
|
26
|
+
"checked": "2026-10-03",
|
|
27
|
+
"quotes": {
|
|
28
|
+
"Each endpoint has its own maximum number of requests and window size.": true
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"https://docs.sentry.io/platforms/javascript/guides/node/crons/": {
|
|
32
|
+
"status": 200,
|
|
33
|
+
"checked": "2026-10-03"
|
|
34
|
+
},
|
|
35
|
+
"https://raw.githubusercontent.com/getsentry/sentry-api-schema/98ec014705fbecf18c2650097e4630afe51ffd85/openapi-derefed.json": {
|
|
36
|
+
"status": 200,
|
|
37
|
+
"checked": "2026-10-03",
|
|
38
|
+
"quotes": {
|
|
39
|
+
"listOrganizationProjects": true,
|
|
40
|
+
"getProjectEvent": true,
|
|
41
|
+
"getOrganizationIssue": true,
|
|
42
|
+
"listOrganizationMonitors": true,
|
|
43
|
+
"listProjectMonitorCheckins": true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"https://raw.githubusercontent.com/getsentry/sentry-cli/2.58.4/src/api/mod.rs": {
|
|
47
|
+
"status": 200,
|
|
48
|
+
"checked": "2026-10-03",
|
|
49
|
+
"quotes": {
|
|
50
|
+
"pub fn get_previous_release_with_commits": true
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"https://raw.githubusercontent.com/getsentry/sentry-cli/2.58.5/src/api/mod.rs": {
|
|
54
|
+
"status": 200,
|
|
55
|
+
"checked": "2026-09-30",
|
|
56
|
+
"quotes": {
|
|
57
|
+
"let path = format!(\"/projects/{}/{}/releases/{}/\",": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"https://raw.githubusercontent.com/getsentry/sentry-docs/3ec4e139711af82b38a3c2c17261f5f5cdb66dfc/develop-docs/sdk/foundations/envelopes/envelope-items.mdx": {
|
|
61
|
+
"status": 200,
|
|
62
|
+
"checked": "2026-10-03",
|
|
63
|
+
"quotes": {
|
|
64
|
+
"check-in payload encoded as JSON": true
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/api/endpoints/chunk.py": {
|
|
68
|
+
"status": 200,
|
|
69
|
+
"checked": "2026-09-30",
|
|
70
|
+
"quotes": {
|
|
71
|
+
"MAX_CHUNKS_PER_REQUEST = 64": true,
|
|
72
|
+
"MAX_REQUEST_SIZE = 32 * 1024 * 1024": true,
|
|
73
|
+
"# The `assemble` endpoint will check for missing chunks": true,
|
|
74
|
+
"Return chunk upload parameters": true,
|
|
75
|
+
"files_gzip_legacy = request.FILES.getlist(": true,
|
|
76
|
+
"\"chunksPerRequest\": MAX_CHUNKS_PER_REQUEST,": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/api/endpoints/organization_artifactbundle_assemble.py": {
|
|
80
|
+
"status": 200,
|
|
81
|
+
"checked": "2026-09-30",
|
|
82
|
+
"quotes": {
|
|
83
|
+
"AssembleTask.ARTIFACT_BUNDLE, organization.id, checksum, ChunkFileState.CREATED": true,
|
|
84
|
+
"\"missingChunks\": missing_chunks,": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/issues/endpoints/organization_release_previous_commits.py": {
|
|
88
|
+
"status": 200,
|
|
89
|
+
"checked": "2026-10-03",
|
|
90
|
+
"quotes": {
|
|
91
|
+
"raise ResourceDoesNotExist": true,
|
|
92
|
+
"start_date = release.date_released or release.date_added": true,
|
|
93
|
+
"projects__id__in=project_ids": true,
|
|
94
|
+
"last_commit_id__isnull=False": true,
|
|
95
|
+
"COALESCE(date_released, date_added) <= %s": true,
|
|
96
|
+
"order_by": true,
|
|
97
|
+
"return Response({})": true
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/monitors/serializers.py": {
|
|
101
|
+
"status": 200,
|
|
102
|
+
"checked": "2026-10-03",
|
|
103
|
+
"quotes": {
|
|
104
|
+
"str(obj.guid)": true
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/releases/endpoints/project_release_details.py": {
|
|
108
|
+
"status": 200,
|
|
109
|
+
"checked": "2026-09-30",
|
|
110
|
+
"quotes": {
|
|
111
|
+
"def get(self, request: Request, project, version)": true,
|
|
112
|
+
"def put(": true
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"https://raw.githubusercontent.com/getsentry/sentry/2efdd4760a75a3d395e3534b7f66a7fbb0c3f22e/src/sentry/releases/endpoints/project_releases.py": {
|
|
116
|
+
"status": 200,
|
|
117
|
+
"checked": "2026-09-30",
|
|
118
|
+
"quotes": {
|
|
119
|
+
"Create a new release and/or associate a project with a release.": true
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
package/api/src/fetch.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED by scripts/create-pack.ts (--init, --index): a fixed file. The kernel serves the discovery door, the clock,
|
|
2
|
+
// the World's doors, the vendor's screens and the API from the pack's parts (architecture, "The pack contract").
|
|
3
|
+
import { createPackFetch, type DerivedFetch, type DerivedSurface, type PackFetchOptions } from '@volter/world-core';
|
|
4
|
+
import surface from './generated/surface.gen.json' with { type: 'json' };
|
|
5
|
+
import { manifest } from './manifest.ts';
|
|
6
|
+
import { around } from './semantics/around.ts';
|
|
7
|
+
import * as doors from './semantics/doors.ts';
|
|
8
|
+
import { apiSemantics } from './semantics/index.ts';
|
|
9
|
+
|
|
10
|
+
export function createApiLaneFetch(options: PackFetchOptions = {}): DerivedFetch {
|
|
11
|
+
return createPackFetch({
|
|
12
|
+
manifest,
|
|
13
|
+
surface: surface as DerivedSurface,
|
|
14
|
+
handlers: apiSemantics,
|
|
15
|
+
doors,
|
|
16
|
+
around,
|
|
17
|
+
}, options);
|
|
18
|
+
}
|