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 b45e16b8
authored
2024-11-27 15:41:46 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
google tag manger
1 parent
e38dd80e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
154 additions
and
93 deletions
src/api/google-manger/content-types/google-manger/schema.json
src/api/google-manger/controllers/google-manger.js
src/api/google-manger/routes/google-manger.js
src/api/google-manger/services/google-manger.js
src/components/google-manger/google-manger.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/google-manger/content-types/google-manger/schema.json
0 → 100644
View file @
b45e16b
{
"kind"
:
"singleType"
,
"collectionName"
:
"google_mangers"
,
"info"
:
{
"singularName"
:
"google-manger"
,
"pluralName"
:
"google-mangers"
,
"displayName"
:
"GoogleManger"
,
"description"
:
""
},
"options"
:
{
"draftAndPublish"
:
true
},
"pluginOptions"
:
{},
"attributes"
:
{
"GtmTag"
:
{
"type"
:
"string"
},
"GTag"
:
{
"type"
:
"string"
},
"conversion"
:
{
"type"
:
"string"
}
}
}
src/api/google-manger/controllers/google-manger.js
0 → 100644
View file @
b45e16b
'use strict'
;
/**
* google-manger controller
*/
const
{
createCoreController
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreController
(
'api::google-manger.google-manger'
);
src/api/google-manger/routes/google-manger.js
0 → 100644
View file @
b45e16b
'use strict'
;
/**
* google-manger router
*/
const
{
createCoreRouter
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreRouter
(
'api::google-manger.google-manger'
);
src/api/google-manger/services/google-manger.js
0 → 100644
View file @
b45e16b
'use strict'
;
/**
* google-manger service
*/
const
{
createCoreService
}
=
require
(
'@strapi/strapi'
).
factories
;
module
.
exports
=
createCoreService
(
'api::google-manger.google-manger'
);
src/components/google-manger/google-manger.json
deleted
100644 → 0
View file @
e38dd80
{
"collectionName"
:
"components_google_manger_google_mangers"
,
"info"
:
{
"displayName"
:
"GoogleManger"
},
"options"
:
{},
"attributes"
:
{
"GtmTag"
:
{
"type"
:
"string"
}
}
}
types/generated/components.d.ts
View file @
b45e16b
import
type
{
Struct
,
Schema
}
from
'@strapi/strapi'
;
export
interface
PeopleTeamMember
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_members'
;
info
:
{
displayName
:
'TeamMember'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeopleTeamLeads
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_leads'
;
info
:
{
displayName
:
'Team Leads'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeoplePeopleList
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_people_lists'
;
info
:
{
displayName
:
'people-list'
;
description
:
''
;
};
attributes
:
{
heading
:
Schema
.
Attribute
.
String
;
description
:
Schema
.
Attribute
.
String
;
};
}
export
interface
PeopleOverview
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_overviews'
;
info
:
{
displayName
:
'Overview'
;
description
:
''
;
};
attributes
:
{
Subtitle
:
Schema
.
Attribute
.
String
;
Title
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
Text
;
};
}
export
interface
PeopleAdvisoryBoard
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_advisory_boards'
;
info
:
{
displayName
:
'Advisory Board'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Description
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
};
}
export
interface
SharedSlider
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_shared_sliders'
;
info
:
{
...
...
@@ -175,6 +110,71 @@ export interface SharedMedia extends Struct.ComponentSchema {
};
}
export
interface
PeopleTeamMember
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_members'
;
info
:
{
displayName
:
'TeamMember'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeopleTeamLeads
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_leads'
;
info
:
{
displayName
:
'Team Leads'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeoplePeopleList
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_people_lists'
;
info
:
{
displayName
:
'people-list'
;
description
:
''
;
};
attributes
:
{
heading
:
Schema
.
Attribute
.
String
;
description
:
Schema
.
Attribute
.
String
;
};
}
export
interface
PeopleOverview
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_overviews'
;
info
:
{
displayName
:
'Overview'
;
description
:
''
;
};
attributes
:
{
Subtitle
:
Schema
.
Attribute
.
String
;
Title
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
Text
;
};
}
export
interface
PeopleAdvisoryBoard
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_advisory_boards'
;
info
:
{
displayName
:
'Advisory Board'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Description
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
};
}
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_layout_whatwedos'
;
info
:
{
...
...
@@ -417,16 +417,6 @@ export interface HomeHome extends Struct.ComponentSchema {
};
}
export
interface
GoogleMangerGoogleManger
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_google_manger_google_mangers'
;
info
:
{
displayName
:
'GoogleManger'
;
};
attributes
:
{
GtmTag
:
Schema
.
Attribute
.
String
;
};
}
export
interface
DynamicZoneTable
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_dynamic_zone_tables'
;
info
:
{
...
...
@@ -635,11 +625,6 @@ export interface CtaCta extends Struct.ComponentSchema {
declare
module
'@strapi/strapi'
{
export
module
Public
{
export
interface
ComponentSchemas
{
'people.team-member'
:
PeopleTeamMember
;
'people.team-leads'
:
PeopleTeamLeads
;
'people.people-list'
:
PeoplePeopleList
;
'people.overview'
:
PeopleOverview
;
'people.advisory-board'
:
PeopleAdvisoryBoard
;
'shared.slider'
:
SharedSlider
;
'shared.seo'
:
SharedSeo
;
'shared.rich-text'
:
SharedRichText
;
...
...
@@ -647,6 +632,11 @@ declare module '@strapi/strapi' {
'shared.page-schema'
:
SharedPageSchema
;
'shared.meta-social'
:
SharedMetaSocial
;
'shared.media'
:
SharedMedia
;
'people.team-member'
:
PeopleTeamMember
;
'people.team-leads'
:
PeopleTeamLeads
;
'people.people-list'
:
PeoplePeopleList
;
'people.overview'
:
PeopleOverview
;
'people.advisory-board'
:
PeopleAdvisoryBoard
;
'layout.whatwedo'
:
LayoutWhatwedo
;
'layout.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
...
...
@@ -666,7 +656,6 @@ declare module '@strapi/strapi' {
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.industry'
:
HomeIndustry
;
'home.home'
:
HomeHome
;
'google-manger.google-manger'
:
GoogleMangerGoogleManger
;
'dynamic-zone.table'
:
DynamicZoneTable
;
'dynamic-zone.rules-list'
:
DynamicZoneRulesList
;
'dynamic-zone.rules-application'
:
DynamicZoneRulesApplication
;
...
...
types/generated/contentTypes.d.ts
View file @
b45e16b
...
...
@@ -1073,6 +1073,37 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
};
}
export
interface
ApiGoogleMangerGoogleManger
extends
Struct
.
SingleTypeSchema
{
collectionName
:
'google_mangers'
;
info
:
{
singularName
:
'google-manger'
;
pluralName
:
'google-mangers'
;
displayName
:
'GoogleManger'
;
description
:
''
;
};
options
:
{
draftAndPublish
:
true
;
};
attributes
:
{
GtmTag
:
Schema
.
Attribute
.
String
;
GTag
:
Schema
.
Attribute
.
String
;
conversion
:
Schema
.
Attribute
.
String
;
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::google-manger.google-manger'
>
&
Schema
.
Attribute
.
Private
;
};
}
export
interface
ApiHomeHome
extends
Struct
.
SingleTypeSchema
{
collectionName
:
'homes'
;
info
:
{
...
...
@@ -1803,6 +1834,7 @@ declare module '@strapi/strapi' {
'api::corpedia.corpedia'
:
ApiCorpediaCorpedia
;
'api::corpedia-page.corpedia-page'
:
ApiCorpediaPageCorpediaPage
;
'api::global.global'
:
ApiGlobalGlobal
;
'api::google-manger.google-manger'
:
ApiGoogleMangerGoogleManger
;
'api::home.home'
:
ApiHomeHome
;
'api::industry-page.industry-page'
:
ApiIndustryPageIndustryPage
;
'api::knowledgeshack.knowledgeshack'
:
ApiKnowledgeshackKnowledgeshack
;
...
...
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