Skip to content

Commit

Permalink
Fix: build is failing
Browse files Browse the repository at this point in the history
  • Loading branch information
harshithmullapudi committed Aug 22, 2024
1 parent 4ab04f8 commit 19b2ec3
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 29 deletions.
4 changes: 2 additions & 2 deletions apps/webapp/src/common/types/action.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { ActionStatus } from '@tegonhq/types';
import type { ActionStatusEnum } from '@tegonhq/types';

export interface ActionType {
id: string;
createdAt: string;
updatedAt: string;
config: string;
data?: string;
status: ActionStatus;
status: ActionStatusEnum;
version: string;
slug: string;
name: string;
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/src/modules/views/views-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function ViewItem({ view }: ViewItemProps) {
}}
>
{view.isBookmarked ? (
<BookMark size={14} fill className="text-amber-600" />
<BookMark size={14} className="text-amber-600" />
) : (
<BookMark size={14} />
)}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { IntegrationDefinition } from '@tegonhq/types';

import { getIntegrationDefinition } from '@tegonhq/services';
import { type UseQueryResult, useQuery } from 'react-query';

import type { IntegrationDefinition } from 'common/types';

import { type XHRErrorResponse } from 'services/utils';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { IntegrationDefinition } from '@tegonhq/types';

import { getIntegrationDefinitions } from '@tegonhq/services';
import { type UseQueryResult, useQuery } from 'react-query';

import type { IntegrationDefinition } from 'common/types';

import { type XHRErrorResponse } from 'services/utils';

/**
Expand Down
3 changes: 1 addition & 2 deletions apps/webapp/src/services/oauth/update-integration-account.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { useMutation } from 'react-query';

import type { IntegrationAccountType, Settings } from 'common/types';
import type { IntegrationAccountType } from 'common/types';

import { ajaxPost } from 'services/utils';

export interface UpdateIntegrationAccountParams {
settings: Settings;
integrationAccountId: string;
}

Expand Down
1 change: 1 addition & 0 deletions apps/webapp/src/store/integration-accounts/save-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export async function saveIntegrationAccountData(
integratedById: record.data.integratedById,
integrationDefinitionId: record.data.integrationDefinitionId,
workspaceId: record.data.workspaceId,
personal: record.data.personal,
};

switch (record.action) {
Expand Down
22 changes: 11 additions & 11 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
version: "3"

services:
webapp:
container_name: webapp
build:
context: .
dockerfile: ./apps/webapp/Dockerfile
image: tegonhq/tegon-webapp:0.2.0-alpha
restart: always
ports:
- 3000:3000
networks:
- tegon
# webapp:
# container_name: webapp
# build:
# context: .
# dockerfile: ./apps/webapp/Dockerfile
# image: tegonhq/tegon-webapp:0.2.0-alpha
# restart: always
# ports:
# - 3000:3000
# networks:
# - tegon

server:
container_name: server
Expand Down
1 change: 1 addition & 0 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"ui:add": "pnpm dlx shadcn-ui@latest add",
"generate": "tailwindcss -i ./src/global.css -o ./dist/index.css --watch",
"build": "tailwindcss -i ./src/global.css -o ./dist/index.css",
"lint": "eslint . --fix"
},
"peerDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,27 @@
"ui": "tui",
"tasks": {
"start-prod": {
"dependsOn": ["db:init-resources"],
"dependsOn": [ "db:init-resources" ],
"cache": false
},
"generate": {
"cache": false
},
"dev": {
"dependsOn": ["db:init-resources", "generate"],
"dependsOn": [ "db:init-resources", "^generate" ],
"cache": false
},
"build": {
"dependsOn": ["db:init-resources", "generate"],
"outputs": ["dist/**", ".next/**"]
"dependsOn": [ "^build" ],
"outputs": [ "dist/**", ".next/**" ]
},
"lint": {},
"lint": { },
"create-resources": {
"interactive": true,
"cache": false
},
"deploy-trigger-tasks": {
"env": ["TRIGGER_ACCESS_TOKEN", "TRIGGER_API_URL"],
"env": [ "TRIGGER_ACCESS_TOKEN", "TRIGGER_API_URL" ],
"cache": false
},
"trigger-dev": {
Expand Down

0 comments on commit 19b2ec3

Please sign in to comment.