1
0
Fork 0
mirror of https://github.com/anyproto/anytype-heart.git synced 2025-06-08 05:47:07 +09:00
anytype-heart/.mockery.yaml
Anthony Akentiev bf46949207
Go 2450 subscriptions (#1041)
* GO-2450 Add Payments commands

* GO-2450 Payment methods: remove IDs from requests

* GO-2450 Use GetAccountEthAddress()

* GO-2450 Use any-sync instead of pp repo

* GO-2450 Add RequestedAnyName field

* GO-2450 Basic nameservice methods

* GO-2450 New methods for subscriptions/nameservice

* GO-2450 Refactor: protos for payments

* GO-2450 Downgrade go to 1.20

* GO-2450 Fix build

* GO-2450 Refactoring: renames

* GO-2450 GetPortalURL implemented; Test tiers

* GO-2450 Update any-sync

* GO-2450 Fix: bootstrap

* GO-2450 Fix pp encryption: peer key -> sign key

* GO-2450 Bug fix: Ethereum wallet address

* GO-2450 Update tier names

* GO-2450 Email verification methods

* GO-2450 Return email if was verified before

* GO-2450 Update any-sync

* GO-2450 Update any-sync

* GO-2395 WiP: cache for PP node

* GO-2395: cache for PP node

* GO-2395 Change logics: return 0 tier when no response from the pp

* GO-2395 fix: cache logics

* GO-2450 Use any-sync from feature-payments branch for now

* GO-2395 any-sync update

* GO-2395 Fixes after review

* GO-2395 Refactoring after review

* GO-2395 Review fixes

* GO-2395 Build fix

* GO-2450 Refactoring: payments interface; tier -> int32

* GO-2450 Add FinalizeSubscription method

* GO-2450 Cache fix

* GO-2450 GetSubscriptionStatus: add NoCache

* GO-2734 Add global name to cache WIP

* GO-2450 go mod tidy

* GO-2450 Update any-sync

* GO-2450 Linter fix

* GO-2450 PaymentsTiersGet

* GO-2450 Refactoring: PaymentsGetTiers

* GO-2450 NS: implement NameServiceResolveAnyId

* GO-2734 Use AnyId to retrieve Global name

* GO-2734 Add GlobalName to identity

* GO-2734 Implement DetailsSettable in participant

* GO-2734 Get GlobalName from NN only on app start

* GO-2450 Upgrade any-sync to v0.3.33: TODOs in the required methods

* GO-2734 Fix tests WIP

* GO-2734 Use batch method

* GO-2734 Fix unittest

* GO-3061 Refactoring: payments - huge renames

* GO-3061 Add EventMembershipUpdate

* GO-2734 Fix tests 2

* GO-2734 Fixes upon pr comments

* GO-2450 Fix panic with nil cache.data

* GO-2450 Fixes after merge

* GO-2734 Fix unittests WIP

* GO-2734 Move mock expectations to newFixture

* GO-2734 Add return statement in mock

* GO-2734 Add check if name was found

* GO-2450 Add IsNameValid method

* GO-2450 Fix tests: cache

* GO-2734 Resolve names directly from NS

* GO-2450 Cache logics fix

* GO-2450 refactoring: cache logics simplified

* GO-2450 refactoring: IsNameValid - code -> error

* GO-2734 Set globalName in new spaces

* GO-3128 IsNameValid, GetAllTiers rebuilt

* GO-2734 Rename forceUpdate flag

* GO-2734 Save globalName even if is not found

* GO-3128 IsNameValid, GetAllTiers rebuilt

* GO-3128 Fix string len

* GO-2734 Rename UpdateIdentities

---------

Co-authored-by: kirillston <stonozhenko@anytype.io>
Co-authored-by: Kirill Stonozhenko <40611691+KirillSto@users.noreply.github.com>
2024-03-26 17:40:15 +00:00

96 lines
2.8 KiB
YAML

dir: "{{.InterfaceDir}}/mock_{{.PackageName}}"
with-expecter: True
disable-version-string: True
all: False
outpkg: "mock_{{.PackageName}}"
packages:
github.com/anyproto/anytype-heart/space/spacecore/typeprovider:
interfaces:
SmartBlockTypeProvider:
github.com/anyproto/anytype-heart/core/wallet:
interfaces:
Wallet:
github.com/anyproto/anytype-heart/core/event:
interfaces:
Sender:
github.com/anyproto/anytype-heart/core/block/getblock:
interfaces:
ObjectGetter:
github.com/anyproto/anytype-heart/pkg/lib/core:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/block/import/common:
interfaces:
Converter:
github.com/anyproto/anytype-heart/pkg/lib/database:
interfaces:
ObjectStore:
config:
dir: "{{.InterfaceDir}}"
outpkg: "{{.PackageName}}"
inpackage: true
github.com/anyproto/anytype-heart/pkg/lib/localstore/objectstore:
interfaces:
ObjectStore:
github.com/anyproto/anytype-heart/core/block/restriction:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/filestorage/filesync:
interfaces:
FileSync:
github.com/anyproto/anytype-heart/core/block/import/common/objectid:
interfaces:
IdGetterProvider:
github.com/anyproto/anytype-heart/core/block/import/common/objectcreator:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/subscription:
interfaces:
CollectionService:
config:
dir: "{{.InterfaceDir}}"
outpkg: "{{.PackageName}}"
inpackage: true
github.com/anyproto/anytype-heart/core/block/object/objectcache:
interfaces:
Cache:
github.com/anyproto/anytype-heart/metrics/amplitude:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/indexer:
interfaces:
Indexer:
github.com/anyproto/anytype-heart/space/spacecore:
interfaces:
SpaceCoreService:
github.com/anyproto/anytype-heart/space/internal/techspace:
interfaces:
TechSpace:
github.com/anyproto/anytype-heart/space/spacefactory:
interfaces:
SpaceFactory:
github.com/anyproto/anytype-heart/space/internal/spacecontroller:
interfaces:
SpaceController:
DeleteController:
github.com/anyproto/anytype-heart/space:
interfaces:
Service:
github.com/anyproto/anytype-heart/space/clientspace:
interfaces:
Space:
github.com/anyproto/anytype-heart/core/anytype/account:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/files/fileobject:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/files:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/files/fileacl:
interfaces:
Service:
github.com/anyproto/anytype-heart/core/payments/cache:
interfaces:
CacheService: