Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 3180e2c3
authored
2025-10-28 15:12:24 +0530
by
Aman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
new page aadded
1 parent
4776719b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
133 additions
and
0 deletions
src/api/annual-reports/content-types/annual-reports/schema.json
src/api/annual-reports/controllers/annual-reports.js
src/api/annual-reports/routes/annual-reports.js
src/api/annual-reports/services/annual-reports.js
src/components/layout/categories-listing.json
src/components/layout/listing.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/annual-reports/content-types/annual-reports/schema.json
0 → 100644
View file @
3180e2c
{
"kind"
:
"singleType"
,
"collectionName"
:
"annual_report"
,
"info"
:
{
"singularName"
:
"annual-reports"
,
"pluralName"
:
"annual-report"
,
"displayName"
:
"Annual Reports"
,
"description"
:
""
},
"options"
:
{
"draftAndPublish"
:
true
},
"pluginOptions"
:
{},
"attributes"
:
{
"seo"
:
{
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"shared.seo"
},
"Banner"
:
{
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"layout.page-banner"
},
"Listing"
:
{
"displayName"
:
"listing"
,
"type"
:
"component"
,
"repeatable"
:
true
,
"component"
:
"layout.listing"
}
}
}
src/api/annual-reports/controllers/annual-reports.js
0 → 100644
View file @
3180e2c
'use strict'
;
/**
* annual-reports controller
*/
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreController
(
'api::annual-reports.annual-reports'
);
src/api/annual-reports/routes/annual-reports.js
0 → 100644
View file @
3180e2c
'use strict'
;
/**
* annual-reports router
*/
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreRouter
(
'api::annual-reports.annual-reports'
);
src/api/annual-reports/services/annual-reports.js
0 → 100644
View file @
3180e2c
'use strict'
;
/**
* annual-reports service
*/
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreService
(
'api::annual-reports.annual-reports'
);
src/components/layout/categories-listing.json
0 → 100644
View file @
3180e2c
{
"collectionName"
:
"components_layout_categories_listings"
,
"info"
:
{
"displayName"
:
"categoriesListing"
},
"options"
:
{},
"attributes"
:
{
"img"
:
{
"allowedTypes"
:
[
"images"
,
"files"
],
"type"
:
"media"
,
"multiple"
:
false
},
"name"
:
{
"type"
:
"string"
}
}
}
src/components/layout/listing.json
0 → 100644
View file @
3180e2c
{
"collectionName"
:
"components_layout_listings"
,
"info"
:
{
"displayName"
:
"listing"
,
"description"
:
""
},
"options"
:
{},
"attributes"
:
{
"Title"
:
{
"type"
:
"string"
},
"category"
:
{
"displayName"
:
"categoriesListing"
,
"type"
:
"component"
,
"repeatable"
:
true
,
"component"
:
"layout.categories-listing"
},
"date"
:
{
"type"
:
"string"
}
}
}
types/generated/components.d.ts
View file @
3180e2c
This diff is collapsed.
Click to expand it.
types/generated/contentTypes.d.ts
View file @
3180e2c
...
@@ -531,6 +531,37 @@ export interface ApiAdvisoryServicesPageAdvisoryServicesPage
...
@@ -531,6 +531,37 @@ export interface ApiAdvisoryServicesPageAdvisoryServicesPage
};
};
}
}
export
interface
ApiAnnualReportsAnnualReports
extends
Struct
.
SingleTypeSchema
{
collectionName
:
'annual_report'
;
info
:
{
singularName
:
'annual-reports'
;
pluralName
:
'annual-report'
;
displayName
:
'Annual Reports'
;
description
:
''
;
};
options
:
{
draftAndPublish
:
true
;
};
attributes
:
{
seo
:
Schema
.
Attribute
.
Component
<
'shared.seo'
,
false
>
;
Banner
:
Schema
.
Attribute
.
Component
<
'layout.page-banner'
,
false
>
;
Listing
:
Schema
.
Attribute
.
Component
<
'layout.listing'
,
true
>
;
createdAt
:
Schema
.
Attribute
.
DateTime
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
createdBy
:
Schema
.
Attribute
.
Relation
<
'oneToOne'
,
'admin::user'
>
&
Schema
.
Attribute
.
Private
;
updatedBy
:
Schema
.
Attribute
.
Relation
<
'oneToOne'
,
'admin::user'
>
&
Schema
.
Attribute
.
Private
;
locale
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Private
;
localizations
:
Schema
.
Attribute
.
Relation
<
'oneToMany'
,
'api::annual-reports.annual-reports'
>
&
Schema
.
Attribute
.
Private
;
};
}
export
interface
ApiApcApc
extends
Struct
.
SingleTypeSchema
{
export
interface
ApiApcApc
extends
Struct
.
SingleTypeSchema
{
collectionName
:
'apcs'
;
collectionName
:
'apcs'
;
info
:
{
info
:
{
...
@@ -2227,6 +2258,7 @@ declare module '@strapi/strapi' {
...
@@ -2227,6 +2258,7 @@ declare module '@strapi/strapi' {
'plugin::users-permissions.role'
:
PluginUsersPermissionsRole
;
'plugin::users-permissions.role'
:
PluginUsersPermissionsRole
;
'plugin::users-permissions.user'
:
PluginUsersPermissionsUser
;
'plugin::users-permissions.user'
:
PluginUsersPermissionsUser
;
'api::advisory-services-page.advisory-services-page'
:
ApiAdvisoryServicesPageAdvisoryServicesPage
;
'api::advisory-services-page.advisory-services-page'
:
ApiAdvisoryServicesPageAdvisoryServicesPage
;
'api::annual-reports.annual-reports'
:
ApiAnnualReportsAnnualReports
;
'api::apc.apc'
:
ApiApcApc
;
'api::apc.apc'
:
ApiApcApc
;
'api::article.article'
:
ApiArticleArticle
;
'api::article.article'
:
ApiArticleArticle
;
'api::author.author'
:
ApiAuthorAuthor
;
'api::author.author'
:
ApiAuthorAuthor
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment