Skip to content

Commit

Permalink
Merge pull request #612 from AppQuality/develop
Browse files Browse the repository at this point in the history
Add public manual
  • Loading branch information
cannarocks authored Jul 21, 2023
2 parents a254567 + cbe8d1d commit f5b2ca2
Show file tree
Hide file tree
Showing 16 changed files with 3,017 additions and 581 deletions.
10 changes: 10 additions & 0 deletions src/assets/icons/bugs-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/common/Pages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import LoginPage from 'src/pages/LoginPage';
import NotFound from 'src/pages/NotFound';
import Service from 'src/pages/Service';
import Catalog from 'src/pages/Services';
import Manual from 'src/pages/Manual';
import { Redirect } from './Redirect';

const Pages = () => {
Expand All @@ -43,6 +44,10 @@ const Pages = () => {
path={`/${langPrefix}/campaigns/:campaignId/bugform`}
element={<BugForm />}
/>
<Route
path={`/${langPrefix}/campaigns/:campaignId/manual`}
element={<Manual />}
/>

<Route path={`/${langPrefix}/login`} element={<LoginPage />} />
<Route
Expand Down
8 changes: 7 additions & 1 deletion src/features/backoffice/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ const config: ConfigFile = {
schemaFile: './openapi/documentation.json',
apiFile: './strapi.ts',
apiImport: 'strapiSlice',
filterEndpoints: [/services/i, /categories/i, /express/i, /express-types/i],
filterEndpoints: [
/services/i,
/categories/i,
/express/i,
/express-types/i,
/manuals/i,
],
outputFile: 'index.ts',
exportName: 'unguessStrapi',
hooks: true,
Expand Down
Loading

0 comments on commit f5b2ca2

Please sign in to comment.