mirror of
				https://github.com/D4M13N-D3V/neroshitron.git
				synced 2025-10-30 09:05:34 +00:00 
			
		
		
		
	fix:22 (#34)
This commit is contained in:
		
							parent
							
								
									74335ff6cf
								
							
						
					
					
						commit
						caca715cc0
					
				| @ -59,9 +59,30 @@ const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged, nsfwButtonEnable | |||||||
|   }, []); |   }, []); | ||||||
|   const [color, setColor] = useState('black'); |   const [color, setColor] = useState('black'); | ||||||
| 
 | 
 | ||||||
|  |   const [currentTag, setCurrentTag] = useState<string>(''); | ||||||
| 
 | 
 | ||||||
|   useEffect(() => { |   useEffect(() => { | ||||||
|   }, []); |     const handleKeyDown = (event: KeyboardEvent) => { | ||||||
|  |       console.log("TEST") | ||||||
|  |       if (event.key === 'ArrowUp') { | ||||||
|  |         const currentIndex = tags.findIndex(tag => tag.name === currentTag); | ||||||
|  |         const newIndex = currentIndex === 0 ? tags.length - 1 : currentIndex - 1; | ||||||
|  |         setCurrentTag(tags[newIndex].name); | ||||||
|  |       } else if (event.key === 'ArrowDown') { | ||||||
|  |         const currentIndex = tags.findIndex(tag => tag.name === currentTag); | ||||||
|  |         const newIndex = currentIndex === tags.length - 1 ? 0 : currentIndex + 1; | ||||||
|  |         setCurrentTag(tags[newIndex].name); | ||||||
|  |       } | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|  |     window.addEventListener('keydown', handleKeyDown); | ||||||
|  | 
 | ||||||
|  |     return () => { | ||||||
|  |       window.removeEventListener('keydown', handleKeyDown); | ||||||
|  |     }; | ||||||
|  |   }, [currentTag, tags]); | ||||||
|  |    | ||||||
|  |   console.log(currentTag) | ||||||
| 
 | 
 | ||||||
|   const tagOptions = tags.map((tag: { name: string; }) => ({ value: tag.name, label: tag.name })); |   const tagOptions = tags.map((tag: { name: string; }) => ({ value: tag.name, label: tag.name })); | ||||||
|   return ( |   return ( | ||||||
| @ -115,8 +136,8 @@ const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged, nsfwButtonEnable | |||||||
|                     }} |                     }} | ||||||
| 
 | 
 | ||||||
