@longdotxyz/shared 0.0.152 → 0.0.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4567,10 +4567,816 @@ export declare const rootContract: {
4567
4567
  }>, Record<never, never>, Record<never, never>>;
4568
4568
  };
4569
4569
  builders: {
4570
- register: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
4570
+ register: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
4571
+ referral_code: import("zod").ZodOptional<import("zod").ZodString>;
4572
+ }, "strip", import("zod").ZodTypeAny, {
4573
+ referral_code?: string | undefined;
4574
+ }, {
4575
+ referral_code?: string | undefined;
4576
+ }>, import("zod").ZodObject<{
4571
4577
  result: import("zod").ZodObject<{
4572
4578
  id: import("zod").ZodString;
4573
- auth_user_id: import("zod").ZodString;
4579
+ auth_user_id: import("zod").ZodString;
4580
+ wallet_address: import("zod").ZodNullable<import("zod").ZodString>;
4581
+ github_username: import("zod").ZodNullable<import("zod").ZodString>;
4582
+ x_username: import("zod").ZodNullable<import("zod").ZodString>;
4583
+ is_validated: import("zod").ZodBoolean;
4584
+ github_data: import("zod").ZodNullable<import("zod").ZodObject<{
4585
+ username: import("zod").ZodString;
4586
+ user: import("zod").ZodObject<{
4587
+ createdAt: import("zod").ZodString;
4588
+ bio: import("zod").ZodNullable<import("zod").ZodString>;
4589
+ websiteUrl: import("zod").ZodNullable<import("zod").ZodString>;
4590
+ followers: import("zod").ZodObject<{
4591
+ totalCount: import("zod").ZodNumber;
4592
+ }, "strip", import("zod").ZodTypeAny, {
4593
+ totalCount: number;
4594
+ }, {
4595
+ totalCount: number;
4596
+ }>;
4597
+ repositories: import("zod").ZodObject<{
4598
+ totalCount: import("zod").ZodNumber;
4599
+ nodes: import("zod").ZodArray<import("zod").ZodObject<{
4600
+ stargazerCount: import("zod").ZodNumber;
4601
+ forkCount: import("zod").ZodNumber;
4602
+ isFork: import("zod").ZodBoolean;
4603
+ primaryLanguage: import("zod").ZodNullable<import("zod").ZodObject<{
4604
+ name: import("zod").ZodString;
4605
+ }, "strip", import("zod").ZodTypeAny, {
4606
+ name: string;
4607
+ }, {
4608
+ name: string;
4609
+ }>>;
4610
+ pushedAt: import("zod").ZodNullable<import("zod").ZodString>;
4611
+ }, "strip", import("zod").ZodTypeAny, {
4612
+ stargazerCount: number;
4613
+ forkCount: number;
4614
+ isFork: boolean;
4615
+ primaryLanguage: {
4616
+ name: string;
4617
+ } | null;
4618
+ pushedAt: string | null;
4619
+ }, {
4620
+ stargazerCount: number;
4621
+ forkCount: number;
4622
+ isFork: boolean;
4623
+ primaryLanguage: {
4624
+ name: string;
4625
+ } | null;
4626
+ pushedAt: string | null;
4627
+ }>, "many">;
4628
+ pageInfo: import("zod").ZodObject<{
4629
+ hasNextPage: import("zod").ZodBoolean;
4630
+ endCursor: import("zod").ZodNullable<import("zod").ZodString>;
4631
+ }, "strip", import("zod").ZodTypeAny, {
4632
+ hasNextPage: boolean;
4633
+ endCursor: string | null;
4634
+ }, {
4635
+ hasNextPage: boolean;
4636
+ endCursor: string | null;
4637
+ }>;
4638
+ }, "strip", import("zod").ZodTypeAny, {
4639
+ totalCount: number;
4640
+ nodes: {
4641
+ stargazerCount: number;
4642
+ forkCount: number;
4643
+ isFork: boolean;
4644
+ primaryLanguage: {
4645
+ name: string;
4646
+ } | null;
4647
+ pushedAt: string | null;
4648
+ }[];
4649
+ pageInfo: {
4650
+ hasNextPage: boolean;
4651
+ endCursor: string | null;
4652
+ };
4653
+ }, {
4654
+ totalCount: number;
4655
+ nodes: {
4656
+ stargazerCount: number;
4657
+ forkCount: number;
4658
+ isFork: boolean;
4659
+ primaryLanguage: {
4660
+ name: string;
4661
+ } | null;
4662
+ pushedAt: string | null;
4663
+ }[];
4664
+ pageInfo: {
4665
+ hasNextPage: boolean;
4666
+ endCursor: string | null;
4667
+ };
4668
+ }>;
4669
+ contributionsCollection: import("zod").ZodObject<{
4670
+ totalCommitContributions: import("zod").ZodNumber;
4671
+ totalPullRequestContributions: import("zod").ZodNumber;
4672
+ totalPullRequestReviewContributions: import("zod").ZodNumber;
4673
+ totalIssueContributions: import("zod").ZodNumber;
4674
+ contributionCalendar: import("zod").ZodObject<{
4675
+ totalContributions: import("zod").ZodNumber;
4676
+ }, "strip", import("zod").ZodTypeAny, {
4677
+ totalContributions: number;
4678
+ }, {
4679
+ totalContributions: number;
4680
+ }>;
4681
+ }, "strip", import("zod").ZodTypeAny, {
4682
+ totalCommitContributions: number;
4683
+ totalPullRequestContributions: number;
4684
+ totalPullRequestReviewContributions: number;
4685
+ totalIssueContributions: number;
4686
+ contributionCalendar: {
4687
+ totalContributions: number;
4688
+ };
4689
+ }, {
4690
+ totalCommitContributions: number;
4691
+ totalPullRequestContributions: number;
4692
+ totalPullRequestReviewContributions: number;
4693
+ totalIssueContributions: number;
4694
+ contributionCalendar: {
4695
+ totalContributions: number;
4696
+ };
4697
+ }>;
4698
+ }, "strip", import("zod").ZodTypeAny, {
4699
+ createdAt: string;
4700
+ bio: string | null;
4701
+ websiteUrl: string | null;
4702
+ followers: {
4703
+ totalCount: number;
4704
+ };
4705
+ repositories: {
4706
+ totalCount: number;
4707
+ nodes: {
4708
+ stargazerCount: number;
4709
+ forkCount: number;
4710
+ isFork: boolean;
4711
+ primaryLanguage: {
4712
+ name: string;
4713
+ } | null;
4714
+ pushedAt: string | null;
4715
+ }[];
4716
+ pageInfo: {
4717
+ hasNextPage: boolean;
4718
+ endCursor: string | null;
4719
+ };
4720
+ };
4721
+ contributionsCollection: {
4722
+ totalCommitContributions: number;
4723
+ totalPullRequestContributions: number;
4724
+ totalPullRequestReviewContributions: number;
4725
+ totalIssueContributions: number;
4726
+ contributionCalendar: {
4727
+ totalContributions: number;
4728
+ };
4729
+ };
4730
+ }, {
4731
+ createdAt: string;
4732
+ bio: string | null;
4733
+ websiteUrl: string | null;
4734
+ followers: {
4735
+ totalCount: number;
4736
+ };
4737
+ repositories: {
4738
+ totalCount: number;
4739
+ nodes: {
4740
+ stargazerCount: number;
4741
+ forkCount: number;
4742
+ isFork: boolean;
4743
+ primaryLanguage: {
4744
+ name: string;
4745
+ } | null;
4746
+ pushedAt: string | null;
4747
+ }[];
4748
+ pageInfo: {
4749
+ hasNextPage: boolean;
4750
+ endCursor: string | null;
4751
+ };
4752
+ };
4753
+ contributionsCollection: {
4754
+ totalCommitContributions: number;
4755
+ totalPullRequestContributions: number;
4756
+ totalPullRequestReviewContributions: number;
4757
+ totalIssueContributions: number;
4758
+ contributionCalendar: {
4759
+ totalContributions: number;
4760
+ };
4761
+ };
4762
+ }>;
4763
+ search: import("zod").ZodObject<{
4764
+ merged: import("zod").ZodObject<{
4765
+ issueCount: import("zod").ZodNumber;
4766
+ }, "strip", import("zod").ZodTypeAny, {
4767
+ issueCount: number;
4768
+ }, {
4769
+ issueCount: number;
4770
+ }>;
4771
+ externalMerged: import("zod").ZodObject<{
4772
+ issueCount: import("zod").ZodNumber;
4773
+ }, "strip", import("zod").ZodTypeAny, {
4774
+ issueCount: number;
4775
+ }, {
4776
+ issueCount: number;
4777
+ }>;
4778
+ reviews: import("zod").ZodObject<{
4779
+ issueCount: import("zod").ZodNumber;
4780
+ }, "strip", import("zod").ZodTypeAny, {
4781
+ issueCount: number;
4782
+ }, {
4783
+ issueCount: number;
4784
+ }>;
4785
+ issues: import("zod").ZodObject<{
4786
+ issueCount: import("zod").ZodNumber;
4787
+ }, "strip", import("zod").ZodTypeAny, {
4788
+ issueCount: number;
4789
+ }, {
4790
+ issueCount: number;
4791
+ }>;
4792
+ }, "strip", import("zod").ZodTypeAny, {
4793
+ issues: {
4794
+ issueCount: number;
4795
+ };
4796
+ merged: {
4797
+ issueCount: number;
4798
+ };
4799
+ externalMerged: {
4800
+ issueCount: number;
4801
+ };
4802
+ reviews: {
4803
+ issueCount: number;
4804
+ };
4805
+ }, {
4806
+ issues: {
4807
+ issueCount: number;
4808
+ };
4809
+ merged: {
4810
+ issueCount: number;
4811
+ };
4812
+ externalMerged: {
4813
+ issueCount: number;
4814
+ };
4815
+ reviews: {
4816
+ issueCount: number;
4817
+ };
4818
+ }>;
4819
+ fetchedAt: import("zod").ZodString;
4820
+ }, "strip", import("zod").ZodTypeAny, {
4821
+ username: string;
4822
+ user: {
4823
+ createdAt: string;
4824
+ bio: string | null;
4825
+ websiteUrl: string | null;
4826
+ followers: {
4827
+ totalCount: number;
4828
+ };
4829
+ repositories: {
4830
+ totalCount: number;
4831
+ nodes: {
4832
+ stargazerCount: number;
4833
+ forkCount: number;
4834
+ isFork: boolean;
4835
+ primaryLanguage: {
4836
+ name: string;
4837
+ } | null;
4838
+ pushedAt: string | null;
4839
+ }[];
4840
+ pageInfo: {
4841
+ hasNextPage: boolean;
4842
+ endCursor: string | null;
4843
+ };
4844
+ };
4845
+ contributionsCollection: {
4846
+ totalCommitContributions: number;
4847
+ totalPullRequestContributions: number;
4848
+ totalPullRequestReviewContributions: number;
4849
+ totalIssueContributions: number;
4850
+ contributionCalendar: {
4851
+ totalContributions: number;
4852
+ };
4853
+ };
4854
+ };
4855
+ search: {
4856
+ issues: {
4857
+ issueCount: number;
4858
+ };
4859
+ merged: {
4860
+ issueCount: number;
4861
+ };
4862
+ externalMerged: {
4863
+ issueCount: number;
4864
+ };
4865
+ reviews: {
4866
+ issueCount: number;
4867
+ };
4868
+ };
4869
+ fetchedAt: string;
4870
+ }, {
4871
+ username: string;
4872
+ user: {
4873
+ createdAt: string;
4874
+ bio: string | null;
4875
+ websiteUrl: string | null;
4876
+ followers: {
4877
+ totalCount: number;
4878
+ };
4879
+ repositories: {
4880
+ totalCount: number;
4881
+ nodes: {
4882
+ stargazerCount: number;
4883
+ forkCount: number;
4884
+ isFork: boolean;
4885
+ primaryLanguage: {
4886
+ name: string;
4887
+ } | null;
4888
+ pushedAt: string | null;
4889
+ }[];
4890
+ pageInfo: {
4891
+ hasNextPage: boolean;
4892
+ endCursor: string | null;
4893
+ };
4894
+ };
4895
+ contributionsCollection: {
4896
+ totalCommitContributions: number;
4897
+ totalPullRequestContributions: number;
4898
+ totalPullRequestReviewContributions: number;
4899
+ totalIssueContributions: number;
4900
+ contributionCalendar: {
4901
+ totalContributions: number;
4902
+ };
4903
+ };
4904
+ };
4905
+ search: {
4906
+ issues: {
4907
+ issueCount: number;
4908
+ };
4909
+ merged: {
4910
+ issueCount: number;
4911
+ };
4912
+ externalMerged: {
4913
+ issueCount: number;
4914
+ };
4915
+ reviews: {
4916
+ issueCount: number;
4917
+ };
4918
+ };
4919
+ fetchedAt: string;
4920
+ }>>;
4921
+ x_data: import("zod").ZodNullable<import("zod").ZodObject<{
4922
+ user: import("zod").ZodObject<{
4923
+ id: import("zod").ZodString;
4924
+ username: import("zod").ZodString;
4925
+ name: import("zod").ZodString;
4926
+ verified: import("zod").ZodBoolean;
4927
+ verified_type: import("zod").ZodOptional<import("zod").ZodString>;
4928
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
4929
+ protected: import("zod").ZodBoolean;
4930
+ profile_image_url: import("zod").ZodOptional<import("zod").ZodString>;
4931
+ public_metrics: import("zod").ZodOptional<import("zod").ZodObject<{
4932
+ followers_count: import("zod").ZodNumber;
4933
+ following_count: import("zod").ZodNumber;
4934
+ tweet_count: import("zod").ZodNumber;
4935
+ listed_count: import("zod").ZodNumber;
4936
+ like_count: import("zod").ZodOptional<import("zod").ZodNumber>;
4937
+ }, "strip", import("zod").ZodTypeAny, {
4938
+ followers_count: number;
4939
+ following_count: number;
4940
+ tweet_count: number;
4941
+ listed_count: number;
4942
+ like_count?: number | undefined;
4943
+ }, {
4944
+ followers_count: number;
4945
+ following_count: number;
4946
+ tweet_count: number;
4947
+ listed_count: number;
4948
+ like_count?: number | undefined;
4949
+ }>>;
4950
+ }, "strip", import("zod").ZodTypeAny, {
4951
+ id: string;
4952
+ name: string;
4953
+ username: string;
4954
+ verified: boolean;
4955
+ protected: boolean;
4956
+ created_at?: string | undefined;
4957
+ verified_type?: string | undefined;
4958
+ profile_image_url?: string | undefined;
4959
+ public_metrics?: {
4960
+ followers_count: number;
4961
+ following_count: number;
4962
+ tweet_count: number;
4963
+ listed_count: number;
4964
+ like_count?: number | undefined;
4965
+ } | undefined;
4966
+ }, {
4967
+ id: string;
4968
+ name: string;
4969
+ username: string;
4970
+ verified: boolean;
4971
+ protected: boolean;
4972
+ created_at?: string | undefined;
4973
+ verified_type?: string | undefined;
4974
+ profile_image_url?: string | undefined;
4975
+ public_metrics?: {
4976
+ followers_count: number;
4977
+ following_count: number;
4978
+ tweet_count: number;
4979
+ listed_count: number;
4980
+ like_count?: number | undefined;
4981
+ } | undefined;
4982
+ }>;
4983
+ fetchedAt: import("zod").ZodString;
4984
+ }, "strip", import("zod").ZodTypeAny, {
4985
+ user: {
4986
+ id: string;
4987
+ name: string;
4988
+ username: string;
4989
+ verified: boolean;
4990
+ protected: boolean;
4991
+ created_at?: string | undefined;
4992
+ verified_type?: string | undefined;
4993
+ profile_image_url?: string | undefined;
4994
+ public_metrics?: {
4995
+ followers_count: number;
4996
+ following_count: number;
4997
+ tweet_count: number;
4998
+ listed_count: number;
4999
+ like_count?: number | undefined;
5000
+ } | undefined;
5001
+ };
5002
+ fetchedAt: string;
5003
+ }, {
5004
+ user: {
5005
+ id: string;
5006
+ name: string;
5007
+ username: string;
5008
+ verified: boolean;
5009
+ protected: boolean;
5010
+ created_at?: string | undefined;
5011
+ verified_type?: string | undefined;
5012
+ profile_image_url?: string | undefined;
5013
+ public_metrics?: {
5014
+ followers_count: number;
5015
+ following_count: number;
5016
+ tweet_count: number;
5017
+ listed_count: number;
5018
+ like_count?: number | undefined;
5019
+ } | undefined;
5020
+ };
5021
+ fetchedAt: string;
5022
+ }>>;
5023
+ referral_code: import("zod").ZodString;
5024
+ created_at: import("zod").ZodString;
5025
+ updated_at: import("zod").ZodString;
5026
+ }, "strip", import("zod").ZodTypeAny, {
5027
+ id: string;
5028
+ created_at: string;
5029
+ auth_user_id: string;
5030
+ wallet_address: string | null;
5031
+ github_username: string | null;
5032
+ x_username: string | null;
5033
+ is_validated: boolean;
5034
+ github_data: {
5035
+ username: string;
5036
+ user: {
5037
+ createdAt: string;
5038
+ bio: string | null;
5039
+ websiteUrl: string | null;
5040
+ followers: {
5041
+ totalCount: number;
5042
+ };
5043
+ repositories: {
5044
+ totalCount: number;
5045
+ nodes: {
5046
+ stargazerCount: number;
5047
+ forkCount: number;
5048
+ isFork: boolean;
5049
+ primaryLanguage: {
5050
+ name: string;
5051
+ } | null;
5052
+ pushedAt: string | null;
5053
+ }[];
5054
+ pageInfo: {
5055
+ hasNextPage: boolean;
5056
+ endCursor: string | null;
5057
+ };
5058
+ };
5059
+ contributionsCollection: {
5060
+ totalCommitContributions: number;
5061
+ totalPullRequestContributions: number;
5062
+ totalPullRequestReviewContributions: number;
5063
+ totalIssueContributions: number;
5064
+ contributionCalendar: {
5065
+ totalContributions: number;
5066
+ };
5067
+ };
5068
+ };
5069
+ search: {
5070
+ issues: {
5071
+ issueCount: number;
5072
+ };
5073
+ merged: {
5074
+ issueCount: number;
5075
+ };
5076
+ externalMerged: {
5077
+ issueCount: number;
5078
+ };
5079
+ reviews: {
5080
+ issueCount: number;
5081
+ };
5082
+ };
5083
+ fetchedAt: string;
5084
+ } | null;
5085
+ x_data: {
5086
+ user: {
5087
+ id: string;
5088
+ name: string;
5089
+ username: string;
5090
+ verified: boolean;
5091
+ protected: boolean;
5092
+ created_at?: string | undefined;
5093
+ verified_type?: string | undefined;
5094
+ profile_image_url?: string | undefined;
5095
+ public_metrics?: {
5096
+ followers_count: number;
5097
+ following_count: number;
5098
+ tweet_count: number;
5099
+ listed_count: number;
5100
+ like_count?: number | undefined;
5101
+ } | undefined;
5102
+ };
5103
+ fetchedAt: string;
5104
+ } | null;
5105
+ referral_code: string;
5106
+ updated_at: string;
5107
+ }, {
5108
+ id: string;
5109
+ created_at: string;
5110
+ auth_user_id: string;
5111
+ wallet_address: string | null;
5112
+ github_username: string | null;
5113
+ x_username: string | null;
5114
+ is_validated: boolean;
5115
+ github_data: {
5116
+ username: string;
5117
+ user: {
5118
+ createdAt: string;
5119
+ bio: string | null;
5120
+ websiteUrl: string | null;
5121
+ followers: {
5122
+ totalCount: number;
5123
+ };
5124
+ repositories: {
5125
+ totalCount: number;
5126
+ nodes: {
5127
+ stargazerCount: number;
5128
+ forkCount: number;
5129
+ isFork: boolean;
5130
+ primaryLanguage: {
5131
+ name: string;
5132
+ } | null;
5133
+ pushedAt: string | null;
5134
+ }[];
5135
+ pageInfo: {
5136
+ hasNextPage: boolean;
5137
+ endCursor: string | null;
5138
+ };
5139
+ };
5140
+ contributionsCollection: {
5141
+ totalCommitContributions: number;
5142
+ totalPullRequestContributions: number;
5143
+ totalPullRequestReviewContributions: number;
5144
+ totalIssueContributions: number;
5145
+ contributionCalendar: {
5146
+ totalContributions: number;
5147
+ };
5148
+ };
5149
+ };
5150
+ search: {
5151
+ issues: {
5152
+ issueCount: number;
5153
+ };
5154
+ merged: {
5155
+ issueCount: number;
5156
+ };
5157
+ externalMerged: {
5158
+ issueCount: number;
5159
+ };
5160
+ reviews: {
5161
+ issueCount: number;
5162
+ };
5163
+ };
5164
+ fetchedAt: string;
5165
+ } | null;
5166
+ x_data: {
5167
+ user: {
5168
+ id: string;
5169
+ name: string;
5170
+ username: string;
5171
+ verified: boolean;
5172
+ protected: boolean;
5173
+ created_at?: string | undefined;
5174
+ verified_type?: string | undefined;
5175
+ profile_image_url?: string | undefined;
5176
+ public_metrics?: {
5177
+ followers_count: number;
5178
+ following_count: number;
5179
+ tweet_count: number;
5180
+ listed_count: number;
5181
+ like_count?: number | undefined;
5182
+ } | undefined;
5183
+ };
5184
+ fetchedAt: string;
5185
+ } | null;
5186
+ referral_code: string;
5187
+ updated_at: string;
5188
+ }>;
5189
+ }, "strip", import("zod").ZodTypeAny, {
5190
+ result: {
5191
+ id: string;
5192
+ created_at: string;
5193
+ auth_user_id: string;
5194
+ wallet_address: string | null;
5195
+ github_username: string | null;
5196
+ x_username: string | null;
5197
+ is_validated: boolean;
5198
+ github_data: {
5199
+ username: string;
5200
+ user: {
5201
+ createdAt: string;
5202
+ bio: string | null;
5203
+ websiteUrl: string | null;
5204
+ followers: {
5205
+ totalCount: number;
5206
+ };
5207
+ repositories: {
5208
+ totalCount: number;
5209
+ nodes: {
5210
+ stargazerCount: number;
5211
+ forkCount: number;
5212
+ isFork: boolean;
5213
+ primaryLanguage: {
5214
+ name: string;
5215
+ } | null;
5216
+ pushedAt: string | null;
5217
+ }[];
5218
+ pageInfo: {
5219
+ hasNextPage: boolean;
5220
+ endCursor: string | null;
5221
+ };
5222
+ };
5223
+ contributionsCollection: {
5224
+ totalCommitContributions: number;
5225
+ totalPullRequestContributions: number;
5226
+ totalPullRequestReviewContributions: number;
5227
+ totalIssueContributions: number;
5228
+ contributionCalendar: {
5229
+ totalContributions: number;
5230
+ };
5231
+ };
5232
+ };
5233
+ search: {
5234
+ issues: {
5235
+ issueCount: number;
5236
+ };
5237
+ merged: {
5238
+ issueCount: number;
5239
+ };
5240
+ externalMerged: {
5241
+ issueCount: number;
5242
+ };
5243
+ reviews: {
5244
+ issueCount: number;
5245
+ };
5246
+ };
5247
+ fetchedAt: string;
5248
+ } | null;
5249
+ x_data: {
5250
+ user: {
5251
+ id: string;
5252
+ name: string;
5253
+ username: string;
5254
+ verified: boolean;
5255
+ protected: boolean;
5256
+ created_at?: string | undefined;
5257
+ verified_type?: string | undefined;
5258
+ profile_image_url?: string | undefined;
5259
+ public_metrics?: {
5260
+ followers_count: number;
5261
+ following_count: number;
5262
+ tweet_count: number;
5263
+ listed_count: number;
5264
+ like_count?: number | undefined;
5265
+ } | undefined;
5266
+ };
5267
+ fetchedAt: string;
5268
+ } | null;
5269
+ referral_code: string;
5270
+ updated_at: string;
5271
+ };
5272
+ }, {
5273
+ result: {
5274
+ id: string;
5275
+ created_at: string;
5276
+ auth_user_id: string;
5277
+ wallet_address: string | null;
5278
+ github_username: string | null;
5279
+ x_username: string | null;
5280
+ is_validated: boolean;
5281
+ github_data: {
5282
+ username: string;
5283
+ user: {
5284
+ createdAt: string;
5285
+ bio: string | null;
5286
+ websiteUrl: string | null;
5287
+ followers: {
5288
+ totalCount: number;
5289
+ };
5290
+ repositories: {
5291
+ totalCount: number;
5292
+ nodes: {
5293
+ stargazerCount: number;
5294
+ forkCount: number;
5295
+ isFork: boolean;
5296
+ primaryLanguage: {
5297
+ name: string;
5298
+ } | null;
5299
+ pushedAt: string | null;
5300
+ }[];
5301
+ pageInfo: {
5302
+ hasNextPage: boolean;
5303
+ endCursor: string | null;
5304
+ };
5305
+ };
5306
+ contributionsCollection: {
5307
+ totalCommitContributions: number;
5308
+ totalPullRequestContributions: number;
5309
+ totalPullRequestReviewContributions: number;
5310
+ totalIssueContributions: number;
5311
+ contributionCalendar: {
5312
+ totalContributions: number;
5313
+ };
5314
+ };
5315
+ };
5316
+ search: {
5317
+ issues: {
5318
+ issueCount: number;
5319
+ };
5320
+ merged: {
5321
+ issueCount: number;
5322
+ };
5323
+ externalMerged: {
5324
+ issueCount: number;
5325
+ };
5326
+ reviews: {
5327
+ issueCount: number;
5328
+ };
5329
+ };
5330
+ fetchedAt: string;
5331
+ } | null;
5332
+ x_data: {
5333
+ user: {
5334
+ id: string;
5335
+ name: string;
5336
+ username: string;
5337
+ verified: boolean;
5338
+ protected: boolean;
5339
+ created_at?: string | undefined;
5340
+ verified_type?: string | undefined;
5341
+ profile_image_url?: string | undefined;
5342
+ public_metrics?: {
5343
+ followers_count: number;
5344
+ following_count: number;
5345
+ tweet_count: number;
5346
+ listed_count: number;
5347
+ like_count?: number | undefined;
5348
+ } | undefined;
5349
+ };
5350
+ fetchedAt: string;
5351
+ } | null;
5352
+ referral_code: string;
5353
+ updated_at: string;
5354
+ };
5355
+ }>, Record<never, never>, Record<never, never>>;
5356
+ list: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
5357
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
5358
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
5359
+ orderBy: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("..").BuilderOrderBy>>;
5360
+ minFollowers: import("zod").ZodOptional<import("zod").ZodNumber>;
5361
+ minRepos: import("zod").ZodOptional<import("zod").ZodNumber>;
5362
+ minContributions: import("zod").ZodOptional<import("zod").ZodNumber>;
5363
+ }, "strip", import("zod").ZodTypeAny, {
5364
+ limit: number;
5365
+ offset: number;
5366
+ orderBy?: import("..").BuilderOrderBy | undefined;
5367
+ minFollowers?: number | undefined;
5368
+ minRepos?: number | undefined;
5369
+ minContributions?: number | undefined;
5370
+ }, {
5371
+ limit?: number | undefined;
5372
+ offset?: number | undefined;
5373
+ orderBy?: import("..").BuilderOrderBy | undefined;
5374
+ minFollowers?: number | undefined;
5375
+ minRepos?: number | undefined;
5376
+ minContributions?: number | undefined;
5377
+ }>, import("zod").ZodObject<{
5378
+ result: import("zod").ZodArray<import("zod").ZodObject<{
5379
+ id: import("zod").ZodString;
4574
5380
  wallet_address: import("zod").ZodNullable<import("zod").ZodString>;
4575
5381
  github_username: import("zod").ZodNullable<import("zod").ZodString>;
4576
5382
  x_username: import("zod").ZodNullable<import("zod").ZodString>;
@@ -5014,13 +5820,10 @@ export declare const rootContract: {
5014
5820
  };
5015
5821
  fetchedAt: string;
5016
5822
  }>>;
5017
- referral_code: import("zod").ZodString;
5018
5823
  created_at: import("zod").ZodString;
5019
- updated_at: import("zod").ZodString;
5020
5824
  }, "strip", import("zod").ZodTypeAny, {
5021
5825
  id: string;
5022
5826
  created_at: string;
5023
- auth_user_id: string;
5024
5827
  wallet_address: string | null;
5025
5828
  github_username: string | null;
5026
5829
  x_username: string | null;
@@ -5096,12 +5899,9 @@ export declare const rootContract: {
5096
5899
  };
5097
5900
  fetchedAt: string;
5098
5901
  } | null;
