regen sqlc cross-package models for rate_limits tables
- SHA
d2d96f33df6b649167c289b3d76972cd4584c4b1- Parents
-
08db487 - Tree
1f9489c
d2d96f3
d2d96f33df6b649167c289b3d76972cd4584c4b108db487
1f9489c| Status | File | + | - |
|---|---|---|---|
| M |
internal/admin/sqlc/models.go
|
13 | 0 |
| M |
internal/auth/policy/sqlc/models.go
|
13 | 0 |
| M |
internal/checks/sqlc/models.go
|
13 | 0 |
| M |
internal/issues/sqlc/models.go
|
13 | 0 |
| M |
internal/meta/sqlc/models.go
|
13 | 0 |
| M |
internal/notif/sqlc/models.go
|
13 | 0 |
| M |
internal/orgs/sqlc/models.go
|
13 | 0 |
| M |
internal/pulls/sqlc/models.go
|
13 | 0 |
| M |
internal/repos/sqlc/models.go
|
13 | 0 |
| M |
internal/social/sqlc/models.go
|
13 | 0 |
| M |
internal/users/sqlc/models.go
|
13 | 0 |
| M |
internal/webhook/sqlc/models.go
|
13 | 0 |
| M |
internal/worker/sqlc/models.go
|
13 | 0 |
internal/admin/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/auth/policy/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/checks/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/issues/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/meta/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/notif/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/orgs/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/pulls/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/repos/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/users/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/webhook/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |
internal/worker/sqlc/models.gomodified@@ -1685,6 +1685,13 @@ type PushEvent struct { | ||
| 1685 | 1685 | CreatedAt pgtype.Timestamptz |
| 1686 | 1686 | } |
| 1687 | 1687 | |
| 1688 | +type RateLimit struct { | |
| 1689 | + Scope string | |
| 1690 | + Key string | |
| 1691 | + Hits int32 | |
| 1692 | + WindowStartedAt pgtype.Timestamptz | |
| 1693 | +} | |
| 1694 | + | |
| 1688 | 1695 | type Repo struct { |
| 1689 | 1696 | ID int64 |
| 1690 | 1697 | OwnerUserID pgtype.Int8 |
@@ -1763,6 +1770,12 @@ type ReposSearch struct { | ||
| 1763 | 1770 | Tsv interface{} |
| 1764 | 1771 | } |
| 1765 | 1772 | |
| 1773 | +type SignupIpThrottle struct { | |
| 1774 | + Cidr netip.Addr | |
| 1775 | + Hits int32 | |
| 1776 | + WindowStartedAt pgtype.Timestamptz | |
| 1777 | +} | |
| 1778 | + | |
| 1766 | 1779 | type Star struct { |
| 1767 | 1780 | UserID int64 |
| 1768 | 1781 | RepoID int64 |