fix(project-files): align core fixtures and generated audit metadata · simstudioai/sim@118f899 · GitHub
Skip to content

Commit 118f899

Browse files
committed
fix(project-files): align core fixtures and generated audit metadata
2 parents 41ff67a + 30c9a97 commit 118f899

7 files changed

Lines changed: 359 additions & 370 deletions

File tree

‎apps/sim/lib/api/server/routes/internal-binary-route.test.ts‎

Lines changed: 1 addition & 1 deletion

‎apps/sim/lib/api/server/routes/internal-json-route.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class TestLockedError extends HttpError {
2424
readonly statusCode = 423
2525
}
2626

27-
const operation = { id: 'test.read' } as const
27+
const operation = { id: 'test.read', capability: 'none' } as const
2828
const auth = {
2929
authenticate: vi.fn(async () => ({
3030
kind: 'session' as const,

‎apps/sim/lib/api/server/routes/v2-binary-route.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { v2ApiKeyAuth, v2OrchestrationErrorPolicy, v2RateLimits } from '@/lib/ap
1313
import type { V2ApiKeyAuthContext } from '@/lib/api/server/routes/v2-api-key-auth'
1414
import { defineV2BinaryRoute } from '@/lib/api/server/routes/v2-binary-route'
1515

16-
const operation = { id: 'widgets.download' } as const
16+
const operation = { id: 'widgets.download', capability: 'none' } as const
1717
const principal: PersonalApiKeyPrincipal = {
1818
kind: 'personal_api_key',
1919
userId: 'user-1',
@@ -24,6 +24,7 @@ const auth = {
2424
rateLimitSubjectIds: ['api-key:key-1', 'user:user-1'],
2525
rateLimitSubscription: null,
2626
keyType: 'personal',
27+
keyExpiresAt: null,
2728
} satisfies V2ApiKeyAuthContext
2829
const resetAt = new Date('2026-08-08T20:00:00.000Z')
2930
const allowedRate = { allowed: true, remaining: 99, resetAt }

‎apps/sim/lib/mothership/generated/docs-manifest.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const DOCS_MANIFEST: readonly string[] = [
4343
'cli/output.mdx',
4444
'cli/permission-groups.mdx',
4545
'cli/profiles.mdx',
46+
'cli/projects.mdx',
4647
'cli/reference.mdx',
4748
'cli/sandboxes.mdx',
4849
'cli/scripting.mdx',

‎scripts/check-file-names.baseline.json‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,6 @@
9696
"stutter\tapps/sim/lib/uploads/contexts/knowledge-base/knowledge-base-file-manager.ts",
9797
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-folder-manager.test.ts",
9898
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-folder-manager.ts",
99-
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-live-doc-outbox.test.ts",
100-
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-live-doc-outbox.ts",
10199
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-manager-download.test.ts",
102100
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-manager-errors.test.ts",
103101
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-manager-page.test.ts",
@@ -108,7 +106,6 @@
108106
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-secret-provenance.test.ts",
109107
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-secret-provenance.ts",
110108
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-storage-accounting.test.ts",
111-
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-storage-billing.test.ts",
112109
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-storage-cleanup-outbox.test.ts",
113110
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-storage-cleanup-outbox.ts",
114111
"stutter\tapps/sim/lib/uploads/contexts/workspace/workspace-file-versions.ts",

‎scripts/check-test-types.baseline.json‎

Lines changed: 0 additions & 10 deletions

0 commit comments

Comments
 (0)