|                     formatOptionLabel={data => ( |                     formatOptionLabel={data => ( | ||||||
|                       <li id={"tag-" + data.value} |                       <li key={"tag-" + data.value} | ||||||
|                         className={`animate-in block transition rounded duration-200 px-2 py-2 cursor-pointer select-none truncate pt-2 bg-primarytext-white hover:bg-primary-light
 |                       className={`animate-in block transition rounded duration-200 px-2 py-2 cursor-pointer select-none truncate pt-2 bg-primary text-white ${currentTag==data.value ? "bg-primary-light" : ""} hover:bg-primary-light
 | ||||||
|                       }`}
 |                       }`}
 | ||||||
|                       > |                       > | ||||||
|                       {data.label} |                       {data.label} | ||||||
| @ -126,7 +147,7 @@ const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged, nsfwButtonEnable | |||||||
|                     primaryColor={"indigo"} /> |                     primaryColor={"indigo"} /> | ||||||
|                   </div> |                   </div> | ||||||
| 
 | 
 | ||||||
|                     {(nsfwButtonEnabled==true) ?? ( |                     {(nsfwButtonEnabled!=true) && ( | ||||||
|                     <span className="flex items-center  border-0 font-bold text-grey-100"> |                     <span className="flex items-center  border-0 font-bold text-grey-100"> | ||||||
|                     <button |                     <button | ||||||
|                       onClick={() => { setNsfw(!nsfw) }} |                       onClick={() => { setNsfw(!nsfw) }} | ||||||
|  | |||||||
							
								
								
									
										41
									
								
								supabase/migrations/20240602235401_admins.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										41
									
								
								supabase/migrations/20240602235401_admins.sql
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,41 @@ | |||||||
|  | 
 | ||||||
|  | CREATE TABLE IF NOT EXISTS "public"."admins" ( | ||||||
|  |     "user_id" "uuid" NOT NULL, | ||||||
|  |     "created_at" timestamp with time zone DEFAULT "now"() NOT NULL, | ||||||
|  |     "assigner" "uuid" | ||||||
|  | ); | ||||||
|  | 
 | ||||||
|  | ALTER TABLE "public"."admins" OWNER TO "postgres"; | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable delete for admins" ON "public"."tags" FOR DELETE TO "authenticated" USING ((EXISTS ( SELECT 1 | ||||||
|  |    FROM "public"."admins" | ||||||
|  |   WHERE ("admins"."user_id" = "auth"."uid"())))); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable delete for users based on admins" ON "public"."galleries" FOR DELETE USING ((EXISTS ( SELECT 1 | ||||||
|  |    FROM "public"."admins" | ||||||
|  |   WHERE ("admins"."user_id" = "auth"."uid"())))); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable insert for admins" ON "public"."tags" FOR INSERT TO "authenticated" WITH CHECK ((EXISTS ( SELECT 1 | ||||||
|  |    FROM "public"."admins" | ||||||
|  |   WHERE ("admins"."user_id" = "auth"."uid"())))); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable insert for users based admins" ON "public"."galleries" FOR INSERT WITH CHECK ((EXISTS ( SELECT 1 | ||||||
|  |    FROM "public"."admins" | ||||||
|  |   WHERE ("admins"."user_id" = "auth"."uid"())))); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable read access for all users" ON "public"."admins" FOR SELECT USING (true); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable read access for all users" ON "public"."galleries" FOR SELECT USING (true); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable read access for all users" ON "public"."tags" FOR SELECT USING (true); | ||||||
|  | 
 | ||||||
|  | CREATE POLICY "Enable read for users based on user_id" ON "public"."user_subscriptions" FOR SELECT USING (true); | ||||||
|  | 
 | ||||||
|  | ALTER TABLE ONLY "public"."admins" | ||||||
|  |     ADD CONSTRAINT "admins_pkey" PRIMARY KEY ("user_id"); | ||||||
|  | 
 | ||||||
|  | ALTER TABLE ONLY "public"."admins" | ||||||
|  |     ADD CONSTRAINT "admins_assigner_fkey" FOREIGN KEY ("assigner") REFERENCES "auth"."users"("id"); | ||||||
|  | 
 | ||||||
|  | ALTER TABLE ONLY "public"."admins" | ||||||
|  |     ADD CONSTRAINT "admins_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "auth"."users"("id"); | ||||||
| @ -256,59 +256,6 @@ INSERT INTO "public"."user_subscriptions" ("user_id", "tier") VALUES | |||||||
| -- Data for Name: buckets; Type: TABLE DATA; Schema: storage; Owner: supabase_storage_admin | -- Data for Name: buckets; Type: TABLE DATA; Schema: storage; Owner: supabase_storage_admin | ||||||
| -- | -- | ||||||
| 
 | 
 | ||||||
| INSERT INTO "storage"."buckets" ("id", "name", "owner", "created_at", "updated_at", "public", "avif_autodetection", "file_size_limit", "allowed_mime_types", "owner_id") VALUES |  | ||||||
| 	('galleries', 'galleries', NULL, '2024-05-27 13:06:16.360824+00', '2024-05-27 13:06:16.360824+00', false, false, NULL, NULL, NULL); |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| -- |  | ||||||
| -- Data for Name: objects; Type: TABLE DATA; Schema: storage; Owner: supabase_storage_admin |  | ||||||
| -- |  | ||||||
| 
 |  | ||||||