5099
- referral_code: string;
5100
- updated_at: string;
5101
5902
  }, {
5102
5903
  id: string;
5103
5904
  created_at: string;
5104
- auth_user_id: string;
5105
5905
  wallet_address: string | null;
5106
5906
  github_username: string | null;
5107
5907
  x_username: string | null;
@@ -5177,14 +5977,12 @@ export declare const rootContract: {
5177
5977
  };
5178
5978
  fetchedAt: string;
5179
5979
  } | null;
5180
- referral_code: string;
5181
- updated_at: string;
5182
- }>;
5980
+ }>, "many">;
5981
+ total: import("zod").ZodNumber;
5183
5982
  }, "strip", import("zod").ZodTypeAny, {
5184
5983
  result: {
5185
5984
  id: string;
5186
5985
  created_at: string;
5187
- auth_user_id: string;
5188
5986
  wallet_address: string | null;
5189
5987
  github_username: string | null;
5190
5988
  x_username: string | null;
@@ -5260,14 +6058,12 @@ export declare const rootContract: {
5260
6058
  };
5261
6059
  fetchedAt: string;
5262
6060
  } | null;
5263
- referral_code: string;
5264
- updated_at: string;
5265
- };
6061
+ }[];
6062
+ total: number;
5266
6063
  }, {
5267
6064
  result: {
5268
6065
  id: string;
5269
6066
  created_at: string;
5270
- auth_user_id: string;
5271
6067
  wallet_address: string | null;
5272
6068
  github_username: string | null;
5273
6069
  x_username: string | null;
@@ -5343,9 +6139,8 @@ export declare const rootContract: {
5343
6139
  };
5344
6140
  fetchedAt: string;
5345
6141
  } | null;
5346
- referral_code: string;
5347
- updated_at: string;
5348
- };
6142
+ }[];
6143
+ total: number;
5349
6144
  }>, Record<never, never>, Record<never, never>>;
5350
6145
  getByIdentity: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
5351
6146
  identity: import("zod").ZodString;
@@ -7474,6 +8269,44 @@ export declare const rootContract: {
7474
8269
  created_at: string;
7475
8270
  }[];
7476
8271
  }>, Record<never, never>, Record<never, never>>;
8272
+ getByReferralCode: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
8273
+ referralCode: import("zod").ZodString;
8274
+ }, "strip", import("zod").ZodTypeAny, {
8275
+ referralCode: string;
8276
+ }, {
8277
+ referralCode: string;
8278
+ }>, import("zod").ZodObject<{
8279
+ result: import("zod").ZodObject<{
8280
+ id: import("zod").ZodString;
8281
+ referral_code: import("zod").ZodString;
8282
+ name: import("zod").ZodNullable<import("zod").ZodString>;
8283
+ avatar_url: import("zod").ZodNullable<import("zod").ZodString>;
8284
+ }, "strip", import("zod").ZodTypeAny, {
8285
+ id: string;
8286
+ name: string | null;
8287
+ referral_code: string;
8288
+ avatar_url: string | null;
8289
+ }, {
8290
+ id: string;
8291
+ name: string | null;
8292
+ referral_code: string;
8293
+ avatar_url: string | null;
8294
+ }>;
8295
+ }, "strip", import("zod").ZodTypeAny, {
8296
+ result: {
8297
+ id: string;
8298
+ name: string | null;
8299
+ referral_code: string;
8300
+ avatar_url: string | null;
8301
+ };
8302
+ }, {
8303
+ result: {
8304
+ id: string;
8305
+ name: string | null;
8306
+ referral_code: string;
8307
+ avatar_url: string | null;
8308
+ };
8309
+ }>, Record<never, never>, Record<never, never>>;
7477
8310
  listReferrals: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
