Skip to content

Commit

Permalink
Reexport API functions
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos committed Apr 28, 2024
1 parent e408d04 commit 4c8edd7
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 275 deletions.
1 change: 1 addition & 0 deletions src/api.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@croct/plug/api';

Check failure on line 1 in src/api.ts

View workflow job for this annotation

GitHub Actions / validate

Cannot find module '@croct/plug/api' or its corresponding type declarations.
61 changes: 0 additions & 61 deletions src/api/evaluate.test.ts

This file was deleted.

20 changes: 0 additions & 20 deletions src/api/evaluate.ts

This file was deleted.

144 changes: 0 additions & 144 deletions src/api/fetchContent.test.ts

This file was deleted.

48 changes: 0 additions & 48 deletions src/api/fetchContent.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/api/index.ts

This file was deleted.

2 changes: 2 additions & 0 deletions src/components/Personalization/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import {ReactElement, Fragment} from 'react';
import {JsonValue} from '@croct/plug/sdk/json';
import {UseEvaluationOptions, useEvaluation} from '../../hooks';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Slot/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import {Fragment, ReactElement, ReactNode} from 'react';
import {SlotContent, VersionedSlotId, VersionedSlotMap} from '@croct/plug/slot';
import {JsonObject} from '@croct/plug/sdk/json';
Expand Down

0 comments on commit 4c8edd7

Please sign in to comment.