~james/core

core/api/org_tangled/graphvouch.go -rw-r--r-- 1.0 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 16 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.graph.vouch

import (
	comatprototypes "github.com/bluesky-social/indigo/api/atproto"
	"github.com/bluesky-social/indigo/lex/util"
)

const (
	GraphVouchNSID = "org.tangled.graph.vouch"
)

func init() {
	util.RegisterType("org.tangled.graph.vouch", &GraphVouch{})
} //
// RECORDTYPE: GraphVouch
type GraphVouch struct {
	LexiconTypeID string `json:"$type,const=org.tangled.graph.vouch" cborgen:"$type,const=org.tangled.graph.vouch"`
	CreatedAt     string `json:"createdAt" cborgen:"createdAt"`
	// evidences: Optional list of ATURIs serving as evidence for this vouch (ex. issues, PRs)
	Evidences []*comatprototypes.RepoStrongRef `json:"evidences,omitempty" cborgen:"evidences,omitempty"`
	// kind: Whether this user is being vouched for or denounced
	Kind string `json:"kind" cborgen:"kind"`
	// reason: The reason for this vouch/denouncement
	Reason *string `json:"reason,omitempty" cborgen:"reason,omitempty"`
}