@allbluecn/database 0.14.9 → 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 +41 -0
- package/generated/client.ts +41 -0
- package/generated/internal/class.ts +64 -4
- package/generated/internal/prismaNamespace.ts +550 -2
- package/generated/internal/prismaNamespaceBrowser.ts +99 -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/HarnessTelemetrySettings.ts +1508 -0
- package/generated/models/HarnessTelemetryUpload.ts +1595 -0
- package/generated/models/HarnessWorktree.ts +1529 -0
- package/generated/models/User.ts +5648 -610
- package/generated/models.ts +6 -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 +143 -0
|
@@ -214,7 +214,13 @@ export const ModelName = {
|
|
|
214
214
|
HarnessSshHost: 'HarnessSshHost',
|
|
215
215
|
HarnessConnectorAccount: 'HarnessConnectorAccount',
|
|
216
216
|
HarnessSessionSearchDocument: 'HarnessSessionSearchDocument',
|
|
217
|
-
HarnessSessionSearchToken: 'HarnessSessionSearchToken'
|
|
217
|
+
HarnessSessionSearchToken: 'HarnessSessionSearchToken',
|
|
218
|
+
HarnessForgeBinding: 'HarnessForgeBinding',
|
|
219
|
+
HarnessWorktree: 'HarnessWorktree',
|
|
220
|
+
HarnessPluginMarketSource: 'HarnessPluginMarketSource',
|
|
221
|
+
HarnessPluginVersionExemption: 'HarnessPluginVersionExemption',
|
|
222
|
+
HarnessTelemetrySettings: 'HarnessTelemetrySettings',
|
|
223
|
+
HarnessTelemetryUpload: 'HarnessTelemetryUpload'
|
|
218
224
|
} as const
|
|
219
225
|
|
|
220
226
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -2810,6 +2816,98 @@ export const HarnessSessionSearchTokenScalarFieldEnum = {
|
|
|
2810
2816
|
export type HarnessSessionSearchTokenScalarFieldEnum = (typeof HarnessSessionSearchTokenScalarFieldEnum)[keyof typeof HarnessSessionSearchTokenScalarFieldEnum]
|
|
2811
2817
|
|
|
2812
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
|
+
|
|
2813
2911
|
export const SortOrder = {
|
|
2814
2912
|
asc: 'asc',
|
|
2815
2913
|
desc: 'desc'
|