Skip to content

Commit

Permalink
Merge branch '1.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Nov 5, 2024
2 parents 8e7de71 + 5009c2d commit f3e4906
Show file tree
Hide file tree
Showing 132 changed files with 21,581 additions and 8,723 deletions.
29 changes: 0 additions & 29 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .storybook/stories/config-pages/GlobalMessage.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {Meta, StoryObj} from "@storybook/react"
import GlobalMessage from "@components/config-pages/global-message"
import {ComponentProps} from "react"
import {Link, StanfordGlobalMessage, Text} from "@lib/gql/__generated__/drupal"
import {Link, StanfordGlobalMessage, Text} from "@lib/gql/__generated__/drupal.d"
import {createMock} from "storybook-addon-module-mock"
import * as gql from "@lib/gql/gql-queries"

Expand Down
2 changes: 1 addition & 1 deletion .storybook/stories/config-pages/LocalFooter.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import LocalFooter from "@components/config-pages/local-footer"
import {ComponentProps} from "react"
import {createMock} from "storybook-addon-module-mock"
import * as gql from "@lib/gql/gql-queries"
import {StanfordLocalFooter} from "@lib/gql/__generated__/drupal"
import {StanfordLocalFooter} from "@lib/gql/__generated__/drupal.d"

type ComponentStoryProps = ComponentProps<typeof LocalFooter> & {}

Expand Down
2 changes: 1 addition & 1 deletion .storybook/stories/config-pages/SuperFooter.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type {Meta, StoryObj} from "@storybook/react"
import SuperFooter from "@components/config-pages/super-footer"
import {ComponentProps} from "react"
import {StanfordSuperFooter, Text} from "@lib/gql/__generated__/drupal"
import {StanfordSuperFooter, Text} from "@lib/gql/__generated__/drupal.d"
import {createMock} from "storybook-addon-module-mock"
import * as gql from "@lib/gql/gql-queries"

Expand Down
71 changes: 36 additions & 35 deletions .storybook/stories/nodes/StanfordCourse.data.tsx
Original file line number Diff line number Diff line change
@@ -1,58 +1,59 @@
import {NodeStanfordCourse} from "@lib/gql/__generated__/drupal";
import {NodeStanfordCourse} from "@lib/gql/__generated__/drupal.d"

export const StanfordCourseData = () => {
return {
__typename: 'NodeStanfordCourse',
id: 'f121f36b-a993-4386-80a2-12c67fa3fb53',
title: 'Tennis: Advanced Beginning',
__typename: "NodeStanfordCourse",
id: "f121f36b-a993-4386-80a2-12c67fa3fb53",
title: "Tennis: Advanced Beginning",
status: true,
path: '/courses/physwell27',
path: "/courses/physwell27",
changed: {
timezone: 'America/Los_Angeles',
time: '2023-08-18T13:32:57-07:00'
timezone: "America/Los_Angeles",
time: "2023-08-18T13:32:57-07:00",
},
created: {
timezone: 'America/Los_Angeles',
time: '2023-07-21T10:47:31-07:00'
timezone: "America/Los_Angeles",
time: "2023-07-21T10:47:31-07:00",
},
body: {
processed: 'Students will review and strengthen stroke techniques with emphasis on control, depth, and direction. This course will also incorporate rules, etiquette, and basic strategy and tactics. This course will utilize class discussions, class assignments and student participation to enable students to: (1) Understand basic components of health-related physical fitness, cardiovascular fitness, muscular strength and endurance and flexibility (2) Develop physical fitness and motor skills, and (3) Develop a positive attitude toward wellness and physical activity which will facilitate a healthy lifestyle. Prerequisites: 26, or knowledge of rules and scoring and average ability in fundamental strokes but limited playing experience.'
processed:
"Students will review and strengthen stroke techniques with emphasis on control, depth, and direction. This course will also incorporate rules, etiquette, and basic strategy and tactics. This course will utilize class discussions, class assignments and student participation to enable students to: (1) Understand basic components of health-related physical fitness, cardiovascular fitness, muscular strength and endurance and flexibility (2) Develop physical fitness and motor skills, and (3) Develop a positive attitude toward wellness and physical activity which will facilitate a healthy lifestyle. Prerequisites: 26, or knowledge of rules and scoring and average ability in fundamental strokes but limited playing experience.",
},
suCourseAcademicYear: '2023-2024',
suCourseCode: '27',
suCourseAcademicYear: "2023-2024",
suCourseCode: "27",
suCourseId: 102675,
suCourseInstructors: ['Thornton, M.', 'Lee, S.', 'Fendrick, L.'],
suCourseInstructors: ["Thornton, M.", "Lee, S.", "Fendrick, L."],
suCourseLink: {
url: 'http://explorecourses.stanford.edu/search?q=PHYSWELL27',
title: ''
url: "http://explorecourses.stanford.edu/search?q=PHYSWELL27",
title: "",
},
suCourseQuarters: [
{
__typename: 'TermSuCourseQuarter',
id: '68944821-ab8c-4f0c-98f7-f5242ab89ddf',
name: 'Winter',
path: '/courses/winter',
__typename: "TermSuCourseQuarter",
id: "68944821-ab8c-4f0c-98f7-f5242ab89ddf",
name: "Winter",
path: "/courses/winter",
weight: 0,
parent: null
parent: null,
},
{
__typename: 'TermSuCourseQuarter',
id: '1e2402c2-f27e-4fc8-be1b-63768929de94',
name: 'Spring',
path: '/courses/spring',
__typename: "TermSuCourseQuarter",
id: "1e2402c2-f27e-4fc8-be1b-63768929de94",
name: "Spring",
path: "/courses/spring",
weight: 0,
parent: null
}
parent: null,
},
],
suCourseSectionUnits: '1',
suCourseSectionUnits: "1",
suCourseSubject: {
__typename: 'TermSuCourseSubject',
id: '2a30758d-f296-4d32-b07e-2dc02582cddf',
name: 'PHYSWELL',
path: '/courses/physwell',
__typename: "TermSuCourseSubject",
id: "2a30758d-f296-4d32-b07e-2dc02582cddf",
name: "PHYSWELL",
path: "/courses/physwell",
weight: 0,
parent: null
parent: null,
},
suCourseTags: null
} as unknown as NodeStanfordCourse;
}
suCourseTags: null,
} as unknown as NodeStanfordCourse
}
68 changes: 34 additions & 34 deletions .storybook/stories/nodes/StanfordEvent.data.tsx
Original file line number Diff line number Diff line change
@@ -1,74 +1,74 @@
import {NodeStanfordEvent} from "@lib/gql/__generated__/drupal";
import {NodeStanfordEvent} from "@lib/gql/__generated__/drupal.d"

