Skip to content

Commit f44e276

Browse files
authored
fix: 'front-end' spelling typo in JSDocs for overrideAccess (#13515)
### What? Repeated typo in jsdoc documentation has been fixed ### Why? 'front-end' was reading as 'fron-end' in several jsdoc comments
1 parent a840fc9 commit f44e276

File tree

18 files changed

+18
-20
lines changed

18 files changed

+18
-20
lines changed

packages/payload/src/collections/operations/local/count.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export type Options<TSlug extends CollectionSlug> = {
3232
locale?: TypedLocale
3333
/**
3434
* Skip access control.
35-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
35+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
3636
* @default true
3737
*/
3838
overrideAccess?: boolean

packages/payload/src/collections/operations/local/countVersions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export type Options<TSlug extends CollectionSlug> = {
3232
locale?: TypedLocale
3333
/**
3434
* Skip access control.
35-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
35+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
3636
* @default true
3737
*/
3838
overrideAccess?: boolean

packages/payload/src/collections/operations/local/create.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export type Options<TSlug extends CollectionSlug, TSelect extends SelectType> =
8181
locale?: TypedLocale
8282
/**
8383
* Skip access control.
84-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
84+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
8585
* @default true
8686
*/
8787
overrideAccess?: boolean

packages/payload/src/collections/operations/local/delete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export type BaseOptions<TSlug extends CollectionSlug, TSelect extends SelectType
4646
locale?: TypedLocale
4747
/**
4848
* Skip access control.
49-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
49+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
5050
* @default true
5151
*/
5252
overrideAccess?: boolean

packages/payload/src/collections/operations/local/duplicate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export type Options<TSlug extends CollectionSlug, TSelect extends SelectType> =
6262
locale?: TypedLocale
6363
/**
6464
* Skip access control.
65-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
65+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
6666
* @default true
6767
*/
6868
overrideAccess?: boolean

packages/payload/src/collections/operations/local/find.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export type Options<TSlug extends CollectionSlug, TSelect extends SelectType> =
7676
locale?: 'all' | TypedLocale
7777
/**
7878
* Skip access control.
79-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
79+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
8080
* @default true
8181
*/
8282
overrideAccess?: boolean

packages/payload/src/collections/operations/local/findByID.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export type Options<
7777
locale?: 'all' | TypedLocale
7878
/**
7979
* Skip access control.
80-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
80+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
8181
* @default true
8282
*/
8383
overrideAccess?: boolean

packages/payload/src/collections/operations/local/findDistinct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export type Options<
5454
locale?: 'all' | TypedLocale
5555
/**
5656
* Skip access control.
57-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
57+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
5858
* @default true
5959
*/
6060
overrideAccess?: boolean

packages/payload/src/collections/operations/local/findVersionByID.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-restricted-exports */
21
import type { CollectionSlug, Payload, RequestContext, TypedLocale } from '../../../index.js'
32
import type { Document, PayloadRequest, PopulateType, SelectType } from '../../../types/index.js'
43
import type { CreateLocalReqOptions } from '../../../utilities/createLocalReq.js'
@@ -48,7 +47,7 @@ export type Options<TSlug extends CollectionSlug> = {
4847
locale?: 'all' | TypedLocale
4948
/**
5049
* Skip access control.
51-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
50+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
5251
* @default true
5352
*/
5453
overrideAccess?: boolean

packages/payload/src/collections/operations/local/findVersions.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-restricted-exports */
21
import type { PaginatedDocs } from '../../../database/types.js'
32
import type { CollectionSlug, Payload, RequestContext, TypedLocale } from '../../../index.js'
43
import type {
@@ -53,7 +52,7 @@ export type Options<TSlug extends CollectionSlug> = {
5352
locale?: 'all' | TypedLocale
5453
/**
5554
* Skip access control.
56-
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the fron-end.
55+
* Set to `false` if you want to respect Access Control for the operation, for example when fetching data for the front-end.
5756
* @default true
5857
*/
5958
overrideAccess?: boolean

0 commit comments

Comments
 (0)