Commit 3180e2c3 by Aman

new page aadded

1 parent 4776719b
{
"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"
}
}
}
'use strict';
/**
* annual-reports controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::annual-reports.annual-reports');
'use strict';
/**
* annual-reports router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::annual-reports.annual-reports');
'use strict';
/**
* annual-reports service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::annual-reports.annual-reports');
{
"collectionName": "components_layout_categories_listings",
"info": {
"displayName": "categoriesListing"
},
"options": {},
"attributes": {
"img": {
"allowedTypes": [
"images",
"files"
],
"type": "media",
"multiple": false
},
"name": {
"type": "string"
}
}
}
{
"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"
}
}
}
...@@ -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;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!