export const StanfordEventData = () => {
return {
__typename: 'NodeStanfordEvent',
id: '210be681-f305-4b99-a2a6-da7d7a1ac2e8',
title: 'Introduction to Stanford Sites',
__typename: "NodeStanfordEvent",
id: "210be681-f305-4b99-a2a6-da7d7a1ac2e8",
title: "Introduction to Stanford Sites",
status: true,
path: '/events/stanford-sites-onboarding-sessions/5x/introduction-stanford-sites-1',
path: "/events/stanford-sites-onboarding-sessions/5x/introduction-stanford-sites-1",
changed: {
timezone: 'America/Los_Angeles',
time: '2024-02-01T14:45:54-08:00'
timezone: "America/Los_Angeles",
time: "2024-02-01T14:45:54-08:00",
},
created: {
timezone: 'America/Los_Angeles',
time: '2024-01-05T16:50:58-08:00'
timezone: "America/Los_Angeles",
time: "2024-01-05T16:50:58-08:00",
},
body: null,
suEventAltLoc: null,
suEventAudience: null,
suEventComponents: null,
suEventContactInfo: null,
suEventCta: {
url: 'https://docs.google.com/forms/d/e/1FAIpQLSdzOKMwQ_Mo6XL9F7ytGI8LoUmeI2zHF6FccOYlnUfzVjSJjQ/viewform',
title: 'Register'
url: "https://docs.google.com/forms/d/e/1FAIpQLSdzOKMwQ_Mo6XL9F7ytGI8LoUmeI2zHF6FccOYlnUfzVjSJjQ/viewform",
title: "Register",
},
suEventDateTime: {
value: '1708110000',
end_value: '1708113600',
timezone: 'America/Los_Angeles',
value: "1708110000",
end_value: "1708113600",
timezone: "America/Los_Angeles",
rrule_index: null,
rrule: null
rrule: null,
},
suEventDek: 'dek field Join our monthly onboarding session',
suEventDek: "dek field Join our monthly onboarding session",
suEventEmail: null,
suEventGroups: null,
suEventKeywords: null,
suEventLocation: {
langcode: null,
country: {name: 'United States', code: 'US'},
country: {name: "United States", code: "US"},
givenName: null,
additionalName: null,
familyName: null,
organization: 'Green Ridge',
addressLine1: '766 Green Ridge Park',
organization: "Green Ridge",
addressLine1: "766 Green Ridge Park",
addressLine2: null,
postalCode: '99999',
postalCode: "99999",
sortingCode: null,
dependentLocality: null,
locality: 'Washington',
administrativeArea: 'DC'
locality: "Washington",
administrativeArea: "DC",
},
suEventMapLink: null,
suEventSchedule: null,
suEventSource: {
url: 'http://localhost',
title: ''
url: "http://localhost",
title: "",
},
suEventSponsor: null,
suEventSubheadline: 'subheadline field',
suEventSubheadline: "subheadline field",
suEventSubject: null,
suEventTelephone: null,
suEventType: [
{
__typename: 'TermStanfordEventType',
id: '2402818d-7056-4eec-a522-49e77def4cdc',
name: '5.x',
path: '/events/stanford-sites-onboarding-sessions/5x',
__typename: "TermStanfordEventType",
id: "2402818d-7056-4eec-a522-49e77def4cdc",
name: "5.x",
path: "/events/stanford-sites-onboarding-sessions/5x",
weight: 0,
parent: {id: '249d3aa0-686f-4533-b73e-493cd596aeee'}
}
]
} as unknown as NodeStanfordEvent;
}
parent: {id: "249d3aa0-686f-4533-b73e-493cd596aeee"},
},
],
} as unknown as NodeStanfordEvent
}
Loading

0 comments on commit f3e4906

Please sign in to comment.