7478
8311
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
7479
8312
  offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
@@ -7506,6 +8339,7 @@ export declare const rootContract: {
7506
8339
  }>, "many">;
7507
8340
  total: import("zod").ZodNumber;
7508
8341
  }, "strip", import("zod").ZodTypeAny, {
8342
+ total: number;
7509
8343
  referrals: {
7510
8344
  id: string;
7511
8345
  created_at: string;
@@ -7513,8 +8347,8 @@ export declare const rootContract: {
7513
8347
  github_username: string | null;
7514
8348
  x_username: string | null;
7515
8349
  }[];
7516
- total: number;
7517
8350
  }, {
8351
+ total: number;
7518
8352
  referrals: {
7519
8353
  id: string;
7520
8354
  created_at: string;
@@ -7522,10 +8356,10 @@ export declare const rootContract: {
7522
8356
  github_username: string | null;
7523
8357
  x_username: string | null;
7524
8358
  }[];
7525
- total: number;
7526
8359
  }>;
7527
8360
  }, "strip", import("zod").ZodTypeAny, {
7528
8361
  result: {
8362
+ total: number;
7529
8363
  referrals: {
7530
8364
  id: string;
7531
8365
  created_at: string;
@@ -7533,10 +8367,10 @@ export declare const rootContract: {
7533
8367
  github_username: string | null;
7534
8368
  x_username: string | null;
7535
8369
  }[];
7536
- total: number;
7537
8370
  };
7538
8371
  }, {
7539
8372
  result: {
8373
+ total: number;
7540
8374
  referrals: {
7541
8375
  id: string;
7542
8376
  created_at: string;
@@ -7544,7 +8378,6 @@ export declare const rootContract: {
7544
8378
  github_username: string | null;
7545
8379
  x_username: string | null;
7546
8380
  }[];
7547
- total: number;
7548
8381
  };
7549
8382
  }>, Record<never, never>, Record<never, never>>;
7550
8383
  applyReferralCode: import("@orpc/contract", { with: { "resolution-mode": "import" } }).ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{