-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '11.x' of https://github.com/SU-SWS/stanford_profile int…
…o 11.x
- Loading branch information
Showing
12 changed files
with
138 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 14 additions & 10 deletions
24
themes/stanford_basic/algolia-search/dist/islands/algolia-search.island.js
Large diffs are not rendered by default.
Oops, something went wrong.
16 changes: 11 additions & 5 deletions
16
themes/stanford_basic/algolia-search/src/algolia-search.island.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
themes/stanford_basic/algolia-search/src/hits/hit.types.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
export type DefaultHit = { | ||
type: 'Basic Page' | 'Course' | 'Event' | 'Event Series' | 'News' | 'Person' | 'Policy' | 'Publication' | ||
url: string | ||
person_full_title?: string | ||
person_short_title?: string | ||
photo?: string | ||
html: string | ||
summary?: string | ||
created: number | ||
status: boolean | ||
title: string | ||
updated: number | ||
} | ||
|
||
export type NewsHit = DefaultHit & { | ||
byline?: string | ||
dek?: string | ||
} | ||
|
||
export type PersonHit = DefaultHit & { | ||
type: 'Person' | ||
person_full_title?: string | ||
person_short_title?: string | ||
email?: string | ||
phone?: number | ||
} | ||
|
||
export type EventHit = DefaultHit & { | ||
type: 'Event' | ||
event_end: number | ||
event_start: number | ||
dek?: string | ||
email?: string | ||
subheadline?: string | ||
} | ||
export type EventSeries = DefaultHit & { | ||
type: 'Event Series' | ||
dek?: string | ||
subheadline?: string | ||
} | ||
|
||
export type StanfordHit = EventHit | PersonHit | NewsHit | EventSeries| DefaultHit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters