model

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivitiesQuery added in v0.4.13

type ActivitiesQuery struct {
	Owner          *string
	Cursor         *activityx.Activity
	Status         *bool
	Direction      *activityx.Direction
	StartTimestamp *uint64
	EndTimestamp   *uint64
	Platform       string
	Owners         []string
	Network        []network.Network
	Tags           []tag.Tag
	Types          []schema.Type
	Platforms      []decentralized.Platform
	Distinct       *bool
	RelatedActions *bool
	Limit          int
	ActionLimit    int
}

type ActivityQuery added in v0.4.13

type ActivityQuery struct {
	ID          *string
	Network     *network.Network
	Owner       *string
	ActionLimit int
	ActionPage  int
}

type ENSNamehash

type ENSNamehash struct {
	Hash common.Hash `json:"hash"` // Hexadecimal hash bytes
	Name string      `json:"name"` // ENS name, *.eth
}

type ENSNamehashTransformer

type ENSNamehashTransformer interface {
	Import(namehash *ENSNamehash) error
	Export() (*ENSNamehash, error)
}

type FederatedActivitiesQuery added in v1.1.0

type FederatedActivitiesQuery struct {
	Owner          *string
	Cursor         *activityx.Activity
	Status         *bool
	Direction      *activityx.Direction
	StartTimestamp *uint64
	EndTimestamp   *uint64
	Platform       string
	Owners         []string
	Network        []network.Network
	Tags           []tag.Tag
	Types          []schema.Type
	Platforms      []federated.Platform
	Distinct       *bool
	RelatedActions *bool
	Limit          int
	ActionLimit    int
}

type MastodonHandle added in v1.1.0

type MastodonHandle struct {
	Handle    string    `json:"handle"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"updated_at"`
}

type MastodonHandleTransformer added in v1.1.0

type MastodonHandleTransformer interface {
	Import(handle *MastodonHandle) error
	Export() (*MastodonHandle, error)
}

type PaginatedMastodonHandles added in v1.1.0

type PaginatedMastodonHandles struct {
	Handles    []string
	TotalCount int64
	NextCursor string
}

type Profile

type Profile struct {
	Fid            int64    `json:"fid"`             // Farcaster ID
	Username       string   `json:"username"`        // Farcaster username
	CustodyAddress string   `json:"custody_address"` // Farcaster custody address
	EthAddresses   []string `json:"eth_addresses"`   // Farcaster account bound evm addresses
}

type ProfileTransformer

type ProfileTransformer interface {
	Import(profile *Profile) error
	Export() (*Profile, error)
}

type QueryMastodonHandles added in v1.1.0

type QueryMastodonHandles struct {
	Since  *uint64
	Limit  *int
	Cursor *string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL