MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / buildPatternsMetadata

Function buildPatternsMetadata

website/src/lib/seo.ts:118–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116}
117
118function buildPatternsMetadata(): PageMetadata {
119 const canonicalUrl = `${SITE_URL}patterns/`;
120 const description =
121 'Map common software engineering patterns to Oracle AI Database features and linked code samples.';
122
123 return {
124 title: `Patterns | ${SITE_NAME}`,
125 description,
126 canonicalUrl,
127 ogType: 'website',
128 ogImageUrl: DEFAULT_OG_IMAGE_URL,
129 ogImageAlt: DEFAULT_OG_IMAGE_ALT,
130 structuredData: [
131 {
132 '@context': 'https://schema.org',
133 '@type': 'CollectionPage',
134 name: 'Oracle AI Database Pattern Atlas',
135 url: canonicalUrl,
136 description
137 }
138 ]
139 };
140}
141
142function buildSampleMetadata(sample: SampleRecord): PageMetadata {
143 return {

Callers 1

resolveRouteMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected