Skip to content

Commit

Permalink
update packages and pin docker versions
Browse files Browse the repository at this point in the history
  • Loading branch information
afroborg committed Nov 1, 2023
1 parent 2315338 commit e931116
Show file tree
Hide file tree
Showing 9 changed files with 4,715 additions and 2,446 deletions.
2 changes: 1 addition & 1 deletion strapi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:lts-alpine
FROM node:18-alpine

ENV NODE_ENV production

Expand Down
16 changes: 8 additions & 8 deletions strapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
},
"devDependencies": {},
"dependencies": {
"@strapi/plugin-i18n": "4.9.1",
"@strapi/plugin-users-permissions": "4.9.1",
"@strapi/provider-email-nodemailer": "^4.9.1",
"@strapi/strapi": "4.9.1",
"pg": "8.10.0",
"prosemirror-history": "^1.3.0",
"@strapi/plugin-i18n": "4.15.0",
"@strapi/plugin-users-permissions": "4.15.0",
"@strapi/provider-email-nodemailer": "^4.15.0",
"@strapi/strapi": "4.15.0",
"pg": "8.11.3",
"prosemirror-history": "^1.3.2",
"set-cookie-parser": "^2.6.0",
"strapi-plugin-local-image-sharp": "^1.6.0",
"strapi-plugin-placeholder": "^4.3.6",
"strapi-plugin-local-image-sharp": "^1.7.0",
"strapi-plugin-placeholder": "^4.4.0",
"strapi-tiptap-editor": "^0.9.12"
},
"author": {
Expand Down
253 changes: 253 additions & 0 deletions strapi/types/generated/components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
import type { Schema, Attribute } from '@strapi/strapi';

export interface ContentCalendar extends Schema.Component {
collectionName: 'components_content_calendars';
info: {
displayName: 'calendar';
icon: 'calendar-alt';
description: '';
};
attributes: {
calendarUrl: Attribute.String & Attribute.Required;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<false>;
};
}

export interface ContentContact extends Schema.Component {
collectionName: 'components_content_contacts';
info: {
displayName: 'contact';
icon: 'paper-plane';
description: '';
};
attributes: {
email: Attribute.String &
Attribute.Required &
Attribute.DefaultTo<'[email protected]'>;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<false>;
title: Attribute.String;
};
}

export interface ContentGroup extends Schema.Component {
collectionName: 'components_content_groups';
info: {
displayName: 'group';
icon: 'user-astronaut';
description: '';
};
attributes: {
group: Attribute.Relation<'content.group', 'oneToOne', 'api::group.group'>;
groups: Attribute.Relation<
'content.group',
'oneToMany',
'api::group.group'
>;
};
}

export interface ContentImage extends Schema.Component {
collectionName: 'components_content_image';
info: {
displayName: 'image';
icon: 'image';
description: '';
};
attributes: {
image: Attribute.Media;
imageText: Attribute.String;
};
}

export interface ContentImages extends Schema.Component {
collectionName: 'components_content_images';
info: {
displayName: 'images';
icon: 'images';
description: '';
};
attributes: {
images: Attribute.Component<'content.image', true>;
title: Attribute.String;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<false>;
};
}

export interface ContentMission extends Schema.Component {
collectionName: 'components_content_mission';
info: {
displayName: 'mission';
icon: 'briefcase';
};
attributes: {
name: Attribute.String;
points: Attribute.Integer;
};
}

export interface ContentNolleguide extends Schema.Component {
collectionName: 'components_content_nolleguides';
info: {
displayName: 'nolleguide';
icon: 'file-pdf';
};
attributes: {
downloadText: Attribute.String & Attribute.Required;
file: Attribute.Media & Attribute.Required;
};
}

export interface ContentNollekamp extends Schema.Component {
collectionName: 'components_content_nollekamp';
info: {
displayName: 'nollekamp';
icon: 'trophy';
description: '';
};
attributes: {
missions: Attribute.Component<'content.mission', true>;
showPoints: Attribute.Boolean & Attribute.DefaultTo<true>;
description: Attribute.RichText;
standings: Attribute.Component<'content.standings', true>;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<true>;
};
}

export interface ContentPhaddergroups extends Schema.Component {
collectionName: 'components_content_phaddergroups';
info: {
displayName: 'phaddergroups';
icon: 'users';
description: '';
};
attributes: {
groups: Attribute.Relation<
'content.phaddergroups',
'oneToMany',
'api::group.group'
>;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<true>;
};
}

export interface ContentPhos extends Schema.Component {
collectionName: 'components_content_phos';
info: {
displayName: 'ph\u00F8s';
icon: 'user-secret';
description: '';
};
attributes: {
name: Attribute.String & Attribute.Required;
description: Attribute.RichText & Attribute.Required;
image: Attribute.Media & Attribute.Required;
};
}

export interface ContentPhoset extends Schema.Component {
collectionName: 'components_content_phoset';
info: {
displayName: 'ph\u00F8set';
icon: 'user-secret';
description: '';
};
attributes: {
phoset: Attribute.Component<'content.phos', true>;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<true>;
};
}

export interface ContentSponsor extends Schema.Component {
collectionName: 'components_content_sponsor';
info: {
displayName: 'sponsor';
icon: 'money-bill';
description: '';
};
attributes: {
name: Attribute.String & Attribute.Required;
image: Attribute.Media & Attribute.Required;
link: Attribute.String & Attribute.Required;
description: Attribute.RichText;
};
}

export interface ContentSponsors extends Schema.Component {
collectionName: 'components_content_sponsors';
info: {
displayName: 'sponsors';
icon: 'money-bill';
description: '';
};
attributes: {
sponsors: Attribute.Component<'content.sponsor', true>;
showInMenu: Attribute.Boolean &
Attribute.Required &
Attribute.DefaultTo<true>;
};
}

export interface ContentStandings extends Schema.Component {
collectionName: 'components_content_standings';
info: {
displayName: 'standings';
icon: 'bars';
description: '';
};
attributes: {
points: Attribute.Integer & Attribute.Required & Attribute.DefaultTo<0>;
group: Attribute.Relation<
'content.standings',
'oneToOne',
'api::group.group'
>;
};
}

export interface ContentText extends Schema.Component {
collectionName: 'components_content_text';
info: {
displayName: 'text';
icon: 'align-center';
description: '';
};
attributes: {
header: Attribute.String;
body: Attribute.RichText;
showInMenu: Attribute.Boolean & Attribute.DefaultTo<true>;
};
}

declare module '@strapi/types' {
export module Shared {
export interface Components {
'content.calendar': ContentCalendar;
'content.contact': ContentContact;
'content.group': ContentGroup;
'content.image': ContentImage;
'content.images': ContentImages;
'content.mission': ContentMission;
'content.nolleguide': ContentNolleguide;
'content.nollekamp': ContentNollekamp;
'content.phaddergroups': ContentPhaddergroups;
'content.phos': ContentPhos;
'content.phoset': ContentPhoset;
'content.sponsor': ContentSponsor;
'content.sponsors': ContentSponsors;
'content.standings': ContentStandings;
'content.text': ContentText;
}
}
}
Loading

0 comments on commit e931116

Please sign in to comment.