Skip to content

Commit 90e1118

Browse files
committed
Move types.ts to vendor sub-directory.
1 parent decae61 commit 90e1118

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed

packages/remix/src/client/errors.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { captureException, withScope } from '@sentry/core';
22
import { addExceptionMechanism, isNodeEnv, isString } from '@sentry/utils';
33

4-
import type { ErrorResponse } from '../utils/types';
4+
import type { ErrorResponse } from '../utils/vendor/types';
55

66
/**
77
* Checks whether the given error is an ErrorResponse.

packages/remix/src/utils/futureFlags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { GLOBAL_OBJ } from '@sentry/utils';
22

3-
import type { FutureConfig, ServerBuild } from './types';
3+
import type { FutureConfig, ServerBuild } from './vendor/types';
44

55
export type EnhancedGlobal = typeof GLOBAL_OBJ & {
66
__remixContext?: {

packages/remix/src/utils/instrumentServer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import type {
2828
ServerBuild,
2929
ServerRoute,
3030
ServerRouteManifest,
31-
} from './types';
31+
} from './vendor/types';
3232
import { extractData, getRequestMatch, isDeferredData, isResponse, json, matchServerRoutes } from './vendor/response';
3333
import { normalizeRemixRequest } from './web-fetch';
3434

packages/remix/src/utils/serverAdapters/express.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import type {
2020
ExpressResponse,
2121
ReactRouterDomPkg,
2222
ServerBuild,
23-
} from '../types';
23+
} from '../vendor/types';
2424

2525
let pkg: ReactRouterDomPkg;
2626

packages/remix/src/utils/vendor/response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
88

9-
import type { DeferredData, ReactRouterDomPkg, RouteMatch, ServerRoute } from '../types';
9+
import type { DeferredData, ReactRouterDomPkg, RouteMatch, ServerRoute } from './types';
1010

1111
/**
1212
* Based on Remix Implementation

packages/remix/src/utils/web-fetch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
import { logger } from '@sentry/utils';
2626

27-
import type { RemixRequest } from './types';
27+
import type { RemixRequest } from './vendor/types';
2828
import { getClientIPAddress } from './vendor/getIpAddress';
2929

3030
/*

0 commit comments

Comments
 (0)