Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { APDataSetList struct { ApDataSetData func(childComplexity int) int CurPageNum func(childComplexity int) int TotalNum func(childComplexity int) int } APMethodWithAp struct { Did func(childComplexity int) int Icon func(childComplexity int) int Labels func(childComplexity int) int Method func(childComplexity int) int MethodDescription func(childComplexity int) int MethodName func(childComplexity int) int Name func(childComplexity int) int Used func(childComplexity int) int } AlgorithmProvider struct { APIState func(childComplexity int) int Author func(childComplexity int) int CreateTime func(childComplexity int) int Delay func(childComplexity int) int Did func(childComplexity int) int Icon func(childComplexity int) int Introduction func(childComplexity int) int InvokeFrequency func(childComplexity int) int Name func(childComplexity int) int Popularity func(childComplexity int) int Provider func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int } ApDataSetRes struct { ApDid func(childComplexity int) int DataSetDesc func(childComplexity int) int DataSetID func(childComplexity int) int DataSetMethodName func(childComplexity int) int DataSetName func(childComplexity int) int HTTPMethod func(childComplexity int) int HTTPURL func(childComplexity int) int Labels func(childComplexity int) int Params func(childComplexity int) int ResDesc func(childComplexity int) int Status func(childComplexity int) int } ApInfoRes struct { ApDesc func(childComplexity int) int ApDid func(childComplexity int) int ApInfoID func(childComplexity int) int ApName func(childComplexity int) int Avatar func(childComplexity int) int ResDesc func(childComplexity int) int Status func(childComplexity int) int } ApplicationInfo struct { Did func(childComplexity int) int Name func(childComplexity int) int Website func(childComplexity int) int } ChainAddress struct { Chain func(childComplexity int) int ContractAddress func(childComplexity int) int } ClaimNFTRecord struct { Chain func(childComplexity int) int ContractAddress func(childComplexity int) int CreateTime func(childComplexity int) int NftType func(childComplexity int) int Result func(childComplexity int) int Score func(childComplexity int) int TxHash func(childComplexity int) int UserAddress func(childComplexity int) int UserDid func(childComplexity int) int } ClaimNFTRecordsResp struct { Count func(childComplexity int) int Records func(childComplexity int) int } ClaimNFTResponse struct { Address func(childComplexity int) int ErrorCode func(childComplexity int) int Param func(childComplexity int) int } DPAndMethod struct { Dp func(childComplexity int) int Method func(childComplexity int) int } DPDataSetList struct { CurPageNum func(childComplexity int) int DpDataSetData func(childComplexity int) int TotalNum func(childComplexity int) int } DPMethodWithDp struct { Did func(childComplexity int) int Icon func(childComplexity int) int Labels func(childComplexity int) int Method func(childComplexity int) int MethodDescription func(childComplexity int) int MethodName func(childComplexity int) int Name func(childComplexity int) int Used func(childComplexity int) int } DataProvider struct { APIState func(childComplexity int) int Author func(childComplexity int) int CreateTime func(childComplexity int) int Delay func(childComplexity int) int Did func(childComplexity int) int Icon func(childComplexity int) int Introduction func(childComplexity int) int InvokeFrequency func(childComplexity int) int Name func(childComplexity int) int Popularity func(childComplexity int) int Provider func(childComplexity int) int Title func(childComplexity int) int Type func(childComplexity int) int } DpDataSetRes struct { DataSetDesc func(childComplexity int) int DataSetID func(childComplexity int) int DataSetMethodName func(childComplexity int) int DataSetName func(childComplexity int) int DpDid func(childComplexity int) int HTTPMethod func(childComplexity int) int HTTPURL func(childComplexity int) int Labels func(childComplexity int) int Params func(childComplexity int) int ResDesc func(childComplexity int) int Status func(childComplexity int) int } DpInfoRes struct { Avatar func(childComplexity int) int DpDesc func(childComplexity int) int DpDid func(childComplexity int) int DpInfoID func(childComplexity int) int DpName func(childComplexity int) int ResDesc func(childComplexity int) int Status func(childComplexity int) int } GenNFTCountResp struct { Count func(childComplexity int) int } GenReputationCountResp struct { Count func(childComplexity int) int } GetAllAlgorithmProviderMethodsResp struct { Data func(childComplexity int) int Total func(childComplexity int) int } GetAllAlgorithmProvidersResp struct { Data func(childComplexity int) int Total func(childComplexity int) int } GetAllDataProviderMethodsResp struct { Data func(childComplexity int) int Total func(childComplexity int) int } GetAllDataProviders struct { Data func(childComplexity int) int Total func(childComplexity int) int } GetUserTasksResp struct { Tasks func(childComplexity int) int TotalCount func(childComplexity int) int } LabelsInfos struct { BlockChain func(childComplexity int) int Category func(childComplexity int) int Scenario func(childComplexity int) int } MethodDetail struct { CompositeData func(childComplexity int) int CompositeSetting func(childComplexity int) int CreateTime func(childComplexity int) int Description func(childComplexity int) int Did func(childComplexity int) int HTTPMethod func(childComplexity int) int Invoked func(childComplexity int) int Labels func(childComplexity int) int Latency func(childComplexity int) int Method func(childComplexity int) int Name func(childComplexity int) int Param func(childComplexity int) int ParamSchema func(childComplexity int) int ResultSchema func(childComplexity int) int Status func(childComplexity int) int URL func(childComplexity int) int } MethodInfo struct { Data func(childComplexity int) int Did func(childComplexity int) int Title func(childComplexity int) int } Mutation struct { AddNewOuterTask func(childComplexity int, input model.AddNewOuterTaskReq) int AddTask func(childComplexity int, input model.AddTask, overwrite bool) int AddUserBasicInfo func(childComplexity int, input model.AddUserBasicInfoReq) int BindAddress func(childComplexity int, input model.BindAddress) int ChangeAddressVisible func(childComplexity int, userDid string, chain string, address string, visible bool) int ClaimNft func(childComplexity int, did string, chain string, nftType int64) int DeleteAPDataSet func(childComplexity int, userDid string, dataSetID int64) int DeleteDPDataSet func(childComplexity int, userDid string, dataSetID int64) int EditAppNameAppInfo func(childComplexity int, did string, appName string) int EditEmailAddrBasicInfo func(childComplexity int, did string, email string, verifyCode string) int EditNickNameBasicInfo func(childComplexity int, did string, nickName string) int EditWebsiteAppInfo func(childComplexity int, did string, website string) int Login func(childComplexity int, input model.Login) int PublishAPDataSet func(childComplexity int, userDid string, input *model.ApDataSetInfo) int PublishDPDataSet func(childComplexity int, userDid string, input *model.DpDataSetInfo) int RefreshToken func(childComplexity int, input model.RefreshTokenInput) int RequestEmailVCode func(childComplexity int, did string, email string) int RequestOscore func(childComplexity int, input *model.RequestOscoreReq) int RevokeAPDataSet func(childComplexity int, userDid string, dataSetID int64) int RevokeAPInfo func(childComplexity int, userDid string, apInfoID int64) int RevokeDPDataSet func(childComplexity int, userDid string, dataSetID int64) int RevokeDPInfo func(childComplexity int, userDid string, dpInfoID int64) int RevokePublishedAPDataSet func(childComplexity int, userDid string, dataSetID int64) int RevokePublishedDPDataSet func(childComplexity int, userDid string, dataSetID int64) int SaveAPDataSet func(childComplexity int, userDid string, input *model.ApDataSetInfo) int SaveAPInfo func(childComplexity int, userDid string, input *model.SubmitApInfo) int SaveDPDataSet func(childComplexity int, userDid string, input *model.DpDataSetInfo) int SaveDPInfo func(childComplexity int, userDid string, input *model.SubmitDpInfo) int SaveThirdPartyVc func(childComplexity int, did string, mediaType string, credential string) int SaveUserKycInfo func(childComplexity int, did string, kyc string) int SubmitAPInfo func(childComplexity int, userDid string, input *model.SubmitApInfo) int SubmitChanllenge func(childComplexity int, input model.ClientResponse) int SubmitClaimTxInfo func(childComplexity int, did string, chain string, addr string, nftType int64, txhash string) int SubmitDPInfo func(childComplexity int, userDid string, input *model.SubmitDpInfo) int UnBindThirdParty func(childComplexity int, did string, mediaType string) int UnbindAddress func(childComplexity int, input model.UnBindAddress) int UpdateApplicationInfo func(childComplexity int, input *model.ApplicationInfoReq) int UpdateUserBasicInfo func(childComplexity int, input *model.UpdateUserBasicInfoReq) int UploadAvatar func(childComplexity int, file graphql.Upload) int } NFTClaimedCountResp struct { TotalCount func(childComplexity int) int UserCount func(childComplexity int) int } NFTParam struct { Hash func(childComplexity int) int NftType func(childComplexity int) int Score func(childComplexity int) int Sig func(childComplexity int) int } NFTSetting struct { ApDid func(childComplexity int) int ApMethod func(childComplexity int) int ApMethodName func(childComplexity int) int ApName func(childComplexity int) int ChainAddresses func(childComplexity int) int Description func(childComplexity int) int DpDid func(childComplexity int) int DpMethod func(childComplexity int) int ID func(childComplexity int) int Image func(childComplexity int) int IssueBy func(childComplexity int) int LowestScore func(childComplexity int) int Name func(childComplexity int) int Restriction func(childComplexity int) int ValidDays func(childComplexity int) int } NFTSettingResp struct { Count func(childComplexity int) int Records func(childComplexity int) int } PriceInfo struct { ChargeType func(childComplexity int) int Price func(childComplexity int) int PriceType func(childComplexity int) int } ProviderMethod struct { CreateTime func(childComplexity int) int Description func(childComplexity int) int HasDataSet func(childComplexity int) int Labels func(childComplexity int) int Name func(childComplexity int) int NftType func(childComplexity int) int ParamSchema func(childComplexity int) int ResultSchema func(childComplexity int) int Status func(childComplexity int) int SupportMulti func(childComplexity int) int Title func(childComplexity int) int TotalUsed func(childComplexity int) int } Query struct { GetAlgorithmMethods func(childComplexity int, did string) int GetAlgorithmProvider func(childComplexity int, did string) int GetAlgorithmProviderMethod func(childComplexity int, did string, name string) int GetAllAPInfo func(childComplexity int) int GetAllAlgorithmProviderMethod func(childComplexity int, first *int64, skip *int64, where *model.AlgorithmProviderMethodWhere, orderBy *string, orderDirection *string, labels model.LabelsInfo) int GetAllAlgorithmProviders func(childComplexity int, first *int64, skip *int64, where *model.AlgorithmProviderWhere, orderBy *string, orderDirection *string) int GetAllDataProviderMethod func(childComplexity int, first *int64, skip *int64, where *model.DataProviderMethodWhere, orderBy *string, orderDirection *string, labels model.LabelsInfo) int GetAllDataProviders func(childComplexity int, first *int64, skip *int64, where *model.DataProviderWhere, orderBy *string, orderDirection *string) int GetApplicationInfo func(childComplexity int, did string) int GetBasedVotingStrategy func(childComplexity int, addrs []string, space string, snapshot string, network string, options *model.SnapShotOptions) int GetClaimNFTRecords func(childComplexity int, first *int64, skip *int64, where *model.ClaimNFTWhere, orderBy *string, orderDirection *string) int GetCompositeDpInfo func(childComplexity int, did string, method string) int GetDataMethods func(childComplexity int, did string) int GetDataProvider func(childComplexity int, did string) int GetDataProviderMethod func(childComplexity int, did string, name string) int GetDataProvidersByAp func(childComplexity int, did string, method string) int GetLatestOscore func(childComplexity int, did string) int GetNFTClaimedCount func(childComplexity int, nftType int64, userDid string) int GetNFTSettings func(childComplexity int, first *int64, skip *int64, where *model.NFTSettingWhere, orderBy *string, orderDirection *string) int GetTokenPrice func(childComplexity int, input model.TokenPrice) int GetUserAssetBalance func(childComplexity int, did string) int GetUserBasicInfo func(childComplexity int, did string) int GetUserBindAddressInfo func(childComplexity int, input string) int GetUserClaimedNft func(childComplexity int, first *int64, skip *int64, where *model.UserClaimedNFTWhere, orderBy *string, orderDirection *string) int GetUserCredentials func(childComplexity int, first *int64, skip *int64, where model.UserCredntialWhere, orderBy *string, orderDirection *string) int GetUserGenNFTCount func(childComplexity int, did string) int GetUserGenReputationCount func(childComplexity int, did string) int GetUserTask func(childComplexity int, key string, taskID int64) int GetUserTasks func(childComplexity int, first *int64, skip *int64, where *model.GetUserTasksWhere, orderBy *string, orderDirection *string) int GetUserTotalValue func(childComplexity int, did string) int GetUserVisibleBindAddressInfo func(childComplexity int, input string) int QueryAPDataSetInfo func(childComplexity int, userDid string, dataSetID int64) int QueryAPLabels func(childComplexity int) int QueryAllThirdPartyVcStatus func(childComplexity int, did string) int QueryDPDataSetInfo func(childComplexity int, userDid string, dataSetID int64) int QueryDPLabels func(childComplexity int) int QueryOuterTask func(childComplexity int, input *model.OuterTaskReq) int QuerySig func(childComplexity int, addr string, nftType int64, score int64) int QueryTaskExist func(childComplexity int, input *model.AddTask) int QueryThirdPartyVc func(childComplexity int, did string, mediaType string) int QueryUserAPDataSetList func(childComplexity int, userDid string, dataSetName string, status string, page int64, size int64, labels model.LabelsInfo) int QueryUserBasicInfo func(childComplexity int, userDid string) int QueryUserDPDataSetList func(childComplexity int, userDid string, dataSetName string, status string, page int64, size int64, labels model.LabelsInfo) int QueryUserKycInfo func(childComplexity int, did string) int QueryUserLatestAPInfo func(childComplexity int, userDid string) int QueryUserLatestDPInfo func(childComplexity int, userDid string) int QueryUserPublishedAp func(childComplexity int, userDid string) int QueryUserPublishedDp func(childComplexity int, userDid string) int QueryUserSNSBinding func(childComplexity int, callerDid string, address string, encrypt bool) int RequestChanllenge func(childComplexity int, input *model.ClientHello) int } SNSBindingData struct { BrightID func(childComplexity int) int Facebook func(childComplexity int) int Github func(childComplexity int) int Linkedin func(childComplexity int) int ShuftiPro func(childComplexity int) int Tweeter func(childComplexity int) int } SNSBindingDataWithSig struct { Data func(childComplexity int) int Sig func(childComplexity int) int } SNSBindingResp struct { Data func(childComplexity int) int Encrypted func(childComplexity int) int } ServerHello struct { Alg func(childComplexity int) int Chain func(childComplexity int) int Nonce func(childComplexity int) int Server func(childComplexity int) int Type func(childComplexity int) int VcFilters func(childComplexity int) int Ver func(childComplexity int) int } ServerInfo struct { Did func(childComplexity int) int Icon func(childComplexity int) int Name func(childComplexity int) int URL func(childComplexity int) int VerificationMethod func(childComplexity int) int } SigResp struct { Hash func(childComplexity int) int Sig func(childComplexity int) int } StrategyResult struct { Address func(childComplexity int) int Score func(childComplexity int) int } ThirdPartyVcStatus struct { MediaType func(childComplexity int) int Status func(childComplexity int) int } UserAddressInfo struct { Address func(childComplexity int) int Chain func(childComplexity int) int CreateTime func(childComplexity int) int Visible func(childComplexity int) int } UserAsset struct { Balance func(childComplexity int) int Chain func(childComplexity int) int Icon func(childComplexity int) int Name func(childComplexity int) int Price func(childComplexity int) int TokenAddress func(childComplexity int) int Value func(childComplexity int) int } UserBasicInfo struct { Avatar func(childComplexity int) int Did func(childComplexity int) int Email func(childComplexity int) int NickName func(childComplexity int) int } UserBasicInfoResp struct { Credentials func(childComplexity int) int DatasetPublished func(childComplexity int) int ModelPublished func(childComplexity int) int Nfts func(childComplexity int) int Verifications func(childComplexity int) int WalletAddress func(childComplexity int) int } UserClaimedNft struct { ApDid func(childComplexity int) int ApMethod func(childComplexity int) int ApMethodTitle func(childComplexity int) int ApTitle func(childComplexity int) int Chain func(childComplexity int) int ClaimTime func(childComplexity int) int ContractAddress func(childComplexity int) int Description func(childComplexity int) int DpDid func(childComplexity int) int DpMethod func(childComplexity int) int DpMethodTitle func(childComplexity int) int DpTitle func(childComplexity int) int Image func(childComplexity int) int IsExpired func(childComplexity int) int IssueBy func(childComplexity int) int LowestScore func(childComplexity int) int Name func(childComplexity int) int NftScore func(childComplexity int) int NftType func(childComplexity int) int Owner func(childComplexity int) int Score func(childComplexity int) int TokenID func(childComplexity int) int TxHash func(childComplexity int) int ValidDays func(childComplexity int) int ValidTo func(childComplexity int) int } UserClaimedNFTResp struct { Count func(childComplexity int) int Records func(childComplexity int) int } UserCredential struct { ApMethodName func(childComplexity int) int ApName func(childComplexity int) int CreateTime func(childComplexity int) int DpMethodName func(childComplexity int) int DpName func(childComplexity int) int Score func(childComplexity int) int ValidTo func(childComplexity int) int } UserCredentials struct { Data func(childComplexity int) int TotalCount func(childComplexity int) int } UserLatestOscore struct { ApDid func(childComplexity int) int CreateTime func(childComplexity int) int DpDid func(childComplexity int) int Oscore func(childComplexity int) int } UserTasks struct { ApDid func(childComplexity int) int ApIcon func(childComplexity int) int ApMethod func(childComplexity int) int ApMethodName func(childComplexity int) int ApName func(childComplexity int) int CreateTime func(childComplexity int) int DpDid func(childComplexity int) int DpIcon func(childComplexity int) int DpMethod func(childComplexity int) int DpMethodName func(childComplexity int) int DpName func(childComplexity int) int InvolvedAddresses func(childComplexity int) int IssueTxhash func(childComplexity int) int NftType func(childComplexity int) int ResultFile func(childComplexity int) int TaskID func(childComplexity int) int TaskResult func(childComplexity int) int TaskStatus func(childComplexity int) int UpdateTime func(childComplexity int) int UserDid func(childComplexity int) int ValidTo func(childComplexity int) int } VCFilter struct { Express func(childComplexity int) int Required func(childComplexity int) int TrustRoots func(childComplexity int) int Type func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type MutationResolver interface { SubmitChanllenge(ctx context.Context, input model.ClientResponse) (string, error) Login(ctx context.Context, input model.Login) (string, error) RefreshToken(ctx context.Context, input model.RefreshTokenInput) (string, error) BindAddress(ctx context.Context, input model.BindAddress) (string, error) UnbindAddress(ctx context.Context, input model.UnBindAddress) (string, error) AddTask(ctx context.Context, input model.AddTask, overwrite bool) (int64, error) ChangeAddressVisible(ctx context.Context, userDid string, chain string, address string, visible bool) (bool, error) RequestEmailVCode(ctx context.Context, did string, email string) (bool, error) AddUserBasicInfo(ctx context.Context, input model.AddUserBasicInfoReq) (bool, error) UpdateUserBasicInfo(ctx context.Context, input *model.UpdateUserBasicInfoReq) (bool, error) UpdateApplicationInfo(ctx context.Context, input *model.ApplicationInfoReq) (bool, error) EditNickNameBasicInfo(ctx context.Context, did string, nickName string) (bool, error) EditEmailAddrBasicInfo(ctx context.Context, did string, email string, verifyCode string) (bool, error) EditAppNameAppInfo(ctx context.Context, did string, appName string) (bool, error) EditWebsiteAppInfo(ctx context.Context, did string, website string) (bool, error) RequestOscore(ctx context.Context, input *model.RequestOscoreReq) (int64, error) AddNewOuterTask(ctx context.Context, input model.AddNewOuterTaskReq) (int64, error) SaveThirdPartyVc(ctx context.Context, did string, mediaType string, credential string) (bool, error) UnBindThirdParty(ctx context.Context, did string, mediaType string) (bool, error) SaveUserKycInfo(ctx context.Context, did string, kyc string) (bool, error) ClaimNft(ctx context.Context, did string, chain string, nftType int64) (*model.ClaimNFTResponse, error) SubmitClaimTxInfo(ctx context.Context, did string, chain string, addr string, nftType int64, txhash string) (bool, error) SaveDPInfo(ctx context.Context, userDid string, input *model.SubmitDpInfo) (bool, error) SubmitDPInfo(ctx context.Context, userDid string, input *model.SubmitDpInfo) (bool, error) RevokeDPInfo(ctx context.Context, userDid string, dpInfoID int64) (bool, error) UploadAvatar(ctx context.Context, file graphql.Upload) (string, error) SaveDPDataSet(ctx context.Context, userDid string, input *model.DpDataSetInfo) (bool, error) PublishDPDataSet(ctx context.Context, userDid string, input *model.DpDataSetInfo) (bool, error) RevokeDPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) DeleteDPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) RevokePublishedDPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) SaveAPInfo(ctx context.Context, userDid string, input *model.SubmitApInfo) (bool, error) SubmitAPInfo(ctx context.Context, userDid string, input *model.SubmitApInfo) (bool, error) RevokeAPInfo(ctx context.Context, userDid string, apInfoID int64) (bool, error) SaveAPDataSet(ctx context.Context, userDid string, input *model.ApDataSetInfo) (bool, error) PublishAPDataSet(ctx context.Context, userDid string, input *model.ApDataSetInfo) (bool, error) RevokeAPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) DeleteAPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) RevokePublishedAPDataSet(ctx context.Context, userDid string, dataSetID int64) (bool, error) }
type QueryResolver ¶
type QueryResolver interface { GetAllAlgorithmProviders(ctx context.Context, first *int64, skip *int64, where *model.AlgorithmProviderWhere, orderBy *string, orderDirection *string) (*model.GetAllAlgorithmProvidersResp, error) GetAllDataProviders(ctx context.Context, first *int64, skip *int64, where *model.DataProviderWhere, orderBy *string, orderDirection *string) (*model.GetAllDataProviders, error) GetDataProvidersByAp(ctx context.Context, did string, method string) ([]*model.DPAndMethod, error) GetUserAssetBalance(ctx context.Context, did string) ([]*model.UserAsset, error) GetUserTotalValue(ctx context.Context, did string) (string, error) GetTokenPrice(ctx context.Context, input model.TokenPrice) (string, error) GetUserBindAddressInfo(ctx context.Context, input string) ([]*model.UserAddressInfo, error) GetUserVisibleBindAddressInfo(ctx context.Context, input string) ([]*model.UserAddressInfo, error) GetUserTasks(ctx context.Context, first *int64, skip *int64, where *model.GetUserTasksWhere, orderBy *string, orderDirection *string) (*model.GetUserTasksResp, error) QueryTaskExist(ctx context.Context, input *model.AddTask) (bool, error) GetLatestOscore(ctx context.Context, did string) (*model.UserLatestOscore, error) GetAlgorithmMethods(ctx context.Context, did string) ([]*model.ProviderMethod, error) GetDataMethods(ctx context.Context, did string) ([]*model.ProviderMethod, error) GetAlgorithmProvider(ctx context.Context, did string) (*model.AlgorithmProvider, error) GetDataProvider(ctx context.Context, did string) (*model.DataProvider, error) GetUserTask(ctx context.Context, key string, taskID int64) (*model.UserTasks, error) GetAlgorithmProviderMethod(ctx context.Context, did string, name string) (*model.ProviderMethod, error) GetDataProviderMethod(ctx context.Context, did string, name string) (*model.ProviderMethod, error) GetUserGenNFTCount(ctx context.Context, did string) (*model.GenNFTCountResp, error) GetUserGenReputationCount(ctx context.Context, did string) (*model.GenReputationCountResp, error) GetUserCredentials(ctx context.Context, first *int64, skip *int64, where model.UserCredntialWhere, orderBy *string, orderDirection *string) (*model.UserCredentials, error) GetAllDataProviderMethod(ctx context.Context, first *int64, skip *int64, where *model.DataProviderMethodWhere, orderBy *string, orderDirection *string, labels model.LabelsInfo) (*model.GetAllDataProviderMethodsResp, error) GetAllAlgorithmProviderMethod(ctx context.Context, first *int64, skip *int64, where *model.AlgorithmProviderMethodWhere, orderBy *string, orderDirection *string, labels model.LabelsInfo) (*model.GetAllAlgorithmProviderMethodsResp, error) GetCompositeDpInfo(ctx context.Context, did string, method string) ([]*model.MethodInfo, error) GetAllAPInfo(ctx context.Context) ([]*model.MethodInfo, error) GetBasedVotingStrategy(ctx context.Context, addrs []string, space string, snapshot string, network string, options *model.SnapShotOptions) ([]*model.StrategyResult, error) GetUserBasicInfo(ctx context.Context, did string) (*model.UserBasicInfo, error) GetApplicationInfo(ctx context.Context, did string) (*model.ApplicationInfo, error) QueryOuterTask(ctx context.Context, input *model.OuterTaskReq) (*model.UserTasks, error) RequestChanllenge(ctx context.Context, input *model.ClientHello) (*model.ServerHello, error) QueryThirdPartyVc(ctx context.Context, did string, mediaType string) (string, error) QueryAllThirdPartyVcStatus(ctx context.Context, did string) ([]*model.ThirdPartyVcStatus, error) QueryUserKycInfo(ctx context.Context, did string) (string, error) QueryUserPublishedDp(ctx context.Context, userDid string) (*model.DpInfoRes, error) QueryUserLatestDPInfo(ctx context.Context, userDid string) (*model.DpInfoRes, error) QueryDPDataSetInfo(ctx context.Context, userDid string, dataSetID int64) (*model.DpDataSetRes, error) QueryUserDPDataSetList(ctx context.Context, userDid string, dataSetName string, status string, page int64, size int64, labels model.LabelsInfo) (*model.DPDataSetList, error) QueryDPLabels(ctx context.Context) (*model.LabelsInfos, error) QuerySig(ctx context.Context, addr string, nftType int64, score int64) (*model.SigResp, error) GetClaimNFTRecords(ctx context.Context, first *int64, skip *int64, where *model.ClaimNFTWhere, orderBy *string, orderDirection *string) (*model.ClaimNFTRecordsResp, error) GetNFTSettings(ctx context.Context, first *int64, skip *int64, where *model.NFTSettingWhere, orderBy *string, orderDirection *string) (*model.NFTSettingResp, error) GetUserClaimedNft(ctx context.Context, first *int64, skip *int64, where *model.UserClaimedNFTWhere, orderBy *string, orderDirection *string) (*model.UserClaimedNFTResp, error) GetNFTClaimedCount(ctx context.Context, nftType int64, userDid string) (*model.NFTClaimedCountResp, error) QueryUserPublishedAp(ctx context.Context, userDid string) (*model.ApInfoRes, error) QueryUserLatestAPInfo(ctx context.Context, userDid string) (*model.ApInfoRes, error) QueryAPDataSetInfo(ctx context.Context, userDid string, dataSetID int64) (*model.ApDataSetRes, error) QueryUserAPDataSetList(ctx context.Context, userDid string, dataSetName string, status string, page int64, size int64, labels model.LabelsInfo) (*model.APDataSetList, error) QueryAPLabels(ctx context.Context) (*model.LabelsInfos, error) QueryUserSNSBinding(ctx context.Context, callerDid string, address string, encrypt bool) (*model.SNSBindingResp, error) QueryUserBasicInfo(ctx context.Context, userDid string) (*model.UserBasicInfoResp, error) }
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.