| INSERT INTO "storage"."objects" ("id", "bucket_id", "name", "owner", "created_at", "updated_at", "last_accessed_at", "metadata", "version", "owner_id") VALUES |  | ||||||
| 	('0418ff20-6b35-46a9-81f6-d220c88920c5', 'galleries', 'killa_testing_here/1.jpeg', NULL, '2024-05-27 15:26:12.014745+00', '2024-05-27 15:27:16.286533+00', '2024-05-27 15:26:12.014745+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:27:16.278Z", "contentLength": 326461, "httpStatusCode": 200}', 'a4df5a8e-11a0-4060-8a61-65d3561c916f', NULL), |  | ||||||
| 	('0328f4c1-4318-4ec7-acf8-66a97544ea32', 'galleries', 'even_more_testing/1.jpeg', NULL, '2024-05-27 15:26:26.82884+00', '2024-05-27 15:27:27.502525+00', '2024-05-27 15:26:26.82884+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:27:27.488Z", "contentLength": 552385, "httpStatusCode": 200}', 'fc9888da-be0c-4af4-b0c3-81a584fc6f54', NULL), |  | ||||||
| 	('25ea2051-ae55-4728-90ac-aea08467166c', 'galleries', 'test_gallery/neroshi-1-3.png', NULL, '2024-05-27 13:15:29.27921+00', '2024-05-27 14:51:41.449764+00', '2024-05-27 13:15:29.27921+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T14:51:41.442Z", "contentLength": 156786, "httpStatusCode": 200}', 'c9d36afc-0afe-49e3-87c9-7c1bf5b2824a', NULL), |  | ||||||
| 	('54527fef-4a47-48ed-b7aa-4dc10eb2a421', 'galleries', 'test_gallery/neroshi-1-2.jpeg', NULL, '2024-05-27 13:15:29.284061+00', '2024-05-27 14:51:41.458674+00', '2024-05-27 13:15:29.284061+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T14:51:41.442Z", "contentLength": 705547, "httpStatusCode": 200}', '3ea9ec28-b51b-45fd-a273-00d20b9b96f1', NULL), |  | ||||||
| 	('2e8fb8df-b9d0-49e2-9b01-7645f344869f', 'galleries', 'killa_testing_here/neroshi-1-3.png', NULL, '2024-05-27 15:26:11.996052+00', '2024-05-27 15:26:11.996052+00', '2024-05-27 15:26:11.996052+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:11.981Z", "contentLength": 156786, "httpStatusCode": 200}', 'a43205f1-5b04-4a87-8ce4-8d75eb17e840', NULL), |  | ||||||
| 	('ff5ed820-c718-441c-a169-ec63ef3afbe6', 'galleries', 'killa_testing_here/neroshi-3.jpeg', NULL, '2024-05-27 15:26:12.00853+00', '2024-05-27 15:26:12.00853+00', '2024-05-27 15:26:12.00853+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:11.996Z", "contentLength": 97841, "httpStatusCode": 200}', '28d3c817-2635-4214-87fa-35d65efa1481', NULL), |  | ||||||
| 	('058a1c46-4c20-4e3b-9ec9-56ae9abcf77a', 'galleries', 'killa_testing_here/neroshi-1-2.jpeg', NULL, '2024-05-27 15:26:12.010853+00', '2024-05-27 15:26:12.010853+00', '2024-05-27 15:26:12.010853+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:11.985Z", "contentLength": 705547, "httpStatusCode": 200}', '3693798c-4652-45c3-9824-13bc75fb6b6a', NULL), |  | ||||||
| 	('ac89d27e-a170-4c4e-8cdd-88d386be1f9b', 'galleries', 'killa_testing_here/neroshi-1.jpeg', NULL, '2024-05-27 15:26:12.01953+00', '2024-05-27 15:26:12.01953+00', '2024-05-27 15:26:12.01953+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:12.000Z", "contentLength": 552385, "httpStatusCode": 200}', '41c5cf9a-b5e3-47e4-8273-ec2f08c46d89', NULL), |  | ||||||
| 	('ec56a0e1-e39e-46f3-856f-43f83c5cbc4c', 'galleries', 'even_more_testing/neroshi-1-3.png', NULL, '2024-05-27 15:26:26.810548+00', '2024-05-27 15:26:26.810548+00', '2024-05-27 15:26:26.810548+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.799Z", "contentLength": 156786, "httpStatusCode": 200}', 'e4d87895-cebf-4bf0-b390-828586868a27', NULL), |  | ||||||
| 	('52dc4b6a-0caf-4852-a4d0-bc7176a54972', 'galleries', 'even_more_testing/neroshi-2.jpeg', NULL, '2024-05-27 15:26:26.817193+00', '2024-05-27 15:26:26.817193+00', '2024-05-27 15:26:26.817193+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.801Z", "contentLength": 326461, "httpStatusCode": 200}', 'c5363d15-0de5-4968-8bd4-9dbcccab7d93', NULL), |  | ||||||
| 	('f00ba7e4-8fc6-4026-9864-938ce09658b1', 'galleries', 'even_more_testing/neroshi-4-1.jpeg', NULL, '2024-05-27 15:26:26.836977+00', '2024-05-27 15:26:26.836977+00', '2024-05-27 15:26:26.836977+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.806Z", "contentLength": 1227804, "httpStatusCode": 200}', 'c84dd01e-5615-46b4-8750-d53b79b55d7d', NULL), |  | ||||||
| 	('f1430361-6a4c-46e5-bb1a-c3e863ef418d', 'galleries', 'another_test_gallery/neroshi-1-3.png', NULL, '2024-05-27 15:26:37.223029+00', '2024-05-27 15:26:37.223029+00', '2024-05-27 15:26:37.223029+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.206Z", "contentLength": 156786, "httpStatusCode": 200}', '64f6e606-54a5-43a6-adf5-6abb19a14a93', NULL), |  | ||||||
| 	('be76aff4-3c6b-4150-89e7-d1ac2d2d5dee', 'galleries', 'killa_testing_here/neroshi-4-1.jpeg', NULL, '2024-05-27 15:26:12.032747+00', '2024-05-27 15:26:12.032747+00', '2024-05-27 15:26:12.032747+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:12.001Z", "contentLength": 1227804, "httpStatusCode": 200}', 'c9dd2f8e-b541-435f-8084-cd48d21328c4', NULL), |  | ||||||
| 	('bb3f8f81-f4c4-4f16-a5bd-ace6ca832b5a', 'galleries', 'more_test_gallery/1.jpeg', NULL, '2024-05-27 15:26:45.962244+00', '2024-05-27 15:27:11.520157+00', '2024-05-27 15:26:45.962244+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:27:11.509Z", "contentLength": 456918, "httpStatusCode": 200}', '82631199-60e3-4d4a-8045-0a094decc3eb', NULL), |  | ||||||
| 	('ff97ab2d-31c2-48fe-bb1c-7586d1d28d9a', 'galleries', 'more_test_gallery/neroshi-1-3.png', NULL, '2024-05-27 15:26:45.935012+00', '2024-05-27 15:26:45.935012+00', '2024-05-27 15:26:45.935012+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.923Z", "contentLength": 156786, "httpStatusCode": 200}', 'c1ae3648-b56c-453a-aae4-9e7ade927f77', NULL), |  | ||||||
| 	('b85ae43e-e739-42d2-89b9-aeebb6274013', 'galleries', 'more_test_gallery/neroshi-1-2.jpeg', NULL, '2024-05-27 15:26:45.951778+00', '2024-05-27 15:26:45.951778+00', '2024-05-27 15:26:45.951778+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.926Z", "contentLength": 705547, "httpStatusCode": 200}', 'ab898845-f735-4f80-8ab3-9946e0c09654', NULL), |  | ||||||
| 	('b4c0e111-bed7-4998-9139-883f99d08011', 'galleries', 'more_test_gallery/neroshi-4-1.jpeg', NULL, '2024-05-27 15:26:45.95914+00', '2024-05-27 15:26:45.95914+00', '2024-05-27 15:26:45.95914+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.929Z", "contentLength": 1227804, "httpStatusCode": 200}', '6009e476-2d9f-4ae1-9c84-e20c05edc098', NULL), |  | ||||||
| 	('be86a80f-c60c-408f-8956-50901c5decfc', 'galleries', 'even_more_testing/neroshi-3.jpeg', NULL, '2024-05-27 15:26:26.809425+00', '2024-05-27 15:26:26.809425+00', '2024-05-27 15:26:26.809425+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.799Z", "contentLength": 97841, "httpStatusCode": 200}', '31ec6434-4d98-4169-bcad-4ffbcedfadd8', NULL), |  | ||||||
| 	('b8ca6de4-e321-4152-98e1-61437877adaf', 'galleries', 'even_more_testing/neroshi-1-2.jpeg', NULL, '2024-05-27 15:26:26.822241+00', '2024-05-27 15:26:26.822241+00', '2024-05-27 15:26:26.822241+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.797Z", "contentLength": 705547, "httpStatusCode": 200}', '1bc18161-d98e-4006-99d4-a73dfd624c73', NULL), |  | ||||||
| 	('40be76ab-7733-442e-a70c-886cee49b987', 'galleries', 'another_test_gallery/1.jpeg', NULL, '2024-05-27 15:26:37.225793+00', '2024-05-27 15:27:34.666222+00', '2024-05-27 15:26:37.225793+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:27:34.661Z", "contentLength": 97841, "httpStatusCode": 200}', 'c2d5bdfa-6760-4dd4-a53a-382b29b6b470', NULL), |  | ||||||
| 	('aee6868d-46e4-4e40-9569-27b2e408af41', 'galleries', 'another_test_gallery/neroshi-4-2.jpeg', NULL, '2024-05-27 15:26:37.254185+00', '2024-05-27 15:26:37.254185+00', '2024-05-27 15:26:37.254185+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.248Z", "contentLength": 456918, "httpStatusCode": 200}', '8b5f4a89-b8f1-4e83-adb6-e30be6c570c8', NULL), |  | ||||||
| 	('8e77d646-62bc-4948-82d4-f481e2ada02d', 'galleries', 'popcorn_tester/neroshi-4-1.jpeg', NULL, '2024-05-27 19:59:37.966214+00', '2024-05-27 19:59:37.966214+00', '2024-05-27 19:59:37.966214+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.946Z", "contentLength": 1227804, "httpStatusCode": 200}', 'df47d457-1f34-4eef-b37d-2eb16eae4a80', NULL), |  | ||||||
| 	('64e2481d-649f-4cdd-9386-eebd987eec55', 'galleries', 'popcorn_tester/neroshi-4-2.jpeg', NULL, '2024-05-27 19:59:37.969969+00', '2024-05-27 19:59:37.969969+00', '2024-05-27 19:59:37.969969+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.965Z", "contentLength": 456918, "httpStatusCode": 200}', '8dea9739-80ef-4569-8403-00d0cd2aa373', NULL), |  | ||||||
| 	('33ec9d63-c158-4fc5-bf0d-938537ffdbf2', 'galleries', 'even_more_testing/neroshi-4-2.jpeg', NULL, '2024-05-27 15:26:26.841264+00', '2024-05-27 15:26:26.841264+00', '2024-05-27 15:26:26.841264+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:26.834Z", "contentLength": 456918, "httpStatusCode": 200}', 'b99f829b-7aed-44c6-9687-aa73ac77d43d', NULL), |  | ||||||
| 	('af14ebc1-5768-4333-a91c-89c71635c336', 'galleries', 'popcorn_tester/neroshi-3.jpeg', NULL, '2024-05-27 19:59:37.950641+00', '2024-05-27 19:59:37.950641+00', '2024-05-27 19:59:37.950641+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.945Z", "contentLength": 97841, "httpStatusCode": 200}', '30592c80-bfca-403b-9ae8-e57bd492b87c', NULL), |  | ||||||
| 	('d454129e-5f63-414c-a7df-a3855b51648a', 'galleries', 'popcorn_tester/neroshi-1.jpeg', NULL, '2024-05-27 19:59:37.957116+00', '2024-05-27 19:59:37.957116+00', '2024-05-27 19:59:37.957116+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.944Z", "contentLength": 552385, "httpStatusCode": 200}', 'c21dc413-6947-4ff6-8258-ff8a44c03746', NULL), |  | ||||||
| 	('25fdb5df-5cb1-4d6d-b882-be9003bd5c2f', 'galleries', 'more_test_gallery/neroshi-2.jpeg', NULL, '2024-05-27 15:26:45.940585+00', '2024-05-27 15:26:45.940585+00', '2024-05-27 15:26:45.940585+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.927Z", "contentLength": 326461, "httpStatusCode": 200}', 'd980f193-e963-4c25-87b9-fcb88eb7fcb7', NULL), |  | ||||||
| 	('4c9f74e9-83ce-4058-9ad5-acb07fe409bb', 'galleries', 'more_test_gallery/neroshi-1.jpeg', NULL, '2024-05-27 15:26:45.9507+00', '2024-05-27 15:26:45.9507+00', '2024-05-27 15:26:45.9507+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.929Z", "contentLength": 552385, "httpStatusCode": 200}', '0a95bd52-67af-45f7-b421-b7e1ef9b98de', NULL), |  | ||||||
| 	('adaf37d9-fc5c-4263-b61c-5cd564f50772', 'galleries', 'another_test_gallery/neroshi-2.jpeg', NULL, '2024-05-27 15:26:37.236201+00', '2024-05-27 15:26:37.236201+00', '2024-05-27 15:26:37.236201+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.213Z", "contentLength": 326461, "httpStatusCode": 200}', '5953e3e5-a2f0-4043-b492-933487a17736', NULL), |  | ||||||
| 	('91e39d32-0111-4173-a43a-2ae1dd475566', 'galleries', 'popcorn_tester/neroshi-2.jpeg', NULL, '2024-05-27 19:59:37.955417+00', '2024-05-27 19:59:37.955417+00', '2024-05-27 19:59:37.955417+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.946Z", "contentLength": 326461, "httpStatusCode": 200}', '6a1673e6-eb2f-4c88-81bd-e5e75c5ced52', NULL), |  | ||||||
| 	('168cb5fe-1deb-431a-b588-1ef0a367020d', 'galleries', 'more_test_gallery/neroshi-3.jpeg', NULL, '2024-05-27 15:26:45.9354+00', '2024-05-27 15:26:45.9354+00', '2024-05-27 15:26:45.9354+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:45.927Z", "contentLength": 97841, "httpStatusCode": 200}', '439d366f-ba58-4b34-bd55-f6c28902d40f', NULL), |  | ||||||
| 	('60294a9f-06f5-4dd1-acbc-616dba00a695', 'galleries', 'some_more_testing/neroshi-1-3.png', NULL, '2024-05-27 15:26:56.323099+00', '2024-05-27 15:26:56.323099+00', '2024-05-27 15:26:56.323099+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.312Z", "contentLength": 156786, "httpStatusCode": 200}', '135039b1-2af1-4c82-aaf3-78f9009ad1c4', NULL), |  | ||||||
| 	('62d04150-984f-4292-b422-f81adbbf170b', 'galleries', 'some_more_testing/neroshi-1.jpeg', NULL, '2024-05-27 15:26:56.338289+00', '2024-05-27 15:26:56.338289+00', '2024-05-27 15:26:56.338289+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.317Z", "contentLength": 552385, "httpStatusCode": 200}', '7567a4f3-908b-4395-9a0a-ccecf3d4f5fe', NULL), |  | ||||||
| 	('b769127c-d4f3-4989-a1fc-17aa07bc50a4', 'galleries', 'some_more_testing/neroshi-4-2.jpeg', NULL, '2024-05-27 15:26:56.353941+00', '2024-05-27 15:26:56.353941+00', '2024-05-27 15:26:56.353941+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.347Z", "contentLength": 456918, "httpStatusCode": 200}', '47f7be86-2509-4172-a032-7bae7d745f29', NULL), |  | ||||||
| 	('02dabd39-7124-4f00-a018-23e08ae87283', 'galleries', 'another_test_gallery/neroshi-1-2.jpeg', NULL, '2024-05-27 15:26:37.241469+00', '2024-05-27 15:26:37.241469+00', '2024-05-27 15:26:37.241469+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.205Z", "contentLength": 705547, "httpStatusCode": 200}', '375de468-e8c6-42be-a40f-d3e4a1448bfb', NULL), |  | ||||||
| 	('c82f236c-584c-4458-be1c-ca9ff5b02e9e', 'galleries', 'popcorn_tester/neroshi-1-2.jpeg', NULL, '2024-05-27 19:59:37.956753+00', '2024-05-27 19:59:37.956753+00', '2024-05-27 19:59:37.956753+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.942Z", "contentLength": 705547, "httpStatusCode": 200}', 'd2aa1dc7-fa9f-4127-b46b-7531a204a757', NULL), |  | ||||||
| 	('93938f38-393b-4159-8355-e1ef678e8175', 'galleries', 'popcorn_tester/neroshi-1-3.png', NULL, '2024-05-27 19:59:37.964774+00', '2024-05-27 19:59:37.964774+00', '2024-05-27 19:59:37.964774+00', '{"eTag": "\"2c6f2901ed88fbdd8c790a4b77d9caa8\"", "size": 156786, "mimetype": "image/png", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T19:59:37.937Z", "contentLength": 156786, "httpStatusCode": 200}', 'b90067e3-e05e-4d6b-b67d-3129b4263b39', NULL), |  | ||||||
| 	('d7a2275f-e493-4e0d-9894-1d7a38c5249a', 'galleries', 'some_more_testing/neroshi-2.jpeg', NULL, '2024-05-27 15:26:56.330535+00', '2024-05-27 15:26:56.330535+00', '2024-05-27 15:26:56.330535+00', '{"eTag": "\"f8eaf2e06e34ad1b3e101908ab02883e\"", "size": 326461, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.316Z", "contentLength": 326461, "httpStatusCode": 200}', '07cb87d5-2a00-4dda-bd36-78f2e8411843', NULL), |  | ||||||
| 	('1b467502-3a85-4419-bde1-11283ac4f203', 'galleries', 'some_more_testing/neroshi-4-1.jpeg', NULL, '2024-05-27 15:26:56.351987+00', '2024-05-27 15:26:56.351987+00', '2024-05-27 15:26:56.351987+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.322Z", "contentLength": 1227804, "httpStatusCode": 200}', '83885da1-827b-48a6-bcbe-5c29b2225c09', NULL), |  | ||||||
| 	('457cb84e-cd4e-4c37-bd67-1813e37b466a', 'galleries', 'killa_testing_here/neroshi-4-2.jpeg', NULL, '2024-05-27 15:26:12.032278+00', '2024-05-27 15:26:12.032278+00', '2024-05-27 15:26:12.032278+00', '{"eTag": "\"d06af35773c09ff8cc1f4a590052be28\"", "size": 456918, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:12.017Z", "contentLength": 456918, "httpStatusCode": 200}', '5f035b86-997e-4d08-80a2-60766ba286da', NULL), |  | ||||||
| 	('3ed1499b-081c-4070-856c-2113ce3477b1', 'galleries', 'some_more_testing/1.jpeg', NULL, '2024-05-27 15:26:56.325337+00', '2024-05-27 15:27:07.800292+00', '2024-05-27 15:26:56.325337+00', '{"eTag": "\"7fd95d9da9f3e6c7237a94feedcfc3af\"", "size": 97841, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:27:07.794Z", "contentLength": 97841, "httpStatusCode": 200}', '6704eff1-8d5d-4653-999f-f2d47b7efa42', NULL), |  | ||||||
| 	('9e140c6f-e8da-48bd-a41b-e796f59318f3', 'galleries', 'another_test_gallery/neroshi-1.jpeg', NULL, '2024-05-27 15:26:37.242454+00', '2024-05-27 15:26:37.242454+00', '2024-05-27 15:26:37.242454+00', '{"eTag": "\"76b9705bb529b16fc58a4bdb0b134c9b\"", "size": 552385, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.213Z", "contentLength": 552385, "httpStatusCode": 200}', '119d46fd-51b6-470f-bd4d-4568890e4764', NULL), |  | ||||||
| 	('1e54a73f-e44b-406c-956a-2f45a487aaae', 'galleries', 'another_test_gallery/neroshi-4-1.jpeg', NULL, '2024-05-27 15:26:37.252603+00', '2024-05-27 15:26:37.252603+00', '2024-05-27 15:26:37.252603+00', '{"eTag": "\"eac1dd9a94c71dd30f565f95d32b0c6b\"", "size": 1227804, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:37.216Z", "contentLength": 1227804, "httpStatusCode": 200}', 'f4e6e8ee-2f97-4ba5-9754-9aefa2193f64', NULL), |  | ||||||
| 	('f6fdeeeb-384f-412f-810b-66ea793e9eab', 'galleries', 'some_more_testing/neroshi-1-2.jpeg', NULL, '2024-05-27 15:26:56.33478+00', '2024-05-27 15:26:56.33478+00', '2024-05-27 15:26:56.33478+00', '{"eTag": "\"a22ea7bfaed689b675b11428b98de42e\"", "size": 705547, "mimetype": "image/jpeg", "cacheControl": "max-age=3600", "lastModified": "2024-05-27T15:26:56.310Z", "contentLength": 705547, "httpStatusCode": 200}', '07271b9a-b302-4f46-8701-4bfc8b157dee', NULL); |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| -- | -- | ||||||
| @ -323,11 +270,6 @@ INSERT INTO "storage"."objects" ("id", "bucket_id", "name", "owner", "created_at | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| -- |  | ||||||
| -- Data for Name: hooks; Type: TABLE DATA; Schema: supabase_functions; Owner: supabase_functions_admin |  | ||||||
| -- |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 | 
 | ||||||
| -- | -- | ||||||
| -- Data for Name: secrets; Type: TABLE DATA; Schema: vault; Owner: supabase_admin | -- Data for Name: secrets; Type: TABLE DATA; Schema: vault; Owner: supabase_admin | ||||||
| @ -349,13 +291,6 @@ SELECT pg_catalog.setval('"auth"."refresh_tokens_id_seq"', 70, true); | |||||||
| SELECT pg_catalog.setval('"pgsodium"."key_key_id_seq"', 1, false); | SELECT pg_catalog.setval('"pgsodium"."key_key_id_seq"', 1, false); | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| -- |  | ||||||
| -- Name: hooks_id_seq; Type: SEQUENCE SET; Schema: supabase_functions; Owner: supabase_functions_admin |  | ||||||
| -- |  | ||||||
| 
 |  | ||||||
| SELECT pg_catalog.setval('"supabase_functions"."hooks_id_seq"', 1, false); |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| -- | -- | ||||||
| -- PostgreSQL database dump complete | -- PostgreSQL database dump complete | ||||||
| -- | -- | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 GitHub
							GitHub