@allbluecn/database 0.14.8 → 0.14.10
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/generated/browser.ts +48 -0
- package/generated/client.ts +48 -0
- package/generated/internal/class.ts +74 -4
- package/generated/internal/prismaNamespace.ts +644 -2
- package/generated/internal/prismaNamespaceBrowser.ts +118 -1
- package/generated/models/ChatThread.ts +282 -1
- package/generated/models/HarnessForgeBinding.ts +1524 -0
- package/generated/models/HarnessPluginMarketSource.ts +1501 -0
- package/generated/models/HarnessPluginVersionExemption.ts +1458 -0
- package/generated/models/HarnessSshHost.ts +1770 -0
- package/generated/models/HarnessTelemetrySettings.ts +1508 -0
- package/generated/models/HarnessTelemetryUpload.ts +1595 -0
- package/generated/models/HarnessWorktree.ts +1529 -0
- package/generated/models/User.ts +6440 -588
- package/generated/models.ts +7 -0
- package/migrations/20261127121623_harness_p3_ssh_hosts/migration.sql +32 -0
- package/migrations/20261128000000_harness_p4_forge_worktree/migration.sql +104 -0
- package/migrations/20261128000001_sync_overlay_harness_p4_forge/migration.sql +548 -0
- package/migrations/20261128000002_harness_p4_telemetry/migration.sql +48 -0
- package/package.json +1 -1
- package/schema.prisma +171 -0
|
@@ -211,9 +211,16 @@ export const ModelName = {
|
|
|
211
211
|
HarnessOutbox: 'HarnessOutbox',
|
|
212
212
|
HarnessFeedback: 'HarnessFeedback',
|
|
213
213
|
HarnessMcpServer: 'HarnessMcpServer',
|
|
214
|
+
HarnessSshHost: 'HarnessSshHost',
|
|
214
215
|
HarnessConnectorAccount: 'HarnessConnectorAccount',
|
|
215
216
|
HarnessSessionSearchDocument: 'HarnessSessionSearchDocument',
|
|
216
|
-
HarnessSessionSearchToken: 'HarnessSessionSearchToken'
|
|
217
|
+
HarnessSessionSearchToken: 'HarnessSessionSearchToken',
|
|
218
|
+
HarnessForgeBinding: 'HarnessForgeBinding',
|
|
219
|
+
HarnessWorktree: 'HarnessWorktree',
|
|
220
|
+
HarnessPluginMarketSource: 'HarnessPluginMarketSource',
|
|
221
|
+
HarnessPluginVersionExemption: 'HarnessPluginVersionExemption',
|
|
222
|
+
HarnessTelemetrySettings: 'HarnessTelemetrySettings',
|
|
223
|
+
HarnessTelemetryUpload: 'HarnessTelemetryUpload'
|
|
217
224
|
} as const
|
|
218
225
|
|
|
219
226
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -415,6 +422,7 @@ export const ChatThreadScalarFieldEnum = {
|
|
|
415
422
|
updatedAt: 'updatedAt',
|
|
416
423
|
agentId: 'agentId',
|
|
417
424
|
workspaceId: 'workspaceId',
|
|
425
|
+
sshHostId: 'sshHostId',
|
|
418
426
|
engine: 'engine',
|
|
419
427
|
localCwd: 'localCwd',
|
|
420
428
|
localAgentId: 'localAgentId',
|
|
@@ -2748,6 +2756,23 @@ export const HarnessMcpServerScalarFieldEnum = {
|
|
|
2748
2756
|
export type HarnessMcpServerScalarFieldEnum = (typeof HarnessMcpServerScalarFieldEnum)[keyof typeof HarnessMcpServerScalarFieldEnum]
|
|
2749
2757
|
|
|
2750
2758
|
|
|
2759
|
+
export const HarnessSshHostScalarFieldEnum = {
|
|
2760
|
+
id: 'id',
|
|
2761
|
+
userId: 'userId',
|
|
2762
|
+
name: 'name',
|
|
2763
|
+
host: 'host',
|
|
2764
|
+
port: 'port',
|
|
2765
|
+
username: 'username',
|
|
2766
|
+
authMethod: 'authMethod',
|
|
2767
|
+
credentialId: 'credentialId',
|
|
2768
|
+
pinnedFingerprint: 'pinnedFingerprint',
|
|
2769
|
+
createdAt: 'createdAt',
|
|
2770
|
+
updatedAt: 'updatedAt'
|
|
2771
|
+
} as const
|
|
2772
|
+
|
|
2773
|
+
export type HarnessSshHostScalarFieldEnum = (typeof HarnessSshHostScalarFieldEnum)[keyof typeof HarnessSshHostScalarFieldEnum]
|
|
2774
|
+
|
|
2775
|
+
|
|
2751
2776
|
export const HarnessConnectorAccountScalarFieldEnum = {
|
|
2752
2777
|
id: 'id',
|
|
2753
2778
|
userId: 'userId',
|
|
@@ -2791,6 +2816,98 @@ export const HarnessSessionSearchTokenScalarFieldEnum = {
|
|
|
2791
2816
|
export type HarnessSessionSearchTokenScalarFieldEnum = (typeof HarnessSessionSearchTokenScalarFieldEnum)[keyof typeof HarnessSessionSearchTokenScalarFieldEnum]
|
|
2792
2817
|
|
|
2793
2818
|
|
|
2819
|
+
export const HarnessForgeBindingScalarFieldEnum = {
|
|
2820
|
+
id: 'id',
|
|
2821
|
+
userId: 'userId',
|
|
2822
|
+
provider: 'provider',
|
|
2823
|
+
accountLabel: 'accountLabel',
|
|
2824
|
+
scopeType: 'scopeType',
|
|
2825
|
+
scopeName: 'scopeName',
|
|
2826
|
+
repoWhitelist: 'repoWhitelist',
|
|
2827
|
+
credentialRef: 'credentialRef',
|
|
2828
|
+
createdAt: 'createdAt',
|
|
2829
|
+
updatedAt: 'updatedAt'
|
|
2830
|
+
} as const
|
|
2831
|
+
|
|
2832
|
+
export type HarnessForgeBindingScalarFieldEnum = (typeof HarnessForgeBindingScalarFieldEnum)[keyof typeof HarnessForgeBindingScalarFieldEnum]
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
export const HarnessWorktreeScalarFieldEnum = {
|
|
2836
|
+
id: 'id',
|
|
2837
|
+
userId: 'userId',
|
|
2838
|
+
threadId: 'threadId',
|
|
2839
|
+
path: 'path',
|
|
2840
|
+
baseBranch: 'baseBranch',
|
|
2841
|
+
headBranch: 'headBranch',
|
|
2842
|
+
status: 'status',
|
|
2843
|
+
removedAt: 'removedAt',
|
|
2844
|
+
createdAt: 'createdAt',
|
|
2845
|
+
updatedAt: 'updatedAt'
|
|
2846
|
+
} as const
|
|
2847
|
+
|
|
2848
|
+
export type HarnessWorktreeScalarFieldEnum = (typeof HarnessWorktreeScalarFieldEnum)[keyof typeof HarnessWorktreeScalarFieldEnum]
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
export const HarnessPluginMarketSourceScalarFieldEnum = {
|
|
2852
|
+
id: 'id',
|
|
2853
|
+
userId: 'userId',
|
|
2854
|
+
name: 'name',
|
|
2855
|
+
url: 'url',
|
|
2856
|
+
enabled: 'enabled',
|
|
2857
|
+
priority: 'priority',
|
|
2858
|
+
createdAt: 'createdAt',
|
|
2859
|
+
updatedAt: 'updatedAt'
|
|
2860
|
+
} as const
|
|
2861
|
+
|
|
2862
|
+
export type HarnessPluginMarketSourceScalarFieldEnum = (typeof HarnessPluginMarketSourceScalarFieldEnum)[keyof typeof HarnessPluginMarketSourceScalarFieldEnum]
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
export const HarnessPluginVersionExemptionScalarFieldEnum = {
|
|
2866
|
+
id: 'id',
|
|
2867
|
+
userId: 'userId',
|
|
2868
|
+
pluginName: 'pluginName',
|
|
2869
|
+
versionRange: 'versionRange',
|
|
2870
|
+
reason: 'reason',
|
|
2871
|
+
expiresAt: 'expiresAt',
|
|
2872
|
+
createdAt: 'createdAt',
|
|
2873
|
+
updatedAt: 'updatedAt'
|
|
2874
|
+
} as const
|
|
2875
|
+
|
|
2876
|
+
export type HarnessPluginVersionExemptionScalarFieldEnum = (typeof HarnessPluginVersionExemptionScalarFieldEnum)[keyof typeof HarnessPluginVersionExemptionScalarFieldEnum]
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
export const HarnessTelemetrySettingsScalarFieldEnum = {
|
|
2880
|
+
id: 'id',
|
|
2881
|
+
userId: 'userId',
|
|
2882
|
+
countersEnabled: 'countersEnabled',
|
|
2883
|
+
uploadEnabled: 'uploadEnabled',
|
|
2884
|
+
endpointUrl: 'endpointUrl',
|
|
2885
|
+
retentionDays: 'retentionDays',
|
|
2886
|
+
excludedThreadIds: 'excludedThreadIds',
|
|
2887
|
+
excludedWorkspaceIds: 'excludedWorkspaceIds',
|
|
2888
|
+
createdAt: 'createdAt',
|
|
2889
|
+
updatedAt: 'updatedAt'
|
|
2890
|
+
} as const
|
|
2891
|
+
|
|
2892
|
+
export type HarnessTelemetrySettingsScalarFieldEnum = (typeof HarnessTelemetrySettingsScalarFieldEnum)[keyof typeof HarnessTelemetrySettingsScalarFieldEnum]
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
export const HarnessTelemetryUploadScalarFieldEnum = {
|
|
2896
|
+
id: 'id',
|
|
2897
|
+
userId: 'userId',
|
|
2898
|
+
endpointUrl: 'endpointUrl',
|
|
2899
|
+
endpointKind: 'endpointKind',
|
|
2900
|
+
status: 'status',
|
|
2901
|
+
payloadBytes: 'payloadBytes',
|
|
2902
|
+
threadCount: 'threadCount',
|
|
2903
|
+
eventCount: 'eventCount',
|
|
2904
|
+
errorText: 'errorText',
|
|
2905
|
+
uploadedAt: 'uploadedAt'
|
|
2906
|
+
} as const
|
|
2907
|
+
|
|
2908
|
+
export type HarnessTelemetryUploadScalarFieldEnum = (typeof HarnessTelemetryUploadScalarFieldEnum)[keyof typeof HarnessTelemetryUploadScalarFieldEnum]
|
|
2909
|
+
|
|
2910
|
+
|
|
2794
2911
|
export const SortOrder = {
|
|
2795
2912
|
asc: 'asc',
|
|
2796
2913
|
desc: 'desc'
|