~james/core

core/api/org_tangled/reviewpatch.go -rw-r--r-- 1.0 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 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
30
31
32
33
// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.

package org_tangled

// schema: org.tangled.review.patch

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

const (
	ReviewPatchNSID = "org.tangled.review.patch"
)

func init() {
	util.RegisterType("org.tangled.review.patch", &ReviewPatch{})
} //
// RECORDTYPE: ReviewPatch
type ReviewPatch struct {
	LexiconTypeID string              `json:"$type,const=org.tangled.review.patch" cborgen:"$type,const=org.tangled.review.patch"`
	Base          *GitOid             `json:"base" cborgen:"base"`
	CreatedAt     string              `json:"createdAt" cborgen:"createdAt"`
	Head          *GitOid             `json:"head" cborgen:"head"`
	Source        *ReviewPatch_Source `json:"source,omitempty" cborgen:"source,omitempty"`
	// ticket: ticket-id
	Ticket string `json:"ticket" cborgen:"ticket"`
}

// ReviewPatch_Source is a "source" in the org.tangled.review.patch schema.
type ReviewPatch_Source struct {
	Branch string `json:"branch" cborgen:"branch"`
	Repo   string `json:"repo" cborgen:"repo"`
}