Commit e0485c70 by Gaurav Dev

download asstes added

1 parent 45f24a4a
{
"kind": "singleType",
"collectionName": "download_assets",
"info": {
"singularName": "download-asset",
"pluralName": "download-assets",
"displayName": "Download Asset",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"Assets": {
"displayName": "Assets",
"type": "component",
"repeatable": true,
"component": "download-asset.assets"
}
}
}
'use strict';
/**
* download-asset controller
*/
const { createCoreController } = require('@strapi/strapi').factories;
module.exports = createCoreController('api::download-asset.download-asset');
'use strict';
/**
* download-asset router
*/
const { createCoreRouter } = require('@strapi/strapi').factories;
module.exports = createCoreRouter('api::download-asset.download-asset');
'use strict';
/**
* download-asset service
*/
const { createCoreService } = require('@strapi/strapi').factories;
module.exports = createCoreService('api::download-asset.download-asset');
{
"collectionName": "components_download_asset_assets",
"info": {
"displayName": "Assets",
"description": ""
},
"options": {},
"attributes": {
"title": {
"type": "string"
},
"pdf": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
},
"icon": {
"allowedTypes": [
"images",
"files",
"videos",
"audios"
],
"type": "media",
"multiple": false
}
}
}
import type { Schema, Attribute } from '@strapi/strapi';
export interface DownloadAssetAssets extends Schema.Component {
collectionName: 'components_download_asset_assets';
info: {
displayName: 'Assets';
description: '';
};
attributes: {
title: Attribute.String;
pdf: Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
icon: Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
};
}
export interface LayoutAboutJasani extends Schema.Component {
collectionName: 'components_layout_about_jasanis';
info: {
......@@ -572,6 +585,7 @@ export interface LayoutWorldwide extends Schema.Component {
declare module '@strapi/types' {
export module Shared {
export interface Components {
'download-asset.assets': DownloadAssetAssets;
'layout.about-jasani': LayoutAboutJasani;
'layout.address': LayoutAddress;
'layout.areas-of-focus': LayoutAreasOfFocus;
......
......@@ -895,6 +895,37 @@ export interface ApiDiscoverDiscover extends Schema.SingleType {
};
}
export interface ApiDownloadAssetDownloadAsset extends Schema.SingleType {
collectionName: 'download_assets';
info: {
singularName: 'download-asset';
pluralName: 'download-assets';
displayName: 'Download Asset';
description: '';
};
options: {
draftAndPublish: true;
};
attributes: {
Assets: Attribute.Component<'download-asset.assets', true>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
'api::download-asset.download-asset',
'oneToOne',
'admin::user'
> &
Attribute.Private;
updatedBy: Attribute.Relation<
'api::download-asset.download-asset',
'oneToOne',
'admin::user'
> &
Attribute.Private;
};
}
export interface ApiJewelleryJewellery extends Schema.SingleType {
collectionName: 'jewelleries';
info: {
......@@ -1001,6 +1032,7 @@ declare module '@strapi/types' {
'api::contactus.contactus': ApiContactusContactus;
'api::diamond.diamond': ApiDiamondDiamond;
'api::discover.discover': ApiDiscoverDiscover;
'api::download-asset.download-asset': ApiDownloadAssetDownloadAsset;
'api::jewellery.jewellery': ApiJewelleryJewellery;
'api::sustainability.sustainability': ApiSustainabilitySustainability;
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!