model

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 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 ActivitiesMetadataQuery

type ActivitiesMetadataQuery struct {
	Network        *network.Network
	Platform       *decentralized.Platform
	Tag            *tag.Tag
	Type           *schema.Type
	Accounts       []string
	Cursor         *activityx.Activity
	Status         *bool
	StartTimestamp *uint64
	EndTimestamp   *uint64
	Limit          int
	ActionLimit    int
	Metadata       *metadata.Metadata
}

type ActivitiesQuery

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      []string
	Distinct       *bool
	RelatedActions *bool
	Limit          int
	ActionLimit    int
}

type ActivityQuery

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

type BlueskyProfile

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

type ENSNamehash

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

type MastodonHandle

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

type PaginatedMastodonHandles

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 QueryBlueskyProfiles

type QueryBlueskyProfiles struct {
	Since   *uint64
	Limit   *int
	Cursor  *string
	Handles []string
}

type QueryMastodonHandles

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