Skip to content

Commit

Permalink
chore: folder name fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
harshsoni-harsh committed Jan 29, 2025
1 parent de07e3d commit 80c2384
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 16 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ export const ContactCategory = defineType({
type: 'document',
icon: TagIcon,
fields: [
defineField({
name: 'id',
title: 'ID',
type: 'number',
validation: (Rule) => Rule.required().integer(),
}),
defineField({
name: 'category',
title: 'Category',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ export const finance = defineType({
}),
],
});

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ export const Gallery = defineType({
defineField({
name: 'url',
title: 'Image URL',
type: 'image',
options: { hotspot: true },
validation: (Rule) => Rule.required(),
type: 'string',
}),
defineField({
name: 'caption',
Expand Down
12 changes: 6 additions & 6 deletions src/sanity/schemaTypes/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { type SchemaTypeDefinition } from 'sanity';
import { About } from './generalnfo/About';
import { About } from './generalInfo/About';
import {
descriptionStructure,
linksStructure,
Expand All @@ -8,14 +8,14 @@ import {
import { boardOfGovernor } from './governanceAndAdministration/BoardOfGovernor';
import { cseDetail } from './academics/CSEAcademics';
import { campusData } from './studentLife/CampusData';
import { chairPerson } from './generalnfo/ChairPerson';
import { chairPerson } from './generalInfo/ChairPerson';
import { Credit } from './Credits';
import { dsaiDetail } from './academics/DSAIAcademics';
import { eceDetail } from './academics/ECEAcademics';
import { facilities } from './studentLife/Facilities';
import { former } from './newsAndUpdates/Former';
import { formerBoardOfGovernor } from './newsAndUpdates/FormerBoardOfGovernor';
import { Jobs } from './generalnfo/Jobs';
import { Jobs } from './generalInfo/Jobs';
import { krcData } from './researchDevelopment/KrcData';
import { krcDataTel } from './researchDevelopment/KrcDataTel';
import { krcDataTelFull } from './researchDevelopment/KrcDataTelFull';
Expand All @@ -25,7 +25,7 @@ import { NIRF } from './reportsAndRankings/Nirf';
import { research, advertisement } from './researchDevelopment/Research';
import { senate } from './governanceAndAdministration/Senate';
import { staff } from './academics/Staff';
import { visitor } from './generalnfo/Visitor';
import { visitor } from './generalInfo/Visitor';
import { Faculty } from './academics/Faculty';
import { announcementType } from './newsAndUpdates/Announcement';
import { Tender } from './newsAndUpdates/Tenders';
Expand All @@ -37,10 +37,10 @@ import {
ContactCategory,
ContactData,
ContactInf,
} from './generalnfo/ContactInfo';
} from './generalInfo/ContactInfo';
import { building_and_works } from './newsAndUpdates/building_and_works';
import { cgc } from './cgc/cgc';
import { finance } from './generalnfo/Finance';
import { finance } from './generalInfo/Finance';
import { student_coordinators } from './studentLife/student_coordinators';

export const schema: { types: SchemaTypeDefinition[] } = {
Expand Down

0 comments on commit 80c2384

Please sign in to comment.