Add support for FASP data sharing (#34415)

This commit is contained in:
David Roetzel 2025-05-16 14:24:02 +02:00 committed by GitHub
parent 3ea1f074ab
commit a5a2c6dc7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 1140 additions and 1 deletions

View file

@ -15,4 +15,5 @@ Fabricator(:account) do
user { |attrs| attrs[:domain].nil? ? Fabricate.build(:user, account: nil) : nil }
uri { |attrs| attrs[:domain].nil? ? '' : "https://#{attrs[:domain]}/users/#{attrs[:username]}" }
discoverable true
indexable true
end

View file

@ -0,0 +1,9 @@
# frozen_string_literal: true
Fabricator(:fasp_backfill_request, from: 'Fasp::BackfillRequest') do
category 'content'
max_count 10
cursor nil
fulfilled false
fasp_provider
end

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
Fabricator(:fasp_subscription, from: 'Fasp::Subscription') do
category 'content'
subscription_type 'lifecycle'
max_batch_size 10
fasp_provider
end