From bc89b6291419e166908e7baf73abc607a3a7e301 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Thu, 18 Jul 2024 09:33:25 -0500 Subject: [PATCH] Introduce spell checking into builds (#492) --- .changeset/sixty-rules-attend.md | 41 ++ .changeset/smart-feet-chew.md | 2 +- .github/workflows/ci.yml | 26 + .lintstagedrc.mjs | 10 +- .monorepolint.config.mjs | 2 + .vscode/extensions.json | 3 +- .vscode/settings.json | 5 +- cspell.config.cjs | 18 + .../ontology/queries/getTodoCount.ts | 9 - .../ontology/queries/index.ts | 2 - .../queries/queryTakesAllParameterTypes.ts | 111 ---- .../docs_example/src/osdkExample.tsx | 2 +- .../ontology/queries/index.ts | 1 - package.json | 3 + packages/api/CHANGELOG.md | 4 +- packages/api/package.json | 1 + packages/cli.cmd.typescript/package.json | 1 + packages/cli.common/package.json | 1 + packages/cli/CHANGELOG.md | 2 +- packages/cli/package.json | 1 + .../site/deploy/siteDeployCommand.mts | 2 +- packages/cli/src/util/token.test.ts | 4 +- packages/client.api/package.json | 1 + packages/client.test.ontology/package.json | 1 + packages/client.unstable.osw/package.json | 1 + packages/client.unstable/package.json | 1 + .../GetSecurityProvenanceResponse.ts | 2 +- packages/client/CHANGELOG.md | 10 +- packages/client/package.json | 1 + packages/client/src/OsdkObjectFrom.test.ts | 2 +- .../createBulkLinksAsyncIterFactory.ts | 2 +- packages/client/src/createClient.test.ts | 2 +- .../modernToLegacyWhereClause.test.ts | 2 +- packages/client/src/object/Cache.test.ts | 18 +- packages/client/src/object/Cache.ts | 2 +- packages/client/src/object/SimpleCache.ts | 2 +- packages/client/src/object/aggregate.test.ts | 2 +- packages/client/src/object/attachment.test.ts | 4 +- packages/client/src/object/fetchPage.ts | 2 +- .../objectSet/ObjectSetListenerWebsocket.ts | 8 +- .../ontology/StandardOntologyProvider.test.ts | 2 +- .../src/ontology/loadFullObjectMetadata.ts | 6 +- .../src/ontology/loadInterfaceDefinition.ts | 4 +- packages/client/src/queries/applyQuery.ts | 8 +- packages/client/src/queries/queries.test.ts | 8 +- packages/client/src/util/toDataValue.test.ts | 4 +- .../create-app.template-packager/package.json | 1 + .../package.json | 1 + .../create-app.template.react/package.json | 1 + .../package.json | 1 + .../package.json | 1 + packages/create-app.template.vue/package.json | 1 + packages/create-app/package.json | 1 + .../src/generate/generateNpmRc.test.ts | 2 +- packages/e2e.generated.1.1.x/CHANGELOG.md | 6 +- packages/e2e.generated.1.1.x/package.json | 1 + .../@foundry/oauth-client/dist/Auth.ts | 2 +- .../ConfidentialClientAuth.ts | 2 +- .../@foundry/oauth-client/dist/OAuthClient.ts | 10 +- .../@foundry/oauth-client/dist/OAuthToken.ts | 2 +- .../dist/PublicClient/PublicClientAuth.ts | 2 +- .../@foundry/oauth-client/dist/Token.ts | 4 +- .../dist/UserToken/UserTokenAuth.ts | 2 +- .../dist/aggregations/Aggregations.ts | 66 +-- .../dist/aggregations/ComputeStep.ts | 6 +- .../dist/aggregations/CountOperation.ts | 6 +- .../dist/aggregations/groupBy/index.ts | 20 +- .../internalAggregationRequest.ts | 2 +- ...ximateDistinctCountAggregatableProperty.ts | 4 +- .../metrics/DefaultAggregatableProperty.ts | 2 +- .../metrics/LocalDatePropertyMetric.ts | 2 +- .../metrics/MultipleAggregatableProperty.ts | 4 +- .../metrics/NumericPropertyMetric.ts | 2 +- .../metrics/TimestampPropertyMetric.ts | 2 +- .../dist/baseTypes/ActionType.ts | 22 +- .../dist/baseTypes/ObjectType.ts | 66 +-- .../dist/baseTypes/OntologyObject.ts | 4 +- .../dist/baseTypes/Queries.ts | 12 +- .../dist/baseTypes/attachments/Attachment.ts | 4 +- .../dist/baseTypes/attachments/Attachments.ts | 2 +- .../dist/baseTypes/geoshapes/Distance.ts | 8 +- .../dist/baseTypes/geoshapes/GeoJson.ts | 18 +- .../dist/baseTypes/geoshapes/GeoPoint.ts | 12 +- .../dist/baseTypes/geoshapes/GeoShape.ts | 4 +- .../baseTypes/geoshapes/GeometryCollection.ts | 2 +- .../dist/baseTypes/geoshapes/LineString.ts | 4 +- .../dist/baseTypes/geoshapes/MultiGeoPoint.ts | 4 +- .../baseTypes/geoshapes/MultiLineString.ts | 4 +- .../dist/baseTypes/geoshapes/MultiPolygon.ts | 4 +- .../dist/baseTypes/geoshapes/Polygon.ts | 6 +- .../ontology-runtime/dist/baseTypes/links.ts | 4 +- .../dist/baseTypes/localDate.ts | 4 +- .../objectset/ObjectSetDefinition.ts | 16 +- .../baseTypes/objectset/OntologyObjectSet.ts | 2 +- .../FilteredPropertiesTerminalOperations.ts | 4 +- .../dist/baseTypes/timeseries/TimeSeries.ts | 2 +- .../timeseries/TimeSeriesDuration.ts | 6 +- .../baseTypes/timeseries/TimeSeriesPoint.ts | 2 +- .../baseTypes/timeseries/TimeSeriesQuery.ts | 2 +- .../TimeSeriesTerminalOperations.ts | 4 +- .../dist/baseTypes/timestamp.ts | 4 +- .../dist/client/clientOptions.ts | 2 +- .../dist/filters/ArrayFilter.ts | 4 +- .../dist/filters/AttachmentFilter.ts | 4 +- .../dist/filters/BooleanFilter.ts | 4 +- .../dist/filters/DateTimeFilters.ts | 8 +- .../ontology-runtime/dist/filters/Filters.ts | 58 +- .../dist/filters/GeoPointFilter.ts | 6 +- .../dist/filters/GeoShapeFilter.ts | 4 +- .../dist/filters/NumericFilter.ts | 4 +- .../ontology-runtime/dist/filters/Op.ts | 2 +- .../dist/filters/OrderByOption.ts | 4 +- .../dist/filters/StringFilter.ts | 4 +- .../dist/ontologyProvider/Errors.ts | 124 ++-- .../dist/ontologyProvider/OntologyMetadata.ts | 2 +- .../dist/ontologyProvider/Result.ts | 16 +- .../ontology-runtime/dist/paging/Page.ts | 2 +- packages/e2e.generated.catchall/package.json | 1 + packages/e2e.sandbox.catchall/package.json | 1 + .../src/legacy-examples/fetchEmployeePage.ts | 2 +- packages/e2e.sandbox.todoapp/src/useTodos.tsx | 2 +- packages/example-generator/package.json | 1 + .../example-generator/src/gitIgnoreFilter.ts | 6 +- packages/foundry-sdk-generator/CHANGELOG.md | 6 +- packages/foundry-sdk-generator/package.json | 1 + .../src/__e2e_tests__/attachements.test.ts | 4 +- .../src/generate/GeneratePackageCommand.ts | 4 +- .../src/generate/betaClient/minifyBundle.ts | 6 +- packages/foundry.core/package.json | 1 + packages/foundry.security/package.json | 1 + .../package.json | 1 + packages/foundry/package.json | 1 + packages/gateway-generator/package.json | 1 + .../gateway-generator/src/generate/common.ts | 2 +- .../src/generate/namespace.ts | 4 +- .../src/generate/types.test.ts | 2 +- packages/gateway/CHANGELOG.md | 2 +- packages/gateway/package.json | 1 + packages/gateway/requests.d.ts | 2 +- .../AbortTransactionPermissionDenied.ts | 2 +- packages/gateway/types.d.ts | 2 +- packages/generator-converters/package.json | 1 + .../wirePropertyV2ToSdkPropertyDefinition.ts | 2 +- packages/generator/CHANGELOG.md | 10 +- packages/generator/package.json | 1 + .../src/shared/generatePerActionDataFiles.ts | 2 +- ...eQueryDataTypeToQueryDataTypeDefinition.ts | 6 +- packages/generator/src/util/stringify.ts | 4 +- .../util/{verifyOutdir.ts => verifyOutDir.ts} | 2 +- .../generateOntologyRuntimeDistDir.ts | 5 +- .../v1.1/backcompat/util/reexportConsts.ts | 2 +- .../src/v1.1/backcompat/util/reexportTypes.ts | 2 +- .../v1.1/generateClientSdkVersionOneDotOne.ts | 4 +- .../generateClientSdkVersionTwoPointZero.ts | 4 +- packages/internal.foundry.core/package.json | 1 + .../internal.foundry.datasets/package.json | 1 + packages/internal.foundry.models/package.json | 1 + .../internal.foundry.ontologies/package.json | 1 + .../package.json | 1 + packages/internal.foundry/package.json | 1 + packages/legacy-client/CHANGELOG.md | 16 +- packages/legacy-client/package.json | 1 + .../src/client/baseTypes/timestamp.ts | 2 +- .../client/objects/convertWireToOsdkObject.ts | 2 +- packages/legacy-client/src/client/ontology.ts | 2 +- .../legacy-client/src/client/queryProxy.ts | 4 +- packages/maker/package.json | 1 + packages/maker/src/api/defineObject.ts | 2 +- packages/monorepo.cspell/cspell.config.js | 192 ++++++ .../monorepo.cspell/dict.foundry-words.txt | 2 + .../dict.imported-ontologies.txt | 3 + .../monorepo.cspell/dict.normal-dev-words.txt | 15 + .../monorepo.cspell/dict.npm-packages.txt | 12 + packages/monorepo.cspell/dict.oauth.txt | 1 + packages/monorepo.cspell/dict.osdk-code.txt | 46 ++ packages/monorepo.cspell/dict.osdk.txt | 1 + packages/monorepo.cspell/dict.test-words.txt | 6 + .../dict.wire-api-words-to-fix.txt | 41 ++ .../monorepo.cspell/dict.wire-api-words.txt | 25 + packages/monorepo.cspell/index.js | 17 + packages/monorepo.cspell/package.json | 15 + packages/monorepo.tsup/tsup.mjs | 2 +- packages/oauth/package.json | 1 + packages/oauth/src/createPublicOauthClient.ts | 2 +- packages/platform-sdk-generator/package.json | 1 + packages/shared.client.impl/package.json | 1 + packages/shared.net.errors/package.json | 1 + packages/shared.net.fetch/package.json | 1 + .../src/createFetchOrThrow.ts | 7 +- packages/shared.net.platformapi/package.json | 1 + packages/shared.net/package.json | 1 + packages/shared.test/package.json | 1 + .../src/handlers/util/handleOpenApiCall.ts | 2 +- .../shared.test/src/stubs/actionsTypes.ts | 2 +- .../src/stubs/timeseriesRequests.ts | 4 +- packages/tool.release/package.json | 1 + packages/tool.release/src/publishPackages.ts | 2 +- .../tool.release/src/util/getVersionPrBody.ts | 8 +- packages/version-updater/package.json | 1 + pnpm-lock.yaml | 561 +++++++++++++++++- turbo.json | 16 +- 201 files changed, 1539 insertions(+), 566 deletions(-) create mode 100644 .changeset/sixty-rules-attend.md create mode 100644 cspell.config.cjs delete mode 100644 examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/getTodoCount.ts delete mode 100644 examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/index.ts delete mode 100644 examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/queryTakesAllParameterTypes.ts delete mode 100644 examples-extra/todoapp/src/generatedNoCheck2/ontology/queries/index.ts rename packages/generator/src/util/{verifyOutdir.ts => verifyOutDir.ts} (95%) create mode 100644 packages/monorepo.cspell/cspell.config.js create mode 100644 packages/monorepo.cspell/dict.foundry-words.txt create mode 100644 packages/monorepo.cspell/dict.imported-ontologies.txt create mode 100644 packages/monorepo.cspell/dict.normal-dev-words.txt create mode 100644 packages/monorepo.cspell/dict.npm-packages.txt create mode 100644 packages/monorepo.cspell/dict.oauth.txt create mode 100644 packages/monorepo.cspell/dict.osdk-code.txt create mode 100644 packages/monorepo.cspell/dict.osdk.txt create mode 100644 packages/monorepo.cspell/dict.test-words.txt create mode 100644 packages/monorepo.cspell/dict.wire-api-words-to-fix.txt create mode 100644 packages/monorepo.cspell/dict.wire-api-words.txt create mode 100644 packages/monorepo.cspell/index.js create mode 100644 packages/monorepo.cspell/package.json diff --git a/.changeset/sixty-rules-attend.md b/.changeset/sixty-rules-attend.md new file mode 100644 index 000000000..e64ac8d8e --- /dev/null +++ b/.changeset/sixty-rules-attend.md @@ -0,0 +1,41 @@ +--- +"@osdk/foundry.thirdpartyapplications": patch +"@osdk/internal.foundry.ontologiesv2": patch +"@osdk/internal.foundry.ontologies": patch +"@osdk/internal.foundry.datasets": patch +"@osdk/internal.foundry.models": patch +"@osdk/platform-sdk-generator": patch +"@osdk/shared.net.platformapi": patch +"@osdk/foundry-sdk-generator": patch +"@osdk/internal.foundry.core": patch +"@osdk/client.test.ontology": patch +"@osdk/generator-converters": patch +"@osdk/client.unstable.osw": patch +"@osdk/cli.cmd.typescript": patch +"@osdk/shared.client.impl": patch +"@osdk/example-generator": patch +"@osdk/gateway-generator": patch +"@osdk/shared.net.errors": patch +"@osdk/foundry.security": patch +"@osdk/internal.foundry": patch +"@osdk/shared.net.fetch": patch +"@osdk/client.unstable": patch +"@osdk/legacy-client": patch +"@osdk/foundry.core": patch +"@osdk/tool.release": patch +"@osdk/shared.test": patch +"@osdk/cli.common": patch +"@osdk/client.api": patch +"@osdk/create-app": patch +"@osdk/shared.net": patch +"@osdk/generator": patch +"@osdk/foundry": patch +"@osdk/gateway": patch +"@osdk/client": patch +"@osdk/maker": patch +"@osdk/oauth": patch +"@osdk/api": patch +"@osdk/cli": patch +--- + +Spelling fixes and spell check in CI diff --git a/.changeset/smart-feet-chew.md b/.changeset/smart-feet-chew.md index 7839c8cd8..2b59c18dc 100644 --- a/.changeset/smart-feet-chew.md +++ b/.changeset/smart-feet-chew.md @@ -2,4 +2,4 @@ "@osdk/client": patch --- -Fixes link direction for experiental bulk loads +Fixes link direction for experimental bulk loads diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5802228b4..1e8042fc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,6 +13,32 @@ on: types: [opened, synchronize, reopened] jobs: + cspell: + name: Check spelling + timeout-minutes: 5 + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - uses: pnpm/action-setup@v4 + with: + version: 8.7.4 + + - name: Setup Node.js environment + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: "pnpm" + + - name: Install dependencies + run: pnpm install + + - name: Check spelling + run: pnpm exec turbo run ci:cspell + changesets: name: Check for changesets if: ${{ github.event_name == 'pull_request' }} diff --git a/.lintstagedrc.mjs b/.lintstagedrc.mjs index bbfaf8424..40e8a801f 100644 --- a/.lintstagedrc.mjs +++ b/.lintstagedrc.mjs @@ -2,6 +2,8 @@ import micromatch from "micromatch"; +const CSPELL_CMD = "cspell --quiet --no-must-find-files"; + /* * Overview: * - Fixes lint rules and formatting for code @@ -14,7 +16,9 @@ import micromatch from "micromatch"; export default { "packages/monorepo.*/**/*.{js,jsx,ts,tsx,mjs,cjs}": [ "dprint fmt", + CSPELL_CMD, ], + "*.md": [CSPELL_CMD], "packages/**/*.{js,jsx,ts,tsx,mjs,cjs}": ( files, ) => { @@ -30,9 +34,13 @@ export default { return [ `dprint fmt ${match.join(" ")}`, `eslint --fix ${match.join(" ")}`, + `${CSPELL_CMD} ${match.join(" ")}`, ]; }, - "(.lintstagedrc.mjs|.monorepolint.config.mjs)": ["dprint fmt"], + "(.lintstagedrc.mjs|.monorepolint.config.mjs)": [ + "dprint fmt", + CSPELL_CMD, + ], "*": (files) => { const mrlFiles = micromatch(files, [ "package.json", diff --git a/.monorepolint.config.mjs b/.monorepolint.config.mjs index d94977019..c7153f578 100644 --- a/.monorepolint.config.mjs +++ b/.monorepolint.config.mjs @@ -40,6 +40,7 @@ const nonStandardPackages = [ "@osdk/e2e.generated.*", // generated sdks for e2e testing "@osdk/shared.client", "@osdk/create-app.template.*", + "@osdk/monorepo.cspell", "@osdk/tests.*", ]; @@ -287,6 +288,7 @@ function standardPackageRules(shared, options) { options: { scripts: { clean: "rm -rf lib dist types build tsconfig.tsbuildinfo", + "check-spelling": "cspell --quiet .", "check-attw": `${pathToWorkspaceRoot}/scripts/build_common/check-attw.sh ${ options.esmOnly ? "esm" : "both" diff --git a/.vscode/extensions.json b/.vscode/extensions.json index bc26a82ae..703abe0be 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,7 +4,8 @@ // List of extensions which should be recommended for users of this workspace. "recommendations": [ - "dprint.dprint" + "dprint.dprint", + "streetsidesoftware.code-spell-checker" ], // List of extensions recommended by VS Code that should not be recommended for users of this workspace. "unwantedRecommendations": [] diff --git a/.vscode/settings.json b/.vscode/settings.json index f8830bca7..7f3da05b2 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -22,5 +22,8 @@ "pino", "todoapp" ], - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "[jsonc]": { + "editor.defaultFormatter": "dprint.dprint" + } } diff --git a/cspell.config.cjs b/cspell.config.cjs new file mode 100644 index 000000000..a1cdc1f7e --- /dev/null +++ b/cspell.config.cjs @@ -0,0 +1,18 @@ +/* + * Copyright 2024 Palantir Technologies, Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +"use strict"; +module.exports = require("@osdk/monorepo.cspell"); diff --git a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/getTodoCount.ts b/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/getTodoCount.ts deleted file mode 100644 index 0660f6be9..000000000 --- a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/getTodoCount.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { QueryDefinition } from '@osdk/api'; - -export const getTodoCount = { - apiName: 'getTodoCount', - type: 'query', - version: '0.1.2', - parameters: {}, - output: { nullable: false, type: 'integer' }, -} satisfies QueryDefinition<'getTodoCount', never>; diff --git a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/index.ts b/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/index.ts deleted file mode 100644 index 6185c146e..000000000 --- a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/index.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from './getTodoCount.js'; -export * from './queryTakesAllParameterTypes.js'; diff --git a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/queryTakesAllParameterTypes.ts b/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/queryTakesAllParameterTypes.ts deleted file mode 100644 index b9f5e158f..000000000 --- a/examples-extra/basic/sdk/src/generatedNoCheck/ontology/queries/queryTakesAllParameterTypes.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { QueryDefinition } from '@osdk/api'; -import { Todo } from '../objects.js'; -export const queryTakesAllParameterTypes = { - apiName: 'queryTakesAllParameterTypes', - description: 'description of the query that takes all parameter types', - displayName: 'qTAPT', - type: 'query', - version: 'version', - parameters: { - double: { description: 'a double parameter', nullable: false, type: 'double' }, - float: { nullable: false, type: 'float' }, - integer: { nullable: false, type: 'integer' }, - long: { nullable: false, type: 'long' }, - attachment: { nullable: false, type: 'attachment' }, - boolean: { nullable: false, type: 'boolean' }, - date: { nullable: false, type: 'date' }, - string: { nullable: false, type: 'string' }, - timestamp: { nullable: false, type: 'timestamp' }, - object: { - nullable: false, - object: 'Todo', - type: 'object', - - __OsdkTargetType: Todo, - }, - objectSet: { - nullable: false, - objectSet: 'Todo', - type: 'objectSet', - - __OsdkTargetType: Todo, - }, - array: { description: 'an array of strings', multiplicity: true, nullable: false, type: 'string' }, - set: { - description: 'a set of strings', - nullable: false, - set: { - type: 'string', - nullable: false, - }, - type: 'set', - }, - unionNonNullable: { - description: 'a union of strings and integers', - nullable: false, - type: 'union', - union: [ - { - type: 'string', - nullable: false, - }, - { - type: 'integer', - nullable: false, - }, - ], - }, - unionNullable: { - description: 'a union of strings and integers but its optional', - nullable: true, - type: 'union', - union: [ - { - type: 'string', - nullable: false, - }, - { - type: 'integer', - nullable: false, - }, - ], - }, - struct: { - description: 'a struct with some fields', - nullable: false, - struct: { - name: { - type: 'string', - nullable: false, - }, - id: { - type: 'integer', - nullable: false, - }, - }, - type: 'struct', - }, - twoDimensionalAggregation: { - nullable: false, - twoDimensionalAggregation: { - keyType: 'string', - valueType: 'double', - }, - type: 'twoDimensionalAggregation', - }, - threeDimensionalAggregation: { - nullable: false, - threeDimensionalAggregation: { - keyType: 'range', - keySubtype: 'date', - valueType: { - keyType: 'range', - keySubtype: 'timestamp', - valueType: 'date', - }, - }, - type: 'threeDimensionalAggregation', - }, - }, - output: { nullable: false, type: 'string' }, -} satisfies QueryDefinition<'queryTakesAllParameterTypes', 'Todo'>; diff --git a/examples-extra/docs_example/src/osdkExample.tsx b/examples-extra/docs_example/src/osdkExample.tsx index d1d002259..d40faacb2 100644 --- a/examples-extra/docs_example/src/osdkExample.tsx +++ b/examples-extra/docs_example/src/osdkExample.tsx @@ -51,7 +51,7 @@ export async function osdkObjectSetExample() { meetingRoomCapacities: { $contains: 30 }, }); - // Where clause GEOTYPES + // Where clause geo types // Within clauses take either a polygon or bounding box const withinFilteredObjectSet = await client(Office).where({ diff --git a/examples-extra/todoapp/src/generatedNoCheck2/ontology/queries/index.ts b/examples-extra/todoapp/src/generatedNoCheck2/ontology/queries/index.ts deleted file mode 100644 index cb0ff5c3b..000000000 --- a/examples-extra/todoapp/src/generatedNoCheck2/ontology/queries/index.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/package.json b/package.json index bb53a79f7..751309a9c 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "check-mrl": "mrl check --verbose", "ci:publish": "./scripts/ci-publish.sh", "ci:publishSnapshot": "pnpm run prePublish && pnpm exec changeset version --snapshot && pnpm exec changeset publish --no-git-tag --snapshot --tag=next", + "cspell:all": "cspell . --quiet", "lint": "turbo run lint", "postVersionCmd": "turbo run postVersioning && turbo codegen", "prePublish": "turbo build && turbo lint", @@ -25,11 +26,13 @@ "@monorepolint/config": "0.5.0-beta.10", "@monorepolint/core": "0.5.0-beta.10", "@monorepolint/rules": "0.5.0-beta.10", + "@osdk/monorepo.cspell": "workspace:~", "@osdk/monorepo.tsconfig": "workspace:~", "@osdk/monorepo.tsup": "workspace:~", "@types/lint-staged": "^13.3.0", "@typescript-eslint/parser": "^7.16.0", "babel-plugin-dev-expression": "^0.2.3", + "cspell": "^8.11.0", "dprint": "^0.45.1", "esbuild-plugin-babel": "^0.2.3", "eslint": "^9.3.0", diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index c370b9811..d1315119c 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -134,7 +134,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] @@ -164,7 +164,7 @@ ### Patch Changes -- a2b7874: Addin TimeSeries support and fixing issues during code-gen time with Queries +- a2b7874: Add in TimeSeries support and fixing issues during code-gen time with Queries ## 0.0.6 diff --git a/packages/api/package.json b/packages/api/package.json index b8d565d1f..bc7d71709 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/cli.cmd.typescript/package.json b/packages/cli.cmd.typescript/package.json index 6b4fbf540..4b62d2cd8 100644 --- a/packages/cli.cmd.typescript/package.json +++ b/packages/cli.cmd.typescript/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/cli.common/package.json b/packages/cli.common/package.json index 3ab5fb2d6..3b75ca69e 100644 --- a/packages/cli.common/package.json +++ b/packages/cli.common/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 5f53dc109..6f79cc213 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -205,7 +205,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] diff --git a/packages/cli/package.json b/packages/cli/package.json index eccfa019d..d163af957 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/cli/src/commands/site/deploy/siteDeployCommand.mts b/packages/cli/src/commands/site/deploy/siteDeployCommand.mts index 76acf68d6..637b6384d 100644 --- a/packages/cli/src/commands/site/deploy/siteDeployCommand.mts +++ b/packages/cli/src/commands/site/deploy/siteDeployCommand.mts @@ -80,7 +80,7 @@ export default async function siteDeployCommand( clientCtx, application, siteVersion, - Readable.toWeb(archive) as ReadableStream, // This cast is because the dom fetch doesnt align type wise with streams + Readable.toWeb(archive) as ReadableStream, // This cast is because the dom fetch doesn't align type wise with streams ), archive.finalize(), ]); diff --git a/packages/cli/src/util/token.test.ts b/packages/cli/src/util/token.test.ts index 3665570ac..7fbe4972f 100644 --- a/packages/cli/src/util/token.test.ts +++ b/packages/cli/src/util/token.test.ts @@ -64,8 +64,8 @@ describe("loadToken", () => { describe("loadTokenFile", () => { it("should throw an error if the token file is not found", async () => { - await expect(() => loadTokenFile("doesnt-exist.txt")) - .rejects.toThrow(`Unable to read token file "doesnt-exist.txt"`); + await expect(() => loadTokenFile("does-not-exist.txt")) + .rejects.toThrow(`Unable to read token file "does-not-exist.txt"`); }); }); diff --git a/packages/client.api/package.json b/packages/client.api/package.json index 485aee048..8449820e4 100644 --- a/packages/client.api/package.json +++ b/packages/client.api/package.json @@ -20,6 +20,7 @@ "api-checker": "api-extractor run --verbose --local", "api-docs": "api-documenter markdown -i build/api-extractor --output-folder api-docs", "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/client.test.ontology/package.json b/packages/client.test.ontology/package.json index 5453b3a4d..b5545283d 100644 --- a/packages/client.test.ontology/package.json +++ b/packages/client.test.ontology/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "node ./generateMockOntology.js", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/client.unstable.osw/package.json b/packages/client.unstable.osw/package.json index 557655964..b8930fb2e 100644 --- a/packages/client.unstable.osw/package.json +++ b/packages/client.unstable.osw/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/client.unstable/package.json b/packages/client.unstable/package.json index e876beacc..8be8ca3a5 100644 --- a/packages/client.unstable/package.json +++ b/packages/client.unstable/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/client.unstable/src/generated/ontology-metadata/api/objectstorage/GetSecurityProvenanceResponse.ts b/packages/client.unstable/src/generated/ontology-metadata/api/objectstorage/GetSecurityProvenanceResponse.ts index ed4a02ed3..5895ffca7 100644 --- a/packages/client.unstable/src/generated/ontology-metadata/api/objectstorage/GetSecurityProvenanceResponse.ts +++ b/packages/client.unstable/src/generated/ontology-metadata/api/objectstorage/GetSecurityProvenanceResponse.ts @@ -20,7 +20,7 @@ import type { LinkTypeSecurityProvenanceLoadResponse } from "./LinkTypeSecurityP import type { ObjectTypeSecurityProvenanceLoadResponse } from "./ObjectTypeSecurityProvenanceLoadResponse.js"; /** - * Response to GetSecurisyProvenanceRequest. + * Response to GetSecurityProvenanceResponse. */ export interface GetSecurityProvenanceResponse { objectTypes: Record; diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index e5c664d5a..7575ca9a9 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -60,7 +60,7 @@ - 5378312: Added batch action support for 2.0 client - b3563e0: OSDK learns \_\_EXPERIMENTAL_strictNonNull to throw, drop objects, or return `| undefined` for properties, allowing for correct typesafety. - dd6033a: Adds a createPlatformClient if you only need platform apis -- 4dbac7e: Fixes link direction for experiental bulk loads +- 4dbac7e: Fixes link direction for experimental bulk loads - 413e511: Added attachment uploading, reading, and metadata fetching support to 2.0. - 44add10: Standardize the use of dollar signs as prefixes for object properties that are specific to the OSDK. @@ -76,7 +76,7 @@ - 0a64def: Adds experimental batch link support - f9b3c72: Support importing the unstable-do-not-use from moduleResolution: node -- 978ecd5: Rexport PalantirApiError +- 978ecd5: Reexport PalantirApiError - 978ecd5: Client is now usable for calling Platform SDK - c9f3214: Interfaces are now mapped as views @@ -111,7 +111,7 @@ - Introduced an optional pino logger to the client - Fixes issues with where clauses for equality in subscriptions - - Fixes issues with inconsistent idname and apiName's in the mapping data + - Fixes issues with inconsistent id name and apiName's in the mapping data - 9906a41: Foundry Platform API support - 9906a41: Compatible version checks now use versions that are both embedded in the code and updated automatically as part of the release process. @@ -197,7 +197,7 @@ ### Minor Changes -- 6d81f7f: Add priliminary action support to v2 +- 6d81f7f: Add preliminary action support to v2 ## 0.0.11 @@ -267,7 +267,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] diff --git a/packages/client/package.json b/packages/client/package.json index 3734909c3..238b1dcc3 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/client/src/OsdkObjectFrom.test.ts b/packages/client/src/OsdkObjectFrom.test.ts index d01f6d3a6..d066c5c31 100644 --- a/packages/client/src/OsdkObjectFrom.test.ts +++ b/packages/client/src/OsdkObjectFrom.test.ts @@ -150,7 +150,7 @@ describe("Osdk", () => { Osdk >(); - // See, when we dig via infer we find it doesnt match + // See, when we dig via infer we find it doesn't match expectTypeOf< GetUnderlyingProps< OsdkAsHelper diff --git a/packages/client/src/__unstable/createBulkLinksAsyncIterFactory.ts b/packages/client/src/__unstable/createBulkLinksAsyncIterFactory.ts index 178d646fe..fd4b57f25 100644 --- a/packages/client/src/__unstable/createBulkLinksAsyncIterFactory.ts +++ b/packages/client/src/__unstable/createBulkLinksAsyncIterFactory.ts @@ -143,7 +143,7 @@ export function createBulkLinksAsyncIterFactory(ctx: MinimalClient) { a.directedLinkTypeRid.linkTypeRid === link.link.linkTypeRid && a.directedLinkTypeRid.linkSide === link.linkSide ); - if (!mappedLink) throw new Error("Could not find link type"); // shouldnt happens + if (!mappedLink) throw new Error("Could not find link type"); // should not happens yield { object: obj, diff --git a/packages/client/src/createClient.test.ts b/packages/client/src/createClient.test.ts index 32cf60928..be4f29cc4 100644 --- a/packages/client/src/createClient.test.ts +++ b/packages/client/src/createClient.test.ts @@ -102,7 +102,7 @@ describe(createClient, () => { .fetchPage(); }); - it("doesnt work with a far future version", () => { + it("doesn't work with a far future version", () => { client( // @ts-expect-error MockOntology.objects.Task as diff --git a/packages/client/src/internal/conversions/modernToLegacyWhereClause.test.ts b/packages/client/src/internal/conversions/modernToLegacyWhereClause.test.ts index 7f4db01e4..1e155f8f3 100644 --- a/packages/client/src/internal/conversions/modernToLegacyWhereClause.test.ts +++ b/packages/client/src/internal/conversions/modernToLegacyWhereClause.test.ts @@ -284,7 +284,7 @@ describe(modernToLegacyWhereClause, () => { `); }); - it("properly generates interesects polygon", async () => { + it("properly generates intersects polygon", async () => { expect(modernToLegacyWhereClause( { geoShape: { diff --git a/packages/client/src/object/Cache.test.ts b/packages/client/src/object/Cache.test.ts index fb46d5a2e..c6245b685 100644 --- a/packages/client/src/object/Cache.test.ts +++ b/packages/client/src/object/Cache.test.ts @@ -109,7 +109,7 @@ describe("AsyncCache", () => { let expectedAsyncSets: number; let expectedFactoryCalls: number; - let successfullFetches: Set; + let successfulFetches: Set; let pendingFetches: Set; let expectedPending: Record = {}; @@ -127,7 +127,7 @@ describe("AsyncCache", () => { expectedAsyncSets = 0; expectedFactoryCalls = 0; - successfullFetches = new Set(); + successfulFetches = new Set(); pendingFetches = new Set(); expectedPending = {}; @@ -155,7 +155,7 @@ describe("AsyncCache", () => { function initiateAsyncCacheGetFor(key: string) { return async () => { - if (!successfullFetches.has(key)) { + if (!successfulFetches.has(key)) { expectedPending[key] = (expectedPending[key] ?? 0) + 1; if (!pendingFetches.has(key)) { pendingFetches.add(key); @@ -189,12 +189,12 @@ describe("AsyncCache", () => { ); expect(factoryFn.mock.calls[num][1]).toBe(key); expect(pendingFetches).toContain(key); - expect(successfullFetches).not.toContain(key); + expect(successfulFetches).not.toContain(key); // // Update expectations pendingFetches.delete(value); - successfullFetches.add(value); + successfulFetches.add(value); // check before and after make sense so that `expectSaneCalls` can work const before = await getStats(); @@ -263,7 +263,7 @@ describe("AsyncCache", () => { expect(cache.get).toHaveBeenCalledTimes(stats.asyncCacheGetCalls); // the inner cache only gets set after a successful factory call - expect(cache.set).toHaveBeenCalledTimes(successfullFetches.size); + expect(cache.set).toHaveBeenCalledTimes(successfulFetches.size); } function itRejectsAllRequestsOf(key: string) { @@ -325,8 +325,8 @@ describe("AsyncCache", () => { }); } - function itFullfillsAsyncCacheGets(indexes: number[], value: string) { - it(`fullfills the AsyncCache.get()'s ${indexes.join(", ")} with '${value}'`, async () => { + function itFulfillsAsyncCacheGets(indexes: number[], value: string) { + it(`fulfills the AsyncCache.get()'s ${indexes.join(", ")} with '${value}'`, async () => { for (const i of indexes) { expect(await pStateAsync(getPromises[i])).toBe("fulfilled"); expect(await getPromises[i]).toBe(value); @@ -404,7 +404,7 @@ describe("AsyncCache", () => { }); describeResolvesFactoryCall(0, "a", () => { - itFullfillsAsyncCacheGets([0, 1], "aResult"); + itFulfillsAsyncCacheGets([0, 1], "aResult"); itLeavesAsyncGetPromisesInStates([ "fulfilled", "fulfilled", diff --git a/packages/client/src/object/Cache.ts b/packages/client/src/object/Cache.ts index ee620746b..c415631db 100644 --- a/packages/client/src/object/Cache.ts +++ b/packages/client/src/object/Cache.ts @@ -35,7 +35,7 @@ export interface AsyncClientCache { /** * @param client the client to key from - * @param key the subkey to use + * @param key the sub-key to use * @param value the value or a promise to the value * @returns a new promise to the resolved value */ diff --git a/packages/client/src/object/SimpleCache.ts b/packages/client/src/object/SimpleCache.ts index e325b4737..f09bfb95c 100644 --- a/packages/client/src/object/SimpleCache.ts +++ b/packages/client/src/object/SimpleCache.ts @@ -79,7 +79,7 @@ export interface WeakAsyncCache { /** * @param client the client to key from - * @param key the subkey to use + * @param key the sub-key to use * @param value the value or a promise to the value * @returns a new promise to the resolved value */ diff --git a/packages/client/src/object/aggregate.test.ts b/packages/client/src/object/aggregate.test.ts index 8f915fe29..6be655462 100644 --- a/packages/client/src/object/aggregate.test.ts +++ b/packages/client/src/object/aggregate.test.ts @@ -250,7 +250,7 @@ describe("aggregate", () => { }, typeof notGrouped > - >(false); // subselect should hide unused keys + >(false); // subSelect should hide unused keys const grouped = await aggregate( clientCtx, diff --git a/packages/client/src/object/attachment.test.ts b/packages/client/src/object/attachment.test.ts index d7a5c3da1..ccd50bf7a 100644 --- a/packages/client/src/object/attachment.test.ts +++ b/packages/client/src/object/attachment.test.ts @@ -36,7 +36,7 @@ describe("attachments", () => { apiServer.close(); }); - it("reads attachment metadata succesfully", async () => { + it("reads attachment metadata successfully", async () => { const result = await client( MockOntology.objects.objectTypeWithAllPropertyTypes, ) @@ -54,7 +54,7 @@ describe("attachments", () => { ); }); - it("reads attachment succesfully", async () => { + it("reads attachment successfully", async () => { const result = await client( MockOntology.objects.objectTypeWithAllPropertyTypes, ) diff --git a/packages/client/src/object/fetchPage.ts b/packages/client/src/object/fetchPage.ts index 31e4118ee..53790c822 100644 --- a/packages/client/src/object/fetchPage.ts +++ b/packages/client/src/object/fetchPage.ts @@ -241,7 +241,7 @@ export async function fetchObjectPage< await client.ontologyRid, applyFetchArgs(args, { objectSet, - // We have to do the following case because LoadObjectSetRequestV2 isnt readonly + // We have to do the following case because LoadObjectSetRequestV2 isn't readonly select: ((args?.$select as string[] | undefined) ?? []), // FIXME? excludeRid: !args?.$includeRid, }), diff --git a/packages/client/src/objectSet/ObjectSetListenerWebsocket.ts b/packages/client/src/objectSet/ObjectSetListenerWebsocket.ts index a17ef2df5..a268f81e0 100644 --- a/packages/client/src/objectSet/ObjectSetListenerWebsocket.ts +++ b/packages/client/src/objectSet/ObjectSetListenerWebsocket.ts @@ -362,10 +362,10 @@ export class ObjectSetListenerWebsocket { if (this.#maybeDisconnectTimeout) { // We reset the timeout on every unsubscribe so its always at least 15s from // the last time we are empty. E.g.: - // - 0s: Sub(A) - // - 10s: Unsub(A) - // - 11s: Sub(B) - // - 20s: Unsub(B) + // - 0s: Subscribe(A) + // - 10s: Unsubscribe(A) + // - 11s: Subscribe(B) + // - 20s: Unsubscribe(B) // If we do not clear out the timeout we would disconnect at 25s but that would only be // 5s after the last subscription was removed instead of at 35s for the desired 15s. clearTimeout(this.#maybeDisconnectTimeout); diff --git a/packages/client/src/ontology/StandardOntologyProvider.test.ts b/packages/client/src/ontology/StandardOntologyProvider.test.ts index 6da364987..3a8638b62 100644 --- a/packages/client/src/ontology/StandardOntologyProvider.test.ts +++ b/packages/client/src/ontology/StandardOntologyProvider.test.ts @@ -31,7 +31,7 @@ describe(createStandardOntologyProviderFactory, () => { apiServer.close(); }); - it("doesnt realidate if not needed", async () => { + it("doesn't revalidate if not needed", async () => { const client = createMinimalClient( MockOntology.metadata, "https://stack.palantir.com", diff --git a/packages/client/src/ontology/loadFullObjectMetadata.ts b/packages/client/src/ontology/loadFullObjectMetadata.ts index d8c3bd386..f3ea7c7e1 100644 --- a/packages/client/src/ontology/loadFullObjectMetadata.ts +++ b/packages/client/src/ontology/loadFullObjectMetadata.ts @@ -21,15 +21,15 @@ import type { MinimalClient } from "../MinimalClientContext.js"; export async function loadFullObjectMetadata( client: MinimalClient, - objtype: string, + objectType: string, ): Promise & { rid: string }> { const full = await OntologiesV2.OntologyObjectsV2.getObjectTypeFullMetadata( client, await client.ontologyRid, - objtype, + objectType, { preview: true }, ); const ret = wireObjectTypeFullMetadataToSdkObjectTypeDefinition(full, true); - client.logger?.debug(`END loadFullObjectMetadata(${objtype})`); + client.logger?.debug(`END loadFullObjectMetadata(${objectType})`); return { ...ret, rid: full.objectType.rid }; } diff --git a/packages/client/src/ontology/loadInterfaceDefinition.ts b/packages/client/src/ontology/loadInterfaceDefinition.ts index e2a8fa0f6..5254ef93e 100644 --- a/packages/client/src/ontology/loadInterfaceDefinition.ts +++ b/packages/client/src/ontology/loadInterfaceDefinition.ts @@ -21,12 +21,12 @@ import type { MinimalClient } from "../MinimalClientContext.js"; export async function loadInterfaceDefinition( client: MinimalClient, - objtype: string, + objectType: string, ): Promise> { const r = await OntologiesV2.OntologyObjectsV2.getInterfaceType( client, await client.ontologyRid, - objtype, + objectType, { preview: true }, ); diff --git a/packages/client/src/queries/applyQuery.ts b/packages/client/src/queries/applyQuery.ts index ce1de4882..b322a3f3e 100644 --- a/packages/client/src/queries/applyQuery.ts +++ b/packages/client/src/queries/applyQuery.ts @@ -222,11 +222,11 @@ async function remapQueryResponse< groups: { key: AllowedBucketKeyTypes; value: AllowedBucketTypes }[]; }[] = []; for (const { key, groups } of responseValue.groups) { - const subresult: { key: any; value: any }[] = []; - for (const { key: subkey, value } of groups) { - subresult.push({ key: subkey, value }); + const subResult: { key: any; value: any }[] = []; + for (const { key: subKey, value } of groups) { + subResult.push({ key: subKey, value }); } - result.push({ key, groups: subresult }); + result.push({ key, groups: subResult }); } return result as QueryReturnType; } diff --git a/packages/client/src/queries/queries.test.ts b/packages/client/src/queries/queries.test.ts index 97ba1afb7..2cdaff2ae 100644 --- a/packages/client/src/queries/queries.test.ts +++ b/packages/client/src/queries/queries.test.ts @@ -110,7 +110,7 @@ describe("queries", () => { }); }); - it("two dimensional aggs response works", async () => { + it("two dimensional aggregation response works", async () => { const result = await client(twoDimensionalAggregationFunction)(); expect(result).toEqual([{ key: "Q-AFN", value: 1 }, { key: "Q-AFO", @@ -118,7 +118,7 @@ describe("queries", () => { }]); }); - it("two dimensional aggs request/response works", async () => { + it("two dimensional aggregation request/response works", async () => { const result = await client(acceptsTwoDimensionalAggregationFunction)({ aggFunction: [ { @@ -137,7 +137,7 @@ describe("queries", () => { }]); }); - it("three dimensional aggs response works", async () => { + it("three dimensional aggregation response works", async () => { const result = await client(threeDimensionalAggregationFunction)(); expect(result).toEqual([{ key: "Q-AFN", @@ -162,7 +162,7 @@ describe("queries", () => { } }); - it("three dimensional aggs request/response works", async () => { + it("three dimensional aggregation request/response works", async () => { const result = await client(acceptsThreeDimensionalAggregationFunction)({ aggFunction: [ { diff --git a/packages/client/src/util/toDataValue.test.ts b/packages/client/src/util/toDataValue.test.ts index a28f25d6d..45256be78 100644 --- a/packages/client/src/util/toDataValue.test.ts +++ b/packages/client/src/util/toDataValue.test.ts @@ -137,8 +137,8 @@ describe(toDataValue, () => { expected, ); - const defintionConversion = await toDataValue(definition, clientCtx); - expect(defintionConversion).toMatchInlineSnapshot(expected); + const definitionConversion = await toDataValue(definition, clientCtx); + expect(definitionConversion).toMatchInlineSnapshot(expected); }); it("converts attachment uploads correctly", async () => { diff --git a/packages/create-app.template-packager/package.json b/packages/create-app.template-packager/package.json index e9779b1f6..683b0baf7 100644 --- a/packages/create-app.template-packager/package.json +++ b/packages/create-app.template-packager/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/create-app.template.next-static-export/package.json b/packages/create-app.template.next-static-export/package.json index ab0b2dbe9..0c5f5fcc3 100644 --- a/packages/create-app.template.next-static-export/package.json +++ b/packages/create-app.template.next-static-export/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "create-app.template-packager", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/create-app.template.react/package.json b/packages/create-app.template.react/package.json index 90e87afc2..05e045eb9 100644 --- a/packages/create-app.template.react/package.json +++ b/packages/create-app.template.react/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "create-app.template-packager", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/create-app.template.tutorial-todo-aip-app/package.json b/packages/create-app.template.tutorial-todo-aip-app/package.json index 29857a143..b3b90c4a1 100644 --- a/packages/create-app.template.tutorial-todo-aip-app/package.json +++ b/packages/create-app.template.tutorial-todo-aip-app/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "create-app.template-packager", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/create-app.template.tutorial-todo-app/package.json b/packages/create-app.template.tutorial-todo-app/package.json index bd19754e8..535f8f248 100644 --- a/packages/create-app.template.tutorial-todo-app/package.json +++ b/packages/create-app.template.tutorial-todo-app/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "create-app.template-packager", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/create-app.template.vue/package.json b/packages/create-app.template.vue/package.json index 8a5ec8024..09b7c491d 100644 --- a/packages/create-app.template.vue/package.json +++ b/packages/create-app.template.vue/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "create-app.template-packager", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 25f6744de..0a481dfd9 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/create-app/src/generate/generateNpmRc.test.ts b/packages/create-app/src/generate/generateNpmRc.test.ts index 9e10a3e1b..c2bfea88d 100644 --- a/packages/create-app/src/generate/generateNpmRc.test.ts +++ b/packages/create-app/src/generate/generateNpmRc.test.ts @@ -22,7 +22,7 @@ const expected = ` @myapp:registry=https://registry.com/ `.trimStart(); -test("it generates .npmrc for packge and registry", () => { +test("it generates .npmrc for package and registry", () => { expect( generateNpmRc({ osdkPackage: "@myapp/sdk", diff --git a/packages/e2e.generated.1.1.x/CHANGELOG.md b/packages/e2e.generated.1.1.x/CHANGELOG.md index 32c940a98..83e18758d 100644 --- a/packages/e2e.generated.1.1.x/CHANGELOG.md +++ b/packages/e2e.generated.1.1.x/CHANGELOG.md @@ -90,7 +90,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] @@ -131,7 +131,7 @@ ### Patch Changes -- 70719db: Fixing nits, and adding support for legacy reservered word backcompat +- 70719db: Fixing nits, and adding support for legacy reserved word back-compat - Updated dependencies [70719db] - @osdk/generator@0.0.5 - @osdk/legacy-client@0.0.5 @@ -150,7 +150,7 @@ ### Patch Changes -- a2b7874: Addin TimeSeries support and fixing issues during code-gen time with Queries +- a2b7874: Add in TimeSeries support and fixing issues during code-gen time with Queries - Updated dependencies [a2b7874] - @osdk/legacy-client@0.0.3 - @osdk/generator@0.0.3 diff --git a/packages/e2e.generated.1.1.x/package.json b/packages/e2e.generated.1.1.x/package.json index 1cff7ce22..39dcf7e5e 100644 --- a/packages/e2e.generated.1.1.x/package.json +++ b/packages/e2e.generated.1.1.x/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "rm -rf src/generatedNoCheck/* && osdk-unstable-typescript generate --outDir src/generatedNoCheck --ontologyPath ontology.json --version dev --packageType module", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Auth.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Auth.ts index 4fb3bd6af..a87bee2e6 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Auth.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Auth.ts @@ -1,4 +1,4 @@ import type { Auth as OG_Auth } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Auth = OG_Auth; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/ConfidentialClient/ConfidentialClientAuth.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/ConfidentialClient/ConfidentialClientAuth.ts index 0e4d140e0..13e63c009 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/ConfidentialClient/ConfidentialClientAuth.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/ConfidentialClient/ConfidentialClientAuth.ts @@ -1,4 +1,4 @@ import { ConfidentialClientAuth as OG_ConfidentialClientAuth } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ConfidentialClientAuth = OG_ConfidentialClientAuth; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthClient.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthClient.ts index 7ffaaa1ab..13c091ba0 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthClient.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthClient.ts @@ -6,17 +6,17 @@ import type { UnsubscribeFunction as OG_UnsubscribeFunction, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AuthSubscription = OG_AuthSubscription; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type UnsubscribeFunction = OG_UnsubscribeFunction; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SignInResponse = OG_SignInResponse; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type RefreshResponse = OG_RefreshResponse; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SignOutResponse = OG_SignOutResponse; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthToken.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthToken.ts index 3097849fe..a60152471 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthToken.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/OAuthToken.ts @@ -1,4 +1,4 @@ import { OAuthToken as OG_OAuthToken } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const OAuthToken = OG_OAuthToken; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/PublicClient/PublicClientAuth.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/PublicClient/PublicClientAuth.ts index af12ea050..b141723b8 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/PublicClient/PublicClientAuth.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/PublicClient/PublicClientAuth.ts @@ -1,4 +1,4 @@ import { PublicClientAuth as OG_PublicClientAuth } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const PublicClientAuth = OG_PublicClientAuth; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Token.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Token.ts index fec2edb27..7a7f781f0 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Token.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/Token.ts @@ -1,7 +1,7 @@ import type { Token as OG_Token, TokenValue as OG_TokenValue } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Token = OG_Token; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TokenValue = OG_TokenValue; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/UserToken/UserTokenAuth.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/UserToken/UserTokenAuth.ts index 15483b2e5..4670d230f 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/UserToken/UserTokenAuth.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/oauth-client/dist/UserToken/UserTokenAuth.ts @@ -1,4 +1,4 @@ import { UserTokenAuth as OG_UserTokenAuth } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const UserTokenAuth = OG_UserTokenAuth; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/Aggregations.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/Aggregations.ts index 1151e2b6c..bef49ff57 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/Aggregations.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/Aggregations.ts @@ -14,52 +14,52 @@ import type { TimeUnit as OG_TimeUnit, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Double = OG_Double; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Rangeable = OG_Rangeable; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MetricValue = OG_MetricValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Date = OG_Date; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BucketKey = OG_BucketKey; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BucketValue = OG_BucketValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeUnit = OG_TimeUnit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BucketGroup = OG_BucketGroup; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Metrics = OG_Metrics; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregatableProperties = OG_AggregatableProperties; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregationClause = OG_AggregationClause; import type { Range as OG_Range } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Range = OG_Range; import type { BaseGroupBy as OG_BaseGroupBy } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseGroupBy<_T extends BucketValue = BucketValue> = OG_BaseGroupBy<_T>; import type { Duration as OG_Duration } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Duration<_T extends Timestamp | LocalDate = Timestamp | LocalDate> = OG_Duration<_T>; import type { @@ -67,16 +67,16 @@ import type { MultipleAggregationsOperations as OG_MultipleAggregationsOperations, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregatableProperty<_T extends MetricValue = MetricValue> = OG_AggregatableProperty<_T>; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultipleAggregationsOperations<_T extends MetricValue = MetricValue> = OG_MultipleAggregationsOperations<_T>; import type { AggregationGroup as OG_AggregationGroup } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregationGroup< TMetrics extends Metrics | MetricValue, TBucketGroup extends BucketGroup, @@ -84,12 +84,12 @@ export type AggregationGroup< import type { Bucketing as OG_Bucketing } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Bucketing<_T extends string, _X extends BucketValue> = OG_Bucketing<_T, _X>; import type { AggregationResult as OG_AggregationResult } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregationResult< TBucketGroup extends BucketGroup, TMetrics extends Metrics | MetricValue, @@ -97,7 +97,7 @@ export type AggregationResult< import type { BaseBucketing as OG_BaseBucketing } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseBucketing< TBucketKey extends BucketKey, TBucketValue extends BucketValue, @@ -109,13 +109,13 @@ import type { InternalBucketing as OG_InternalBucketing, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ExactValueBucketing< TBucketKey extends BucketKey, TBucketValue extends BucketValue, > = OG_ExactValueBucketing; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InternalBucketing = OG_InternalBucketing< TBucketKey, TBucketValue @@ -126,13 +126,13 @@ import type { RangeBucketing as OG_RangeBucketing, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type RangeBucketing> = OG_RangeBucketing< TBucketKey, TBucketValue >; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FixedWidthBucketing< TBucketKey extends BucketKey, TBucketValue extends Range, @@ -140,7 +140,7 @@ export type FixedWidthBucketing< import type { DurationBucketing as OG_DurationBucketing } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DurationBucketing = OG_DurationBucketing< TBucketKey, TBucketValue @@ -148,7 +148,7 @@ export type DurationBucketing = OG_AggregationBuilderResult< T, TMultipleAggregationProperties @@ -168,13 +168,13 @@ import type { AggregatablePropertyNamesForResult as OG_AggregatablePropertyNamesForResult, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregatablePropertiesForResult< TAggregatableProperties, TResult extends MetricValue, > = OG_AggregatablePropertiesForResult; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregatablePropertyNamesForResult< TAggregatableProperties, TResult extends MetricValue, @@ -185,15 +185,15 @@ import { visitInternalBucketing as OG_visitInternalBucketing, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const assertBucketingInternal = OG_assertBucketingInternal; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const visitInternalBucketing = OG_visitInternalBucketing; import type { AggregatableObjectSetStep as OG_AggregatableObjectSetStep } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregatableObjectSetStep< TAggregatableProperties, TMultipleAggregationProperties, @@ -208,7 +208,7 @@ export type AggregatableObjectSetStep< import type { GroupedTerminalAggregationOperations as OG_GroupedTerminalAggregationOperations } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GroupedTerminalAggregationOperations< TAggregatableProperties, TMultipleAggregationProperties, diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/ComputeStep.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/ComputeStep.ts index 858e7be62..b9d9ae6ba 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/ComputeStep.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/ComputeStep.ts @@ -2,10 +2,10 @@ import { BucketGroup, Metrics, MetricValue } from './Aggregations.js'; import { ComputeStep as OG_ComputeStep } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ComputeStep = OG_ComputeStep; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ComputeStep = OG_ComputeStep< TBucketGroup, TMetrics @@ -13,7 +13,7 @@ export type ComputeStep = OG_BooleanGroupBy; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LocalDateGroupBy = OG_LocalDateGroupBy; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type NumericGroupBy = OG_NumericGroupBy; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StringGroupBy = OG_StringGroupBy; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimestampGroupBy = OG_TimestampGroupBy; export { GroupKeyType } from '@osdk/legacy-client'; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/internalAggregationRequest.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/internalAggregationRequest.ts index 4c3d9eec5..4acb0018f 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/internalAggregationRequest.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/internalAggregationRequest.ts @@ -1,4 +1,4 @@ import type { InternalAggregationRequest as OG_InternalAggregationRequest } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InternalAggregationRequest = OG_InternalAggregationRequest; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/ApproximateDistinctCountAggregatableProperty.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/ApproximateDistinctCountAggregatableProperty.ts index 82fb2aed3..4cc56e518 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/ApproximateDistinctCountAggregatableProperty.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/ApproximateDistinctCountAggregatableProperty.ts @@ -1,7 +1,7 @@ import { ApproximateDistinctCountAggregatableProperty as OG_ApproximateDistinctCountAggregatableProperty } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ApproximateDistinctCountAggregatableProperty = OG_ApproximateDistinctCountAggregatableProperty; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ApproximateDistinctCountAggregatableProperty = OG_ApproximateDistinctCountAggregatableProperty; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/DefaultAggregatableProperty.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/DefaultAggregatableProperty.ts index c9b490caf..f037b5e9e 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/DefaultAggregatableProperty.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/DefaultAggregatableProperty.ts @@ -1,4 +1,4 @@ import { DefaultAggregatableProperty as OG_DefaultAggregatableProperty } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const DefaultAggregatableProperty = OG_DefaultAggregatableProperty; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/LocalDatePropertyMetric.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/LocalDatePropertyMetric.ts index 5496f8bc2..ff64e64cd 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/LocalDatePropertyMetric.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/LocalDatePropertyMetric.ts @@ -1,4 +1,4 @@ import { LocalDatePropertyMetric as OG_LocalDatePropertyMetric } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const LocalDatePropertyMetric = OG_LocalDatePropertyMetric; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/MultipleAggregatableProperty.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/MultipleAggregatableProperty.ts index ca0147dc0..94d61d26d 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/MultipleAggregatableProperty.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/MultipleAggregatableProperty.ts @@ -2,9 +2,9 @@ import { Double, MetricValue } from '../Aggregations.js'; import { MultipleAggregatableProperty as OG_MultipleAggregatableProperty } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const MultipleAggregatableProperty = OG_MultipleAggregatableProperty; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultipleAggregatableProperty = OG_MultipleAggregatableProperty; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/NumericPropertyMetric.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/NumericPropertyMetric.ts index 97b0a5f95..f36dc3d4e 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/NumericPropertyMetric.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/NumericPropertyMetric.ts @@ -1,4 +1,4 @@ import { NumericPropertyMetric as OG_NumericPropertyMetric } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const NumericPropertyMetric = OG_NumericPropertyMetric; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/TimestampPropertyMetric.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/TimestampPropertyMetric.ts index 72209acbb..544043d22 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/TimestampPropertyMetric.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/aggregations/metrics/TimestampPropertyMetric.ts @@ -1,4 +1,4 @@ import { TimestampPropertyMetric as OG_TimestampPropertyMetric } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const TimestampPropertyMetric = OG_TimestampPropertyMetric; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ActionType.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ActionType.ts index 91da2a957..39843f08f 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ActionType.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ActionType.ts @@ -6,13 +6,13 @@ import { ReturnEditsMode as OG_ReturnEditsMode, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ActionExecutionMode = OG_ActionExecutionMode; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ReturnEditsMode = OG_ReturnEditsMode; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ActionValidationResult = OG_ActionValidationResult; import type { @@ -21,13 +21,13 @@ import type { ValidationResponse as OG_ValidationResponse, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionExecutionOptions = OG_ActionExecutionOptions; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ValidationResponse = OG_ValidationResponse; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BulkEdits = OG_BulkEdits; import type { @@ -35,15 +35,15 @@ import type { ModifiedObjectEdits as OG_ModifiedObjectEdits, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type CreatedObjectEdits = OG_CreatedObjectEdits; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ModifiedObjectEdits = OG_ModifiedObjectEdits; import type { Edits as OG_Edits } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Edits< TAddedObjects extends OntologyObject | void, TModifiedObjects extends OntologyObject | void, @@ -51,12 +51,12 @@ export type Edits< import type { ActionResponse as OG_ActionResponse } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionResponse | undefined = undefined> = OG_ActionResponse; import type { ActionResponseFromOptions as OG_ActionResponseFromOptions } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionResponseFromOptions< TOptions extends ActionExecutionOptions | undefined = undefined, TEdits extends Edits | undefined = undefined, diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ObjectType.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ObjectType.ts index da4defab7..5f1d3ddc7 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ObjectType.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/ObjectType.ts @@ -26,76 +26,76 @@ import type { } from '@osdk/legacy-client'; import { OntologyObject } from './OntologyObject.js'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseType = OG_BaseType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StringType = OG_StringType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type IntegerType = OG_IntegerType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DateType = OG_DateType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BooleanType = OG_BooleanType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ByteType = OG_ByteType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DecimalType = OG_DecimalType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FloatType = OG_FloatType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimestampType = OG_TimestampType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ShortType = OG_ShortType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LongType = OG_LongType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DoubleType = OG_DoubleType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoPointType = OG_GeoPointType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoShapeType = OG_GeoShapeType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AttachmentType = OG_AttachmentType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectType = OG_ObjectType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StructField = OG_StructField; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryBucketRangeableType = OG_QueryBucketRangeableType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryBucketKeyType = OG_QueryBucketKeyType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryBucketValueType = OG_QueryBucketValueType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AllValueTypes = OG_AllValueTypes; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyType = OG_OntologyType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectTypeProperties = OG_ObjectTypeProperties; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StructType = OG_StructType; import type { @@ -104,39 +104,39 @@ import type { TimeSeriesType as OG_TimeSeriesType, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesType = OG_TimeSeriesType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ArrayType = OG_ArrayType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SetType = OG_SetType; import type { Property as OG_Property } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Property = OG_Property; import type { BaseObjectType as OG_BaseObjectType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseObjectType = OG_BaseObjectType; import type { ObjectSetType as OG_ObjectSetType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectSetType = OG_ObjectSetType; import type { RangeType as OG_RangeType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type RangeType = OG_RangeType; import type { TwoDimensionalAggregationType as OG_TwoDimensionalAggregationType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TwoDimensionalAggregationType< TGroupKey extends QueryBucketKeyType, TValue extends QueryBucketValueType, @@ -144,7 +144,7 @@ export type TwoDimensionalAggregationType< import type { ThreeDimensionalAggregationType as OG_ThreeDimensionalAggregationType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ThreeDimensionalAggregationType< TGroupKey extends QueryBucketKeyType, TSegmentKey extends QueryBucketKeyType, diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/OntologyObject.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/OntologyObject.ts index 49a7a939b..461a3fadf 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/OntologyObject.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/OntologyObject.ts @@ -1,9 +1,9 @@ import type { OntologyObject as OG_OntologyObject } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyObject = OG_OntologyObject; import { isOntologyObject as OG_isOntologyObject } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const isOntologyObject = OG_isOntologyObject; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/Queries.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/Queries.ts index e863fa4dc..353e912aa 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/Queries.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/Queries.ts @@ -2,17 +2,17 @@ import { BucketValue } from '../aggregations/index.js'; import type { QueryResponse as OG_QueryResponse } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryResponse = OG_QueryResponse; import type { BaseBucket as OG_BaseBucket } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseBucket = OG_BaseBucket; import type { NestedBucket as OG_NestedBucket } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type NestedBucket = OG_NestedBucket< TGroupKey, TSegmentKey, @@ -21,7 +21,7 @@ export type NestedBucket = O import type { TwoDimensionalAggregation as OG_TwoDimensionalAggregation } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TwoDimensionalAggregation< TGroupKey extends QueryBucketKey, TValue extends BucketValue = number, @@ -29,7 +29,7 @@ export type TwoDimensionalAggregation< import type { ThreeDimensionalAggregation as OG_ThreeDimensionalAggregation } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ThreeDimensionalAggregation< TGroupKey extends QueryBucketKey, TSegmentKey extends QueryBucketKey, @@ -38,5 +38,5 @@ export type ThreeDimensionalAggregation< import type { QueryBucketKey as OG_QueryBucketKey } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryBucketKey = OG_QueryBucketKey; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachment.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachment.ts index c4a2bd3ed..375a4675a 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachment.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachment.ts @@ -1,7 +1,7 @@ import type { Attachment as OG_Attachment, AttachmentMetadata as OG_AttachmentMetadata } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Attachment = OG_Attachment; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AttachmentMetadata = OG_AttachmentMetadata; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachments.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachments.ts index 13565f2ec..b9deb6954 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachments.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/attachments/Attachments.ts @@ -1,4 +1,4 @@ import type { Attachments as OG_Attachments } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Attachments = OG_Attachments; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Distance.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Distance.ts index 8b1569444..e87f07e2d 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Distance.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Distance.ts @@ -1,13 +1,13 @@ import { Distance as OG_Distance, DistanceUnit as OG_DistanceUnit } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const Distance = OG_Distance; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const DistanceUnit = OG_DistanceUnit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Distance = OG_Distance; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DistanceUnit = OG_DistanceUnit; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoJson.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoJson.ts index 57e3e4021..c01aaaaa5 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoJson.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoJson.ts @@ -10,29 +10,29 @@ import type { GeoJsonPolygon as OG_GeoJsonPolygon, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonPoint = OG_GeoJsonPoint; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonPolygon = OG_GeoJsonPolygon; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonLineString = OG_GeoJsonLineString; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonMultiPoint = OG_GeoJsonMultiPoint; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonMultiPolygon = OG_GeoJsonMultiPolygon; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonMultiLineString = OG_GeoJsonMultiLineString; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonGeometryCollection = OG_GeoJsonGeometryCollection; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJsonGeometry = OG_GeoJsonGeometry; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoJson = OG_GeoJson; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoPoint.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoPoint.ts index c873c711c..be2c29e71 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoPoint.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoPoint.ts @@ -4,22 +4,22 @@ import { mapCoordinatesToGeoPoint as OG_mapCoordinatesToGeoPoint, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const isGeoPoint = OG_isGeoPoint; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const GeoPoint = OG_GeoPoint; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const mapCoordinatesToGeoPoint = OG_mapCoordinatesToGeoPoint; import type { Coordinates as OG_Coordinates, GeoHash as OG_GeoHash } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoHash = OG_GeoHash; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Coordinates = OG_Coordinates; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoPoint = OG_GeoPoint; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoShape.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoShape.ts index bf38910ca..372c01bd6 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoShape.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeoShape.ts @@ -1,7 +1,7 @@ import { GeoShape as OG_GeoShape } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const GeoShape = OG_GeoShape; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoShape = OG_GeoShape; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeometryCollection.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeometryCollection.ts index 3f22eecf6..7141990ac 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeometryCollection.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/GeometryCollection.ts @@ -1,4 +1,4 @@ import { GeometryCollection as OG_GeometryCollection } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const GeometryCollection = OG_GeometryCollection; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/LineString.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/LineString.ts index aacb1eaf1..aaf844a0a 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/LineString.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/LineString.ts @@ -1,7 +1,7 @@ import { LineString as OG_LineString } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const LineString = OG_LineString; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LineString = OG_LineString; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiGeoPoint.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiGeoPoint.ts index 908428850..3fb704e88 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiGeoPoint.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiGeoPoint.ts @@ -1,7 +1,7 @@ import { MultiGeoPoint as OG_MultiGeoPoint } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const MultiGeoPoint = OG_MultiGeoPoint; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultiGeoPoint = OG_MultiGeoPoint; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiLineString.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiLineString.ts index 6afb3de33..bc96caddd 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiLineString.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiLineString.ts @@ -1,7 +1,7 @@ import { MultiLineString as OG_MultiLineString } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const MultiLineString = OG_MultiLineString; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultiLineString = OG_MultiLineString; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiPolygon.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiPolygon.ts index 093da1697..122ec14c2 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiPolygon.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/MultiPolygon.ts @@ -1,7 +1,7 @@ import { MultiPolygon as OG_MultiPolygon } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const MultiPolygon = OG_MultiPolygon; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultiPolygon = OG_MultiPolygon; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Polygon.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Polygon.ts index 65460c905..ecfee95b3 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Polygon.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/geoshapes/Polygon.ts @@ -1,12 +1,12 @@ import { Polygon as OG_Polygon } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const Polygon = OG_Polygon; import type { LinearRing as OG_LinearRing } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LinearRing = OG_LinearRing; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Polygon = OG_Polygon; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/links.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/links.ts index a487335b9..14ad88cdd 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/links.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/links.ts @@ -1,8 +1,8 @@ import type { MultiLink as OG_MultiLink, SingleLink as OG_SingleLink } from '@osdk/legacy-client'; import { OntologyObject } from './OntologyObject.js'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SingleLink = OG_SingleLink; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultiLink = OG_MultiLink; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/localDate.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/localDate.ts index f2e8acd5a..02256ad41 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/localDate.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/localDate.ts @@ -1,7 +1,7 @@ import { LocalDate as OG_LocalDate } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const LocalDate = OG_LocalDate; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LocalDate = OG_LocalDate; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/ObjectSetDefinition.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/ObjectSetDefinition.ts index eebe6a5e6..ff07b70b4 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/ObjectSetDefinition.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/ObjectSetDefinition.ts @@ -9,26 +9,26 @@ import type { SubtractObjectSetDefinition as OG_SubtractObjectSetDefinition, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BaseObjectSetDefinition = OG_BaseObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ReferenceObjectSetDefinition = OG_ReferenceObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StaticObjectSetDefinition = OG_StaticObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type IntersectObjectSetDefinition = OG_IntersectObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SubtractObjectSetDefinition = OG_SubtractObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SearchAroundObjectSetDefinition = OG_SearchAroundObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FilterObjectSetDefinition = OG_FilterObjectSetDefinition; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectSetDefinition = OG_ObjectSetDefinition; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/OntologyObjectSet.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/OntologyObjectSet.ts index 2074021b4..38f307818 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/OntologyObjectSet.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/objectset/OntologyObjectSet.ts @@ -1,4 +1,4 @@ import type { OntologyObjectSet as OG_OntologyObjectSet } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyObjectSet = OG_OntologyObjectSet; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/sharedObjectCode/FilteredPropertiesTerminalOperations.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/sharedObjectCode/FilteredPropertiesTerminalOperations.ts index 338c5d281..798d10418 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/sharedObjectCode/FilteredPropertiesTerminalOperations.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/sharedObjectCode/FilteredPropertiesTerminalOperations.ts @@ -4,13 +4,13 @@ import type { } from '@osdk/legacy-client'; import { OntologyObject } from '../OntologyObject.js'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FilteredPropertiesTerminalOperations< T extends OntologyObject, V extends Array, > = OG_FilteredPropertiesTerminalOperations; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FilteredPropertiesTerminalOperationsWithGet< T extends OntologyObject, V extends Array, diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeries.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeries.ts index 1504e1fe6..5bf9e7b25 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeries.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeries.ts @@ -1,4 +1,4 @@ import type { TimeSeries as OG_TimeSeries } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeries = OG_TimeSeries; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesDuration.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesDuration.ts index f14d77504..544a39c48 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesDuration.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesDuration.ts @@ -4,11 +4,11 @@ import type { WhenUnit as OG_WhenUnit, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type WhenUnit = OG_WhenUnit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DurationUnit = OG_DurationUnit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesDuration = OG_TimeSeriesDuration; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesPoint.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesPoint.ts index e19e08727..f77a11039 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesPoint.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesPoint.ts @@ -1,4 +1,4 @@ import type { TimeSeriesPoint as OG_TimeSeriesPoint } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesPoint = OG_TimeSeriesPoint; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesQuery.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesQuery.ts index 8f7dbf5ea..6cf4ad3ec 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesQuery.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesQuery.ts @@ -1,4 +1,4 @@ import type { TimeSeriesQuery as OG_TimeSeriesQuery } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesQuery = OG_TimeSeriesQuery; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesTerminalOperations.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesTerminalOperations.ts index d14810105..c30f21875 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesTerminalOperations.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timeseries/TimeSeriesTerminalOperations.ts @@ -3,8 +3,8 @@ import type { TimeSeriesTerminalOperations as OG_TimeSeriesTerminalOperations, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesTerminalOperations = OG_TimeSeriesTerminalOperations; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimeSeriesIterator = OG_TimeSeriesIterator; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timestamp.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timestamp.ts index 364c533f3..4ae71229c 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timestamp.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/baseTypes/timestamp.ts @@ -1,7 +1,7 @@ import { Timestamp as OG_Timestamp } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const Timestamp = OG_Timestamp; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Timestamp = OG_Timestamp; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/client/clientOptions.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/client/clientOptions.ts index ee88d1398..c3bf5e7ef 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/client/clientOptions.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/client/clientOptions.ts @@ -1,5 +1,5 @@ import type { FoundryClientOptions as OG_FoundryClientOptions } from '@osdk/legacy-client'; import { Auth } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FoundryClientOptions = OG_FoundryClientOptions; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/ArrayFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/ArrayFilter.ts index 8d5dd1771..b4369a540 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/ArrayFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/ArrayFilter.ts @@ -1,10 +1,10 @@ import { ArrayFilter as OG_ArrayFilter } from '@osdk/legacy-client'; import { Attachment, GeoPoint, GeoShape, LocalDate, Timestamp } from '../baseTypes/index.js'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const ArrayFilter = OG_ArrayFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ArrayFilter< T extends string | number | Timestamp | LocalDate | boolean | GeoShape | GeoPoint | Attachment, > = OG_ArrayFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/AttachmentFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/AttachmentFilter.ts index 12062395f..4b2763e9e 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/AttachmentFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/AttachmentFilter.ts @@ -1,7 +1,7 @@ import { AttachmentFilter as OG_AttachmentFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const AttachmentFilter = OG_AttachmentFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AttachmentFilter = OG_AttachmentFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/BooleanFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/BooleanFilter.ts index 6c144b3cd..db93985c1 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/BooleanFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/BooleanFilter.ts @@ -1,7 +1,7 @@ import { BooleanFilter as OG_BooleanFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const BooleanFilter = OG_BooleanFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BooleanFilter = OG_BooleanFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/DateTimeFilters.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/DateTimeFilters.ts index c2f3be998..8e92789a3 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/DateTimeFilters.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/DateTimeFilters.ts @@ -1,13 +1,13 @@ import { LocalDateFilter as OG_LocalDateFilter, TimestampFilter as OG_TimestampFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const TimestampFilter = OG_TimestampFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const LocalDateFilter = OG_LocalDateFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type TimestampFilter = OG_TimestampFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LocalDateFilter = OG_LocalDateFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Filters.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Filters.ts index 5a3915a31..01e186b3c 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Filters.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Filters.ts @@ -4,10 +4,10 @@ import type { } from '@osdk/legacy-client'; import { OntologyObject } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectTypeFilterFunction = OG_ObjectTypeFilterFunction; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectTypeOrderByFunction = OG_ObjectTypeOrderByFunction; import type { @@ -39,85 +39,85 @@ import type { WithinPolygonWhereClause as OG_WithinPolygonWhereClause, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BoundingBoxFilter = OG_BoundingBoxFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DistanceOf = OG_DistanceOf; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type SearchClause = OG_SearchClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LtWhereClause = OG_LtWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GtWhereClause = OG_GtWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LteWhereClause = OG_LteWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GteWhereClause = OG_GteWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type EqWhereClause = OG_EqWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type IsNullWhereClause = OG_IsNullWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ContainsWhereClause = OG_ContainsWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StartsWithWhereClause = OG_StartsWithWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ContainsAllTermsInOrderWhereClause = OG_ContainsAllTermsInOrderWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ContainsAnyTermWhereClause = OG_ContainsAnyTermWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ContainsAllTermsWhereClause = OG_ContainsAllTermsWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type WithinDistanceOfWhereClause = OG_WithinDistanceOfWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type WithinBoundingBoxWhereClause = OG_WithinBoundingBoxWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type IntersectsBoundingBoxWhereClause = OG_IntersectsBoundingBoxWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DoesNotIntersectBoundingBoxWhereClause = OG_DoesNotIntersectBoundingBoxWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type WithinPolygonWhereClause = OG_WithinPolygonWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type IntersectsPolygonWhereClause = OG_IntersectsPolygonWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DoesNotIntersectPolygonWhereClause = OG_DoesNotIntersectPolygonWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AndWhereClause = OG_AndWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OrWhereClause = OG_OrWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type NotWhereClause = OG_NotWhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type WhereClause = OG_WhereClause; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OrderByClause = OG_OrderByClause; import type { FilterType as OG_FilterType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FilterType = OG_FilterType; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoPointFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoPointFilter.ts index 5d744fcd3..abea02d33 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoPointFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoPointFilter.ts @@ -1,12 +1,12 @@ import { GeoPointFilter as OG_GeoPointFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const GeoPointFilter = OG_GeoPointFilter; import type { BoundingBox as OG_BoundingBox } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoPointFilter = OG_GeoPointFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type BoundingBox = OG_BoundingBox; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoShapeFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoShapeFilter.ts index bc15a6123..8ddd5f5f7 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoShapeFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/GeoShapeFilter.ts @@ -1,7 +1,7 @@ import { GeoShapeFilter as OG_GeoShapeFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const GeoShapeFilter = OG_GeoShapeFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type GeoShapeFilter = OG_GeoShapeFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/NumericFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/NumericFilter.ts index 5d18ae32e..243d61e8b 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/NumericFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/NumericFilter.ts @@ -1,7 +1,7 @@ import { NumericFilter as OG_NumericFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const NumericFilter = OG_NumericFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type NumericFilter = OG_NumericFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Op.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Op.ts index 9b34d1c60..1f86888f9 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Op.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/Op.ts @@ -1,4 +1,4 @@ import { Op as OG_Op } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const Op = OG_Op; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/OrderByOption.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/OrderByOption.ts index eabf8ec05..e5b4a5986 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/OrderByOption.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/OrderByOption.ts @@ -1,7 +1,7 @@ import { OrderByOption as OG_OrderByOption } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const OrderByOption = OG_OrderByOption; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OrderByOption = OG_OrderByOption; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/StringFilter.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/StringFilter.ts index fa7bcb86c..51165fcf7 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/StringFilter.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/filters/StringFilter.ts @@ -1,7 +1,7 @@ import { StringFilter as OG_StringFilter } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const StringFilter = OG_StringFilter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type StringFilter = OG_StringFilter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Errors.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Errors.ts index 82cb0850e..102ddda6d 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Errors.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Errors.ts @@ -63,188 +63,188 @@ import type { UnknownParameter as OG_UnknownParameter, } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PermissionDenied = OG_PermissionDenied; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Unauthorized = OG_Unauthorized; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidAggregationRangeValue = OG_InvalidAggregationRangeValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MalformedPropertyFilters = OG_MalformedPropertyFilters; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertiesNotFilterable = OG_PropertiesNotFilterable; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ParametersNotFound = OG_ParametersNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ApplyActionFailed = OG_ApplyActionFailed; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertyTypesSearchNotSupported = OG_PropertyTypesSearchNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidParameterValue = OG_InvalidParameterValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryTimeExceededLimit = OG_QueryTimeExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type CompositePrimaryKeyNotSupported = OG_CompositePrimaryKeyNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertyBaseTypeNotSupported = OG_PropertyBaseTypeNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertiesNotSearchable = OG_PropertiesNotSearchable; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AttachmentNotFound = OG_AttachmentNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectTypeNotFound = OG_ObjectTypeNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidGroupId = OG_InvalidGroupId; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologySyncing = OG_OntologySyncing; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionNotFound = OG_ActionNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ParameterObjectSetRidNotFound = OG_ParameterObjectSetRidNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LinkTypeNotFound = OG_LinkTypeNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidRangeQuery = OG_InvalidRangeQuery; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionParameterObjectNotFound = OG_ActionParameterObjectNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidPropertyValue = OG_InvalidPropertyValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertiesNotSortable = OG_PropertiesNotSortable; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FunctionExecutionTimedOut = OG_FunctionExecutionTimedOut; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidFields = OG_InvalidFields; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionTypeNotFound = OG_ActionTypeNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectTypeNotSynced = OG_ObjectTypeNotSynced; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyEditsExceededLimit = OG_OntologyEditsExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AggregationGroupCountExceededLimit = OG_AggregationGroupCountExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidContentType = OG_InvalidContentType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertiesNotFound = OG_PropertiesNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FunctionInvalidInput = OG_FunctionInvalidInput; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidSortOrder = OG_InvalidSortOrder; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryDepthExceededLimit = OG_QueryDepthExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidPropertyFiltersCombination = OG_InvalidPropertyFiltersCombination; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectsExceededLimit = OG_ObjectsExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type DuplicateOrderBy = OG_DuplicateOrderBy; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type FunctionEncounteredUserFacingError = OG_FunctionEncounteredUserFacingError; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidUserId = OG_InvalidUserId; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryNotFound = OG_QueryNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidAggregationRange = OG_InvalidAggregationRange; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ParameterObjectNotFound = OG_ParameterObjectNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryMemoryExceededLimit = OG_QueryMemoryExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidContentLength = OG_InvalidContentLength; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyNotFound = OG_OntologyNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionParameterObjectTypeNotFound = OG_ActionParameterObjectTypeNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type UnknownParameter = OG_UnknownParameter; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidSortType = OG_InvalidSortType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertyFiltersNotSupported = OG_PropertyFiltersNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionValidationFailed = OG_ActionValidationFailed; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MultipleGroupByOnFieldNotSupported = OG_MultipleGroupByOnFieldNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type LinkedObjectNotFound = OG_LinkedObjectNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ActionEditedPropertiesNotFound = OG_ActionEditedPropertiesNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidPropertyFilterValue = OG_InvalidPropertyFilterValue; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type QueryEncounteredUserFacingError = OG_QueryEncounteredUserFacingError; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type AttachmentSizeExceededLimit = OG_AttachmentSizeExceededLimit; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ObjectNotFound = OG_ObjectNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type PropertyApiNameNotFound = OG_PropertyApiNameNotFound; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ParameterTypeNotSupported = OG_ParameterTypeNotSupported; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type InvalidAggregationRangePropertyType = OG_InvalidAggregationRangePropertyType; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type MissingParameter = OG_MissingParameter; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/OntologyMetadata.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/OntologyMetadata.ts index 9feff1932..279bbbf52 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/OntologyMetadata.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/OntologyMetadata.ts @@ -1,4 +1,4 @@ import type { OntologyMetadata as OG_OntologyMetadata } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type OntologyMetadata = OG_OntologyMetadata; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Result.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Result.ts index 835834f75..fe0a58f7c 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Result.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/ontologyProvider/Result.ts @@ -2,34 +2,34 @@ import { FoundryApiError } from '@osdk/legacy-client'; import type { Err as OG_Err, Ok as OG_Ok } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Ok = OG_Ok; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Err = OG_Err; import type { Result as OG_Result } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Result = OG_Result; import { isErr as OG_isErr, isOk as OG_isOk, visitError as OG_visitError } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const isOk = OG_isOk; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const isErr = OG_isErr; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export const visitError = OG_visitError; import type { ErrorVisitor as OG_ErrorVisitor } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ErrorVisitor = OG_ErrorVisitor; import type { ExtractKeysWithType as OG_ExtractKeysWithType } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type ExtractKeysWithType = OG_ExtractKeysWithType; diff --git a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/paging/Page.ts b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/paging/Page.ts index 38a8d5f72..8c8f569e9 100644 --- a/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/paging/Page.ts +++ b/packages/e2e.generated.1.1.x/src/generatedNoCheck/internal/@foundry/ontology-runtime/dist/paging/Page.ts @@ -1,4 +1,4 @@ import type { Page as OG_Page } from '@osdk/legacy-client'; -/** @deprecated submodule imports arent public api **/ +/** @deprecated submodule imports aren't public api **/ export type Page = OG_Page; diff --git a/packages/e2e.generated.catchall/package.json b/packages/e2e.generated.catchall/package.json index e029564a2..e59e457cc 100644 --- a/packages/e2e.generated.catchall/package.json +++ b/packages/e2e.generated.catchall/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "rm -rf src/generatedNoCheck/* && osdk-unstable-typescript generate --outDir src/generatedNoCheck --ontologyPath ontology.json --beta true --packageType module --version dev --internal", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/e2e.sandbox.catchall/package.json b/packages/e2e.sandbox.catchall/package.json index b5fe72d6c..97d068064 100644 --- a/packages/e2e.sandbox.catchall/package.json +++ b/packages/e2e.sandbox.catchall/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/e2e.sandbox.catchall/src/legacy-examples/fetchEmployeePage.ts b/packages/e2e.sandbox.catchall/src/legacy-examples/fetchEmployeePage.ts index 8873a8a07..35d992d71 100644 --- a/packages/e2e.sandbox.catchall/src/legacy-examples/fetchEmployeePage.ts +++ b/packages/e2e.sandbox.catchall/src/legacy-examples/fetchEmployeePage.ts @@ -45,7 +45,7 @@ export async function fetchEmployeePage(client: Client) { printEmployees(result.data); console.log({ - apiname: result.data[0].$apiName, + apiName: result.data[0].$apiName, }); console.log(result.data[0]); diff --git a/packages/e2e.sandbox.todoapp/src/useTodos.tsx b/packages/e2e.sandbox.todoapp/src/useTodos.tsx index 8d8806857..62bdf77d4 100644 --- a/packages/e2e.sandbox.todoapp/src/useTodos.tsx +++ b/packages/e2e.sandbox.todoapp/src/useTodos.tsx @@ -24,7 +24,7 @@ declare global { * Creates an array from an async iterator or iterable object. * * @param iterableOrArrayLike An async iterator or array-like object to convert to an array. - * @param mapfn A mapping function to call on every element of itarableOrArrayLike. + * @param mapfn A mapping function to call on every element of iterableOrArrayLike. * Each return value is awaited before being added to result array. * @param thisArg Value of 'this' used when executing mapfn. */ diff --git a/packages/example-generator/package.json b/packages/example-generator/package.json index fafd91955..fa097aef3 100644 --- a/packages/example-generator/package.json +++ b/packages/example-generator/package.json @@ -20,6 +20,7 @@ "scripts": { "check": "./bin/exampleGenerator.mjs ../../examples --check", "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "generate": "./bin/exampleGenerator.mjs ../../examples", diff --git a/packages/example-generator/src/gitIgnoreFilter.ts b/packages/example-generator/src/gitIgnoreFilter.ts index e7051e606..b5c984e1f 100644 --- a/packages/example-generator/src/gitIgnoreFilter.ts +++ b/packages/example-generator/src/gitIgnoreFilter.ts @@ -26,9 +26,9 @@ import { isGitIgnoredSync } from "globby"; * * https://github.com/sindresorhus/globby/issues/86 * * https://github.com/sindresorhus/globby/issues/146 * * https://github.com/sindresorhus/globby/issues/255 - * @param pathLeft This has to be the same as dir1 sent to dircompare.compare(dir1, dir2) - * @param pathRight This has to be the same as dir2 sent to dircompare.compare(dir1, dir2) - * @returns The filter function to be used as dircompare Option. + * @param pathLeft This has to be the same as dir1 sent to dir-compare.compare(dir1, dir2) + * @param pathRight This has to be the same as dir2 sent to dir-compare.compare(dir1, dir2) + * @returns The filter function to be used as dir-compare Option. */ export function gitIgnoreFilter( pathLeft: string, diff --git a/packages/foundry-sdk-generator/CHANGELOG.md b/packages/foundry-sdk-generator/CHANGELOG.md index ef24af7af..c7190532b 100644 --- a/packages/foundry-sdk-generator/CHANGELOG.md +++ b/packages/foundry-sdk-generator/CHANGELOG.md @@ -37,9 +37,9 @@ ### Patch Changes -- 212f651: Add fetchone, that is get replacement without result wrapper +- 212f651: Add fetchOne, that is get replacement without result wrapper - e690399: Fix $rid, $apiName and $primaryKey population -- 212f651: Deprecate get and add fetchonewitherrors, which functionally is the same +- 212f651: Deprecate get and add fetchOneWithErrors, which functionally is the same - Updated dependencies [212f651] - Updated dependencies [e690399] - Updated dependencies [212f651] @@ -121,7 +121,7 @@ ### Patch Changes -- 35803ca0: Fix backcompat break where the script exports were removed +- 35803ca0: Fix back-compat break where the script exports were removed ## 0.200.3 diff --git a/packages/foundry-sdk-generator/package.json b/packages/foundry-sdk-generator/package.json index cfc7cf685..ab18957dc 100644 --- a/packages/foundry-sdk-generator/package.json +++ b/packages/foundry-sdk-generator/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/foundry-sdk-generator/src/__e2e_tests__/attachements.test.ts b/packages/foundry-sdk-generator/src/__e2e_tests__/attachements.test.ts index 48cc891bb..b89a6b3b2 100644 --- a/packages/foundry-sdk-generator/src/__e2e_tests__/attachements.test.ts +++ b/packages/foundry-sdk-generator/src/__e2e_tests__/attachements.test.ts @@ -86,7 +86,7 @@ describe("AttachmentsTest", () => { expect(attachmentError.name).toEqual("AttachmentSizeExceededLimit"); }); - it("Reads attachment metadata succesfully", async () => { + it("Reads attachment metadata successfully", async () => { const result = await client.ontology.objects.objectTypeWithAllPropertyTypes .get( stubData.objectWithAllPropertyTypes1.__primaryKey, @@ -104,7 +104,7 @@ describe("AttachmentsTest", () => { ); }); - it("Fails to read attachment metadata succesfully", async () => { + it("Fails to read attachment metadata successfully", async () => { const result: Result = await client.ontology.objects.objectTypeWithAllPropertyTypes.get( stubData.objectWithAllPropertyTypes1.__primaryKey, diff --git a/packages/foundry-sdk-generator/src/generate/GeneratePackageCommand.ts b/packages/foundry-sdk-generator/src/generate/GeneratePackageCommand.ts index f3c581a50..a47ff9836 100644 --- a/packages/foundry-sdk-generator/src/generate/GeneratePackageCommand.ts +++ b/packages/foundry-sdk-generator/src/generate/GeneratePackageCommand.ts @@ -93,7 +93,7 @@ export class GeneratePackageCommand string: true, demandOption: false, description: - `The API names of the action types to generate. Example Usage: --actionTypes schedule-airplane-maintanence`, + `The API names of the action types to generate. Example Usage: --actionTypes schedule-airplane-maintenance`, default: undefined, defaultDescription: `By default, no arguments will not load any action type.`, @@ -123,7 +123,7 @@ export class GeneratePackageCommand string: true, demandOption: false, description: - `Experimental features that can be modified or removed at any time. Example Usage: --experimentalFeaures realtimeUpdates`, + `Experimental features that can be modified or removed at any time. Example Usage: --experimentalFeatures realtimeUpdates`, default: undefined, defaultDescription: `By default, no arguments will not enable any experimental features.`, diff --git a/packages/foundry-sdk-generator/src/generate/betaClient/minifyBundle.ts b/packages/foundry-sdk-generator/src/generate/betaClient/minifyBundle.ts index ebec30041..554e27f1e 100644 --- a/packages/foundry-sdk-generator/src/generate/betaClient/minifyBundle.ts +++ b/packages/foundry-sdk-generator/src/generate/betaClient/minifyBundle.ts @@ -435,10 +435,10 @@ export class ProjectMinifier { } for (const node of this.dependentExport[nextModuleName]) { - const rexportModuleName = getModuleFromFileName(node.getSourceFile()); - this.getNodesToKeepForModule(rexportModuleName).add(node); + const reexportModuleName = getModuleFromFileName(node.getSourceFile()); + this.getNodesToKeepForModule(reexportModuleName).add(node); - dependentExportStack.push(rexportModuleName); + dependentExportStack.push(reexportModuleName); } } } diff --git a/packages/foundry.core/package.json b/packages/foundry.core/package.json index c414c3cc3..ad7d1b469 100644 --- a/packages/foundry.core/package.json +++ b/packages/foundry.core/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/foundry.security/package.json b/packages/foundry.security/package.json index e4dd09eb1..63052a59d 100644 --- a/packages/foundry.security/package.json +++ b/packages/foundry.security/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/foundry.thirdpartyapplications/package.json b/packages/foundry.thirdpartyapplications/package.json index 1f4c84f05..fbf30ae67 100644 --- a/packages/foundry.thirdpartyapplications/package.json +++ b/packages/foundry.thirdpartyapplications/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/foundry/package.json b/packages/foundry/package.json index 8fa8ea79f..9617502e6 100644 --- a/packages/foundry/package.json +++ b/packages/foundry/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/gateway-generator/package.json b/packages/gateway-generator/package.json index ecc8b3fb4..d6cfb8d90 100644 --- a/packages/gateway-generator/package.json +++ b/packages/gateway-generator/package.json @@ -21,6 +21,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/gateway-generator/src/generate/common.ts b/packages/gateway-generator/src/generate/common.ts index 5a2945586..7f55685f4 100644 --- a/packages/gateway-generator/src/generate/common.ts +++ b/packages/gateway-generator/src/generate/common.ts @@ -51,7 +51,7 @@ export function generateDocumentation(documentation: Documentation): string { return documentationCode; } -export function shouldSanitizePameterName(parameterName: string): boolean { +export function shouldSanitizeParameterName(parameterName: string): boolean { return parameterName.includes("-"); } diff --git a/packages/gateway-generator/src/generate/namespace.ts b/packages/gateway-generator/src/generate/namespace.ts index f85ed09b2..0073b4abd 100644 --- a/packages/gateway-generator/src/generate/namespace.ts +++ b/packages/gateway-generator/src/generate/namespace.ts @@ -40,7 +40,7 @@ import type { import { InputType } from "../spec/index.js"; import { sanitizeParameterName, - shouldSanitizePameterName, + shouldSanitizeParameterName, visitTypeUnion, } from "./common.js"; import { getJsDocs } from "./getJsDocs.js"; @@ -245,7 +245,7 @@ function generateParameter( ): ParameterDeclarationStructure { return { kind: StructureKind.Parameter, - name: shouldSanitizePameterName(parameter.name) + name: shouldSanitizeParameterName(parameter.name) ? sanitizeParameterName(parameter.name) : parameter.name, type: generateType(parameter.type.type, referenceSet), diff --git a/packages/gateway-generator/src/generate/types.test.ts b/packages/gateway-generator/src/generate/types.test.ts index bc637a8ef..3c5142cd5 100644 --- a/packages/gateway-generator/src/generate/types.test.ts +++ b/packages/gateway-generator/src/generate/types.test.ts @@ -179,7 +179,7 @@ describe("generateTypes", () => { ); }); - it("should generate a typeunion for an enum type", () => { + it("should generate a type union for an enum type", () => { const dataType: DataType = { type: "enum", enum: { diff --git a/packages/gateway/CHANGELOG.md b/packages/gateway/CHANGELOG.md index 6a37d3308..d3476eec0 100644 --- a/packages/gateway/CHANGELOG.md +++ b/packages/gateway/CHANGELOG.md @@ -76,7 +76,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names ## 0.0.3 diff --git a/packages/gateway/package.json b/packages/gateway/package.json index 68fe2d8e4..808fd8590 100644 --- a/packages/gateway/package.json +++ b/packages/gateway/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/gateway/requests.d.ts b/packages/gateway/requests.d.ts index 9997bc813..3e1418564 100644 --- a/packages/gateway/requests.d.ts +++ b/packages/gateway/requests.d.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -// This file only exists as a fallback for packages that dont do modern module resolution +// This file only exists as a fallback for packages that don't do modern module resolution export * from "./build/cjs/public/requests.cjs"; diff --git a/packages/gateway/src/generated/openapi/errors/AbortTransactionPermissionDenied.ts b/packages/gateway/src/generated/openapi/errors/AbortTransactionPermissionDenied.ts index 628fd7c5b..120b2cf0f 100644 --- a/packages/gateway/src/generated/openapi/errors/AbortTransactionPermissionDenied.ts +++ b/packages/gateway/src/generated/openapi/errors/AbortTransactionPermissionDenied.ts @@ -17,7 +17,7 @@ import type { DatasetRid } from "../components/DatasetRid.js"; import type { TransactionRid } from "../components/TransactionRid.js"; -/** The provided token does not have permission to abort the given treansaction on the given dataset. */ +/** The provided token does not have permission to abort the given transaction on the given dataset. */ export interface AbortTransactionPermissionDenied { errorCode: "PERMISSION_DENIED"; errorName: "AbortTransactionPermissionDenied"; diff --git a/packages/gateway/types.d.ts b/packages/gateway/types.d.ts index 40e8fa3e5..71a3e287e 100644 --- a/packages/gateway/types.d.ts +++ b/packages/gateway/types.d.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -// This file only exists as a fallback for packages that dont do modern module resolution +// This file only exists as a fallback for packages that don't do modern module resolution export * from "./build/cjs/public/types.cjs"; diff --git a/packages/generator-converters/package.json b/packages/generator-converters/package.json index 42bc4422e..744881630 100644 --- a/packages/generator-converters/package.json +++ b/packages/generator-converters/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/generator-converters/src/wirePropertyV2ToSdkPropertyDefinition.ts b/packages/generator-converters/src/wirePropertyV2ToSdkPropertyDefinition.ts index 18d24785b..bd483025b 100644 --- a/packages/generator-converters/src/wirePropertyV2ToSdkPropertyDefinition.ts +++ b/packages/generator-converters/src/wirePropertyV2ToSdkPropertyDefinition.ts @@ -99,6 +99,6 @@ function objectPropertyTypeToSdkPropertyDefinition( return "numericTimeseries"; default: const _: never = propertyType; - throw new Error(`Unexecpected data type ${JSON.stringify(propertyType)}`); + throw new Error(`Unexpected data type ${JSON.stringify(propertyType)}`); } } diff --git a/packages/generator/CHANGELOG.md b/packages/generator/CHANGELOG.md index 932b49e04..4b47e4912 100644 --- a/packages/generator/CHANGELOG.md +++ b/packages/generator/CHANGELOG.md @@ -126,7 +126,7 @@ ### Patch Changes -- b59cb10: Adding backcompatibility for internal types +- b59cb10: Adding backward compatibility for internal types ## 0.0.14 @@ -179,7 +179,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] @@ -205,14 +205,14 @@ ### Patch Changes -- e22ce70: Adding proper support for reservered keywords in properties +- e22ce70: Adding proper support for reserved keywords in properties - 66cb4ce: Fixing generator for integration ## 0.0.5 ### Patch Changes -- 70719db: Fixing nits, and adding support for legacy reservered word backcompat +- 70719db: Fixing nits, and adding support for legacy reserved word back-compat ## 0.0.4 @@ -227,7 +227,7 @@ ### Patch Changes -- a2b7874: Addin TimeSeries support and fixing issues during code-gen time with Queries +- a2b7874: Add in TimeSeries support and fixing issues during code-gen time with Queries - Updated dependencies [a2b7874] - @osdk/api@0.0.7 diff --git a/packages/generator/package.json b/packages/generator/package.json index d7f7bdccd..f02230935 100644 --- a/packages/generator/package.json +++ b/packages/generator/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/generator/src/shared/generatePerActionDataFiles.ts b/packages/generator/src/shared/generatePerActionDataFiles.ts index b29f07d2e..edfabe10b 100644 --- a/packages/generator/src/shared/generatePerActionDataFiles.ts +++ b/packages/generator/src/shared/generatePerActionDataFiles.ts @@ -95,7 +95,7 @@ export async function generatePerActionDataFiles( function createV2Types() { // the params must be a `type` to align properly with the `ActionDefinition` interface - // this way we can generate a strict type for the function itself and reference it from the Aciton Definition + // this way we can generate a strict type for the function itself and reference it from the Action Definition return ` ${createParamsDef()} diff --git a/packages/generator/src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts b/packages/generator/src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts index e5455434e..072fb787e 100644 --- a/packages/generator/src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts +++ b/packages/generator/src/shared/wireQueryDataTypeToQueryDataTypeDefinition.ts @@ -82,10 +82,10 @@ export function wireQueryDataTypeToQueryDataTypeDefinition< // special case for a union where one half is nullable to skip the union step and just allow nulls directly if (allowNulls && input.unionTypes.length === 2) { - const nonnull = input.unionTypes.find(t => t.type != null); - if (nonnull) { + const nonNull = input.unionTypes.find(t => t.type != null); + if (nonNull) { return { - ...wireQueryDataTypeToQueryDataTypeDefinition(nonnull), + ...wireQueryDataTypeToQueryDataTypeDefinition(nonNull), nullable: true, }; } diff --git a/packages/generator/src/util/stringify.ts b/packages/generator/src/util/stringify.ts index a655ede03..e0b2565d2 100644 --- a/packages/generator/src/util/stringify.ts +++ b/packages/generator/src/util/stringify.ts @@ -18,9 +18,9 @@ * A function for changing the stringified key/value pairs of an object. * * @param value The value of the key/value pair. - * @param defaultValueFormatter The function that would be called if this customizer wasnt used + * @param defaultValueFormatter The function that would be called if this customizer wasn't used * @param key The key of the key/value pair. - * @param defaultKeyFormatter The function that would be called if this customizer wasnt used + * @param defaultKeyFormatter The function that would be called if this customizer wasn't used * * @returns A string, a tuple of strings, or undefined. * If a string is returned, it will be used as the value of the key/value pair. diff --git a/packages/generator/src/util/verifyOutdir.ts b/packages/generator/src/util/verifyOutDir.ts similarity index 95% rename from packages/generator/src/util/verifyOutdir.ts rename to packages/generator/src/util/verifyOutDir.ts index ba06cce07..68b8492f5 100644 --- a/packages/generator/src/util/verifyOutdir.ts +++ b/packages/generator/src/util/verifyOutDir.ts @@ -22,7 +22,7 @@ import type { MinimalFs } from "../MinimalFs.js"; * Re-generating an ontology on top of itself is not supported and may leave old * files around or refuse to update files with new contents in some cases. */ -export async function verifyOutdir(outDir: string, fs: MinimalFs) { +export async function verifyOutDir(outDir: string, fs: MinimalFs) { // if outDir exists and is not empty, we cannot proceed with the generation try { const contents = await fs.readdir(outDir); diff --git a/packages/generator/src/v1.1/backcompat/generateOntologyRuntimeDistDir.ts b/packages/generator/src/v1.1/backcompat/generateOntologyRuntimeDistDir.ts index 6aff92b21..3147fbf68 100644 --- a/packages/generator/src/v1.1/backcompat/generateOntologyRuntimeDistDir.ts +++ b/packages/generator/src/v1.1/backcompat/generateOntologyRuntimeDistDir.ts @@ -51,17 +51,16 @@ export async function generateOntologyRuntimeDistDir( await fs.writeFile( path.join(runtimeDistDir, "index.ts"), - // TRASHFIXME await formatTs(` export * from "./aggregations/index${importExt}"; export * from "./baseTypes/index${importExt}"; ${"" - // Skipping this one, it doesnt have an equiv now + // Skipping this one, it doesn't have an equiv now // export * from "./common/index${importExt}"; } // export * from "./filters/index${importExt}"; ${"" - // Skipping this one, it doesnt have an equiv now + // Skipping this one, it doesn't have an equiv now // export * from "./iterator/index${importExt}"; } ${"" diff --git a/packages/generator/src/v1.1/backcompat/util/reexportConsts.ts b/packages/generator/src/v1.1/backcompat/util/reexportConsts.ts index 108c739c6..8a1f6ce7b 100644 --- a/packages/generator/src/v1.1/backcompat/util/reexportConsts.ts +++ b/packages/generator/src/v1.1/backcompat/util/reexportConsts.ts @@ -24,7 +24,7 @@ export function reexportConsts( ${ typesToExport.map(q => ` - /** @deprecated submodule imports arent public api **/ + /** @deprecated submodule imports aren't public api **/ export const ${q} = OG_${q}; `).join("\n\n") } diff --git a/packages/generator/src/v1.1/backcompat/util/reexportTypes.ts b/packages/generator/src/v1.1/backcompat/util/reexportTypes.ts index 5e3ebf74f..22a0ddda5 100644 --- a/packages/generator/src/v1.1/backcompat/util/reexportTypes.ts +++ b/packages/generator/src/v1.1/backcompat/util/reexportTypes.ts @@ -26,7 +26,7 @@ export function reexportTypes( ${ typesToExport.map(q => ` - /** @deprecated submodule imports arent public api **/ + /** @deprecated submodule imports aren't public api **/ export type ${q}${genericArgsLeft} = OG_${q}${genericArgsRight}; `).join("\n\n") } diff --git a/packages/generator/src/v1.1/generateClientSdkVersionOneDotOne.ts b/packages/generator/src/v1.1/generateClientSdkVersionOneDotOne.ts index 14c5d62f1..ec1c0b2e8 100644 --- a/packages/generator/src/v1.1/generateClientSdkVersionOneDotOne.ts +++ b/packages/generator/src/v1.1/generateClientSdkVersionOneDotOne.ts @@ -18,7 +18,7 @@ import * as path from "node:path"; import type { MinimalFs } from "../MinimalFs.js"; import { generatePerActionDataFiles } from "../shared/generatePerActionDataFiles.js"; import { sanitizeMetadata } from "../shared/sanitizeMetadata.js"; -import { verifyOutdir } from "../util/verifyOutdir.js"; +import { verifyOutDir } from "../util/verifyOutDir.js"; import type { WireOntologyDefinition } from "../WireOntologyDefinition.js"; import { generateActions } from "./generateActions.js"; import { generateBackCompatDeprecatedExports } from "./generateBackCompatDeprecatedExports.js"; @@ -46,7 +46,7 @@ export async function generateClientSdkVersionOneDotOne( const actionsDir = path.join(outDir, "ontology", "actions"); const queriesDir = path.join(outDir, "ontology", "queries"); - await verifyOutdir(outDir, fs); + await verifyOutDir(outDir, fs); await fs.mkdir(outDir, { recursive: true }); const sanitizedOntology = sanitizeMetadata(ontology); diff --git a/packages/generator/src/v2.0/generateClientSdkVersionTwoPointZero.ts b/packages/generator/src/v2.0/generateClientSdkVersionTwoPointZero.ts index 4acee491f..2fa08add7 100644 --- a/packages/generator/src/v2.0/generateClientSdkVersionTwoPointZero.ts +++ b/packages/generator/src/v2.0/generateClientSdkVersionTwoPointZero.ts @@ -23,7 +23,7 @@ import { wireObjectTypeV2ToSdkObjectConst, } from "../shared/wireObjectTypeV2ToSdkObjectConst.js"; import { formatTs } from "../util/test/formatTs.js"; -import { verifyOutdir } from "../util/verifyOutdir.js"; +import { verifyOutDir } from "../util/verifyOutDir.js"; import { generatePerQueryDataFiles } from "../v1.1/generatePerQueryDataFiles.js"; import type { WireOntologyDefinition } from "../WireOntologyDefinition.js"; import { generateOntologyMetadataFile } from "./generateMetadata.js"; @@ -35,7 +35,7 @@ export async function generateClientSdkVersionTwoPointZero( outDir: string, packageType: "module" | "commonjs" = "commonjs", ) { - await verifyOutdir(outDir, fs); + await verifyOutDir(outDir, fs); const sanitizedOntology = sanitizeMetadata(ontology); diff --git a/packages/internal.foundry.core/package.json b/packages/internal.foundry.core/package.json index f80edef90..b172ceb3a 100644 --- a/packages/internal.foundry.core/package.json +++ b/packages/internal.foundry.core/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/internal.foundry.datasets/package.json b/packages/internal.foundry.datasets/package.json index 802cfb65c..db94bddf6 100644 --- a/packages/internal.foundry.datasets/package.json +++ b/packages/internal.foundry.datasets/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/internal.foundry.models/package.json b/packages/internal.foundry.models/package.json index 4f64557a8..fb4e00886 100644 --- a/packages/internal.foundry.models/package.json +++ b/packages/internal.foundry.models/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/internal.foundry.ontologies/package.json b/packages/internal.foundry.ontologies/package.json index 235dd4850..b847e461e 100644 --- a/packages/internal.foundry.ontologies/package.json +++ b/packages/internal.foundry.ontologies/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/internal.foundry.ontologiesv2/package.json b/packages/internal.foundry.ontologiesv2/package.json index 6d887866b..761c6af4c 100644 --- a/packages/internal.foundry.ontologiesv2/package.json +++ b/packages/internal.foundry.ontologiesv2/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/internal.foundry/package.json b/packages/internal.foundry/package.json index 544468d29..981e7d237 100644 --- a/packages/internal.foundry/package.json +++ b/packages/internal.foundry/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/legacy-client/CHANGELOG.md b/packages/legacy-client/CHANGELOG.md index e59269a02..c8fe70e66 100644 --- a/packages/legacy-client/CHANGELOG.md +++ b/packages/legacy-client/CHANGELOG.md @@ -36,9 +36,9 @@ ### Patch Changes -- 212f651: Add fetchone, that is get replacement without result wrapper +- 212f651: Add fetchOne, that is get replacement without result wrapper - e690399: Fix $rid, $apiName and $primaryKey population -- 212f651: Deprecate get and add fetchonewitherrors, which functionally is the same +- 212f651: Deprecate get and add fetchOneWithErrors, which functionally is the same ## 2.2.0 @@ -46,7 +46,7 @@ - 11434b9: Deprecated bulk actions with renamed batchActions functionality - 948c634: Add pivot to functionality and deprecate searchAround calls -- 9906a41: Add fetchpagewitherrors +- 9906a41: Add fetchPageWithErrors - 9906a41: Add fetch page without result wrapper - 9906a41: add asyncIter - 9906a41: FetchPageWithErrors type fix @@ -140,7 +140,7 @@ ### Patch Changes -- b59cb10: Adding backcompatibility for internal types +- b59cb10: Adding backwards compatibility for internal types ## 0.0.15 @@ -199,7 +199,7 @@ ### Patch Changes -- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatability in @osdk/api" +- f3120fb: Move 2.0 client into @osdk/client to fix typescript 4.9 compatibility in @osdk/api" - 848404c: Handle conflicts between object, action, and query names - Updated dependencies [f3120fb] - Updated dependencies [848404c] @@ -224,13 +224,13 @@ ### Patch Changes -- e22ce70: Adding proper support for reservered keywords in properties +- e22ce70: Adding proper support for reserved keywords in properties ## 0.0.5 ### Patch Changes -- 70719db: Fixing nits, and adding support for legacy reservered word backcompat +- 70719db: Fixing nits, and adding support for legacy reserved word back-compat ## 0.0.4 @@ -245,7 +245,7 @@ ### Patch Changes -- a2b7874: Addin TimeSeries support and fixing issues during code-gen time with Queries +- a2b7874: Add in TimeSeries support and fixing issues during code-gen time with Queries - Updated dependencies [a2b7874] - @osdk/api@0.0.7 diff --git a/packages/legacy-client/package.json b/packages/legacy-client/package.json index 49b01a1c8..c72ceb97c 100644 --- a/packages/legacy-client/package.json +++ b/packages/legacy-client/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "codegen": "node ./generateMockOntology.mjs", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", diff --git a/packages/legacy-client/src/client/baseTypes/timestamp.ts b/packages/legacy-client/src/client/baseTypes/timestamp.ts index 7ffbd67a2..9c0c64f6d 100644 --- a/packages/legacy-client/src/client/baseTypes/timestamp.ts +++ b/packages/legacy-client/src/client/baseTypes/timestamp.ts @@ -37,7 +37,7 @@ export class Timestamp { * @param dateTimeString */ static fromISOString(dateTimeString: string): Timestamp { - // TODO check setZone behaviour + // TODO check setZone behavior return new Timestamp( DateTime.fromISO(dateTimeString, { zone: "utc", setZone: true }), ); diff --git a/packages/legacy-client/src/client/objects/convertWireToOsdkObject.ts b/packages/legacy-client/src/client/objects/convertWireToOsdkObject.ts index d508ed9b8..6a84ee0a0 100644 --- a/packages/legacy-client/src/client/objects/convertWireToOsdkObject.ts +++ b/packages/legacy-client/src/client/objects/convertWireToOsdkObject.ts @@ -137,7 +137,7 @@ export function convertWireToOsdkObject< }); setPropertyAccessors(client, apiName, obj); - /* this `as unknown` is required for ts4.9 compatability */ + /* this `as unknown` is required for ts4.9 compatibility */ return obj as unknown as OsdkLegacyObjectFrom; } diff --git a/packages/legacy-client/src/client/ontology.ts b/packages/legacy-client/src/client/ontology.ts index a49826b0f..e69cdfdef 100644 --- a/packages/legacy-client/src/client/ontology.ts +++ b/packages/legacy-client/src/client/ontology.ts @@ -52,7 +52,7 @@ export class Ontology> { } get queries(): Queries { - /* this `as any` is required for ts4.9 compatability */ + /* this `as any` is required for ts4.9 compatibility */ return createQueryProxy(this.#client) as any; } diff --git a/packages/legacy-client/src/client/queryProxy.ts b/packages/legacy-client/src/client/queryProxy.ts index 8094f909d..f72a053c0 100644 --- a/packages/legacy-client/src/client/queryProxy.ts +++ b/packages/legacy-client/src/client/queryProxy.ts @@ -37,14 +37,14 @@ export function createQueryProxy>( return async function( params: QueryParameters, ): Promise> { - /* this `as any` is required for ts4.9 compatability */ + /* this `as any` is required for ts4.9 compatibility */ return executeQuery(client, q, params) as any; }; } else { return async function(): Promise< WrappedQueryReturnType > { - /* this `as any` is required for ts4.9 compatability */ + /* this `as any` is required for ts4.9 compatibility */ return executeQuery(client, q) as any; }; } diff --git a/packages/maker/package.json b/packages/maker/package.json index 98f236ffa..66ba3b3f7 100644 --- a/packages/maker/package.json +++ b/packages/maker/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/maker/src/api/defineObject.ts b/packages/maker/src/api/defineObject.ts index 0ceedf28f..aa5445999 100644 --- a/packages/maker/src/api/defineObject.ts +++ b/packages/maker/src/api/defineObject.ts @@ -66,7 +66,7 @@ export function defineObject( sharedPropertyTypeMapping: {}, }; - // FIXME: dont return the raw value + // FIXME: don't return the raw value return { data: ontologyDefinition.objectTypes[apiName], linkTypes: {}, diff --git a/packages/monorepo.cspell/cspell.config.js b/packages/monorepo.cspell/cspell.config.js new file mode 100644 index 000000000..9dc8a4926 --- /dev/null +++ b/packages/monorepo.cspell/cspell.config.js @@ -0,0 +1,192 @@ +/* + * Copyright 2024 Palantir Technologies, Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// @ts-check +"use strict"; + +const fs = require("fs"); +const path = require("path"); + +const DICT_FOLDER = __dirname; + +const REGEX_OSDK_PACKAGE_NAME = /@osdk\/[\w\d.\-]+/g; + +/** + * Helper function so creating a dictionary definition just involves creating a file + * named `dict..txt` in this folder. + * + * @returns {import("@cspell/cspell-types").DictionaryDefinition[]} + */ +function getDictionaryDefinitions() { + const ret = []; + for (const e of fs.readdirSync(DICT_FOLDER, { withFileTypes: true })) { + if (e.isFile()) { + const m = e.name.match(/^dict\.(.*)\.txt$/); + if (!m) continue; + + ret.push({ name: m[1], path: path.join(DICT_FOLDER, e.name) }); + } + } + return ret; +} + +/** @type { import("@cspell/cspell-types").CSpellUserSettings } */ +const cspell = { + version: "0.2", + enableGlobDot: true, + useGitignore: true, + ignorePaths: [ + // always ignore + "node_modules/**", + ".git/**", + ".gitignore", + + // Ignore these files for now + "_gitignore", + "*.{css,svg}", + "*.{yml,yaml}", + "*.json", + "*.sh", + "*.snap", + + // Dictionary files have words that are only used in certain contexts so they implicitly + // won't pass the generic case. + "dict.*.txt", + + // spell checking the cspell config is a bit of a chicken and egg problem + "cspell.config.js", + + // Just too complex right now. We should fix this later. + "eslint.config.mjs", + "tsup.config.js", + ".lintstagedrc.mjs", + ".envrc.sample", + ".monorepolint.config.mjs", + + // don't bother with any build directories + "examples-extra/*/{build,dist}/**/*", + "packages/*/build/**", + + // this is the conjure generated code that we won't keep forever + "packages/client.unstable/src/generated/**", + + "packages/foundry-sdk-generator/src/generatedNoCheck/**/*", + ], + dictionaryDefinitions: [ + ...getDictionaryDefinitions(), + ], + patterns: [ + // In some test code we have some serialized urls that have oauth scopes in url params + { name: "url-oauth-scopes", pattern: "/api%3A[a-z]+/" }, + + // In some code we have a sample token which causes false positives + { name: "oauth-token", pattern: "/eyJ[a-zA-Z0-9_.]+5c/" }, + ], + ignoreRegExpList: [ + REGEX_OSDK_PACKAGE_NAME, + // /@osdk\/[a-zA-Z0-9\.\-]+/, + "/\/entitymetadata\//", + ], + + dictionaries: [ + // builtin dicts to always include + "en_US", + "softwareTerms", + "typescript", + "node", + "npm", + + // our dictionaries to always include + "osdk", + "npm-packages", + "foundry-words", + "normal-dev-words", + "oauth", + ], + words: ["todoapp"], + suggestWords: [], + ignoreWords: [], + import: [], + overrides: [ + { + filename: ["**/*.md"], + dictionaries: ["foundry-words"], + }, + { + filename: [".changeset/**/*.md"], + }, + { + filename: ["**/*.{mts,cts,ts,tsx}"], + dictionaries: ["osdk-code"], + words: [ + // used in a regex + "0123456789bcdefghjkmnpqrstuvwxyz", + + // used in a const (that is removed in a different PR) + "asdfasdfdhjlkajhgj", + ], + }, + { + filename: "**/*.test.{mts,cts,ts,tsx}", + dictionaries: [ + "test-words", + ], + ignoreRegExpList: [ + "url-oauth-scopes", + "oauth-token", + ], + }, + { + filename: [ + "packages/*/generatedNoCheck", + "packages/*/generatedNoCheck2", + + // v1 client wire api + "packages/gateway/src/generated/**", + + // "omni apis" + "packages/foundry.*/src/**", + "packages/internal.foundry.*/src/**", + ], + dictionaries: [ + // acceptable words in generated code + "wire-api-words", + + // un-acceptable words in generated code that need to be fixed elsewhere + "wire-api-words-to-fix", + ], + }, + { + filename: [ + "packages/e2e.*/src/**/*.{mts,cts,ts,tsx}", + "packages/shared.test/src/mock-ontology/**/*.{mts,cts,ts,tsx}", + "examples-extra/*/src/**/*.{mts,cts,ts,tsx}", + ], + dictionaries: ["imported-ontologies"], + ignoreRegExpList: [ + /Palo Alto/, + ], + words: [ + "Clooney", + "Downey", + "Hemsworth", + "underlyings", + ], + }, + ], +}; + +module.exports = cspell; diff --git a/packages/monorepo.cspell/dict.foundry-words.txt b/packages/monorepo.cspell/dict.foundry-words.txt new file mode 100644 index 000000000..620c5b3d2 --- /dev/null +++ b/packages/monorepo.cspell/dict.foundry-words.txt @@ -0,0 +1,2 @@ +geopoint +geoshape \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.imported-ontologies.txt b/packages/monorepo.cspell/dict.imported-ontologies.txt new file mode 100644 index 000000000..e87981868 --- /dev/null +++ b/packages/monorepo.cspell/dict.imported-ontologies.txt @@ -0,0 +1,3 @@ +amishsSyncGroup +qTAPT +Emailable \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.normal-dev-words.txt b/packages/monorepo.cspell/dict.normal-dev-words.txt new file mode 100644 index 000000000..dd0d4225c --- /dev/null +++ b/packages/monorepo.cspell/dict.normal-dev-words.txt @@ -0,0 +1,15 @@ +aggregatable +codegen +devx +groupable +isModifierable +onwarn +retryable +rsort +tsdoc +typecheck +typesafety +uncapitalize +unevaluable +unioned +webapi \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.npm-packages.txt b/packages/monorepo.cspell/dict.npm-packages.txt new file mode 100644 index 000000000..202354962 --- /dev/null +++ b/packages/monorepo.cspell/dict.npm-packages.txt @@ -0,0 +1,12 @@ +consola +execa +jiti +manypkg +npmjs +dprint +tsup +attw +ngeohash +arethetypeswrong +monorepolint +luxon \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.oauth.txt b/packages/monorepo.cspell/dict.oauth.txt new file mode 100644 index 000000000..7cdddc145 --- /dev/null +++ b/packages/monorepo.cspell/dict.oauth.txt @@ -0,0 +1 @@ +pkce \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.osdk-code.txt b/packages/monorepo.cspell/dict.osdk-code.txt new file mode 100644 index 000000000..68b66831d --- /dev/null +++ b/packages/monorepo.cspell/dict.osdk-code.txt @@ -0,0 +1,46 @@ +asyncIter +backcompat +bbox +blockdata +Bucketable +CBAC +CIPHERTEXT +Customizer +datasource +datetime +downselect +downselecting +foundry.thirdpartyapplications +fromEpochMilli +fromMillis +geohash +geopoint +geoshape +geoshapes +geospacial +Geospatial +Geotime +groupby +highbury +LOCALDATE +multilinks +nullness +objectset +objectsets +objectsetwatcher +ontologiesv2 +osdk +OsdkLegacyObjectFromNoSearchArounds +OsdkLegacyOntologyObjectNoSearchArounds +oslw +Pageable +platformapi +Rangeable +sdkv2 +spts +subselect +timeseries +undefineds +valuetype +websockets +workstateRid \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.osdk.txt b/packages/monorepo.cspell/dict.osdk.txt new file mode 100644 index 000000000..4f5ae541b --- /dev/null +++ b/packages/monorepo.cspell/dict.osdk.txt @@ -0,0 +1 @@ +osdk \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.test-words.txt b/packages/monorepo.cspell/dict.test-words.txt new file mode 100644 index 000000000..a15b1aea1 --- /dev/null +++ b/packages/monorepo.cspell/dict.test-words.txt @@ -0,0 +1,6 @@ +doesnotexist +objectdoesnotexist +querydoesnotexist +actiondoesnotexit +unstubAllEnvs +createSpys \ No newline at end of file diff --git a/packages/monorepo.cspell/dict.wire-api-words-to-fix.txt b/packages/monorepo.cspell/dict.wire-api-words-to-fix.txt new file mode 100644 index 000000000..1805a0d4b --- /dev/null +++ b/packages/monorepo.cspell/dict.wire-api-words-to-fix.txt @@ -0,0 +1,41 @@ +# All of these words are words that are from source files in generated code that need to be fixed upstream. +# - They are separated out so its easy to tell when we have fixed them all. +# +Archetyp +atleast +behaviour +betweeen +Blobster +Condititon +contruct +Damerau +Damerau +dataframe +Datas +depedent +dependecies +Entites +Geohashes +interations +linestrings +logit +Madatory +Modificationcheck +Morethan +ONTOLOGT +operaton +opiniated +paramters +Phonograh +postition +primarykey +reopenable +Reponse +shouldnt +specifed +treansaction +Triggerer +unevaluable +uniquelly +unrestrict +Vesion diff --git a/packages/monorepo.cspell/dict.wire-api-words.txt b/packages/monorepo.cspell/dict.wire-api-words.txt new file mode 100644 index 000000000..da68369dc --- /dev/null +++ b/packages/monorepo.cspell/dict.wire-api-words.txt @@ -0,0 +1,25 @@ +# These are all words that are acceptable in wire apis +actiontype +checkpointed +deindexed +entitymetadata +frontends +loggable +lucene +mergable +Mergeable +Metadatas +millis +multifield +Noops +objectstorage +objecttype +objecttypes +ontologyobject +permissioning +reindex +rulesets +schemamigrations +SearchArounds +typeclasses +workstate \ No newline at end of file diff --git a/packages/monorepo.cspell/index.js b/packages/monorepo.cspell/index.js new file mode 100644 index 000000000..16a185e42 --- /dev/null +++ b/packages/monorepo.cspell/index.js @@ -0,0 +1,17 @@ +/* + * Copyright 2024 Palantir Technologies, Inc. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +module.exports = require("./cspell.config"); diff --git a/packages/monorepo.cspell/package.json b/packages/monorepo.cspell/package.json new file mode 100644 index 000000000..5979e2649 --- /dev/null +++ b/packages/monorepo.cspell/package.json @@ -0,0 +1,15 @@ +{ + "name": "@osdk/monorepo.cspell", + "private": true, + "version": "0.0.0", + "description": "CSpell configuration for the monorepo", + "license": "Apache-2.0", + "repository": { + "type": "git", + "url": "https://github.com/palantir/osdk-ts.git" + }, + "dependencies": { + "@cspell/cspell-types": "^8.11.0", + "@types/node": "^18.0.0" + } +} diff --git a/packages/monorepo.tsup/tsup.mjs b/packages/monorepo.tsup/tsup.mjs index d23176c67..1a7d99177 100644 --- a/packages/monorepo.tsup/tsup.mjs +++ b/packages/monorepo.tsup/tsup.mjs @@ -97,7 +97,7 @@ export default async (options, ourOptions) => { async function readPackageVersion(k) { const workspaceFile = await findUp("pnpm-workspace.yaml"); - if (!workspaceFile) throw "couldnt find workspace file"; + if (!workspaceFile) throw "couldn't find workspace file"; const workspaceRoot = path.dirname(workspaceFile); return await readFile(path.join(workspaceRoot, k, "package.json"), "utf-8") .then(f => JSON.parse(f).version); diff --git a/packages/oauth/package.json b/packages/oauth/package.json index fa85f99e5..25a9cae07 100644 --- a/packages/oauth/package.json +++ b/packages/oauth/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/oauth/src/createPublicOauthClient.ts b/packages/oauth/src/createPublicOauthClient.ts index bf73003f5..5a41a8f15 100644 --- a/packages/oauth/src/createPublicOauthClient.ts +++ b/packages/oauth/src/createPublicOauthClient.ts @@ -160,7 +160,7 @@ export function createPublicOauthClient( } try { - // note, we dont use processRefreshTokenResponse because the mp oauth implementation + // note, we don't use processRefreshTokenResponse because the mp oauth implementation // doesn't do refresh tokens quite right and this lets us skip the id check return makeTokenAndSaveRefresh( throwIfError( diff --git a/packages/platform-sdk-generator/package.json b/packages/platform-sdk-generator/package.json index 334df7bb0..d60f180d4 100644 --- a/packages/platform-sdk-generator/package.json +++ b/packages/platform-sdk-generator/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.client.impl/package.json b/packages/shared.client.impl/package.json index b45ed8357..fd503df7b 100644 --- a/packages/shared.client.impl/package.json +++ b/packages/shared.client.impl/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.net.errors/package.json b/packages/shared.net.errors/package.json index 9cffbd87e..4bcc73fbe 100644 --- a/packages/shared.net.errors/package.json +++ b/packages/shared.net.errors/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.net.fetch/package.json b/packages/shared.net.fetch/package.json index 0f08594ae..f729fde38 100644 --- a/packages/shared.net.fetch/package.json +++ b/packages/shared.net.fetch/package.json @@ -20,6 +20,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.net.fetch/src/createFetchOrThrow.ts b/packages/shared.net.fetch/src/createFetchOrThrow.ts index 32041eed4..34039ef8b 100644 --- a/packages/shared.net.fetch/src/createFetchOrThrow.ts +++ b/packages/shared.net.fetch/src/createFetchOrThrow.ts @@ -34,7 +34,7 @@ export function createFetchOrThrow(fetchFn: typeof fetch = fetch) { try { response = await fetchFn(url, requestInit); } catch (e) { - throw convertError(e, "A network error occured"); + throw convertError(e, "A network error occurred"); } if (!response.ok) { @@ -46,7 +46,10 @@ export function createFetchOrThrow(fetchFn: typeof fetch = fetch) { try { body = await response.json(); } catch (e) { - throw convertError(e, "A network error occured while reading response"); + throw convertError( + e, + "A network error occurred while reading response", + ); } throw new PalantirApiError( diff --git a/packages/shared.net.platformapi/package.json b/packages/shared.net.platformapi/package.json index 022f385fd..9c759e40b 100644 --- a/packages/shared.net.platformapi/package.json +++ b/packages/shared.net.platformapi/package.json @@ -18,6 +18,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.net/package.json b/packages/shared.net/package.json index ed277d740..a390f8e83 100644 --- a/packages/shared.net/package.json +++ b/packages/shared.net/package.json @@ -22,6 +22,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.test/package.json b/packages/shared.test/package.json index f27943532..e981083c8 100644 --- a/packages/shared.test/package.json +++ b/packages/shared.test/package.json @@ -23,6 +23,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh both", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/shared.test/src/handlers/util/handleOpenApiCall.ts b/packages/shared.test/src/handlers/util/handleOpenApiCall.ts index f7faec504..a83f501f8 100644 --- a/packages/shared.test/src/handlers/util/handleOpenApiCall.ts +++ b/packages/shared.test/src/handlers/util/handleOpenApiCall.ts @@ -106,7 +106,7 @@ export function handleOpenApiCall< return Promise.resolve(); }; - // we dont care about the promise here, we are just building the url + // we don't care about the promise here, we are just building the url openApiCall( capture as any, ...(names.map(n => `:${n}`) as any), diff --git a/packages/shared.test/src/stubs/actionsTypes.ts b/packages/shared.test/src/stubs/actionsTypes.ts index d260b8500..f3dbbf5dc 100644 --- a/packages/shared.test/src/stubs/actionsTypes.ts +++ b/packages/shared.test/src/stubs/actionsTypes.ts @@ -243,7 +243,7 @@ export const ActionTakesObjectSet: ActionTypeV2 = { export const ActionTakesAttachment: ActionTypeV2 = { apiName: "actionTakesAttachment", - description: "An action which takes an attachmen t", + description: "An action which takes an attachment", parameters: { attachment: { dataType: { diff --git a/packages/shared.test/src/stubs/timeseriesRequests.ts b/packages/shared.test/src/stubs/timeseriesRequests.ts index 5c554b81a..4ada80737 100644 --- a/packages/shared.test/src/stubs/timeseriesRequests.ts +++ b/packages/shared.test/src/stubs/timeseriesRequests.ts @@ -74,7 +74,7 @@ const rangeBodyRequest: StreamTimeSeriesPointsRequest = { }, }; -export const streamPointsnoBody: StreamTimeSeriesPointsResponse = { +export const streamPointsNoBody: StreamTimeSeriesPointsResponse = { data: [ timeSeriesPoint1, timeSeriesPoint1, @@ -106,7 +106,7 @@ export const streamPointsRequestHandlers: Record< string, StreamTimeSeriesPointsResponse > = { - [stableStringify(noBodyRequest)]: streamPointsnoBody, + [stableStringify(noBodyRequest)]: streamPointsNoBody, [stableStringify(rangeBodyRequest)]: streamPointsRange, [stableStringify(fromBodyRequest)]: streamPointsFrom, }; diff --git a/packages/tool.release/package.json b/packages/tool.release/package.json index 0515049af..aebb684aa 100644 --- a/packages/tool.release/package.json +++ b/packages/tool.release/package.json @@ -19,6 +19,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/packages/tool.release/src/publishPackages.ts b/packages/tool.release/src/publishPackages.ts index 402b49635..c08dbfcda 100644 --- a/packages/tool.release/src/publishPackages.ts +++ b/packages/tool.release/src/publishPackages.ts @@ -28,7 +28,7 @@ import pMap from "p-map"; import { PackageNotFoundError } from "package-json"; import packageVersionsOrThrow from "pkg-versions"; -// Honestly I dont know that we need this file since `pnpm publish -r` is a thing +// Honestly I don't know that we need this file since `pnpm publish -r` is a thing export type PublishedResult = { name: string; diff --git a/packages/tool.release/src/util/getVersionPrBody.ts b/packages/tool.release/src/util/getVersionPrBody.ts index 305f6626f..822d33ae0 100644 --- a/packages/tool.release/src/util/getVersionPrBody.ts +++ b/packages/tool.release/src/util/getVersionPrBody.ts @@ -72,7 +72,7 @@ export async function getVersionPrBody({ `This PR was opened by automation. When you're ready to do a release, you can merge this and publish to npm yourself. If you're not ready to do a release yet, that's fine, whenever you re-run the release script in ${branch}, this PR will be updated. `; - const messagePrestate = !!preState + const messagePreState = !!preState ? `⚠️⚠️⚠️⚠️⚠️⚠️ \`${branch}\` is currently in **pre mode** so this branch has prereleases rather than normal releases. If you want to exit prereleases, run \`changeset pre exit\` on \`${branch}\`. @@ -84,7 +84,7 @@ export async function getVersionPrBody({ let fullMessage = [ messageHeader, - messagePrestate, + messagePreState, messageReleasesHeading, ...changedPackagesInfo.map((info) => `${info.header}\n\n${info.content}`), ].join("\n"); @@ -94,7 +94,7 @@ export async function getVersionPrBody({ if (fullMessage.length > prBodyMaxCharacters) { fullMessage = [ messageHeader, - messagePrestate, + messagePreState, messageReleasesHeading, `\n> The changelog information of each package has been omitted from this message, as the content exceeds the size limit.\n`, ...changedPackagesInfo.map((info) => `${info.header}\n\n`), @@ -106,7 +106,7 @@ export async function getVersionPrBody({ if (fullMessage.length > prBodyMaxCharacters) { fullMessage = [ messageHeader, - messagePrestate, + messagePreState, messageReleasesHeading, `\n> All release information have been omitted from this message, as the content exceeds the size limit.`, ].join("\n"); diff --git a/packages/version-updater/package.json b/packages/version-updater/package.json index d66146676..622ff80be 100644 --- a/packages/version-updater/package.json +++ b/packages/version-updater/package.json @@ -21,6 +21,7 @@ }, "scripts": { "check-attw": "../../scripts/build_common/check-attw.sh esm", + "check-spelling": "cspell --quiet .", "clean": "rm -rf lib dist types build tsconfig.tsbuildinfo", "fix-lint": "eslint . --fix && dprint fmt --config $(find-up dprint.json)", "lint": "eslint . && dprint check --config $(find-up dprint.json)", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b449328c..ee17d90f1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ importers: '@monorepolint/rules': specifier: 0.5.0-beta.10 version: 0.5.0-beta.10 + '@osdk/monorepo.cspell': + specifier: workspace:~ + version: link:packages/monorepo.cspell '@osdk/monorepo.tsconfig': specifier: workspace:~ version: link:packages/monorepo.tsconfig @@ -53,6 +56,9 @@ importers: babel-plugin-dev-expression: specifier: ^0.2.3 version: 0.2.3(@babel/core@7.24.5) + cspell: + specifier: ^8.11.0 + version: 8.11.0 dprint: specifier: ^0.45.1 version: 0.45.1 @@ -1981,6 +1987,15 @@ importers: packages/monorepo.api-extractor: {} + packages/monorepo.cspell: + dependencies: + '@cspell/cspell-types': + specifier: ^8.11.0 + version: 8.11.0 + '@types/node': + specifier: ^18.0.0 + version: 18.17.15 + packages/monorepo.tsconfig: {} packages/monorepo.tsup: @@ -2958,6 +2973,323 @@ packages: requiresBuild: true optional: true + /@cspell/cspell-bundled-dicts@8.11.0: + resolution: {integrity: sha512-SYAW1oT9jjnbwju5P6luTnKogEe8DGUVmUO0O02LxYNmgE2eJt8pKZcy3RtR9V7Q5WW8PWsXXq0Xvoseji0olg==} + engines: {node: '>=18'} + dependencies: + '@cspell/dict-ada': 4.0.2 + '@cspell/dict-aws': 4.0.3 + '@cspell/dict-bash': 4.1.3 + '@cspell/dict-companies': 3.1.2 + '@cspell/dict-cpp': 5.1.10 + '@cspell/dict-cryptocurrencies': 5.0.0 + '@cspell/dict-csharp': 4.0.2 + '@cspell/dict-css': 4.0.12 + '@cspell/dict-dart': 2.0.3 + '@cspell/dict-django': 4.1.0 + '@cspell/dict-docker': 1.1.7 + '@cspell/dict-dotnet': 5.0.2 + '@cspell/dict-elixir': 4.0.3 + '@cspell/dict-en-common-misspellings': 2.0.3 + '@cspell/dict-en-gb': 1.1.33 + '@cspell/dict-en_us': 4.3.23 + '@cspell/dict-filetypes': 3.0.4 + '@cspell/dict-fonts': 4.0.0 + '@cspell/dict-fsharp': 1.0.1 + '@cspell/dict-fullstack': 3.1.8 + '@cspell/dict-gaming-terms': 1.0.5 + '@cspell/dict-git': 3.0.0 + '@cspell/dict-golang': 6.0.9 + '@cspell/dict-google': 1.0.1 + '@cspell/dict-haskell': 4.0.1 + '@cspell/dict-html': 4.0.5 + '@cspell/dict-html-symbol-entities': 4.0.0 + '@cspell/dict-java': 5.0.7 + '@cspell/dict-julia': 1.0.1 + '@cspell/dict-k8s': 1.0.5 + '@cspell/dict-latex': 4.0.0 + '@cspell/dict-lorem-ipsum': 4.0.0 + '@cspell/dict-lua': 4.0.3 + '@cspell/dict-makefile': 1.0.0 + '@cspell/dict-monkeyc': 1.0.6 + '@cspell/dict-node': 5.0.1 + '@cspell/dict-npm': 5.0.16 + '@cspell/dict-php': 4.0.8 + '@cspell/dict-powershell': 5.0.4 + '@cspell/dict-public-licenses': 2.0.7 + '@cspell/dict-python': 4.2.1 + '@cspell/dict-r': 2.0.1 + '@cspell/dict-ruby': 5.0.2 + '@cspell/dict-rust': 4.0.4 + '@cspell/dict-scala': 5.0.2 + '@cspell/dict-software-terms': 3.4.10 + '@cspell/dict-sql': 2.1.3 + '@cspell/dict-svelte': 1.0.2 + '@cspell/dict-swift': 2.0.1 + '@cspell/dict-terraform': 1.0.0 + '@cspell/dict-typescript': 3.1.5 + '@cspell/dict-vue': 3.0.0 + dev: true + + /@cspell/cspell-json-reporter@8.11.0: + resolution: {integrity: sha512-GSk2dKZHak4EuRXRKpyW3EsxmJmirkcZoM6sJQh6ZaFXSffMPgydNNIeL2xH/2hnwE7yWcP0ryq8hOxlrl9mVw==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-types': 8.11.0 + dev: true + + /@cspell/cspell-pipe@8.11.0: + resolution: {integrity: sha512-VNWoAb2Y5VO87O8FipQZfk7H5aDhjE2HbGInVWC1x+qNMyQvnh3WYexa5r0Z4g3WqdTPhhpZdeBHnEfcdBwmOw==} + engines: {node: '>=18'} + dev: true + + /@cspell/cspell-resolver@8.11.0: + resolution: {integrity: sha512-4qqYBct6wsdoDCnTvt7rfpBE3ARegLDTeYOxglZLE3xZj0vpI1LZiGc3jgroTql866Lqy+IeRCwnQd5GXrqtmg==} + engines: {node: '>=18'} + dependencies: + global-directory: 4.0.1 + dev: true + + /@cspell/cspell-service-bus@8.11.0: + resolution: {integrity: sha512-W7BBouT5prXvvh9javWTzZN3vvnSujS3agrOjRQ5BuimOgLonUwydimuSTDFIkyvT6ZwzyIVO4r984w3OcYyzg==} + engines: {node: '>=18'} + dev: true + + /@cspell/cspell-types@8.11.0: + resolution: {integrity: sha512-WNscRYt7MHhJhv2E8GbNoyUVZnRvWsz8O+OFrMjmGO6PxokQRnuKRp3rgHpZxL0NR4xw+2xyZKYC/9iOQ6yCnQ==} + engines: {node: '>=18'} + + /@cspell/dict-ada@4.0.2: + resolution: {integrity: sha512-0kENOWQeHjUlfyId/aCM/mKXtkEgV0Zu2RhUXCBr4hHo9F9vph+Uu8Ww2b0i5a4ZixoIkudGA+eJvyxrG1jUpA==} + dev: true + + /@cspell/dict-aws@4.0.3: + resolution: {integrity: sha512-0C0RQ4EM29fH0tIYv+EgDQEum0QI6OrmjENC9u98pB8UcnYxGG/SqinuPxo+TgcEuInj0Q73MsBpJ1l5xUnrsw==} + dev: true + + /@cspell/dict-bash@4.1.3: + resolution: {integrity: sha512-tOdI3QVJDbQSwPjUkOiQFhYcu2eedmX/PtEpVWg0aFps/r6AyjUQINtTgpqMYnYuq8O1QUIQqnpx21aovcgZCw==} + dev: true + + /@cspell/dict-companies@3.1.2: + resolution: {integrity: sha512-OwR5i1xbYuJX7FtHQySmTy3iJtPV1rZQ3jFCxFGwrA1xRQ4rtRcDQ+sTXBCIAoJHkXa84f9J3zsngOKmMGyS/w==} + dev: true + + /@cspell/dict-cpp@5.1.10: + resolution: {integrity: sha512-BmIF0sAz2BgGEOwzYIeEm9ALneDjd1tcTbFbo+A1Hcq3zOKP8yViSgxS9CEN30KOZIyph6Tldp531UPEpoEl0Q==} + dev: true + + /@cspell/dict-cryptocurrencies@5.0.0: + resolution: {integrity: sha512-Z4ARIw5+bvmShL+4ZrhDzGhnc9znaAGHOEMaB/GURdS/jdoreEDY34wdN0NtdLHDO5KO7GduZnZyqGdRoiSmYA==} + dev: true + + /@cspell/dict-csharp@4.0.2: + resolution: {integrity: sha512-1JMofhLK+4p4KairF75D3A924m5ERMgd1GvzhwK2geuYgd2ZKuGW72gvXpIV7aGf52E3Uu1kDXxxGAiZ5uVG7g==} + dev: true + + /@cspell/dict-css@4.0.12: + resolution: {integrity: sha512-vGBgPM92MkHQF5/2jsWcnaahOZ+C6OE/fPvd5ScBP72oFY9tn5GLuomcyO0z8vWCr2e0nUSX1OGimPtcQAlvSw==} + dev: true + + /@cspell/dict-dart@2.0.3: + resolution: {integrity: sha512-cLkwo1KT5CJY5N5RJVHks2genFkNCl/WLfj+0fFjqNR+tk3tBI1LY7ldr9piCtSFSm4x9pO1x6IV3kRUY1lLiw==} + dev: true + + /@cspell/dict-data-science@2.0.1: + resolution: {integrity: sha512-xeutkzK0eBe+LFXOFU2kJeAYO6IuFUc1g7iRLr7HeCmlC4rsdGclwGHh61KmttL3+YHQytYStxaRBdGAXWC8Lw==} + dev: true + + /@cspell/dict-django@4.1.0: + resolution: {integrity: sha512-bKJ4gPyrf+1c78Z0Oc4trEB9MuhcB+Yg+uTTWsvhY6O2ncFYbB/LbEZfqhfmmuK/XJJixXfI1laF2zicyf+l0w==} + dev: true + + /@cspell/dict-docker@1.1.7: + resolution: {integrity: sha512-XlXHAr822euV36GGsl2J1CkBIVg3fZ6879ZOg5dxTIssuhUOCiV2BuzKZmt6aIFmcdPmR14+9i9Xq+3zuxeX0A==} + dev: true + + /@cspell/dict-dotnet@5.0.2: + resolution: {integrity: sha512-UD/pO2A2zia/YZJ8Kck/F6YyDSpCMq0YvItpd4YbtDVzPREfTZ48FjZsbYi4Jhzwfvc6o8R56JusAE58P+4sNQ==} + dev: true + + /@cspell/dict-elixir@4.0.3: + resolution: {integrity: sha512-g+uKLWvOp9IEZvrIvBPTr/oaO6619uH/wyqypqvwpmnmpjcfi8+/hqZH8YNKt15oviK8k4CkINIqNhyndG9d9Q==} + dev: true + + /@cspell/dict-en-common-misspellings@2.0.3: + resolution: {integrity: sha512-8nF1z9nUiSgMyikL66HTbDO7jCGtB24TxKBasXIBwkBKMDZgA2M883iXdeByy6m1JJUcCGFkSftVYp2W0bUgjw==} + dev: true + + /@cspell/dict-en-gb@1.1.33: + resolution: {integrity: sha512-tKSSUf9BJEV+GJQAYGw5e+ouhEe2ZXE620S7BLKe3ZmpnjlNG9JqlnaBhkIMxKnNFkLY2BP/EARzw31AZnOv4g==} + dev: true + + /@cspell/dict-en_us@4.3.23: + resolution: {integrity: sha512-l0SoEQBsi3zDSl3OuL4/apBkxjuj4hLIg/oy6+gZ7LWh03rKdF6VNtSZNXWAmMY+pmb1cGA3ouleTiJIglbsIg==} + dev: true + + /@cspell/dict-filetypes@3.0.4: + resolution: {integrity: sha512-IBi8eIVdykoGgIv5wQhOURi5lmCNJq0we6DvqKoPQJHthXbgsuO1qrHSiUVydMiQl/XvcnUWTMeAlVUlUClnVg==} + dev: true + + /@cspell/dict-fonts@4.0.0: + resolution: {integrity: sha512-t9V4GeN/m517UZn63kZPUYP3OQg5f0OBLSd3Md5CU3eH1IFogSvTzHHnz4Wqqbv8NNRiBZ3HfdY/pqREZ6br3Q==} + dev: true + + /@cspell/dict-fsharp@1.0.1: + resolution: {integrity: sha512-23xyPcD+j+NnqOjRHgW3IU7Li912SX9wmeefcY0QxukbAxJ/vAN4rBpjSwwYZeQPAn3fxdfdNZs03fg+UM+4yQ==} + dev: true + + /@cspell/dict-fullstack@3.1.8: + resolution: {integrity: sha512-YRlZupL7uqMCtEBK0bDP9BrcPnjDhz7m4GBqCc1EYqfXauHbLmDT8ELha7T/E7wsFKniHSjzwDZzhNXo2lusRQ==} + dev: true + + /@cspell/dict-gaming-terms@1.0.5: + resolution: {integrity: sha512-C3riccZDD3d9caJQQs1+MPfrUrQ+0KHdlj9iUR1QD92FgTOF6UxoBpvHUUZ9YSezslcmpFQK4xQQ5FUGS7uWfw==} + dev: true + + /@cspell/dict-git@3.0.0: + resolution: {integrity: sha512-simGS/lIiXbEaqJu9E2VPoYW1OTC2xrwPPXNXFMa2uo/50av56qOuaxDrZ5eH1LidFXwoc8HROCHYeKoNrDLSw==} + dev: true + + /@cspell/dict-golang@6.0.9: + resolution: {integrity: sha512-etDt2WQauyEQDA+qPS5QtkYTb2I9l5IfQftAllVoB1aOrT6bxxpHvMEpJ0Hsn/vezxrCqa/BmtUbRxllIxIuSg==} + dev: true + + /@cspell/dict-google@1.0.1: + resolution: {integrity: sha512-dQr4M3n95uOhtloNSgB9tYYGXGGEGEykkFyRtfcp5pFuEecYUa0BSgtlGKx9RXVtJtKgR+yFT/a5uQSlt8WjqQ==} + dev: true + + /@cspell/dict-haskell@4.0.1: + resolution: {integrity: sha512-uRrl65mGrOmwT7NxspB4xKXFUenNC7IikmpRZW8Uzqbqcu7ZRCUfstuVH7T1rmjRgRkjcIjE4PC11luDou4wEQ==} + dev: true + + /@cspell/dict-html-symbol-entities@4.0.0: + resolution: {integrity: sha512-HGRu+48ErJjoweR5IbcixxETRewrBb0uxQBd6xFGcxbEYCX8CnQFTAmKI5xNaIt2PKaZiJH3ijodGSqbKdsxhw==} + dev: true + + /@cspell/dict-html@4.0.5: + resolution: {integrity: sha512-p0brEnRybzSSWi8sGbuVEf7jSTDmXPx7XhQUb5bgG6b54uj+Z0Qf0V2n8b/LWwIPJNd1GygaO9l8k3HTCy1h4w==} + dev: true + + /@cspell/dict-java@5.0.7: + resolution: {integrity: sha512-ejQ9iJXYIq7R09BScU2y5OUGrSqwcD+J5mHFOKbduuQ5s/Eh/duz45KOzykeMLI6KHPVxhBKpUPBWIsfewECpQ==} + dev: true + + /@cspell/dict-julia@1.0.1: + resolution: {integrity: sha512-4JsCLCRhhLMLiaHpmR7zHFjj1qOauzDI5ZzCNQS31TUMfsOo26jAKDfo0jljFAKgw5M2fEG7sKr8IlPpQAYrmQ==} + dev: true + + /@cspell/dict-k8s@1.0.5: + resolution: {integrity: sha512-Cj+/ZV4S+MKlwfocSJZqe/2UAd/sY8YtlZjbK25VN1nCnrsKrBjfkX29vclwSj1U9aJg4Z9jw/uMjoaKu9ZrpQ==} + dev: true + + /@cspell/dict-latex@4.0.0: + resolution: {integrity: sha512-LPY4y6D5oI7D3d+5JMJHK/wxYTQa2lJMSNxps2JtuF8hbAnBQb3igoWEjEbIbRRH1XBM0X8dQqemnjQNCiAtxQ==} + dev: true + + /@cspell/dict-lorem-ipsum@4.0.0: + resolution: {integrity: sha512-1l3yjfNvMzZPibW8A7mQU4kTozwVZVw0AvFEdy+NcqtbxH+TvbSkNMqROOFWrkD2PjnKG0+Ea0tHI2Pi6Gchnw==} + dev: true + + /@cspell/dict-lua@4.0.3: + resolution: {integrity: sha512-lDHKjsrrbqPaea13+G9s0rtXjMO06gPXPYRjRYawbNmo4E/e3XFfVzeci3OQDQNDmf2cPOwt9Ef5lu2lDmwfJg==} + dev: true + + /@cspell/dict-makefile@1.0.0: + resolution: {integrity: sha512-3W9tHPcSbJa6s0bcqWo6VisEDTSN5zOtDbnPabF7rbyjRpNo0uHXHRJQF8gAbFzoTzBBhgkTmrfSiuyQm7vBUQ==} + dev: true + + /@cspell/dict-monkeyc@1.0.6: + resolution: {integrity: sha512-oO8ZDu/FtZ55aq9Mb67HtaCnsLn59xvhO/t2mLLTHAp667hJFxpp7bCtr2zOrR1NELzFXmKln/2lw/PvxMSvrA==} + dev: true + + /@cspell/dict-node@5.0.1: + resolution: {integrity: sha512-lax/jGz9h3Dv83v8LHa5G0bf6wm8YVRMzbjJPG/9rp7cAGPtdrga+XANFq+B7bY5+jiSA3zvj10LUFCFjnnCCg==} + dev: true + + /@cspell/dict-npm@5.0.16: + resolution: {integrity: sha512-ZWPnLAziEcSCvV0c8k9Qj88pfMu+wZwM5Qks87ShsfBgI8uLZ9tGHravA7gmjH1Gd7Bgxy2ulvXtSqIWPh1lew==} + dev: true + + /@cspell/dict-php@4.0.8: + resolution: {integrity: sha512-TBw3won4MCBQ2wdu7kvgOCR3dY2Tb+LJHgDUpuquy3WnzGiSDJ4AVelrZdE1xu7mjFJUr4q48aB21YT5uQqPZA==} + dev: true + + /@cspell/dict-powershell@5.0.4: + resolution: {integrity: sha512-eosDShapDgBWN9ULF7+sRNdUtzRnUdsfEdBSchDm8FZA4HOqxUSZy3b/cX/Rdw0Fnw0AKgk0kzgXw7tS6vwJMQ==} + dev: true + + /@cspell/dict-public-licenses@2.0.7: + resolution: {integrity: sha512-KlBXuGcN3LE7tQi/GEqKiDewWGGuopiAD0zRK1QilOx5Co8XAvs044gk4MNIQftc8r0nHeUI+irJKLGcR36DIQ==} + dev: true + + /@cspell/dict-python@4.2.1: + resolution: {integrity: sha512-9X2jRgyM0cxBoFQRo4Zc8oacyWnXi+0/bMI5FGibZNZV4y/o9UoFEr6agjU260/cXHTjIdkX233nN7eb7dtyRg==} + dependencies: + '@cspell/dict-data-science': 2.0.1 + dev: true + + /@cspell/dict-r@2.0.1: + resolution: {integrity: sha512-KCmKaeYMLm2Ip79mlYPc8p+B2uzwBp4KMkzeLd5E6jUlCL93Y5Nvq68wV5fRLDRTf7N1LvofkVFWfDcednFOgA==} + dev: true + + /@cspell/dict-ruby@5.0.2: + resolution: {integrity: sha512-cIh8KTjpldzFzKGgrqUX4bFyav5lC52hXDKo4LbRuMVncs3zg4hcSf4HtURY+f2AfEZzN6ZKzXafQpThq3dl2g==} + dev: true + + /@cspell/dict-rust@4.0.4: + resolution: {integrity: sha512-v9/LcZknt/Xq7m1jdTWiQEtmkVVKdE1etAfGL2sgcWpZYewEa459HeWndNA0gfzQrpWX9sYay18mt7pqClJEdA==} + dev: true + + /@cspell/dict-scala@5.0.2: + resolution: {integrity: sha512-v97ClgidZt99JUm7OjhQugDHmhx4U8fcgunHvD/BsXWjXNj4cTr0m0YjofyZoL44WpICsNuFV9F/sv9OM5HUEw==} + dev: true + + /@cspell/dict-software-terms@3.4.10: + resolution: {integrity: sha512-S5S2sz98v4GWJ9TMo62Vp4L5RM/329e5UQfFn7yJfieTcrfXRH4IweVdz34rZcK9o5coGptgBUIv/Jcrd4cMpg==} + dev: true + + /@cspell/dict-sql@2.1.3: + resolution: {integrity: sha512-SEyTNKJrjqD6PAzZ9WpdSu6P7wgdNtGV2RV8Kpuw1x6bV+YsSptuClYG+JSdRExBTE6LwIe1bTklejUp3ZP8TQ==} + dev: true + + /@cspell/dict-svelte@1.0.2: + resolution: {integrity: sha512-rPJmnn/GsDs0btNvrRBciOhngKV98yZ9SHmg8qI6HLS8hZKvcXc0LMsf9LLuMK1TmS2+WQFAan6qeqg6bBxL2Q==} + dev: true + + /@cspell/dict-swift@2.0.1: + resolution: {integrity: sha512-gxrCMUOndOk7xZFmXNtkCEeroZRnS2VbeaIPiymGRHj5H+qfTAzAKxtv7jJbVA3YYvEzWcVE2oKDP4wcbhIERw==} + dev: true + + /@cspell/dict-terraform@1.0.0: + resolution: {integrity: sha512-Ak+vy4HP/bOgzf06BAMC30+ZvL9mzv21xLM2XtfnBLTDJGdxlk/nK0U6QT8VfFLqJ0ZZSpyOxGsUebWDCTr/zQ==} + dev: true + + /@cspell/dict-typescript@3.1.5: + resolution: {integrity: sha512-EkIwwNV/xqEoBPJml2S16RXj65h1kvly8dfDLgXerrKw6puybZdvAHerAph6/uPTYdtLcsPyJYkPt5ISOJYrtw==} + dev: true + + /@cspell/dict-vue@3.0.0: + resolution: {integrity: sha512-niiEMPWPV9IeRBRzZ0TBZmNnkK3olkOPYxC1Ny2AX4TGlYRajcW0WUtoSHmvvjZNfWLSg2L6ruiBeuPSbjnG6A==} + dev: true + + /@cspell/dynamic-import@8.11.0: + resolution: {integrity: sha512-Xk5iQQZ23Q9IR9N5YQb4J0mXOegIBw2/aJ7mYjMQZ24I5fL47Ir45cd5a8m5UEMheZppfrolVsDoTEgXnAfPDQ==} + engines: {node: '>=18.0'} + dependencies: + import-meta-resolve: 4.1.0 + dev: true + + /@cspell/strong-weak-map@8.11.0: + resolution: {integrity: sha512-XumxAVA1Pi5U8d+qqo2//KPrsOINOHnHpal/yPu8FwfZhkRzpDnNPdgiMNKBVmZMFxmSCEJwc7AUUMnfyuGuLg==} + engines: {node: '>=18'} + dev: true + + /@cspell/url@8.11.0: + resolution: {integrity: sha512-X0l/WJmavRqRKDgsgEjXHGizmvYt40omMTmNOLPHUa2jxL+a2ayuQD3GMFC8Omassjk3bSyFByftmgJDI+P2ZA==} + engines: {node: '>=18.0'} + dev: true + /@cspotcode/source-map-support@0.8.1: resolution: {integrity: sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==} engines: {node: '>=12'} @@ -4616,7 +4948,6 @@ packages: /@types/node@18.17.15: resolution: {integrity: sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==} - dev: true /@types/node@20.12.12: resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==} @@ -5530,6 +5861,10 @@ packages: is-string: 1.0.7 dev: true + /array-timsort@1.0.3: + resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==} + dev: true + /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -5851,6 +6186,13 @@ packages: type-detect: 4.0.8 dev: true + /chalk-template@1.1.0: + resolution: {integrity: sha512-T2VJbcDuZQ0Tb2EWwSotMPJjgpy1/tGee1BTpUNsGZ/qgNjV2t7Mvu+d4600U564nbLesN1x2dPL+xii174Ekg==} + engines: {node: '>=14.16'} + dependencies: + chalk: 5.3.0 + dev: true + /chalk@2.4.2: resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} engines: {node: '>=4'} @@ -5927,6 +6269,14 @@ packages: escape-string-regexp: 5.0.0 dev: false + /clear-module@4.1.2: + resolution: {integrity: sha512-LWAxzHqdHsAZlPlEyJ2Poz6AIs384mPeqLVCru2p0BrP9G/kVGuhNyZYClLO6cXlnuJjzC8xtsJIuMjKqLXoAw==} + engines: {node: '>=8'} + dependencies: + parent-module: 2.0.0 + resolve-from: 5.0.0 + dev: true + /cli-cursor@4.0.0: resolution: {integrity: sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} @@ -6020,11 +6370,27 @@ packages: engines: {node: '>=16'} dev: true + /commander@12.1.0: + resolution: {integrity: sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==} + engines: {node: '>=18'} + dev: true + /commander@4.1.1: resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} engines: {node: '>= 6'} dev: true + /comment-json@4.2.4: + resolution: {integrity: sha512-E5AjpSW+O+N5T2GsOQMHLLsJvrYw6G/AFt9GvU6NguEAfzKShh7hRiLtVo6S9KbRpFMGqE5ojo0/hE+sdteWvQ==} + engines: {node: '>= 6'} + dependencies: + array-timsort: 1.0.3 + core-util-is: 1.0.3 + esprima: 4.0.1 + has-own-prop: 2.0.0 + repeat-string: 1.6.1 + dev: true + /commondir@1.0.1: resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} dev: false @@ -6077,7 +6443,6 @@ packages: /core-util-is@1.0.3: resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - dev: false /crc-32@1.2.2: resolution: {integrity: sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ==} @@ -6112,6 +6477,125 @@ packages: shebang-command: 2.0.0 which: 2.0.2 + /cspell-config-lib@8.11.0: + resolution: {integrity: sha512-8AE1qm/nuD+aiN+mZXQIGp0ESHyQ9uowbKaB5+qi261HEEhuFPceP/3u0yq0kc1YPtnKxEfYHrLukvQIMlDshA==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-types': 8.11.0 + comment-json: 4.2.4 + yaml: 2.4.5 + dev: true + + /cspell-dictionary@8.11.0: + resolution: {integrity: sha512-h5AVFuTeP+NLBRZbaX6sFGZ/wnvnyeeGtnNiYU0f4dVB3Yq0K9c7QXM8PllIpcbe+SBDoQ15ZlbECzUlGt/Ysg==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-pipe': 8.11.0 + '@cspell/cspell-types': 8.11.0 + cspell-trie-lib: 8.11.0 + fast-equals: 5.0.1 + gensequence: 7.0.0 + dev: true + + /cspell-gitignore@8.11.0: + resolution: {integrity: sha512-r+buXvm3NqU/5N1zmiXSgo7DQLZyKR5sr6McepWlGBmT4DDm7s22yojS8LSusIthJ2k3tvLFDI9O4Rs0DnzK2Q==} + engines: {node: '>=18'} + hasBin: true + dependencies: + '@cspell/url': 8.11.0 + cspell-glob: 8.11.0 + cspell-io: 8.11.0 + find-up-simple: 1.0.0 + dev: true + + /cspell-glob@8.11.0: + resolution: {integrity: sha512-X0cEErrQdrVLXDMse84QH/iV2Q+f7AsXxIjlSt+6PPEoDz8yRO8xD71iaaeE/8+cMFrKMl0uDpIpBQ5OlvcIyQ==} + engines: {node: '>=18'} + dependencies: + '@cspell/url': 8.11.0 + micromatch: 4.0.7 + dev: true + + /cspell-grammar@8.11.0: + resolution: {integrity: sha512-fIq7/KDjNMfBBqKTnnp4dhjNmbvnl019bPwecddkQOpx5H9Vn4WVDTiAZbI6/5Li/VU+h1Ld2+pIOKYql/7DBg==} + engines: {node: '>=18'} + hasBin: true + dependencies: + '@cspell/cspell-pipe': 8.11.0 + '@cspell/cspell-types': 8.11.0 + dev: true + + /cspell-io@8.11.0: + resolution: {integrity: sha512-R6ZCNh2RrOkP3/OIpFHmtg6vztxMMsl6/t5kY1nTcmWv/1Ltw56G3q357KN6e+8epFiqFm4gMFmvzImFeR34Yw==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-service-bus': 8.11.0 + '@cspell/url': 8.11.0 + dev: true + + /cspell-lib@8.11.0: + resolution: {integrity: sha512-msdfqJLIhJE1whfGXC2J669dKWrnWdFI18nR2OTXipWdiwZDDQEFT3q2Pq56+bhxwtoqAZKrez/zhRB/JbpUuA==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-bundled-dicts': 8.11.0 + '@cspell/cspell-pipe': 8.11.0 + '@cspell/cspell-resolver': 8.11.0 + '@cspell/cspell-types': 8.11.0 + '@cspell/dynamic-import': 8.11.0 + '@cspell/strong-weak-map': 8.11.0 + '@cspell/url': 8.11.0 + clear-module: 4.1.2 + comment-json: 4.2.4 + cspell-config-lib: 8.11.0 + cspell-dictionary: 8.11.0 + cspell-glob: 8.11.0 + cspell-grammar: 8.11.0 + cspell-io: 8.11.0 + cspell-trie-lib: 8.11.0 + env-paths: 3.0.0 + fast-equals: 5.0.1 + gensequence: 7.0.0 + import-fresh: 3.3.0 + resolve-from: 5.0.0 + vscode-languageserver-textdocument: 1.0.11 + vscode-uri: 3.0.8 + xdg-basedir: 5.1.0 + dev: true + + /cspell-trie-lib@8.11.0: + resolution: {integrity: sha512-PRW2ve2F3LBN1a/AwuuxHJ+VHPh9mN01qDAnyQojfqoF7ckRBe7+8Jb+7V9GonBS/oFQJ7AwObXtM2j0FP/DnQ==} + engines: {node: '>=18'} + dependencies: + '@cspell/cspell-pipe': 8.11.0 + '@cspell/cspell-types': 8.11.0 + gensequence: 7.0.0 + dev: true + + /cspell@8.11.0: + resolution: {integrity: sha512-nyzeSk/Rj4dcuXIV9a3Ri9pJW5gAVDJtTUhyNW9a5rjNcQn+k8uxV8eBgx5s42ESSQrmUh3HhocYy2jLEolunw==} + engines: {node: '>=18'} + hasBin: true + dependencies: + '@cspell/cspell-json-reporter': 8.11.0 + '@cspell/cspell-pipe': 8.11.0 + '@cspell/cspell-types': 8.11.0 + '@cspell/dynamic-import': 8.11.0 + chalk: 5.3.0 + chalk-template: 1.1.0 + commander: 12.1.0 + cspell-gitignore: 8.11.0 + cspell-glob: 8.11.0 + cspell-io: 8.11.0 + cspell-lib: 8.11.0 + fast-glob: 3.3.2 + fast-json-stable-stringify: 2.1.0 + file-entry-cache: 8.0.0 + get-stdin: 9.0.0 + semver: 7.6.2 + strip-ansi: 7.1.0 + vscode-uri: 3.0.8 + dev: true + /cssesc@3.0.0: resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==} engines: {node: '>=4'} @@ -6399,6 +6883,11 @@ packages: resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} engines: {node: '>=0.12'} + /env-paths@3.0.0: + resolution: {integrity: sha512-dtJUTepzMW3Lm/NPxRf3wP4642UWhjL2sQxc+ym2YMj1m/H2zDNQOlezafzkHwn6sMstjHTwG6iQQsctDW/b1A==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /error-ex@1.3.2: resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} dependencies: @@ -7222,6 +7711,11 @@ packages: /fast-deep-equal@3.1.3: resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + /fast-equals@5.0.1: + resolution: {integrity: sha512-WF1Wi8PwwSY7/6Kx0vKXtw8RwuSGoM1bvDaJbu7MxDlR1vovZjIAKrnzyrThgAjm6JDTu0fVgWXDlMGspodfoQ==} + engines: {node: '>=6.0.0'} + dev: true + /fast-fifo@1.3.2: resolution: {integrity: sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ==} dev: false @@ -7310,6 +7804,11 @@ packages: meow: 13.2.0 dev: true + /find-up-simple@1.0.0: + resolution: {integrity: sha512-q7Us7kcjj2VMePAa02hDAF6d+MzsdsAWEwYyOpwUtlerRBkOEPBCRZrAV4XfcSN8fHAgaD0hP7miwoay6DCprw==} + engines: {node: '>=18'} + dev: true + /find-up@4.1.0: resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} engines: {node: '>=8'} @@ -7421,6 +7920,11 @@ packages: resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==} dev: true + /gensequence@7.0.0: + resolution: {integrity: sha512-47Frx13aZh01afHJTB3zTtKIlFI6vWY+MYCN9Qpew6i52rfKjnhCF/l1YlC8UmEMvvntZZ6z4PiCcmyuedR2aQ==} + engines: {node: '>=18'} + dev: true + /gensync@1.0.0-beta.2: resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} engines: {node: '>=6.9.0'} @@ -7448,6 +7952,11 @@ packages: has-symbols: 1.0.3 hasown: 2.0.2 + /get-stdin@9.0.0: + resolution: {integrity: sha512-dVKBjfWisLAicarI2Sf+JuBE/DghV4UzNAVe9yhEJuzeREd3JhOTE9cUaJTeSa77fsbQUK3pcOpJfM59+VKZaA==} + engines: {node: '>=12'} + dev: true + /get-stream@6.0.1: resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} engines: {node: '>=10'} @@ -7550,6 +8059,13 @@ packages: once: 1.4.0 dev: false + /global-directory@4.0.1: + resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==} + engines: {node: '>=18'} + dependencies: + ini: 4.1.1 + dev: true + /globals@11.12.0: resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} engines: {node: '>=4'} @@ -7655,6 +8171,11 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} + /has-own-prop@2.0.0: + resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==} + engines: {node: '>=8'} + dev: true + /has-property-descriptors@1.0.2: resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} dependencies: @@ -7748,6 +8269,10 @@ packages: engines: {node: '>=8'} dev: true + /import-meta-resolve@4.1.0: + resolution: {integrity: sha512-I6fiaX09Xivtk+THaMfAwnA3MVA5Big1WHF1Dfx9hFuvNIWpXnorlkzhcQf6ehrqQiiZECRt1poOAkPmer3ruw==} + dev: true + /imurmurhash@0.1.4: resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} engines: {node: '>=0.8.19'} @@ -7776,6 +8301,11 @@ packages: resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} dev: false + /ini@4.1.1: + resolution: {integrity: sha512-QQnnxNyfvmHFIsj7gkPcYymR8Jdw/o7mp5ZFihxn6h8Ci6fh3Dx4E1gPjpQEpIuPo9XVNY/ZUwh4BPMjGyL01g==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + dev: true + /internal-slot@1.0.7: resolution: {integrity: sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==} engines: {node: '>= 0.4'} @@ -9095,6 +9625,13 @@ packages: callsites: 3.1.0 dev: true + /parent-module@2.0.0: + resolution: {integrity: sha512-uo0Z9JJeWzv8BG+tRcapBKNJ0dro9cLyczGzulS6EfeyAdeC9sbojtW6XwvYxJkEne9En+J2XEl4zyglVeIwFg==} + engines: {node: '>=8'} + dependencies: + callsites: 3.1.0 + dev: true + /parse-entities@1.2.2: resolution: {integrity: sha512-NzfpbxW/NPrzZ/yYSoQxyqUZMZXIdCfE0OIN4ESsnptHJECoUk3FZktxNuzQf4tjt5UEopnxpYJbvYuxIFDdsg==} dependencies: @@ -9724,7 +10261,6 @@ packages: /repeat-string@1.6.1: resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} engines: {node: '>=0.10'} - dev: false /require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} @@ -11442,6 +11978,14 @@ packages: - terser dev: true + /vscode-languageserver-textdocument@1.0.11: + resolution: {integrity: sha512-X+8T3GoiwTVlJbicx/sIAF+yuJAqz8VvwJyoMVhwEMoEKE/fkDmrqUgDMyBECcM2A2frVZIUj5HI/ErRXCfOeA==} + dev: true + + /vscode-uri@3.0.8: + resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} + dev: true + /vue-router@4.3.2(vue@3.4.27): resolution: {integrity: sha512-hKQJ1vDAZ5LVkKEnHhmm1f9pMiWIBNGF5AwU67PdH7TyXCj/a4hTccuUuYCAMgJK6rO/NVYtQIEN3yL8CECa7Q==} peerDependencies: @@ -11692,6 +12236,11 @@ packages: optional: true dev: false + /xdg-basedir@5.1.0: + resolution: {integrity: sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ==} + engines: {node: '>=12'} + dev: true + /xtend@4.0.2: resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} engines: {node: '>=0.4'} @@ -11725,6 +12274,12 @@ packages: engines: {node: '>= 14'} hasBin: true + /yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /yargs-parser@18.1.3: resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==} engines: {node: '>=6'} diff --git a/turbo.json b/turbo.json index 1831bc393..6437fa1e5 100644 --- a/turbo.json +++ b/turbo.json @@ -9,6 +9,14 @@ "cache": false }, + "ci:cspell": { + "dependsOn": ["//#cspell:all"] + }, + + "//#cspell:all": { + "cache": false + }, + "lint": { "outputLogs": "new-only", "inputs": [ @@ -38,6 +46,11 @@ "inputs": ["build/{esm,cjs,browser}", "package.json"] }, + "check-spelling": { + "outputLogs": "new-only", + "inputs": ["**/*.{ts,tsx,cts,mts,md,json,js,mjs,cjs}"] + }, + /* Psuedo task to depend on the script contents */ "//#script-typecheck": { "inputs": ["scripts/build_common/typecheck.sh"] @@ -163,7 +176,8 @@ "typecheck", "test", "check-attw", - "api-checker" + "api-checker", + "check-spelling" ] } },