Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+12
-12
@@ -30,10 +30,10 @@ export type FieldStrategy =
|
||||
| "address-country"
|
||||
| "zip-code"
|
||||
| "ip-address"
|
||||
| "stripe-customer-id"
|
||||
| "stripe-subscription-id"
|
||||
| "stripe-payment-method-id"
|
||||
| "stripe-id-generic"
|
||||
| "billing-customer-id"
|
||||
| "billing-subscription-id"
|
||||
| "payment-method-id"
|
||||
| "payment-id-generic"
|
||||
| "url-rewrite"
|
||||
| "avatar-url"
|
||||
| "redact"
|
||||
@@ -122,14 +122,14 @@ export const FULL_ANONYMIZED_PROFILE: AnonymizationProfile = {
|
||||
textBody: "redact",
|
||||
},
|
||||
TenantSubscription: {
|
||||
stripeCustomerId: "stripe-customer-id",
|
||||
stripeSubscriptionId: "stripe-subscription-id",
|
||||
billingProviderCustomerId: "billing-customer-id",
|
||||
billingProviderSubscriptionId: "billing-subscription-id",
|
||||
},
|
||||
TenantProductConfiguration: {
|
||||
stripeAccountId: "stripe-id-generic",
|
||||
paymentProviderAccountId: "payment-id-generic",
|
||||
},
|
||||
Credit: {
|
||||
stripeInvoiceId: "stripe-id-generic",
|
||||
providerInvoiceId: "payment-id-generic",
|
||||
},
|
||||
WorkflowCredential: {
|
||||
secret: "redact",
|
||||
@@ -345,13 +345,13 @@ export function applyStrategy(
|
||||
return anonZip(value, ctx);
|
||||
case "ip-address":
|
||||
return anonIp(value, ctx);
|
||||
case "stripe-customer-id":
|
||||
case "billing-customer-id":
|
||||
return `cus_anon${seededHex(value, ctx, 8)}`;
|
||||
case "stripe-subscription-id":
|
||||
case "billing-subscription-id":
|
||||
return `sub_anon${seededHex(value, ctx, 8)}`;
|
||||
case "stripe-payment-method-id":
|
||||
case "payment-method-id":
|
||||
return `pm_anon${seededHex(value, ctx, 8)}`;
|
||||
case "stripe-id-generic":
|
||||
case "payment-id-generic":
|
||||
return `anon_${seededHex(value, ctx, 12)}`;
|
||||
case "url-rewrite":
|
||||
return `https://anonymized.test/${seededHex(value, ctx, 10)}`;
|
||||
|
||||
Reference in new issue
Block a user